Planeshift
|
RewardDataSkill holds skill reward data. More...
#include <adminmanager.h>
Public Member Functions | |
virtual bool | IsZero () |
checks if the reward is zero. More... | |
psRewardDataSkill (csString pskillName, int pskillDelta, int pskillCap, bool prelativeSkill) | |
![]() | |
psRewardData (Reward_Type prewardType) | |
Only initializes the rewardType. More... | |
virtual | ~psRewardData () |
Destructor. More... | |
Public Attributes | |
bool | relativeSkill |
determines whether the value to adjust the skill is relative or not More... | |
unsigned int | skillCap |
maximum value the skill should have More... | |
int | skillDelta |
value to adjust the skill by/set it to More... | |
csString | skillName |
name of the skill to adjust. More... | |
![]() | |
Reward_Type | rewardType |
stores the reward type /see Reward_Type More... | |
Additional Inherited Members | |
![]() | |
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... | |
RewardDataSkill holds skill reward data.
Definition at line 159 of file adminmanager.h.
psRewardDataSkill::psRewardDataSkill | ( | csString | pskillName, |
int | pskillDelta, | ||
int | pskillCap, | ||
bool | prelativeSkill | ||
) |
|
virtual |
checks if the reward is zero.
Reimplemented from psRewardData.
bool psRewardDataSkill::relativeSkill |
determines whether the value to adjust the skill is relative or not
Definition at line 172 of file adminmanager.h.
maximum value the skill should have
Definition at line 168 of file adminmanager.h.
int psRewardDataSkill::skillDelta |
value to adjust the skill by/set it to
Definition at line 167 of file adminmanager.h.
csString psRewardDataSkill::skillName |
name of the skill to adjust.
may be "all" to adjust all skills. may be "copy" to set the values of the target
Definition at line 166 of file adminmanager.h.