iQuestTriggerFactory Struct Reference
A factory to create triggers. More...
#include <tools/questmanager.h>
Public Member Functions | |
| virtual csPtr< iQuestTrigger > | CreateTrigger (iQuest *quest, const celQuestParams ¶ms)=0 |
| Create a trigger. | |
| virtual bool | Load (iDocumentNode *node)=0 |
| Load this factory from a document node. | |
Detailed Description
A factory to create triggers.Trigger factories are created by an iQuestTriggerType instance.
Definition at line 156 of file questmanager.h.
Member Function Documentation
| virtual csPtr<iQuestTrigger> iQuestTriggerFactory::CreateTrigger | ( | iQuest * | quest, | |
| const celQuestParams & | params | |||
| ) | [pure virtual] |
Create a trigger.
- Parameters:
-
quest is the quest for which this trigger is created. params are the parameters with which this reward is instantiated.
| virtual bool iQuestTriggerFactory::Load | ( | iDocumentNode * | node | ) | [pure virtual] |
Load this factory from a document node.
- Parameters:
-
node is the <fireon> 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/questmanager.h
Generated for CEL: Crystal Entity Layer by doxygen 1.4.7
