C# Class GameBase.Network.PacketOut

Show file Open project: dream-young-soul/soul Class Usage Examples

Public Methods

Method Description
Clear ( GamePacketKeyEx key = null ) : void
Flush ( ) : byte[]
GetBuffer ( ) : byte[]
GetNormalBuff ( ) : byte[]
GetPostion ( ) : int
PacketOut ( GamePacketKeyEx key = null ) : System
WriteBool ( bool v ) : void
WriteBuff ( byte v ) : void
WriteByte ( byte v ) : void
WriteFloat ( float v ) : void
WriteInt16 ( short v ) : void
WriteInt32 ( int v ) : void
WriteLong ( long v ) : void
WriteString ( String v ) : void
WriteUInt16 ( ushort v ) : void
WriteUInt32 ( uint v ) : void
WriteULong ( ulong v ) : void

Method Details

Clear() public method

public Clear ( GamePacketKeyEx key = null ) : void
key GamePacketKeyEx
return void

Flush() public method

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

GetBuffer() public method

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

GetNormalBuff() public method

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

GetPostion() public method

public GetPostion ( ) : int
return int

PacketOut() public method

public PacketOut ( GamePacketKeyEx key = null ) : System
key GamePacketKeyEx
return System

WriteBool() public method

public WriteBool ( bool v ) : void
v bool
return void

WriteBuff() public method

public WriteBuff ( byte v ) : void
v byte
return void

WriteByte() public method

public WriteByte ( byte v ) : void
v byte
return void

WriteFloat() public method

public WriteFloat ( float v ) : void
v float
return void

WriteInt16() public method

public WriteInt16 ( short v ) : void
v short
return void

WriteInt32() public method

public WriteInt32 ( int v ) : void
v int
return void

WriteLong() public method

public WriteLong ( long v ) : void
v long
return void

WriteString() public method

public WriteString ( String v ) : void
v String
return void

WriteUInt16() public method

public WriteUInt16 ( ushort v ) : void
v ushort
return void

WriteUInt32() public method

public WriteUInt32 ( uint v ) : void
v uint
return void

WriteULong() public method

public WriteULong ( ulong v ) : void
v ulong
return void