C# Class ZoneEngine.Core.ZoneClient

Inheritance: Cell.Core.ClientBase, IZoneClient
显示文件 Open project: CellAO/CellAO-NightPredator Class Usage Examples

Public Properties

Property Type Description
Playfield IPlayfield

Public Methods

Method Description
CreateCharacter ( int charId ) : void

SendCompressed ( SmokeLounge.AOtomation.Messaging.Messages.MessageBody messageBody ) : void

SendCompressed ( byte buffer ) : void

SendInitiateCompressionMessage ( SmokeLounge.AOtomation.Messaging.Messages.MessageBody messageBody ) : void

ZoneClient ( ZoneEngine.Core.ZoneServer server, IMessageSerializer messageSerializer, MemBus.IBus bus ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

GetMessageNumber ( Cell.Core.BufferSegment segment ) : uint

GetMessageNumber ( byte segment ) : uint

OnReceive ( Cell.Core.BufferSegment buffer ) : bool

Private Methods

Method Description
DispatchMessages ( ) : void

Method Details

CreateCharacter() public method

///
public CreateCharacter ( int charId ) : void
charId int ///
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool ///
return void

GetMessageNumber() protected method

protected GetMessageNumber ( Cell.Core.BufferSegment segment ) : uint
segment Cell.Core.BufferSegment ///
return uint

GetMessageNumber() protected method

protected GetMessageNumber ( byte segment ) : uint
segment byte ///
return uint

OnReceive() protected method

///
protected OnReceive ( Cell.Core.BufferSegment buffer ) : bool
buffer Cell.Core.BufferSegment ///
return bool

SendCompressed() public method

public SendCompressed ( SmokeLounge.AOtomation.Messaging.Messages.MessageBody messageBody ) : void
messageBody SmokeLounge.AOtomation.Messaging.Messages.MessageBody ///
return void

SendCompressed() public method

public SendCompressed ( byte buffer ) : void
buffer byte ///
return void

SendInitiateCompressionMessage() public method

public SendInitiateCompressionMessage ( SmokeLounge.AOtomation.Messaging.Messages.MessageBody messageBody ) : void
messageBody SmokeLounge.AOtomation.Messaging.Messages.MessageBody ///
return void

ZoneClient() public method

public ZoneClient ( ZoneEngine.Core.ZoneServer server, IMessageSerializer messageSerializer, MemBus.IBus bus ) : System
server ZoneEngine.Core.ZoneServer ///
messageSerializer IMessageSerializer ///
bus MemBus.IBus ///
return System

Property Details

Playfield public_oe property

public IPlayfield Playfield
return IPlayfield