31 lines
777 B
Plaintext
31 lines
777 B
Plaintext
meta {
|
|
name: POST target select - prototype_npc_ranged (with positionHint)
|
|
type: http
|
|
seq: 13
|
|
}
|
|
|
|
post {
|
|
url: {{baseUrl}}/game/players/{{playerId}}/target/select
|
|
body: json
|
|
auth: none
|
|
}
|
|
|
|
headers {
|
|
content-type: application/json
|
|
}
|
|
|
|
body:json {
|
|
{
|
|
"schemaVersion": 1,
|
|
"targetId": "prototype_npc_ranged",
|
|
"positionHint": { "x": 3.0, "y": 0.5, "z": 5.0 }
|
|
}
|
|
}
|
|
|
|
docs {
|
|
NEO-24 follow-up #5: the optional `positionHint` lets the server run the radius check against
|
|
the client's live capsule position instead of the stored `move-stream` snap. Useful to verify
|
|
a "stopped near prototype_npc_ranged but store is stale" case without having to drive the capsule manually.
|
|
Server treats the hint as advisory — it is NOT written to the position store.
|
|
}
|