C# Class GameBase.Network.GamePacketKeyEx

Datei anzeigen Open project: dream-young-soul/soul Class Usage Examples

Public Properties

Property Type Description
m_DecodeKey byte[]
m_EncodeKey byte[]

Public Methods

Method Description
DecodePacket ( byte &key, int nlen ) : void
EncodePacket ( byte &key, int nlen ) : void
ExchangeLongBits ( int key, byte n ) : int
GamePacketKeyEx ( ) : System
InitKey ( ) : void
SunUpdateKey ( int key, int key2 ) : void
UpdateKey ( int key ) : void

Method Details

DecodePacket() public method

public DecodePacket ( byte &key, int nlen ) : void
key byte
nlen int
return void

EncodePacket() public method

public EncodePacket ( byte &key, int nlen ) : void
key byte
nlen int
return void

ExchangeLongBits() public method

public ExchangeLongBits ( int key, byte n ) : int
key int
n byte
return int

GamePacketKeyEx() public method

public GamePacketKeyEx ( ) : System
return System

InitKey() public method

public InitKey ( ) : void
return void

SunUpdateKey() public method

public SunUpdateKey ( int key, int key2 ) : void
key int
key2 int
return void

UpdateKey() public method

public UpdateKey ( int key ) : void
key int
return void

Property Details

m_DecodeKey public_oe property

public byte[] m_DecodeKey
return byte[]

m_EncodeKey public_oe property

public byte[] m_EncodeKey
return byte[]