C# Class DarkEmu_LoginServer.PacketWriter2

ファイルを表示 Open project: CarlosX/DarkEmu Class Usage Examples

Public Methods

Method Description
AddByte ( byte b ) : void
AddByteTimes ( byte b, int times ) : void
AddInt16 ( short i ) : void
AddInt32 ( int i ) : void
AddString ( string s, int size ) : void
Close ( ) : void
GetBytes ( ) : byte[]
PacketWriter2 ( ) : System
PacketWriter2 ( ushort code ) : System
PacketWriter2 ( ushort code, ushort length ) : System
PacketWriter2 ( ushort code, ushort length, bool propio ) : System
SetLength ( ) : void
Write ( byte data ) : void
Write ( byte data, string cero ) : void
Write ( float data ) : void
Write ( string data1 ) : void
Write ( uint data ) : void
Write ( ulong data ) : void
Write ( ushort data ) : void
WriteASCII ( string data ) : void
WriteUnicode ( string data ) : void

Private Methods

Method Description
AddEnum8 ( Enum message ) : void

Method Details

AddByte() public method

public AddByte ( byte b ) : void
b byte
return void

AddByteTimes() public method

public AddByteTimes ( byte b, int times ) : void
b byte
times int
return void

AddInt16() public method

public AddInt16 ( short i ) : void
i short
return void

AddInt32() public method

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

AddString() public method

public AddString ( string s, int size ) : void
s string
size int
return void

Close() public method

public Close ( ) : void
return void

GetBytes() public method

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

PacketWriter2() public method

public PacketWriter2 ( ) : System
return System

PacketWriter2() public method

public PacketWriter2 ( ushort code ) : System
code ushort
return System

PacketWriter2() public method

public PacketWriter2 ( ushort code, ushort length ) : System
code ushort
length ushort
return System

PacketWriter2() public method

public PacketWriter2 ( ushort code, ushort length, bool propio ) : System
code ushort
length ushort
propio bool
return System

SetLength() public method

public SetLength ( ) : void
return void

Write() public method

public Write ( byte data ) : void
data byte
return void

Write() public method

public Write ( byte data, string cero ) : void
data byte
cero string
return void

Write() public method

public Write ( float data ) : void
data float
return void

Write() public method

public Write ( string data1 ) : void
data1 string
return void

Write() public method

public Write ( uint data ) : void
data uint
return void

Write() public method

public Write ( ulong data ) : void
data ulong
return void

Write() public method

public Write ( ushort data ) : void
data ushort
return void

WriteASCII() public method

public WriteASCII ( string data ) : void
data string
return void

WriteUnicode() public method

public WriteUnicode ( string data ) : void
data string
return void