Planeshift
|
A window that allows scripting of hired NPCs. More...
#include <pawsscripthirednpcwindow.h>
Public Member Functions | |
void | HandleHiredNPCScript (const psHiredNPCScriptMessage &msg) |
Handle the script message. | |
void | HandleMessage (MsgEntry *me) |
Handle reception of subscribed messages. | |
virtual bool | OnButtonPressed (int mouseButton, int keyModifier, pawsWidget *widget) |
Handle button pressed. | |
virtual bool | OnChange (pawsWidget *widget) |
Called when some of the chiled parents change. | |
virtual void | OnStringEntered (const char *name, int param, const char *value) |
Handle enter string dialog result. | |
pawsScriptHiredNPCWindow () | |
Constructor. | |
virtual bool | PostSetup () |
Do post setup of the window. | |
void | SetVerified (bool status) |
Set Verified status on dialog. | |
virtual | ~pawsScriptHiredNPCWindow () |
Destructor. |
A window that allows scripting of hired NPCs.
Communicate with the HireManager in the Server.
Definition at line 50 of file pawsscripthirednpcwindow.h.
pawsScriptHiredNPCWindow::pawsScriptHiredNPCWindow | ( | ) |
Constructor.
virtual pawsScriptHiredNPCWindow::~pawsScriptHiredNPCWindow | ( | ) | [virtual] |
Destructor.
void pawsScriptHiredNPCWindow::HandleHiredNPCScript | ( | const psHiredNPCScriptMessage & | msg | ) |
Handle the script message.
void pawsScriptHiredNPCWindow::HandleMessage | ( | MsgEntry * | me | ) | [virtual] |
Handle reception of subscribed messages.
Implements psClientNetSubscriber.
virtual bool pawsScriptHiredNPCWindow::OnButtonPressed | ( | int | mouseButton, |
int | keyModifier, | ||
pawsWidget * | widget | ||
) | [virtual] |
Handle button pressed.
Reimplemented from pawsWidget.
virtual bool pawsScriptHiredNPCWindow::OnChange | ( | pawsWidget * | widget | ) | [virtual] |
Called when some of the chiled parents change.
Reimplemented from pawsWidget.
virtual void pawsScriptHiredNPCWindow::OnStringEntered | ( | const char * | name, |
int | param, | ||
const char * | value | ||
) | [virtual] |
Handle enter string dialog result.
Implements iOnStringEnteredAction.
virtual bool pawsScriptHiredNPCWindow::PostSetup | ( | ) | [virtual] |
Do post setup of the window.
Reimplemented from pawsWidget.
void pawsScriptHiredNPCWindow::SetVerified | ( | bool | status | ) |
Set Verified status on dialog.
Update the verified status, ok button and verify button avalability.