Network Command Header Describe its type and usual settings for all commands. More...
Static Public Member Functions | |
static NetCommandHeader | Create (NetCommands command) |
Create a new NetCommandHeader based on a NetCommands type. | |
static implicit | operator NetCommandHeader (NetCommands commands) |
Public Attributes | |
NetCommands | Command |
NetPacketType | PacketType |
Static Public Attributes | |
const int | SIZE_BITS = SIZE_BYTES * 8 |
const int | SIZE_BYTES = 2 |
Network Command Header Describe its type and usual settings for all commands.
|
static |
Create a new NetCommandHeader based on a NetCommands type.
command | Type of Command that should be created |