| 
    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  More... | |
| psRewardData (Reward_Type prewardType) | |
| Only initializes the rewardType.  More... | |
| virtual | ~psRewardData () | 
| Destructor.  More... | |
Public Attributes | |
| Reward_Type | rewardType | 
| stores the reward type /see Reward_Type  More... | |
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.
| Enumerator | |
|---|---|
| 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 | 
Destructor.
      
  | 
  virtual | 
checks if the reward is zero returns bool: true when reward is a zero gain, otherwise false
Reimplemented in psRewardDataItem, psRewardDataMoney, psRewardDataPractice, psRewardDataSkill, psRewardDataFaction, and psRewardDataExperience.
| Reward_Type psRewardData::rewardType | 
stores the reward type /see Reward_Type
Definition at line 103 of file adminmanager.h.