ManaPlus
|
#include <charserverhandler.h>
Public Member Functions | |
CharServerHandler () | |
~CharServerHandler () | |
void | chooseCharacter (Net::Character *const character) const |
void | newCharacter (const std::string &name, const int slot, const GenderT gender, const int hairstyle, const int hairColor, const unsigned char race, const uint16_t look, const std::vector< int > &stats) const |
void | deleteCharacter (Net::Character *const character, const std::string &email) const |
void | renameCharacter (const BeingId id, const std::string &newName) const |
void | switchCharacter () const |
void | connect () const |
void | setNewPincode (const BeingId accountId, const std::string &pin) const |
void | sendCheckPincode (const BeingId accountId, const std::string &pin) const |
void | changePincode (const BeingId accountId, const std::string &oldPin, const std::string &newPin) const |
void | setCharCreateDialog (CharCreateDialog *const window) const |
void | changeSlot (const int oldSlot, const int newSlot) const |
void | ping () const |
unsigned int | hatSprite () const A_CONST |
Public Member Functions inherited from Ea::CharServerHandler | |
void | setCharSelectDialog (CharSelectDialog *const window) const |
void | requestCharacters () const |
unsigned int | baseSprite () const A_CONST |
unsigned int | hairSprite () const A_CONST |
unsigned int | maxSprite () const A_CONST |
void | clear () const |
Additional Inherited Members | |
Static Public Member Functions inherited from Net::CharServerHandler | |
static void | updateCharSelectDialog () |
static void | unlockCharSelectDialog () |
Static Public Attributes inherited from Net::CharServerHandler | |
static Net::Characters | mCharacters |
static CharSelectDialog * | mCharSelectDialog = 0 |
static CharCreateDialog * | mCharCreateDialog = 0 |
static Net::Character * | mSelectedCharacter = 0 |
Protected Member Functions inherited from Ea::CharServerHandler | |
CharServerHandler () | |
Protected Member Functions inherited from Net::CharServerHandler | |
CharServerHandler () | |
Deals with incoming messages from the character server.
Definition at line 35 of file charserverhandler.h.
TmwAthena::CharServerHandler::CharServerHandler | ( | ) |
Definition at line 50 of file charserverhandler.cpp.
References charServerHandler.
|
virtual |
Reimplemented from Ea::CharServerHandler.
Definition at line 56 of file charserverhandler.cpp.
References charServerHandler.
|
inlinevirtual |
|
virtual |
Implements Net::CharServerHandler.
Definition at line 183 of file charserverhandler.cpp.
|
virtual |
Implements Net::CharServerHandler.
Definition at line 61 of file charserverhandler.cpp.
References CAST_U8, createOutPacket, Net::CharServerHandler::mCharSelectDialog, Net::CharServerHandler::mSelectedCharacter, and Net::Character::slot.
|
virtual |
Implements Ea::CharServerHandler.
Definition at line 115 of file charserverhandler.cpp.
References Token::account_ID, TmwAthena::charServer, CLIENT_PROTOCOL_VERSION, Ea::Network::connect(), createOutPacket, Ea::Network::disconnect(), Being::genderToInt(), loginHandler, TmwAthena::Network::mInstance, Token::session_ID1, Token::session_ID2, Token::sex, and Ea::Network::skip().
|
virtual |
Implements Net::CharServerHandler.
Definition at line 94 of file charserverhandler.cpp.
References createOutPacket, Net::Character::dummy, ActorSprite::getId(), and Net::CharServerHandler::mSelectedCharacter.
|
virtual |
Implements Net::CharServerHandler.
Definition at line 192 of file charserverhandler.cpp.
|
virtual |
Implements Net::CharServerHandler.
Definition at line 74 of file charserverhandler.cpp.
References CAST_S8, CAST_U8, and createOutPacket.
|
virtual |
Implements Net::CharServerHandler.
Definition at line 188 of file charserverhandler.cpp.
|
virtual |
Implements Net::CharServerHandler.
Definition at line 177 of file charserverhandler.cpp.
|
inlinevirtual |
|
virtual |
Sets the character create dialog. The handler will clean up this dialog when a new character is successfully created, and will unlock the dialog when a new character failed to be created.
Implements Net::CharServerHandler.
Definition at line 139 of file charserverhandler.cpp.
References _, CharDB::getMaxStat(), CharDB::getMinStat(), CharDB::getSumStat(), loginHandler, Net::CharServerHandler::mCharCreateDialog, CharCreateDialog::setAttributes(), CharCreateDialog::setDefaultGender(), and Token::sex.
Referenced by TmwAthena::GeneralHandler::reload().
|
inlinevirtual |
|
virtual |
Implements Net::CharServerHandler.
Definition at line 108 of file charserverhandler.cpp.
References createOutPacket.