C# Class DarkEmu_GameServer.PacketReader

显示文件 Open project: CarlosX/DarkEmu Class Usage Examples

Public Methods

Method Description
GetBytesLeft ( ) : int
ModifyIndex ( int i ) : void
PacketReader ( byte buffer, int count ) : System
ReadBool ( ) : bool
ReadByte ( ) : byte
ReadByteArray ( int count ) : byte[]
ReadDouble ( ) : double
ReadDword ( ) : uint
ReadFloat ( ) : float
ReadLword ( ) : ulong
ReadString ( bool unicode, int count ) : string
ReadWord ( ) : ushort
SetIndex ( int i ) : void
SetToNull ( ) : void
getIndex ( ) : int
getWorkspace ( ) : byte[]

Method Details

GetBytesLeft() public method

public GetBytesLeft ( ) : int
return int

ModifyIndex() public method

public ModifyIndex ( int i ) : void
i int
return void

PacketReader() public method

public PacketReader ( byte buffer, int count ) : System
buffer byte
count int
return System

ReadBool() public method

public ReadBool ( ) : bool
return bool

ReadByte() public method

public ReadByte ( ) : byte
return byte

ReadByteArray() public method

public ReadByteArray ( int count ) : byte[]
count int
return byte[]

ReadDouble() public method

public ReadDouble ( ) : double
return double

ReadDword() public method

public ReadDword ( ) : uint
return uint

ReadFloat() public method

public ReadFloat ( ) : float
return float

ReadLword() public method

public ReadLword ( ) : ulong
return ulong

ReadString() public method

public ReadString ( bool unicode, int count ) : string
unicode bool
count int
return string

ReadWord() public method

public ReadWord ( ) : ushort
return ushort

SetIndex() public method

public SetIndex ( int i ) : void
i int
return void

SetToNull() public method

public SetToNull ( ) : void
return void

getIndex() public method

public getIndex ( ) : int
return int

getWorkspace() public method

public getWorkspace ( ) : byte[]
return byte[]