Logo Search packages:      
Sourcecode: mana version File versions  Download package

Classes | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes

ManaServ::CharHandler Class Reference

#include <charhandler.h>

Inheritance diagram for ManaServ::CharHandler:
Inheritance graph
Collaboration diagram for ManaServ::CharHandler:
Collaboration graph

List of all members.


struct  CachedCharacterInfo

Public Member Functions

int baseSprite () const
void chooseCharacter (Net::Character *character)
void clear ()
void deleteCharacter (Net::Character *character)
int hairSprite () const
void handleMessage (Net::MessageIn &msg)
int maxSprite () const
void newCharacter (const std::string &name, int slot, bool gender, int hairstyle, int hairColor, const std::vector< int > &stats)
void requestCharacters ()
void setCharCreateDialog (CharCreateDialog *window)
void setCharSelectDialog (CharSelectDialog *window)
void switchCharacter ()

Public Attributes

const Uint16 * handledMessages

Protected Member Functions

void unlockCharSelectDialog ()
void updateCharSelectDialog ()

Protected Attributes

Net::Characters mCharacters

Private Member Functions

void handleCharacterCreateResponse (Net::MessageIn &msg)
void handleCharacterDeleteResponse (Net::MessageIn &msg)
void handleCharacterInfo (Net::MessageIn &msg)
void handleCharacterSelectResponse (Net::MessageIn &msg)
void updateCharacters ()

Private Attributes

std::vector< CachedCharacterInfomCachedCharacterInfos

Detailed Description

Deals with incoming messages related to character selection.

Definition at line 38 of file charhandler.h.

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index