NetworkMessage Class Members
In This Topic
The following tables list the members exposed by NetworkMessage.
Public Properties
| Name | Description |
| Length | The number of bytes for the packet. |
| TypeCode | The specific packet type code |
| Version | The protocol version |
Top
Protected Properties
| Name | Description |
| BaseLength | Inheritors must implement this to reflect their packet length as they read a packet plus the base length that came before. |
Top
Public Methods
| Name | Description |
| Read | Read the provided stream to create the packet |
| ReadHeader | Peek at the byte data and see if there's a full packet header |
| Write | Write the packet to the stream. |
Top
Protected Methods
| Name | Description |
| OnRead | Read packet data from the stream |
| OnWrite | Write the packet to the stream |
Top
See Also