Planeshift
Public Member Functions

pawsCharacterPickerWindow Class Reference

Where players can pick which character ( from the account ) that they to play as. More...

#include <pawscharpick.h>

List of all members.

Public Member Functions

bool CheckLoadStatus ()
void Draw ()
 Draws the widget and all of it's children.
void HandleMessage (MsgEntry *me)
bool OnButtonPressed (int mouseButton, int keyModifier, pawsWidget *widget)
 Called whenever a button is pressed.
bool OnButtonReleased (int mouseButton, int keyModifier, pawsWidget *widget)
 Called whenever a button is released.
 pawsCharacterPickerWindow ()
bool PostSetup ()
 This is called after the widget and all of it's children have been created.
void ReceivedStrings ()
 This is used ONLY by psClientDR to let the user join if we got the MsgStrings we need.
void SelectCharacter (int character, pawsWidget *widget)
void SelectCharacter (int character)
void Show ()
 Makes widget visible and brings it to the front.
void StoreHashedPassword (csString passwordHash, csString passwordHash256)
void StoreServerName (csString servName)
 ~pawsCharacterPickerWindow ()

Detailed Description

Where players can pick which character ( from the account ) that they to play as.

From this window you can also select to create a new character and enter that phase. This is connected to the network and listens for MSGTYPE_CHARACTERDATA type messages.

Definition at line 31 of file pawscharpick.h.


Constructor & Destructor Documentation

pawsCharacterPickerWindow::pawsCharacterPickerWindow ( )
pawsCharacterPickerWindow::~pawsCharacterPickerWindow ( )

Member Function Documentation

bool pawsCharacterPickerWindow::CheckLoadStatus ( ) [virtual]

Implements DelayedLoader.

void pawsCharacterPickerWindow::Draw ( ) [virtual]

Draws the widget and all of it's children.

Remarks:
Uses clipping rect of it's parent to define drawing area. If the drawing area defined is empty it returns.

Reimplemented from pawsWidget.

void pawsCharacterPickerWindow::HandleMessage ( MsgEntry me) [virtual]

Implements psClientNetSubscriber.

bool pawsCharacterPickerWindow::OnButtonPressed ( int  button,
int  keyModifier,
pawsWidget widget 
) [virtual]

Called whenever a button is pressed.

Parameters:
buttonThe button pressed.
keyModifierModifier key in effect.
widgetThe widget the button belongs to.
Returns:
bool Parent's result or FALSE if no parent.

Reimplemented from pawsWidget.

bool pawsCharacterPickerWindow::OnButtonReleased ( int  button,
int  keyModifier,
pawsWidget widget 
) [virtual]

Called whenever a button is released.

Parameters:
buttonThe button released.
keyModifierModifier key in effect.
widgetThe widget the button belongs to.
Returns:
bool Parent's result or FALSE if no parent.

Reimplemented from pawsWidget.

bool pawsCharacterPickerWindow::PostSetup ( ) [virtual]

This is called after the widget and all of it's children have been created.

Remarks:
This can be useful for widgets that want to get pointers to some of it's children for quick access.

Reimplemented from pawsWidget.

void pawsCharacterPickerWindow::ReceivedStrings ( )

This is used ONLY by psClientDR to let the user join if we got the MsgStrings we need.

void pawsCharacterPickerWindow::SelectCharacter ( int  character)
void pawsCharacterPickerWindow::SelectCharacter ( int  character,
pawsWidget widget 
)
void pawsCharacterPickerWindow::Show ( ) [virtual]

Makes widget visible and brings it to the front.

Sets visible TRUE shows border if present then calls BringToTop() on itself.

Reimplemented from pawsWidget.

void pawsCharacterPickerWindow::StoreHashedPassword ( csString  passwordHash,
csString  passwordHash256 
) [inline]

Definition at line 51 of file pawscharpick.h.

void pawsCharacterPickerWindow::StoreServerName ( csString  servName) [inline]

Definition at line 52 of file pawscharpick.h.


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