CharSelectDialog Class Reference
[User interface related classes (windows, dialogs)]

#include <char_select.h>

Inheritance diagram for CharSelectDialog:

Window

List of all members.


Detailed Description

Character selection dialog.

Definition at line 46 of file char_select.h.


Public Member Functions

 CharSelectDialog (LockedArray< LocalPlayer * > *charInfo, Gender gender)
 Constructor.
void action (const gcn::ActionEvent &event)
void updatePlayerInfo ()
void logic ()
bool selectByName (const std::string &name)

Private Member Functions

void attemptCharDelete ()
 Communicate character deletion to the server.
void attemptCharSelect ()
 Communicate character selection to the server.

Private Attributes

LockedArray< LocalPlayer * > * mCharInfo
gcn::Button * mSelectButton
gcn::Button * mCancelButton
gcn::Button * mPreviousButton
gcn::Button * mNextButton
gcn::Label * mNameLabel
gcn::Label * mLevelLabel
gcn::Label * mMoneyLabel
std::string mMoney
PlayerBoxmPlayerBox
bool mCharSelected
gcn::Button * mNewDelCharButton
gcn::Label * mJobLevelLabel
Gender mGender

Friends

class CharDeleteConfirm

Constructor & Destructor Documentation

CharSelectDialog::CharSelectDialog ( LockedArray< LocalPlayer * > *  charInfo,
Gender  gender 
)

Constructor.

Definition at line 103 of file char_select.cpp.


Member Function Documentation

void CharSelectDialog::action ( const gcn::ActionEvent &  event  ) 

Definition at line 196 of file char_select.cpp.

void CharSelectDialog::updatePlayerInfo (  ) 

Definition at line 296 of file char_select.cpp.

void CharSelectDialog::logic (  ) 

Definition at line 353 of file char_select.cpp.

bool CharSelectDialog::selectByName ( const std::string &  name  ) 

Definition at line 358 of file char_select.cpp.

void CharSelectDialog::attemptCharDelete (  )  [private]

Communicate character deletion to the server.

Definition at line 341 of file char_select.cpp.

void CharSelectDialog::attemptCharSelect (  )  [private]

Communicate character selection to the server.

Definition at line 347 of file char_select.cpp.


Friends And Related Function Documentation

friend class CharDeleteConfirm [friend]

Definition at line 49 of file char_select.h.


Member Data Documentation

Definition at line 70 of file char_select.h.

gcn::Button* CharSelectDialog::mSelectButton [private]

Definition at line 72 of file char_select.h.

gcn::Button* CharSelectDialog::mCancelButton [private]

Definition at line 73 of file char_select.h.

gcn::Button* CharSelectDialog::mPreviousButton [private]

Definition at line 74 of file char_select.h.

gcn::Button* CharSelectDialog::mNextButton [private]

Definition at line 75 of file char_select.h.

gcn::Label* CharSelectDialog::mNameLabel [private]

Definition at line 77 of file char_select.h.

gcn::Label* CharSelectDialog::mLevelLabel [private]

Definition at line 78 of file char_select.h.

gcn::Label* CharSelectDialog::mMoneyLabel [private]

Definition at line 79 of file char_select.h.

std::string CharSelectDialog::mMoney [private]

Definition at line 80 of file char_select.h.

Definition at line 82 of file char_select.h.

Definition at line 84 of file char_select.h.

gcn::Button* CharSelectDialog::mNewDelCharButton [private]

Definition at line 96 of file char_select.h.

gcn::Label* CharSelectDialog::mJobLevelLabel [private]

Definition at line 97 of file char_select.h.

Definition at line 98 of file char_select.h.


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

Generated on Sun Apr 26 17:30:43 2009 for The Mana World by  doxygen 1.5.5