C# 클래스 OpenStory.Server.Accounts.AccountServer

Represents an in-memory account activity server.
상속: OpenStory.Server.Processing.GameServerBase, IAccountService
파일 보기 프로젝트 열기: shoftee/OpenStory

공개 메소드들

메소드 설명
AccountServer ( IClock clock ) : System

Initializes a new instance of the AccountServer class.

TryKeepAlive ( int accountId, System.TimeSpan &lag ) : bool
TryRegisterCharacter ( int accountId, int characterId ) : bool
TryRegisterSession ( int accountId, int &sessionId ) : bool
TryUnregisterSession ( int accountId ) : bool

메소드 상세

AccountServer() 공개 메소드

Initializes a new instance of the AccountServer class.
public AccountServer ( IClock clock ) : System
clock IClock
리턴 System

TryKeepAlive() 공개 메소드

public TryKeepAlive ( int accountId, System.TimeSpan &lag ) : bool
accountId int
lag System.TimeSpan
리턴 bool

TryRegisterCharacter() 공개 메소드

public TryRegisterCharacter ( int accountId, int characterId ) : bool
accountId int
characterId int
리턴 bool

TryRegisterSession() 공개 메소드

public TryRegisterSession ( int accountId, int &sessionId ) : bool
accountId int
sessionId int
리턴 bool

TryUnregisterSession() 공개 메소드

public TryUnregisterSession ( int accountId ) : bool
accountId int
리턴 bool