C# Class BattleNet.Bncs

Inheritance: GenericServer
Show file Open project: dkuwahara/AlphaBot Class Usage Examples

Public Methods

Method Description
Bncs ( ClientlessBot cb ) : System
BuildPacket ( byte command ) : byte[]
ThreadFunction ( ) : void
Write ( byte packet ) : void

Protected Methods

Method Description
AccountLogin ( byte type, List data ) : void
AuthCheck ( byte type, List data ) : void
AuthInfoRequest ( byte type, List data ) : void
DispatchPacket ( byte type ) : PacketHandler
EnterChat ( byte type, List data ) : void
GetPacket ( List &bncsBuffer, List &data ) : bool
HandleAdvertising ( byte type, List data ) : void
LoginResult ( byte type, List data ) : void
PingRequest ( byte type, List data ) : void
RealmList ( byte type, List data ) : void
StartMcp ( byte type, List data ) : void
VoidRequest ( byte type, List data ) : void
handleAuthCheckResult ( ulong result, string info ) : bool

Method Details

AccountLogin() protected method

protected AccountLogin ( byte type, List data ) : void
type byte
data List
return void

AuthCheck() protected method

protected AuthCheck ( byte type, List data ) : void
type byte
data List
return void

AuthInfoRequest() protected method

protected AuthInfoRequest ( byte type, List data ) : void
type byte
data List
return void

Bncs() public method

public Bncs ( ClientlessBot cb ) : System
cb ClientlessBot
return System

BuildPacket() public method

public BuildPacket ( byte command ) : byte[]
command byte
return byte[]

DispatchPacket() protected method

protected DispatchPacket ( byte type ) : PacketHandler
type byte
return PacketHandler

EnterChat() protected method

protected EnterChat ( byte type, List data ) : void
type byte
data List
return void

GetPacket() protected method

protected GetPacket ( List &bncsBuffer, List &data ) : bool
bncsBuffer List
data List
return bool

HandleAdvertising() protected method

protected HandleAdvertising ( byte type, List data ) : void
type byte
data List
return void

LoginResult() protected method

protected LoginResult ( byte type, List data ) : void
type byte
data List
return void

PingRequest() protected method

protected PingRequest ( byte type, List data ) : void
type byte
data List
return void

RealmList() protected method

protected RealmList ( byte type, List data ) : void
type byte
data List
return void

StartMcp() protected method

protected StartMcp ( byte type, List data ) : void
type byte
data List
return void

ThreadFunction() public method

public ThreadFunction ( ) : void
return void

VoidRequest() protected method

protected VoidRequest ( byte type, List data ) : void
type byte
data List
return void

Write() public method

public Write ( byte packet ) : void
packet byte
return void

handleAuthCheckResult() protected method

protected handleAuthCheckResult ( ulong result, string info ) : bool
result ulong
info string
return bool