C# Класс BattleNET.BattlEyeClient

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
BattlEyeClient ( BattlEyeLoginCredentials loginCredentials ) : System
Connect ( ) : BattlEyeConnectionResult
Disconnect ( ) : void
SendCommand ( BattlEyeCommand command, string parameters = "" ) : int
SendCommand ( string command, bool log = true ) : int

Приватные методы

Метод Описание
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

Описание методов

BattlEyeClient() публичный метод

public BattlEyeClient ( BattlEyeLoginCredentials loginCredentials ) : System
loginCredentials BattlEyeLoginCredentials
Результат System

Connect() публичный метод

public Connect ( ) : BattlEyeConnectionResult
Результат BattlEyeConnectionResult

Disconnect() публичный метод

public Disconnect ( ) : void
Результат void

SendCommand() публичный метод

public SendCommand ( BattlEyeCommand command, string parameters = "" ) : int
command BattlEyeCommand
parameters string
Результат int

SendCommand() публичный метод

public SendCommand ( string command, bool log = true ) : int
command string
log bool
Результат int