56 int hairstyle,
int hairColor,
57 const std::vector<int> &stats)
override;
Character creation dialog.
Character selection dialog.
Deals with incoming messages from the character server.
int getCharCreateMaxHairStyleId() const override
Returns the max permitted hair style Id at character creation time, or 0 if no limit should be applie...
void deleteCharacter(Net::Character *character) override
unsigned int baseSprite() const override
static void readPlayerData(MessageIn &msg, Net::Character *character)
void setCharSelectDialog(CharSelectDialog *window) override
void newCharacter(const std::string &name, int slot, Gender gender, int hairstyle, int hairColor, const std::vector< int > &stats) override
int getCharCreateMaxHairColorId() const override
Returns the max permitted hair color Id at character creation time, or 0 if no limit should be applie...
unsigned int hairSprite() const override
void setCharCreateDialog(CharCreateDialog *window) override
Sets the character create dialog.
int getCharCreateMinHairColorId() const override
Returns the min permitted hair color Id at character creation time, or 0 if there is no minimum.
void requestCharacters() override
void switchCharacter() override
unsigned int maxSprite() const override
void chooseCharacter(Net::Character *character) override
void handleMessage(MessageIn &msg) override
Used for parsing an incoming message from eAthena.
Warning: buffers and other variables are shared, so there can be only one connection active at a time...
A structure to hold information about a character.