C# Class WoWClassic.Gateway.GatewayConnection

Inheritance: WoWClassic.Common.Network.Connection
Show file Open project: miceiken/WoWClassicAuthServer Class Usage Examples

Public Properties

Property Type Description
AccountID int
AccountName string
GatewaySrv GatewayServer

Public Methods

Method Description
GatewayConnection ( GatewayServer server, Socket socket ) : System
SendPacket ( WorldOpcodes opcode, byte data ) : void
SendPacket ( byte data ) : void
SendWorldPacket ( WorldPacketHeader header, byte data ) : void

Method Details

GatewayConnection() public method

public GatewayConnection ( GatewayServer server, Socket socket ) : System
server GatewayServer
socket System.Net.Sockets.Socket
return System

SendPacket() public method

public SendPacket ( WorldOpcodes opcode, byte data ) : void
opcode WorldOpcodes
data byte
return void

SendPacket() public method

public SendPacket ( byte data ) : void
data byte
return void

SendWorldPacket() public method

public SendWorldPacket ( WorldPacketHeader header, byte data ) : void
header WoWClassic.Common.Packets.WorldPacketHeader
data byte
return void

Property Details

AccountID public property

public int AccountID
return int

AccountName public property

public string AccountName
return string

GatewaySrv public property

public GatewayServer,WoWClassic.Gateway GatewaySrv
return GatewayServer