Planeshift
|
Class for handling path commands. More...
#include <adminmanager.h>
Public Member Functions | |
AdminCmdDataPath () | |
Creates obj for specified command that manipulate paths. | |
AdminCmdDataPath (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 paths. | |
virtual csString | GetHelpMessage () |
Returns a helpmessage that fits to the parser of the class. | |
virtual | ~AdminCmdDataPath () |
Public Attributes | |
csString | alias |
waypoint alias name | |
csString | aliasSubCmd |
storage for alias subcommand | |
AdminCmdSubCommandParser | aliasSubCommandList |
subsubcmds of alias | |
csString | cmdTarget |
'W' or 'P' as a target for hide/show | |
float | defaultRadius |
default radius for the case radius == 0.0 | |
int | firstIndex |
index for waypoint paths | |
csString | flagName |
single flag name | |
float | newRadius |
The radius to set for new radius for wps. | |
csString | pathFlags |
path flags | |
float | radius |
radius for waypoint/path operations | |
float | rotationAngle |
The rotation angle of a alias. | |
csString | subCmd |
storage for subcommand | |
AdminCmdSubCommandParser | subCommandList |
allowed subcommands | |
csString | waypoint |
waypoint name | |
csString | waypointFlags |
waypoint flags | |
int | waypointPathIndex |
Index of the wp or point. | |
csString | waypointPathName |
pathname for waypoints | |
AdminCmdSubCommandParser | wpList |
targetnames of hide/show | |
bool | wpOrPathIsIndex |
True when an index is used. | |
bool | wpOrPathIsWP |
Is it the path or the wp that should be updated. |
Class for handling path commands.
Definition at line 2467 of file adminmanager.h.
AdminCmdDataPath::AdminCmdDataPath | ( | ) | [inline] |
Creates obj for specified command that manipulate paths.
Definition at line 2494 of file adminmanager.h.
AdminCmdDataPath::AdminCmdDataPath | ( | 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 AdminCmdDataPath::~AdminCmdDataPath | ( | ) | [inline, virtual] |
Definition at line 2507 of file adminmanager.h.
virtual AdminCmdData* AdminCmdDataPath::CreateCmdData | ( | AdminManager * | msgManager, |
MsgEntry * | me, | ||
psAdminCmdMessage & | msg, | ||
Client * | client, | ||
WordArray & | words | ||
) | [virtual] |
Creates an object containing the parsed data for paths.
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 AdminCmdData.
virtual csString AdminCmdDataPath::GetHelpMessage | ( | ) | [virtual] |
Returns a helpmessage that fits to the parser of the class.
Reimplemented from AdminCmdData.
csString AdminCmdDataPath::alias |
waypoint alias name
Definition at line 2480 of file adminmanager.h.
csString AdminCmdDataPath::aliasSubCmd |
storage for alias subcommand
Definition at line 2474 of file adminmanager.h.
subsubcmds of alias
Definition at line 2471 of file adminmanager.h.
csString AdminCmdDataPath::cmdTarget |
'W' or 'P' as a target for hide/show
Definition at line 2486 of file adminmanager.h.
default radius for the case radius == 0.0
Definition at line 2476 of file adminmanager.h.
index for waypoint paths
Definition at line 2483 of file adminmanager.h.
csString AdminCmdDataPath::flagName |
single flag name
Definition at line 2481 of file adminmanager.h.
The radius to set for new radius for wps.
Definition at line 2478 of file adminmanager.h.
csString AdminCmdDataPath::pathFlags |
path flags
Definition at line 2485 of file adminmanager.h.
radius for waypoint/path operations
Definition at line 2477 of file adminmanager.h.
The rotation angle of a alias.
Definition at line 2489 of file adminmanager.h.
csString AdminCmdDataPath::subCmd |
storage for subcommand
Definition at line 2473 of file adminmanager.h.
allowed subcommands
Definition at line 2470 of file adminmanager.h.
csString AdminCmdDataPath::waypoint |
waypoint name
Definition at line 2479 of file adminmanager.h.
csString AdminCmdDataPath::waypointFlags |
waypoint flags
Definition at line 2484 of file adminmanager.h.
Index of the wp or point.
Definition at line 2487 of file adminmanager.h.
csString AdminCmdDataPath::waypointPathName |
pathname for waypoints
Definition at line 2482 of file adminmanager.h.
targetnames of hide/show
Definition at line 2472 of file adminmanager.h.
True when an index is used.
Definition at line 2488 of file adminmanager.h.
Is it the path or the wp that should be updated.
Definition at line 2475 of file adminmanager.h.