C# 클래스 OpenNos.GameObject.Mock.FakeNetworkClient

상속: INetworkClient
파일 보기 프로젝트 열기: OpenNos/OpenNos 1 사용 예제들

공개 메소드들

메소드 설명
ClearLowPriorityQueue ( ) : System.Threading.Tasks.Task
Disconnect ( ) : void
FakeNetworkClient ( ) : OpenNos.Core
GetClientSession ( ) : ClientSession
Initialize ( EncryptionBase encryptor ) : void
ReceivePacket ( PacketDefinition packet ) : void

Send a packet to the Server as the Fake client receives it and triggers a Handler method.

ReceivePacket ( string packet ) : void

Send a Packet to the Server as the Fake client receives it and triggers a Handler method.

SendPacket ( string packet, byte priority = 10 ) : void
SendPacketFormat ( string packet ) : void
SendPackets ( IEnumerable packets, byte priority = 10 ) : void
SetClientSession ( object clientSession ) : void

메소드 상세

ClearLowPriorityQueue() 공개 메소드

public ClearLowPriorityQueue ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task

Disconnect() 공개 메소드

public Disconnect ( ) : void
리턴 void

FakeNetworkClient() 공개 메소드

public FakeNetworkClient ( ) : OpenNos.Core
리턴 OpenNos.Core

GetClientSession() 공개 메소드

public GetClientSession ( ) : ClientSession
리턴 ClientSession

Initialize() 공개 메소드

public Initialize ( EncryptionBase encryptor ) : void
encryptor OpenNos.Core.EncryptionBase
리턴 void

ReceivePacket() 공개 메소드

Send a packet to the Server as the Fake client receives it and triggers a Handler method.
public ReceivePacket ( PacketDefinition packet ) : void
packet PacketDefinition Packet created thru PacketFactory.
리턴 void

ReceivePacket() 공개 메소드

Send a Packet to the Server as the Fake client receives it and triggers a Handler method.
public ReceivePacket ( string packet ) : void
packet string
리턴 void

SendPacket() 공개 메소드

public SendPacket ( string packet, byte priority = 10 ) : void
packet string
priority byte
리턴 void

SendPacketFormat() 공개 메소드

public SendPacketFormat ( string packet ) : void
packet string
리턴 void

SendPackets() 공개 메소드

public SendPackets ( IEnumerable packets, byte priority = 10 ) : void
packets IEnumerable
priority byte
리턴 void

SetClientSession() 공개 메소드

public SetClientSession ( object clientSession ) : void
clientSession object
리턴 void