2.2.20 DPSP_MSG_CREATEGROUP

The DPSP_MSG_CREATEGROUP packet is sent to indicate that a new group has been created.


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

GroupInfo (variable)

...

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

IDTo (4 bytes): Ignored. SHOULD be set to zero when sent and MUST be ignored on receipt.

PlayerID (4 bytes): MUST be set to the group ID of the newly created group.

GroupID (4 bytes): Ignored. SHOULD be set to zero when sent and MUST be ignored on receipt.

CreateOffset (4 bytes): MUST be set to the offset, in octets, of the GroupInfo field. MUST be set to 28 (0x1C).

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

GroupInfo (variable): MUST contain a DPLAYI_PACKEDPLAYER (section 2.2.2) structure that contains information about the group to be created.