2.2.15 TRANS_USERDATA_DESTROY_PLAYER
The TRANS_USERDATA_DESTROY_PLAYER packet instructs the client to remove a specified user from the name table. This packet begins with a TRANS_USERDATA_HEADER.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
dwPacketType |
|||||||||||||||||||||||||||||||
dpnidLeaving |
|||||||||||||||||||||||||||||||
dwVersion |
|||||||||||||||||||||||||||||||
dwVersionNotUsed |
|||||||||||||||||||||||||||||||
dwDestroyReason |
dwPacketType (4 bytes): A 32-bit integer that indicates the packet type. This field MUST be set to 0x000000D1 to denote that this message instructs the client to remove a specified user from the name table.
dpnidLeaving (4 bytes): A 32-bit integer that specifies the identifier of the client or server to remove from the name table.
dwVersion (4 bytes): A 32-bit integer that specifies the current name table version number.
dwVersionNotUsed (4 bytes): This field MUST be set to 0 when sending and ignored on receipt.
dwDestroyReason (4 bytes): A 32-bit integer that specifies the reason for terminating the specified client or server. This field MUST be set to one of the following values.
-
Value
Meaning
DPNDESTROYPLAYERREASON_NORMAL
0x00000001
The client or server is leaving.
DPNDESTROYPLAYERREASON_HOSTDESTROYEDPLAYER
0x00000004
The server removed the client.