Planeshift
|
Class for fog command. More...
#include <adminmanager.h>
Public Member Functions | |
AdminCmdDataFog () | |
Creates obj for specified command that control fog. | |
AdminCmdDataFog (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 data for fog. | |
virtual csString | GetHelpMessage () |
Returns a helpmessage that fits to the parser of the class. | |
virtual | ~AdminCmdDataFog () |
Public Attributes | |
int | b |
fog color, blue component | |
int | density |
density of the fog | |
bool | enabled |
whether the weather effect is enabled or not | |
int | fadeTime |
in millisecs the time to have the particles fade | |
int | g |
fog color, green component | |
int | interval |
lenght of the weather effect | |
int | r |
fog color, red component |
Class for fog command.
Definition at line 2049 of file adminmanager.h.
AdminCmdDataFog::AdminCmdDataFog | ( | ) | [inline] |
Creates obj for specified command that control fog.
Definition at line 2062 of file adminmanager.h.
AdminCmdDataFog::AdminCmdDataFog | ( | AdminManager * | msgManager, |
MsgEntry * | me, | ||
psAdminCmdMessage & | msg, | ||
Client * | client, | ||
WordArray & | words | ||
) |
Parses the given message and stores its 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 |
virtual AdminCmdDataFog::~AdminCmdDataFog | ( | ) | [inline, virtual] |
Definition at line 2075 of file adminmanager.h.
virtual AdminCmdData* AdminCmdDataFog::CreateCmdData | ( | AdminManager * | msgManager, |
MsgEntry * | me, | ||
psAdminCmdMessage & | msg, | ||
Client * | client, | ||
WordArray & | words | ||
) | [virtual] |
Creates an object containing the parsed data for fog.
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 AdminCmdDataFog::GetHelpMessage | ( | ) | [virtual] |
Returns a helpmessage that fits to the parser of the class.
Reimplemented from AdminCmdDataSectorTarget.
fog color, blue component
Definition at line 2058 of file adminmanager.h.
density of the fog
Definition at line 2053 of file adminmanager.h.
whether the weather effect is enabled or not
Definition at line 2052 of file adminmanager.h.
in millisecs the time to have the particles fade
Definition at line 2054 of file adminmanager.h.
fog color, green component
Definition at line 2057 of file adminmanager.h.
lenght of the weather effect
Definition at line 2055 of file adminmanager.h.
fog color, red component
Definition at line 2056 of file adminmanager.h.