Planeshift
|
Base class for manipulating weather effects. More...
#include <adminmanager.h>
Public Member Functions | |
AdminCmdDataWeatherEffect (csString command) | |
Creates obj for specified command that change weather effects. | |
AdminCmdDataWeatherEffect (csString command, AdminManager *msgManager, MsgEntry *me, psAdminCmdMessage &msg, Client *client, WordArray &words) | |
Parses the given message and stores its data. | |
virtual AdminCmdData * | CreateCmdData (AdminManager *msgManager, MsgEntry *me, psAdminCmdMessage &msg, Client *client, WordArray &words) |
Creates an object containing the parsed weather effect data. | |
virtual csString | GetHelpMessage () |
Returns a helpmessage that fits to the parser of the class. | |
virtual | ~AdminCmdDataWeatherEffect () |
Public Attributes | |
bool | enabled |
whether the weather effect is enabled or not | |
int | fadeTime |
in millisecs the time to have the particles fade | |
int | interval |
lenght of the weather effect | |
int | particleCount |
number of particles for the effect |
Base class for manipulating weather effects.
Definition at line 2003 of file adminmanager.h.
AdminCmdDataWeatherEffect::AdminCmdDataWeatherEffect | ( | csString | command | ) | [inline] |
Creates obj for specified command that change weather effects.
command | name of the command (e.g. /ban) |
Definition at line 2014 of file adminmanager.h.
AdminCmdDataWeatherEffect::AdminCmdDataWeatherEffect | ( | csString | command, |
AdminManager * | msgManager, | ||
MsgEntry * | me, | ||
psAdminCmdMessage & | msg, | ||
Client * | client, | ||
WordArray & | words | ||
) |
Parses the given message and stores its data.
command | name of the command (e.g. /ban) |
msgManager | message manager that handles this command |
me | The incoming message from the GM |
msg | psAdminCmdMessage containing the message |
client | client of the network communication |
words | command message to parse |
virtual AdminCmdDataWeatherEffect::~AdminCmdDataWeatherEffect | ( | ) | [inline, virtual] |
Definition at line 2028 of file adminmanager.h.
virtual AdminCmdData* AdminCmdDataWeatherEffect::CreateCmdData | ( | AdminManager * | msgManager, |
MsgEntry * | me, | ||
psAdminCmdMessage & | msg, | ||
Client * | client, | ||
WordArray & | words | ||
) | [virtual] |
Creates an object containing the parsed weather effect data.
msgManager | message manager that handles this command |
me | The incoming message from the GM |
msg | psAdminCmdMessage containing the message |
client | client of the network communication |
words | command message to parse |
Reimplemented from AdminCmdDataSectorTarget.
virtual csString AdminCmdDataWeatherEffect::GetHelpMessage | ( | ) | [virtual] |
Returns a helpmessage that fits to the parser of the class.
Reimplemented from AdminCmdDataSectorTarget.
whether the weather effect is enabled or not
Definition at line 2006 of file adminmanager.h.
in millisecs the time to have the particles fade
Definition at line 2009 of file adminmanager.h.
lenght of the weather effect
Definition at line 2008 of file adminmanager.h.
number of particles for the effect
Definition at line 2007 of file adminmanager.h.