C# Class BattleNET.BattlEyeClient

Show file Open project: marceldev89/BattleNET Class Usage Examples

Public Methods

Method Description
BattlEyeClient ( BattlEyeLoginCredentials loginCredentials ) : System
Connect ( ) : BattlEyeConnectionResult
Disconnect ( ) : void
SendCommand ( BattlEyeCommand command, string parameters = "" ) : int
SendCommand ( string command, bool log = true ) : int

Private Methods

Method Description
ConstructPacket ( BattlEyePacketType packetType, int sequenceNumber, string command ) : byte[]
Disconnect ( BattlEyeDisconnectionType disconnectionType ) : void
OnBattlEyeMessage ( string message, int id ) : void
OnConnect ( BattlEyeLoginCredentials loginDetails, BattlEyeConnectionResult connectionResult ) : void
OnDisconnect ( BattlEyeLoginCredentials loginDetails, BattlEyeDisconnectionType disconnectionType ) : void
Receive ( ) : void
ReceiveCallback ( IAsyncResult ar ) : void
SendAcknowledgePacket ( string command ) : BattlEyeCommandResult
SendCommandPacket ( BattlEyeCommand command, string parameters = "" ) : int
SendCommandPacket ( string command, bool log = true ) : int
SendLoginPacket ( string command ) : BattlEyeCommandResult
sendPacket ( byte packet ) : void

Method Details

BattlEyeClient() public method

public BattlEyeClient ( BattlEyeLoginCredentials loginCredentials ) : System
loginCredentials BattlEyeLoginCredentials
return System

Connect() public method

public Connect ( ) : BattlEyeConnectionResult
return BattlEyeConnectionResult

Disconnect() public method

public Disconnect ( ) : void
return void

SendCommand() public method

public SendCommand ( BattlEyeCommand command, string parameters = "" ) : int
command BattlEyeCommand
parameters string
return int

SendCommand() public method

public SendCommand ( string command, bool log = true ) : int
command string
log bool
return int