Planeshift
psRewardDataFaction Class Reference

RewardDataFaction holds faction reward data. More...

#include <adminmanager.h>

Public Member Functions

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

Public Attributes

int factionDelta
 relative value to adjust faction by More...
 
csString factionName
 name of the faction 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

RewardDataFaction holds faction reward data.

Definition at line 144 of file adminmanager.h.

Constructor & Destructor Documentation

psRewardDataFaction::psRewardDataFaction ( csString  pfactionName,
int  pfactionDelta 
)

Member Function Documentation

virtual bool psRewardDataFaction::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 psRewardDataFaction::factionDelta

relative value to adjust faction by

Definition at line 148 of file adminmanager.h.

csString psRewardDataFaction::factionName

name of the faction to adjust

Definition at line 147 of file adminmanager.h.


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