C# 클래스 OpenNos.GameObject.ClientSession

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

공개 프로퍼티들

프로퍼티 타입 설명
HealthStop System.Boolean

공개 메소드들

메소드 설명
ClearLowPriorityQueue ( ) : void
ClientSession ( INetworkClient client ) : System
Destroy ( ) : void
Disconnect ( ) : void
Initialize ( EncryptionBase encryptor, Type packetHandler, bool isWorldServer ) : void
InitializeAccount ( Account account ) : void
SendPacket ( PacketDefinition packet, byte priority = 10 ) : void
SendPacket ( string packet, byte priority = 10 ) : void
SendPacketAfterWait ( string packet, int Millisecond ) : void
SendPacketFormat ( string packet ) : void
SendPackets ( IEnumerable packets, byte priority = 10 ) : void
SetCharacter ( Character character ) : void

비공개 메소드들

메소드 설명
ClearReceiveQueue ( ) : void
CommunicationCallback_CharacterConnectedEvent ( object sender, EventArgs e ) : void
CommunicationCallback_CharacterDisconnectedEvent ( object sender, EventArgs e ) : void
GenerateHandlerReferences ( Type type, bool isWorldServer ) : void
HandlePackets ( ) : void

Handle the packet received by the Client.

OnNetworkClientMessageReceived ( object sender, OpenNos.Core.Communication.Scs.Communication.Messages.MessageEventArgs e ) : void

This will be triggered when the underlying NetworkCleint receives a packet.

TriggerHandler ( string packetHeader, string packet, bool force ) : void

메소드 상세

ClearLowPriorityQueue() 공개 메소드

public ClearLowPriorityQueue ( ) : void
리턴 void

ClientSession() 공개 메소드

public ClientSession ( INetworkClient client ) : System
client INetworkClient
리턴 System

Destroy() 공개 메소드

public Destroy ( ) : void
리턴 void

Disconnect() 공개 메소드

public Disconnect ( ) : void
리턴 void

Initialize() 공개 메소드

public Initialize ( EncryptionBase encryptor, Type packetHandler, bool isWorldServer ) : void
encryptor OpenNos.Core.EncryptionBase
packetHandler System.Type
isWorldServer bool
리턴 void

InitializeAccount() 공개 메소드

public InitializeAccount ( Account account ) : void
account Account
리턴 void

SendPacket() 공개 메소드

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

SendPacket() 공개 메소드

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

SendPacketAfterWait() 공개 메소드

public SendPacketAfterWait ( string packet, int Millisecond ) : void
packet string
Millisecond int
리턴 void

SendPacketFormat() 공개 메소드

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

SendPackets() 공개 메소드

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

SetCharacter() 공개 메소드

public SetCharacter ( Character character ) : void
character Character
리턴 void

프로퍼티 상세

HealthStop 공개적으로 프로퍼티

public Boolean,System HealthStop
리턴 System.Boolean