C# Class invertika_account.Account.GameServerHandler

Datei anzeigen Open project: Invertika/server

Public Methods

Method Description
deinitialize ( ) : void
dumpStatistics ( StreamWriter os ) : void
getGameServerFromMap ( int mapId ) : invertika_account.Account.GameServer
getGameServerFromMap ( int mapId, string &address, int &port ) : bool
initialize ( int port, string host ) : bool
process ( ) : void
registerClient ( string token, ISL.Server.Account.Character ptr ) : void
registerGameClient ( invertika_account.Account.GameServer s, string token, ISL.Server.Account.Character ptr ) : void
sendPartyChange ( ISL.Server.Account.Character ptr, int partyId ) : void
syncDatabase ( ISL.Server.Network.MessageIn msg ) : void

Method Details

deinitialize() public static method

public static deinitialize ( ) : void
return void

dumpStatistics() public static method

public static dumpStatistics ( StreamWriter os ) : void
os System.IO.StreamWriter
return void

getGameServerFromMap() public static method

public static getGameServerFromMap ( int mapId ) : invertika_account.Account.GameServer
mapId int
return invertika_account.Account.GameServer

getGameServerFromMap() public static method

public static getGameServerFromMap ( int mapId, string &address, int &port ) : bool
mapId int
address string
port int
return bool

initialize() public static method

public static initialize ( int port, string host ) : bool
port int
host string
return bool

process() public static method

public static process ( ) : void
return void

registerClient() public static method

public static registerClient ( string token, ISL.Server.Account.Character ptr ) : void
token string
ptr ISL.Server.Account.Character
return void

registerGameClient() public static method

public static registerGameClient ( invertika_account.Account.GameServer s, string token, ISL.Server.Account.Character ptr ) : void
s invertika_account.Account.GameServer
token string
ptr ISL.Server.Account.Character
return void

sendPartyChange() public static method

public static sendPartyChange ( ISL.Server.Account.Character ptr, int partyId ) : void
ptr ISL.Server.Account.Character
partyId int
return void

syncDatabase() public static method

public static syncDatabase ( ISL.Server.Network.MessageIn msg ) : void
msg ISL.Server.Network.MessageIn
return void