2.2.51 DPSP_MSG_SESSIONDESCCHANGED

The DPSP_MSG_SESSIONDESCCHANGED packet is sent to notify players that a game session description changed.


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

SessionNameOffset

PasswordOffset

SessionDesc (variable)

...

SessionName (variable)

...

Password (variable)

...

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

IDTo (4 bytes): MUST be set to zero.

SessionNameOffset (4 bytes): MUST be set to the offset, in octets, from the beginning of the message to the SessionName field. If this field is 0, the game session name is not present.

PasswordOffset (4 bytes): MUST be set to the offset, in octets, from the beginning of the message to the Password field. If this field is 0, the game session has no password.

SessionDesc (variable): MUST be set to a DPSESSIONDESC2 (section 2.2.5) structure containing the game session description.

SessionName (variable): If present, MUST be set to a null-terminated Unicode string containing the game session name.

Password (variable): If present, MUST be set to a null-terminated Unicode string containing the game session password.