Planeshift
psRewardDataPractice Class Reference

RewardDataPractice holds practice reward data. More...

#include <adminmanager.h>

Public Member Functions

virtual bool IsZero ()
 checks if the reward is zero. More...
 
 psRewardDataPractice (csString pSkillName, int pDelta)
 
- Public Member Functions inherited from psRewardData
 psRewardData (Reward_Type prewardType)
 Only initializes the rewardType. More...
 
virtual ~psRewardData ()
 Destructor. More...
 

Public Attributes

int practice
 value to adjust the practice by/set it to More...
 
csString skillName
 name of the practice to adjust. More...
 
- Public Attributes inherited from psRewardData
Reward_Type rewardType
 stores the reward type /see Reward_Type More...
 

Additional Inherited Members

- Public Types inherited from psRewardData
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...
 

Detailed Description

RewardDataPractice holds practice reward data.

Definition at line 184 of file adminmanager.h.

Constructor & Destructor Documentation

psRewardDataPractice::psRewardDataPractice ( csString  pSkillName,
int  pDelta 
)

Member Function Documentation

virtual bool psRewardDataPractice::IsZero ( )
virtual

checks if the reward is zero.

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

Reimplemented from psRewardData.

Member Data Documentation

int psRewardDataPractice::practice

value to adjust the practice by/set it to

Definition at line 192 of file adminmanager.h.

csString psRewardDataPractice::skillName

name of the practice to adjust.

may be "all" to adjust all practices. may be "copy" to set the values of the target

Definition at line 191 of file adminmanager.h.


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