C# 클래스 OpenNos.ServiceRef.Internal.FakeCommunicationService

상속: CommunicationServiceReference.ICommunicationService
파일 보기 프로젝트 열기: OpenNos/OpenNos

공개 메소드들

메소드 설명
AccountIsConnected ( string accountName ) : bool

Checks if the Account has a connected Character

AccountIsConnectedAsync ( string accountName ) : Task
Cleanup ( ) : void

Cleanup hold Data, this is for restarting the server

CleanupAsync ( ) : System.Threading.Tasks.Task
ConnectAccount ( string accountName, int sessionId ) : bool

Registers that the given Account has now logged in

ConnectAccountAsync ( string accountName, int sessionId ) : Task
ConnectCharacter ( string characterName, string accountName ) : bool

Registers that the given Character has now logged in

ConnectCharacterAsync ( string characterName, string accountName ) : Task
DisconnectAccount ( string accountName ) : void

Disconnect Account from server.

DisconnectAccountAsync ( string accountName ) : System.Threading.Tasks.Task
DisconnectCharacter ( string characterName, long characterId ) : void

Disconnect character from server.

DisconnectCharacterAsync ( string characterName, long characterId ) : System.Threading.Tasks.Task
HasRegisteredAccountLogin ( string accountName, long sessionId ) : bool

Checks if the Account is allowed to login, removes the permission to login

HasRegisteredAccountLoginAsync ( string name, long sessionId ) : Task
RegisterAccountLogin ( string accountName, long sessionId ) : void

Register Account for Login (Verification for Security)

RegisterAccountLoginAsync ( string name, long sessionId ) : System.Threading.Tasks.Task

메소드 상세

AccountIsConnected() 공개 메소드

Checks if the Account has a connected Character
public AccountIsConnected ( string accountName ) : bool
accountName string Name of the Account
리턴 bool

AccountIsConnectedAsync() 공개 메소드

public AccountIsConnectedAsync ( string accountName ) : Task
accountName string
리턴 Task

Cleanup() 공개 메소드

Cleanup hold Data, this is for restarting the server
public Cleanup ( ) : void
리턴 void

CleanupAsync() 공개 메소드

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

ConnectAccount() 공개 메소드

Registers that the given Account has now logged in
public ConnectAccount ( string accountName, int sessionId ) : bool
accountName string Name of the Account.
sessionId int SessionId of the login.
리턴 bool

ConnectAccountAsync() 공개 메소드

public ConnectAccountAsync ( string accountName, int sessionId ) : Task
accountName string
sessionId int
리턴 Task

ConnectCharacter() 공개 메소드

Registers that the given Character has now logged in
public ConnectCharacter ( string characterName, string accountName ) : bool
characterName string Name of the Character.
accountName string Account of the Character to login.
리턴 bool

ConnectCharacterAsync() 공개 메소드

public ConnectCharacterAsync ( string characterName, string accountName ) : Task
characterName string
accountName string
리턴 Task

DisconnectAccount() 공개 메소드

Disconnect Account from server.
public DisconnectAccount ( string accountName ) : void
accountName string Account who wants to disconnect.
리턴 void

DisconnectAccountAsync() 공개 메소드

public DisconnectAccountAsync ( string accountName ) : System.Threading.Tasks.Task
accountName string
리턴 System.Threading.Tasks.Task

DisconnectCharacter() 공개 메소드

Disconnect character from server.
public DisconnectCharacter ( string characterName, long characterId ) : void
characterName string Character who wants to disconnect.
characterId long
리턴 void

DisconnectCharacterAsync() 공개 메소드

public DisconnectCharacterAsync ( string characterName, long characterId ) : System.Threading.Tasks.Task
characterName string
characterId long
리턴 System.Threading.Tasks.Task

HasRegisteredAccountLogin() 공개 메소드

Checks if the Account is allowed to login, removes the permission to login
public HasRegisteredAccountLogin ( string accountName, long sessionId ) : bool
accountName string Name of the Account.
sessionId long SessionId to check for validity.
리턴 bool

HasRegisteredAccountLoginAsync() 공개 메소드

public HasRegisteredAccountLoginAsync ( string name, long sessionId ) : Task
name string
sessionId long
리턴 Task

RegisterAccountLogin() 공개 메소드

Register Account for Login (Verification for Security)
public RegisterAccountLogin ( string accountName, long sessionId ) : void
accountName string Name of the Account
sessionId long SessionId for the valid connection.
리턴 void

RegisterAccountLoginAsync() 공개 메소드

public RegisterAccountLoginAsync ( string name, long sessionId ) : System.Threading.Tasks.Task
name string
sessionId long
리턴 System.Threading.Tasks.Task