Planeshift
Public Member Functions | Public Attributes

psRewardDataSkill Class Reference

RewardDataSkill holds skill reward data. More...

#include <adminmanager.h>

List of all members.

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.

Detailed Description

RewardDataSkill holds skill reward data.

Definition at line 159 of file adminmanager.h.


Constructor & Destructor Documentation

psRewardDataSkill::psRewardDataSkill ( csString  pskillName,
int  pskillDelta,
int  pskillCap,
bool  prelativeSkill 
)

Member Function Documentation

virtual bool psRewardDataSkill::IsZero ( ) [virtual]

checks if the reward is zero.

Returns:
bool: true when reward is a zero gain, otherwise false checks if the reward is zero

Reimplemented from psRewardData.


Member Data Documentation

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.

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.


The documentation for this class was generated from the following file: