iRewardFactory Struct Reference
A factory to create rewards. More...
#include <tools/rewards.h>
Inheritance diagram for iRewardFactory:

Public Member Functions | |
| virtual csPtr< iReward > | CreateReward (const celParams ¶ms)=0 |
| Create a reward. | |
| virtual bool | Load (iDocumentNode *node)=0 |
| Load this factory from a document node. | |
Detailed Description
A factory to create rewards.
Reward factories are created by an iRewardType instance.
Definition at line 50 of file rewards.h.
Member Function Documentation
Create a reward.
- Parameters:
-
quest is the quest for which we are creating this reward. params are the parameters with which this reward is instantiated.
| virtual bool iRewardFactory::Load | ( | iDocumentNode * | node | ) | [pure virtual] |
Load this factory from a document node.
- Parameters:
-
node is the <reward> node in a trigger description.
- Returns:
- false on error (reporter is used to report).
The documentation for this struct was generated from the following file:
- tools/rewards.h
Generated for CEL: Crystal Entity Layer 2.0 by doxygen 1.6.1
