C# Class RPGGame.Common.PacketResponse

Inheritance: Aegis.Network.Packet
显示文件 Open project: SyncZone/Examples Class Usage Examples

Public Methods

Method Description
Clear ( ) : void
Clear ( StreamBuffer source ) : void
Clear ( byte source, int index, int size ) : void
Clone ( ) : StreamBuffer
GetSeqNo ( StreamBuffer source ) : Int32
IsValidPacket ( StreamBuffer buffer, int &packetSize ) : System.Boolean
PacketResponse ( SecurePacketRequest requestPacket, Int32 resultCode, UInt16 capacity ) : System
PacketResponse ( SecurePacketRequest requestPacket, UInt16 capacity ) : System
PacketResponse ( StreamBuffer source ) : System
SkipHeader ( ) : void

Private Methods

Method Description
PacketResponse ( ) : System

Method Details

Clear() public method

public Clear ( ) : void
return void

Clear() public method

public Clear ( StreamBuffer source ) : void
source StreamBuffer
return void

Clear() public method

public Clear ( byte source, int index, int size ) : void
source byte
index int
size int
return void

Clone() public method

public Clone ( ) : StreamBuffer
return StreamBuffer

GetSeqNo() public static method

public static GetSeqNo ( StreamBuffer source ) : Int32
source StreamBuffer
return System.Int32

IsValidPacket() public static method

public static IsValidPacket ( StreamBuffer buffer, int &packetSize ) : System.Boolean
buffer StreamBuffer
packetSize int
return System.Boolean

PacketResponse() public method

public PacketResponse ( SecurePacketRequest requestPacket, Int32 resultCode, UInt16 capacity ) : System
requestPacket SecurePacketRequest
resultCode System.Int32
capacity System.UInt16
return System

PacketResponse() public method

public PacketResponse ( SecurePacketRequest requestPacket, UInt16 capacity ) : System
requestPacket SecurePacketRequest
capacity System.UInt16
return System

PacketResponse() public method

public PacketResponse ( StreamBuffer source ) : System
source StreamBuffer
return System

SkipHeader() public method

public SkipHeader ( ) : void
return void