Planeshift
|
RewardDataSkill holds skill reward data. More...
#include <adminmanager.h>
Public Member Functions | |
virtual bool | IsZero () |
checks if the reward is zero. | |
psRewardDataSkill (csString pskillName, int pskillDelta, int pskillCap, bool prelativeSkill) | |
Public Attributes | |
bool | relativeSkill |
determines whether the value to adjust the skill is relative or not | |
unsigned int | skillCap |
maximum value the skill should have | |
int | skillDelta |
value to adjust the skill by/set it to | |
csString | skillName |
name of the skill to adjust. |
RewardDataSkill holds skill reward data.
Definition at line 159 of file adminmanager.h.
psRewardDataSkill::psRewardDataSkill | ( | csString | pskillName, |
int | pskillDelta, | ||
int | pskillCap, | ||
bool | prelativeSkill | ||
) |
virtual bool psRewardDataSkill::IsZero | ( | ) | [virtual] |
checks if the reward is zero.
Reimplemented from psRewardData.
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.
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.