Метод | Описание | |
---|---|---|
GetPacket ( ) : Packet | ||
MessageHandler ( ) : System | ||
Process ( ClientConnection conn, byte readBuffer, int length, int pos ) : void | ||
ReadBoolean ( byte readBuffer ) : bool | ||
ReadByte ( byte readBuffer ) : byte | ||
ReadInt16 ( byte readBuffer ) : short | ||
ReadInt32 ( byte readBuffer ) : int | ||
ReadRGB ( byte readBuffer ) : Color | ||
ReadSingle ( byte readBuffer ) : float | ||
ReadString ( byte readBuffer, string &str ) : bool | ||
ReadString ( byte readBuffer ) : string | ||
ReadUInt16 ( byte readBuffer ) : ushort | ||
ReadVector2 ( byte readBuffer ) : Vector2 | ||
Reset ( int offset ) : void | ||
Skip ( int count ) : void |
Метод | Описание | |
---|---|---|
ParseString ( byte strBuffer, int offset, int count, string &str ) : bool |
protected ParseString ( byte strBuffer, int offset, int count, string &str ) : bool | ||
strBuffer | byte | |
offset | int | |
count | int | |
str | string | |
Результат | bool |
public abstract Process ( ClientConnection conn, byte readBuffer, int length, int pos ) : void | ||
conn | ClientConnection | |
readBuffer | byte | |
length | int | |
pos | int | |
Результат | void |
public ReadBoolean ( byte readBuffer ) : bool | ||
readBuffer | byte | |
Результат | bool |
public ReadByte ( byte readBuffer ) : byte | ||
readBuffer | byte | |
Результат | byte |
public ReadInt16 ( byte readBuffer ) : short | ||
readBuffer | byte | |
Результат | short |
public ReadInt32 ( byte readBuffer ) : int | ||
readBuffer | byte | |
Результат | int |
public ReadRGB ( byte readBuffer ) : Color | ||
readBuffer | byte | |
Результат | Color |
public ReadSingle ( byte readBuffer ) : float | ||
readBuffer | byte | |
Результат | float |
public ReadString ( byte readBuffer, string &str ) : bool | ||
readBuffer | byte | |
str | string | |
Результат | bool |
public ReadString ( byte readBuffer ) : string | ||
readBuffer | byte | |
Результат | string |
public ReadUInt16 ( byte readBuffer ) : ushort | ||
readBuffer | byte | |
Результат | ushort |
public ReadVector2 ( byte readBuffer ) : Vector2 | ||
readBuffer | byte | |
Результат | Vector2 |