iQuest Struct Reference
A quest instance. More...
#include <tools/questmanager.h>
Public Member Functions | |
virtual iQuestSequence * | FindSequence (const char *name)=0 |
Find a sequence. | |
virtual const char * | GetCurrentState () const =0 |
Get current state name of this quest. | |
virtual bool | LoadState (const char *state, iCelDataBuffer *databuf)=0 |
This is a special version of SwitchState() that needs to be used in case you are loading a quest from a CEL databuffer (persistence). | |
virtual void | SaveState (iCelDataBuffer *databuf)=0 |
Save the state to the persistence layer. | |
virtual bool | SwitchState (const char *state)=0 |
Switch this quest to some specific state. |
Detailed Description
A quest instance.This is created (by the quest manager) from a quest factory using the trigger and reward factories.
Definition at line 424 of file questmanager.h.
Member Function Documentation
|
Find a sequence.
|
|
Get current state name of this quest.
|
|
This is a special version of SwitchState() that needs to be used in case you are loading a quest from a CEL databuffer (persistence).
|
|
Save the state to the persistence layer. To restore later use LoadState(). |
|
Switch this quest to some specific state. Returns false if state doesn't exist (nothing happens then). |
The documentation for this struct was generated from the following file:
- tools/questmanager.h
Generated for CEL: Crystal Entity Layer by doxygen 1.4.6