← Back to Index

PlayerLocationPacket (326)

Updates the client with the position of a player outside simulation distance, or hides a player.
Sent by PlayerLocationSender when a player position changes beyond a certain angle.
Field Name Type Field Index Description
Target Actor ID (Required) ActorUniqueID 0 Unique ID of the player whose location is being updated or hidden.

ActorUniqueID

Field Name Type Field Index Description
Actor Unique ID (Required) varint64 0
Location (Required) oneOf 1 Either updated coordinates for the tracked actor or a request to hide them.
oneOf<CoordinatesLocation, HiddenLocation>:
Control Value [uint32] Type Details
0 CoordinatesLocation -
1 HiddenLocation -
CoordinatesLocation (Variant 0)
Field Name Type Field Index Description
Packet Type (Required) varint32 0 Discriminator selecting the coordinates form of the location update.
Enum Values:
Index Value
0 PLAYER_LOCATION_COORDINATES
Position (Required) Vec3 1 The tracked actor's world position.

Vec3

Field Name Type Field Index Description
X (Required) float 0
Y (Required) float 1
Z (Required) float 2
HiddenLocation (Variant 1)
Field Name Type Field Index Description
Packet Type (Required) varint32 0 Discriminator selecting the hide form of the location update (no position is sent).
Enum Values:
Index Value
0 PLAYER_LOCATION_HIDE