Planeshift
|
#include <serverconsole.h>
Public Member Functions | |
psServerConsoleCommand (const char *command) | |
virtual csString | ToString () const |
Return a string with information about the event. | |
void | Trigger () |
Abstract event processing function. |
Definition at line 122 of file serverconsole.h.
psServerConsoleCommand::psServerConsoleCommand | ( | const char * | command | ) | [inline] |
Definition at line 128 of file serverconsole.h.
virtual csString psServerConsoleCommand::ToString | ( | ) | const [inline, virtual] |
Return a string with information about the event.
Used for debugging to be able to identify things like way did this event take so long to execute.
TODO: Make this function abstract. But for now return "".
Reimplemented from psGameEvent.
Definition at line 134 of file serverconsole.h.
void psServerConsoleCommand::Trigger | ( | ) | [inline, virtual] |
Abstract event processing function.
This functino have to be overridden and will be called if CheckTrigger is ok at the time given in the constructor.
Implements psGameEvent.
Definition at line 129 of file serverconsole.h.