2.2.2.5 Set Client Voice Target Message

This message is sent from the voice server to a voice client in all voice session subprotocols to update the voice client's voice target list, and is used only when server-controlled targeting is enabled. This message is sent guaranteed and ordered by the DirectPlay protocol voice message type.


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

Header

TargetCount

...

TargetDVIDs (variable)

...

Header (1 byte): The common message header (as specified in section 2.2.1). The MessageType field MUST be set to DVMSGID_SETTARGETS (0x0D).

TargetCount (4 bytes): A 32-bit unsigned integer. This value MUST contain the length of the TargetDVIDs field in DVID elements, which MUST be greater than or equal to 0. The field MUST be less than or equal to 64.

TargetDVIDs (variable): An optional array of DVID values, each representing a user or group of users that the speech data is intended for. The number of DVIDs in this array MUST be equal to the value of the TargetCount field. This field will not contain any data if TargetCount is 0. This field cannot contain duplicate DVID values.