![]() |
Roboid Control for C#
|
A message communicating the network ID for that participant.
Public Member Functions | |
NetworkIdMsg (byte networkId) | |
Create a new message for sending. | |
NetworkIdMsg (byte[] buffer) | |
Create a message for receiving. | |
override byte | Serialize (ref byte[] buffer) |
Serialize the message into a byte array for sending. | |
Public Attributes | |
byte | networkId |
The network ID for the participant. | |
Static Public Attributes | |
const byte | Id = 0xA1 |
The message ID. | |
const byte | length = 2 |
The length of the message. | |
Passer.RoboidControl.NetworkIdMsg.NetworkIdMsg | ( | byte | networkId | ) |
Create a new message for sending.
networkId | The network ID for the participant |
Passer.RoboidControl.NetworkIdMsg.NetworkIdMsg | ( | byte[] | buffer | ) |
Create a message for receiving.
buffer | The byte array to parse |
|
virtual |
Serialize the message into a byte array for sending.
buffer | The buffer to serilize into |
Reimplemented from Passer.RoboidControl.IMessage.