|
Planeshift
|
Reward Data is an abstract structure for all kinds of rewards. More...
#include <adminmanager.h>
Public Types | |
| enum | Reward_Type { REWARD_EXPERIENCE, REWARD_FACTION, REWARD_SKILL, REWARD_MONEY, REWARD_ITEM, REWARD_PRACTICE } |
The different types of rewards that can be assigned. More... | |
Public Member Functions | |
| virtual bool | IsZero () |
| checks if the reward is zero returns bool: true when reward is a zero gain, otherwise false | |
| psRewardData (Reward_Type prewardType) | |
| Only initializes the rewardType. | |
| virtual | ~psRewardData () |
| Destructor. | |
Public Attributes | |
| Reward_Type | rewardType |
| stores the reward type /see Reward_Type | |
Reward Data is an abstract structure for all kinds of rewards.
Definition at line 89 of file adminmanager.h.
The different types of rewards that can be assigned.
| REWARD_EXPERIENCE |
experience |
| REWARD_FACTION |
faction points |
| REWARD_SKILL |
skill points |
| REWARD_MONEY |
trias, octas, ... |
| REWARD_ITEM |
an item |
| REWARD_PRACTICE |
skill practice |
Definition at line 93 of file adminmanager.h.
| psRewardData::psRewardData | ( | Reward_Type | prewardType | ) |
Only initializes the rewardType.
| virtual psRewardData::~psRewardData | ( | ) | [virtual] |
Destructor.
| virtual bool psRewardData::IsZero | ( | ) | [virtual] |
checks if the reward is zero returns bool: true when reward is a zero gain, otherwise false
Reimplemented in psRewardDataExperience, psRewardDataFaction, psRewardDataSkill, psRewardDataPractice, psRewardDataMoney, and psRewardDataItem.
stores the reward type /see Reward_Type
Definition at line 103 of file adminmanager.h.
1.7.3