2.2.2.3.10 Client Device Custom Event Message
A client sends this message to the server in response to a custom event occurring on the client device. This message MUST be sent only if both the server and client protocol version is 6 or later.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Header |
|||||||||||||||||||||||||||||||
CustomEventGUID (16 bytes) |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
cbData |
|||||||||||||||||||||||||||||||
Data (variable) |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
UnusedByte |
Header (4 bytes): A CLIENT_IO_HEADER reply header. The PacketType field MUST be set to CUSTOM_EVENT_PACKET (0x000001). The RequestId field SHOULD be set to 0x000000.
CustomEventGUID (16 bytes): A GUID associated with the custom event generated.
cbData (4 bytes): A 32-bit unsigned integer. This field specifies the size of the data associated with the custom event.
Data (variable): A variable-length array of bytes. This field MUST contain the data associated with the custom event.
UnusedByte (1 byte): An 8-bit unsigned integer. This field is unused and MUST be ignored.