CEL

Public API Reference

iQuestTriggerFactory Struct Reference

A factory to create triggers. More...

#include <tools/questmanager.h>

List of all members.

Public Member Functions

virtual csPtr< iQuestTriggerCreateTrigger (iQuest *quest, const celQuestParams &params)=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:
Generated for CEL: Crystal Entity Layer by doxygen 1.4.7