![]() |
Roboid Control for C#
|
Message for sending generic text.
Public Member Functions | |
| TextMsg (string text) | |
| Create a new message for sending. | |
| TextMsg (byte[] buffer) | |
| Create a message for receiving. | |
| override byte | Serialize (ref byte[] buffer) |
| Serialize the message into a byte array for sending. | |
Public Attributes | |
| string | text = "" |
| The text. | |
Static Public Attributes | |
| const byte | Id = 0xB0 |
| The message ID. | |
| const byte | length = 2 |
| The length of the message without the text itself. | |
| Passer.RoboidControl.TextMsg.TextMsg | ( | string | text | ) |
Create a new message for sending.
| text | The text to send |
| Passer.RoboidControl.TextMsg.TextMsg | ( | 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.