C# Class invertika_game.Game.AccountConnection

Inheritance: invertika_game.Network.Connection
Show file Open project: Invertika/server Class Usage Examples

Public Methods

Method Description
AccountConnection ( ) : System
sendCharacterData ( Character p ) : void
sendStatistics ( ) : void
start ( int gameServerPort ) : bool
syncChanges ( bool force ) : void
updateOnlineStatus ( int charId, bool online ) : void

Protected Methods

Method Description
processMessage ( ISL.Server.Network.MessageIn msg ) : void

Private Methods

Method Description
banCharacter ( Character ch, int duration ) : void
changeAccountLevel ( Character c, int level ) : void
createFloorItems ( int mapId, int itemId, int amount, int posX, int posY ) : void
getPost ( Character c ) : void
playerReconnectAccount ( int id, string magic_token ) : void
removeFloorItems ( int mapId, int itemId, int amount, int posX, int posY ) : void
requestCharacterVar ( Character ch, string name ) : void
sendPost ( Character c, ISL.Server.Network.MessageIn msg ) : void
sendTransaction ( int id, int action, string message ) : void
syncChanges ( ) : void
updateAttributes ( int charId, int attrId, double @base, double mod ) : void
updateCharacterPoints ( int charId, int charPoints, int corrPoints ) : void
updateCharacterVar ( Character ch, string name, string value ) : void
updateExperience ( int charId, int skillId, int skillValue ) : void
updateMapVar ( MapComposite map, string name, string value ) : void
updateWorldVar ( string name, string @value ) : void

Method Details

AccountConnection() public method

public AccountConnection ( ) : System
return System

processMessage() protected method

protected processMessage ( ISL.Server.Network.MessageIn msg ) : void
msg ISL.Server.Network.MessageIn
return void

sendCharacterData() public method

public sendCharacterData ( Character p ) : void
p Character
return void

sendStatistics() public method

public sendStatistics ( ) : void
return void

start() public method

public start ( int gameServerPort ) : bool
gameServerPort int
return bool

syncChanges() public method

public syncChanges ( bool force ) : void
force bool
return void

updateOnlineStatus() public method

public updateOnlineStatus ( int charId, bool online ) : void
charId int
online bool
return void