|
Planeshift
|
Class for parsing rewards data from a command string and storing it. More...
#include <adminmanager.h>
Public Member Functions | |
| AdminCmdRewardParser () | |
| Creates a reward parser with the default reward types. More... | |
| virtual csString | GetHelpMessage () |
| Returns a help message describing the rewards syntax. More... | |
| bool | ParseWords (size_t index, const WordArray &words) |
| Parses the list of words starting at index. More... | |
| ~AdminCmdRewardParser () | |
Public Attributes | |
| csString | error |
| only set when an error occured during parsing More... | |
| csPDelArray< psRewardData > | rewards |
| extracted rewards More... | |
| AdminCmdSubCommandParser | rewardTypes |
| reward types More... | |
Class for parsing rewards data from a command string and storing it.
Definition at line 556 of file adminmanager.h.
| AdminCmdRewardParser::AdminCmdRewardParser | ( | ) |
Creates a reward parser with the default reward types.
|
inline |
Definition at line 570 of file adminmanager.h.
|
virtual |
Returns a help message describing the rewards syntax.
| bool AdminCmdRewardParser::ParseWords | ( | size_t | index, |
| const WordArray & | words | ||
| ) |
Parses the list of words starting at index.
| index | to start the parsing in the words array |
| words | array containing a commands parameters |
| csString AdminCmdRewardParser::error |
only set when an error occured during parsing
Definition at line 562 of file adminmanager.h.
| csPDelArray<psRewardData> AdminCmdRewardParser::rewards |
extracted rewards
Definition at line 561 of file adminmanager.h.
| AdminCmdSubCommandParser AdminCmdRewardParser::rewardTypes |
reward types
Definition at line 559 of file adminmanager.h.