Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members
iQuestRewardType Struct Reference
The reward type is responsible for the creation of reward factories. More...
#include <tools/questmanager.h>
Public Member Functions | |
virtual const char * | GetName () const =0 |
Return the name for this reward type. | |
virtual csPtr< iQuestRewardFactory > | CreateRewardFactory ()=0 |
Create a reward factory. |
Detailed Description
The reward type is responsible for the creation of reward factories.If you want to define a new type of reward then you must implement iQuestRewardType, iQuestRewardFactory, and iQuestReward. You register reward types with the quest manager so that they can be used by quest factories.
Definition at line 253 of file questmanager.h.
Member Function Documentation
|
Create a reward factory.
|
|
Return the name for this reward type.
|
The documentation for this struct was generated from the following file:
- tools/questmanager.h
Generated for CEL: Crystal Entity Layer by doxygen 1.4.4