2.2.4.4 DN_ADD_PLAYER_TO_GROUP

The DN_ADD_PLAYER_TO_GROUP packet informs the peers that a player has been added to an existing 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

dwPacketType

dpnidGroup

dpnidPlayer

dwVersion

dwVersionNotUsed

dpnidRequesting

dwPacketContext

dwPacketType (4 bytes): A 32-bit field that contains the packet type.

Value

Meaning

DN_MSG_INTERNAL_ADD_PLAYER_TO_GROUP

0x000000D9

Informs the peers that the host has added a player in a game session to a group.

dpnidGroup (4 bytes): A 32-bit field that contains the group to which the peer has been added. For more information, see section 2.2.7.

dpnidPlayer (4 bytes): A 32-bit field that contains the identifier of the peer that has been added to the group. For more information, see section 2.2.7.

dwVersion (4 bytes): A 32-bit integer that specifies the current name table version.

dwVersionNotUsed (4 bytes): Not used.

dpnidRequesting (4 bytes): A 32-bit field that contains the identifier of the peer that has requested the host to add a peer to a group. For more information, see section 2.2.7.

dwPacketContext (4 bytes): A 32-bit field that contains the context value passed in for this operation. The value MUST be passed in exactly as it was received in DN_REQ_ADD_PLAYER_TO_GROUP.