62 Gender gender,
int hairstyle,
int hairColor,
63 const std::vector<int> &stats)
override;
Character creation dialog.
Character selection dialog.
Deals with incoming messages related to character selection.
unsigned int hairSprite() const override
void newCharacter(const std::string &name, int slot, Gender gender, int hairstyle, int hairColor, const std::vector< int > &stats) override
void deleteCharacter(Net::Character *character) override
void handleCharacterCreateResponse(MessageIn &msg)
unsigned int baseSprite() const override
unsigned int maxSprite() const override
int getCharCreateMaxHairStyleId() const override
Returns the max permitted hair style Id at character creation time, or 0 if no limit should be applie...
void requestCharacters() override
void handleMessage(MessageIn &msg) override
void handleCharacterInfo(MessageIn &msg)
void switchCharacter() override
void setCharSelectDialog(CharSelectDialog *window) override
void handleCharacterDeleteResponse(MessageIn &msg)
void setCharCreateDialog(CharCreateDialog *window) override
Sets the character create dialog.
int getCharCreateMaxHairColorId() const override
Returns the max permitted hair color Id at character creation time, or 0 if no limit should be applie...
void handleCharacterSelectResponse(MessageIn &msg)
void chooseCharacter(Net::Character *character) override
std::vector< CachedCharacterInfo > mCachedCharacterInfos
Cached character information.
Used for parsing an incoming message from manaserv.
Character information needs to be cached since we receive it before we have loaded the dynamic data,...
std::map< int, CachedAttribute > attributes
std::vector< EquipmentSlot > equipment
A structure to hold information about a character.