C# Class DarkEmu_GameServer.PacketWriter

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

Public Methods

Method Description
AppendByte ( byte item ) : void
AppendByteArray ( byte buffer, int count ) : void
AppendDouble ( double item ) : void
AppendDword ( uint item ) : void
AppendFloat ( float item ) : void
AppendInt ( int item ) : void
AppendLword ( ulong item ) : void
AppendString ( bool unicode, string item ) : void
AppendWord ( ushort item ) : void
PacketWriter ( ) : System
Reset ( ) : void
SetOpcode ( ushort opcode ) : void
SetWriteIndex ( int newIndex ) : void
Skip ( int bytes ) : void
getIndex ( ) : int
getOpcode ( ) : ushort
getWorkspace ( ) : byte[]

Method Details

AppendByte() public method

public AppendByte ( byte item ) : void
item byte
return void

AppendByteArray() public method

public AppendByteArray ( byte buffer, int count ) : void
buffer byte
count int
return void

AppendDouble() public method

public AppendDouble ( double item ) : void
item double
return void

AppendDword() public method

public AppendDword ( uint item ) : void
item uint
return void

AppendFloat() public method

public AppendFloat ( float item ) : void
item float
return void

AppendInt() public method

public AppendInt ( int item ) : void
item int
return void

AppendLword() public method

public AppendLword ( ulong item ) : void
item ulong
return void

AppendString() public method

public AppendString ( bool unicode, string item ) : void
unicode bool
item string
return void

AppendWord() public method

public AppendWord ( ushort item ) : void
item ushort
return void

PacketWriter() public method

public PacketWriter ( ) : System
return System

Reset() public method

public Reset ( ) : void
return void

SetOpcode() public method

public SetOpcode ( ushort opcode ) : void
opcode ushort
return void

SetWriteIndex() public method

public SetWriteIndex ( int newIndex ) : void
newIndex int
return void

Skip() public method

public Skip ( int bytes ) : void
bytes int
return void

getIndex() public method

public getIndex ( ) : int
return int

getOpcode() public method

public getOpcode ( ) : ushort
return ushort

getWorkspace() public method

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