Method | Description | |
---|---|---|
GetIncomingLabel ( ushort code ) : string | ||
GetOutgoingCode ( string label ) : ushort | ||
LoadPacketCodes ( ) : void |
Loads the op code information for this instance of PacketCodeTable.
|
|
TryGetIncomingLabel ( ushort code, string &label ) : bool | ||
TryGetOutgoingCode ( string label, ushort &code ) : bool |
Method | Description | |
---|---|---|
AddIncoming ( ushort code, string label ) : bool |
Adds an entry to the incoming packet information list.
|
|
AddOutgoing ( string label, ushort code ) : bool |
Adds an entry to the outgoing packet information list.
|
|
LoadPacketCodesInternal ( ) : void |
This is a hook to the end of the LoadPacketCodes method.
|
|
PacketCodeTable ( ) : System |
Initializes a new instance of the PacketCodeTable class.
|
protected AddIncoming ( ushort code, string label ) : bool | ||
code | ushort | The packet code pf the incoming packet. |
label | string | The label for the incoming packet. |
return | bool |
protected AddOutgoing ( string label, ushort code ) : bool | ||
label | string | The label for the outgoing packet. |
code | ushort | The packet code of the outgoing packet. |
return | bool |
public GetIncomingLabel ( ushort code ) : string | ||
code | ushort | |
return | string |
public GetOutgoingCode ( string label ) : ushort | ||
label | string | |
return | ushort |
protected abstract LoadPacketCodesInternal ( ) : void | ||
return | void |
public TryGetIncomingLabel ( ushort code, string &label ) : bool | ||
code | ushort | |
label | string | |
return | bool |
public TryGetOutgoingCode ( string label, ushort &code ) : bool | ||
label | string | |
code | ushort | |
return | bool |