![]() |
Roboid Control for C#
|
A participant messages notifies other participants of its presence.
Public Member Functions | |
ParticipantMsg (byte networkId) | |
Create a new message for sending. | |
ParticipantMsg (byte[] buffer) | |
Create a message for receiving. | |
override byte | Serialize (ref byte[] buffer) |
Serialize the message into a byte array. | |
Public Attributes | |
byte | networkId |
The network ID known by the participant. | |
Static Public Attributes | |
const byte | Id = 0xA0 |
The message ID. | |
const byte | length = 2 |
The length of the message. | |
Passer.RoboidControl.ParticipantMsg.ParticipantMsg | ( | byte | networkId | ) |
Create a new message for sending.
networkId |
Passer.RoboidControl.ParticipantMsg.ParticipantMsg | ( | byte[] | buffer | ) |
Create a message for receiving.
buffer | The byte array to parse |
|
virtual |
Serialize the message into a byte array.
buffer | The buffer to serialize into |
Reimplemented from Passer.RoboidControl.IMessage.