CEL

Public API Reference

iOperationQuestTriggerFactory Struct Reference

This interface is implemented by the operation trigger, that allows to combine several triggers using a logical operation. More...

#include <tools/questmanager.h>

Inheritance diagram for iOperationQuestTriggerFactory:

List of all members.

Public Member Functions

virtual csRefArray
< iQuestTriggerFactory > & 
GetTriggerFactories ()=0
 Return the trigger factory list so that user can add new ones, remove them or clear the list.
virtual void SetOperationParameter (const char *operation)=0
 Set the operation this trigger will use to combine child triggers.


Detailed Description

This interface is implemented by the operation trigger, that allows to combine several triggers using a logical operation.

You can query this interface from the trigger factory if you want to manually control this factory as opposed to loading its definition from an XML document.

The predefined name of this trigger type is 'cel.questtrigger.operation'.

In XML, factories recognize the following attributes on the 'fireon' node:

Fireon node can also hold any number of child 'trigger' nodes, which are defined just as usual.

Operations:

Definition at line 1254 of file questmanager.h.


Member Function Documentation

virtual csRefArray<iQuestTriggerFactory>& iOperationQuestTriggerFactory::GetTriggerFactories (  )  [pure virtual]

Return the trigger factory list so that user can add new ones, remove them or clear the list.

virtual void iOperationQuestTriggerFactory::SetOperationParameter ( const char *  operation  )  [pure virtual]

Set the operation this trigger will use to combine child triggers.

Parameters:
operation is the name of the operation or a parameter (starts with '$'). Operation must be one of 'or', 'and', or 'xor'.


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

Generated for CEL: Crystal Entity Layer 1.4.0 by doxygen 1.5.8