C# Класс OpenStory.Server.Accounts.AccountServer

Represents an in-memory account activity server.
Наследование: OpenStory.Server.Processing.GameServerBase, IAccountService
Показать файл Открыть проект

Открытые методы

Метод Описание
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