2.2.12 DPSP_MSG_ADDPLAYERTOGROUP

The DPSP_MSG_ADDPLAYERTOGROUP packet is sent from one game participant to other game participants when a player is added to a group.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

DPSP_MSG_HEADER (28 bytes)

...

...

IDTo

PlayerID

GroupID

CreateOffset

PasswordOffset

DPSP_MSG_HEADER (28 bytes): Message header for this packet. The Command Value member of this field MUST be set to 13 (0x0D).

IDTo (4 bytes): Identifier of the player to whom the message is being sent. It SHOULD be set to zero when sent and MUST be ignored on receipt.

PlayerID (4 bytes): Identifier of the player to add to the group specified by the GroupID field.

GroupID (4 bytes): Identifier of the group to which the player will be added.

CreateOffset (4 bytes): Not used. It SHOULD be set to zero when sent and MUST be ignored on receipt.

PasswordOffset (4 bytes): Not used. It SHOULD be set to zero when sent and MUST be ignored on receipt.