Planeshift
Public Member Functions

psServerConsoleCommand Class Reference

#include <serverconsole.h>

List of all members.

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.

Detailed Description

Definition at line 122 of file serverconsole.h.


Constructor & Destructor Documentation

psServerConsoleCommand::psServerConsoleCommand ( const char *  command) [inline]

Definition at line 128 of file serverconsole.h.


Member Function Documentation

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.


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