C# Class BattleNET.BattlEyeClient

Afficher le fichier Open project: marceldev89/BattleNET Class Usage Examples

Méthodes publiques

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

Private Methods

Méthode 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 méthode

public BattlEyeClient ( BattlEyeLoginCredentials loginCredentials ) : System
loginCredentials BattlEyeLoginCredentials
Résultat System

Connect() public méthode

public Connect ( ) : BattlEyeConnectionResult
Résultat BattlEyeConnectionResult

Disconnect() public méthode

public Disconnect ( ) : void
Résultat void

SendCommand() public méthode

public SendCommand ( BattlEyeCommand command, string parameters = "" ) : int
command BattlEyeCommand
parameters string
Résultat int

SendCommand() public méthode

public SendCommand ( string command, bool log = true ) : int
command string
log bool
Résultat int