C# Class SagaMap.Packets.Client.SendKey

Client packet that contains the key user by the client.
Inheritance: SagaLib.Packet
Show file Open project: Willyham/SagaRO2

Public Methods

Method Description
GetCollumns ( ) : byte

Get the number of collumns used by the algorithm

GetDirection ( ) : byte

Get the direction of rotation for the algorithm

GetKey ( ) : byte[]

Get the AES key that the client is sending from the packet.

GetRounds ( ) : byte

Get the number of bytes used by the algorithm

New ( ) : Packet
Parse ( SagaLib client ) : void
SendKey ( ) : System

Create an empty send key packet

Method Details

GetCollumns() public method

Get the number of collumns used by the algorithm
public GetCollumns ( ) : byte
return byte

GetDirection() public method

Get the direction of rotation for the algorithm
public GetDirection ( ) : byte
return byte

GetKey() public method

Get the AES key that the client is sending from the packet.
public GetKey ( ) : byte[]
return byte[]

GetRounds() public method

Get the number of bytes used by the algorithm
public GetRounds ( ) : byte
return byte

New() public method

public New ( ) : Packet
return SagaLib.Packet

Parse() public method

public Parse ( SagaLib client ) : void
client SagaLib
return void

SendKey() public method

Create an empty send key packet
public SendKey ( ) : System
return System