CEL

Public API Reference

iQuestStateFactory Struct Reference

A representation of a quest state in a quest factory. More...

#include <tools/questmanager.h>

Inheritance diagram for iQuestStateFactory:

List of all members.

Public Member Functions

virtual void AddExitRewardFactory (iRewardFactory *reward_fact)=0
 Add a new reward to be fired on state exit.
virtual void AddInitRewardFactory (iRewardFactory *reward_fact)=0
 Add a new reward to be fired on state initialization.
virtual
iQuestTriggerResponseFactory
CreateTriggerResponseFactory ()=0
 Create a new trigger response.
virtual csRef
< iRewardFactoryArray > 
GetExitRewardFactories ()=0
 Get the exit reward factories.
virtual csRef
< iRewardFactoryArray > 
GetInitRewardFactories ()=0
 Get the init reward factories.
virtual const char * GetName () const =0
 Get the name of this state.
virtual csRef
< iQuestTriggerResponseFactoryArray > 
GetTriggerResponseFactories ()=0
 Get all trigger responses.

Detailed Description

A representation of a quest state in a quest factory.

A state is basically a collection of trigger response factories.

Definition at line 161 of file questmanager.h.


Member Function Documentation

virtual void iQuestStateFactory::AddExitRewardFactory ( iRewardFactory reward_fact  )  [pure virtual]

Add a new reward to be fired on state exit.

virtual void iQuestStateFactory::AddInitRewardFactory ( iRewardFactory reward_fact  )  [pure virtual]

Add a new reward to be fired on state initialization.

virtual iQuestTriggerResponseFactory* iQuestStateFactory::CreateTriggerResponseFactory (  )  [pure virtual]

Create a new trigger response.

virtual csRef<iRewardFactoryArray> iQuestStateFactory::GetExitRewardFactories (  )  [pure virtual]

Get the exit reward factories.

virtual csRef<iRewardFactoryArray> iQuestStateFactory::GetInitRewardFactories (  )  [pure virtual]

Get the init reward factories.

virtual const char* iQuestStateFactory::GetName (  )  const [pure virtual]

Get the name of this state.

virtual csRef<iQuestTriggerResponseFactoryArray> iQuestStateFactory::GetTriggerResponseFactories (  )  [pure virtual]

Get all trigger responses.


The documentation for this struct was generated from the following file:

Generated for CEL: Crystal Entity Layer 2.1 by doxygen 1.6.1