implements IComparable`1
0x00x0068
Members 53
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| — | 0x01 | FV_UNRELIABLE | byte | Static+2 flags | 0 |
| — | 0x01 | FV_RELIABLE | byte | Static+2 flags | 1 |
| — | 0x01 | FV_UNRELIABLE_UNSEQUENCED | byte | Static+2 flags | 2 |
| — | 0x01 | FV_RELIBALE_UNSEQUENCED | byte | Static+2 flags | 3 |
| — | 0x01 | CT_NONE | byte | Static+2 flags | 0 |
| — | 0x01 | CT_ACK | byte | Static+2 flags | 1 |
| — | 0x01 | CT_CONNECT | byte | Static+2 flags | 2 |
| — | 0x01 | CT_VERIFYCONNECT | byte | Static+2 flags | 3 |
| — | 0x01 | CT_DISCONNECT | byte | Static+2 flags | 4 |
| — | 0x01 | CT_PING | byte | Static+2 flags | 5 |
| — | 0x01 | CT_SENDRELIABLE | byte | Static+2 flags | 6 |
| — | 0x01 | CT_SENDUNRELIABLE | byte | Static+2 flags | 7 |
| — | 0x01 | CT_SENDFRAGMENT | byte | Static+2 flags | 8 |
| — | 0x01 | CT_SENDUNSEQUENCED | byte | Static+2 flags | 11 |
| — | 0x01 | CT_EG_SERVERTIME | byte | Static+2 flags | 12 |
| — | 0x01 | CT_EG_SEND_UNRELIABLE_PROCESSED | byte | Static+2 flags | 13 |
| — | 0x01 | CT_EG_SEND_RELIABLE_UNSEQUENCED | byte | Static+2 flags | 14 |
| — | 0x01 | CT_EG_SEND_FRAGMENT_UNSEQUENCED | byte | Static+2 flags | 15 |
| — | 0x01 | CT_EG_ACK_UNSEQUENCED | byte | Static+2 flags | 16 |
| — | 0x04 | HEADER_UDP_PACK_LENGTH | int | Static+2 flags | 12 |
| — | 0x04 | CmdSizeMinimum | int | Static+2 flags | 12 |
| — | 0x04 | CmdSizeAck | int | Static+2 flags | 20 |
| — | 0x04 | CmdSizeConnect | int | Static+2 flags | 44 |
| — | 0x04 | CmdSizeVerifyConnect | int | Static+2 flags | 44 |
| — | 0x04 | CmdSizeDisconnect | int | Static+2 flags | 12 |
| — | 0x04 | CmdSizePing | int | Static+2 flags | 12 |
| — | 0x04 | CmdSizeReliableHeader | int | Static+2 flags | 12 |
| — | 0x04 | CmdSizeUnreliableHeader | int | Static+2 flags | 16 |
| — | 0x04 | CmdSizeUnsequensedHeader | int | Static+2 flags | 16 |
| — | 0x04 | CmdSizeFragmentHeader | int | Static+2 flags | 32 |
| — | 0x04 | CmdSizeMaxHeader | int | Static+2 flags | 36 |
| 0x01 | commandFlags | byte | 1 flags | — | |
| 0x01 | commandType | byte | 1 flags | — | |
| 0x01 | commandChannelID | byte | 1 flags | — | |
| 0x0013 | 0x01 | padding / unreflected | |||
| 0x04 | reliableSequenceNumber | int | 1 flags | — | |
| 0x04 | unreliableSequenceNumber | int | 1 flags | — | |
| 0x04 | unsequencedGroupNumber | int | 1 flags | — | |
| 0x01 | reservedByte | byte | 1 flags | — | |
| 0x0021 | 0x03 | padding / unreflected | |||
| 0x04 | startSequenceNumber | int | 1 flags | — | |
| 0x04 | fragmentCount | int | 1 flags | — | |
| 0x04 | fragmentNumber | int | 1 flags | — | |
| 0x04 | totalLength | int | 1 flags | — | |
| 0x04 | fragmentOffset | int | 1 flags | — | |
| 0x04 | fragmentsRemaining | int | 1 flags | — | |
| 0x04 | commandSentTime | int | 1 flags | — | |
| 0x01 | commandSentCount | byte | 1 flags | — | |
| 0x0041 | 0x03 | padding / unreflected | |||
| 0x04 | roundTripTimeout | int | 1 flags | — | |
| 0x04 | timeoutTime | int | 1 flags | — | |
| 0x04 | ackReceivedReliableSequenceNumber | int | 1 flags | — | |
| 0x04 | ackReceivedSentTime | int | 1 flags | — | |
| 0x04 | Size | int | 1 flags | — | |
| 0x08 | Payload | StreamBuffer | 1 flags | — | |
| 0x08 | returnPool | NCommandPool | 1 flags | — | |
Functions 15
| Signature | Flags | Native | Params |
|---|---|---|---|
| int get_SizeOfPayload() | 2 flags | 0x04 | |
| bool get_IsFlaggedUnsequenced() | 2 flags | 0x01 | |
| bool get_IsFlaggedReliable() | 2 flags | 0x01 | |
| void CreateAck(const byte[]& buffer, int offset, NCommand commandToAck, int sentTime) | Static+1 flags | 0x08 | |
| void .ctor(EnetPeer peer, byte commandType, StreamBuffer payload, byte channel) | 2 flags | 0x08 | |
| void Initialize(EnetPeer peer, byte commandType, StreamBuffer payload, byte channel) | 1 flags | 0x08 | |
| void .ctor(EnetPeer peer, const byte[]& inBuff, ref int& readingOffset) | 2 flags | 0x08 | |
| void Initialize(EnetPeer peer, const byte[]& inBuff, ref int& readingOffset) | 1 flags | 0x08 | |
| void Reset() | Public | 0x00 | |
| void SerializeHeader(const byte[]& buffer, ref int& bufferIndex) | 1 flags | 0x08 | |
| byte[] Serialize() | 1 flags | 0x08 | |
| void FreePayload() | Public | 0x00 | |
| void Release() | Public | 0x00 | |
| int CompareTo(NCommand other) | PublicFinal+2 flags | 0x08 | |
| string ToString() | Public+1 flags | 0x08 |
Used by 32
types with a member, parameter or interface of this typeAction`1ArraySortHelper`1EmptyArray`1EmptyInternalEnumerator`1EnetChannelEnetPeerEnumeratorEnumeratorEnumeratorEqualityComparer`1ICollection`1IComparable`1IDictionary`2IEnumerator`1IEqualityComparer`1IEquatable`1IList`1InternalEnumerator`1IReadOnlyList`1KeyValuePair`2List`1NCommand[]NCommandPoolNodeNonAllocDictionary`2ObjectEqualityComparer`1PeerBasePredicate`1Queue`1ReadOnlyCollection`1Stack`1ValueIterator