C# Class invertika_game.Game.AccountConnection

Inheritance: invertika_game.Network.Connection
Afficher le fichier Open project: Invertika/server Class Usage Examples

Méthodes publiques

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

Méthodes protégées

Méthode Description
processMessage ( ISL.Server.Network.MessageIn msg ) : void

Private Methods

Méthode 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 méthode

public AccountConnection ( ) : System
Résultat System

processMessage() protected méthode

protected processMessage ( ISL.Server.Network.MessageIn msg ) : void
msg ISL.Server.Network.MessageIn
Résultat void

sendCharacterData() public méthode

public sendCharacterData ( Character p ) : void
p Character
Résultat void

sendStatistics() public méthode

public sendStatistics ( ) : void
Résultat void

start() public méthode

public start ( int gameServerPort ) : bool
gameServerPort int
Résultat bool

syncChanges() public méthode

public syncChanges ( bool force ) : void
force bool
Résultat void

updateOnlineStatus() public méthode

public updateOnlineStatus ( int charId, bool online ) : void
charId int
online bool
Résultat void