Planeshift
|
RewardDataItem holds item reward data. More...
#include <adminmanager.h>
Public Member Functions | |
virtual bool | IsZero () |
checks if the reward is zero More... | |
psRewardDataItem (csString pitemName, int pstackCount) | |
![]() | |
psRewardData (Reward_Type prewardType) | |
Only initializes the rewardType. More... | |
virtual | ~psRewardData () |
Destructor. More... | |
Public Attributes | |
csString | itemName |
name of the item to award More... | |
unsigned short | stackCount |
number of items to award 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... | |
RewardDataItem holds item reward data.
Definition at line 228 of file adminmanager.h.
psRewardDataItem::psRewardDataItem | ( | csString | pitemName, |
int | pstackCount | ||
) |
|
virtual |
checks if the reward is zero
Reimplemented from psRewardData.
csString psRewardDataItem::itemName |
name of the item to award
Definition at line 231 of file adminmanager.h.
unsigned short psRewardDataItem::stackCount |
number of items to award
Definition at line 232 of file adminmanager.h.