2.2.44 DPSP_MSG_PLAYERDATACHANGED
The DPSP_MSG_PLAYERDATACHANGED packet is sent to inform all participants that the data of a player has changed.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DPSP_MSG_HEADER (28 bytes) |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
IDTo |
|||||||||||||||||||||||||||||||
PlayerID |
|||||||||||||||||||||||||||||||
DataSize |
|||||||||||||||||||||||||||||||
DataOffset |
|||||||||||||||||||||||||||||||
PlayerData (variable) |
|||||||||||||||||||||||||||||||
... |
DPSP_MSG_HEADER (28 bytes): Message header for this packet. The Command Value member of this field MUST be set to 15 (0x0F).
IDTo (4 bytes): Identifier of the destination player. MUST be set to zero.
PlayerID (4 bytes): MUST be set to the identifier of the player whose data is being set.
DataSize (4 bytes): MUST be set to the length of PlayerData, in octets.
DataOffset (4 bytes): MUST be set to the offset, in octets, of PlayerData from the beginning of the message.
PlayerData (variable): Game data that contains DataSize octets of changed data associated with the player.