C# Class Scripts.Engines.Encryption.Encryption

Inheritance: IPacketEncoder
显示文件 Open project: felladrin/last-wish

Public Methods

Method Description
DecodeIncomingPacket ( Server.Network.NetState from, byte &buffer, int &length ) : void
EncodeOutgoingPacket ( Server.Network.NetState to, byte &buffer, int &length ) : void
Encryption ( ) : System
HookedPlayServer ( Server.Network.NetState state, PacketReader pvSrc ) : void
Initialize ( ) : void
NetStateCreated ( Server.Network.NetState state ) : void
RejectNoEncryption ( Server.Network.NetState ns ) : void

Method Details

DecodeIncomingPacket() public method

public DecodeIncomingPacket ( Server.Network.NetState from, byte &buffer, int &length ) : void
from Server.Network.NetState
buffer byte
length int
return void

EncodeOutgoingPacket() public method

public EncodeOutgoingPacket ( Server.Network.NetState to, byte &buffer, int &length ) : void
to Server.Network.NetState
buffer byte
length int
return void

Encryption() public method

public Encryption ( ) : System
return System

HookedPlayServer() public static method

public static HookedPlayServer ( Server.Network.NetState state, PacketReader pvSrc ) : void
state Server.Network.NetState
pvSrc PacketReader
return void

Initialize() public static method

public static Initialize ( ) : void
return void

NetStateCreated() public static method

public static NetStateCreated ( Server.Network.NetState state ) : void
state Server.Network.NetState
return void

RejectNoEncryption() public method

public RejectNoEncryption ( Server.Network.NetState ns ) : void
ns Server.Network.NetState
return void