iOperationQuestTriggerFactory Struct ReferenceThis interface is implemented by the operation trigger, that allows to combine several triggers using a logical operation. More...
Public Member Functions
< iQuestTriggerFactory > &
|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 DescriptionThis 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:
- operation: the logical operation to perform. Can be one of 'or', 'and', or 'xor', see below for a more detailed description.
Fireon node can also hold any number of child 'trigger' nodes, which are defined just as usual.
- and: Trigger will fire when all the child triggers are true.
- or: Trigger will fire when at least one of the child triggers is true.
- xor: Trigger will fire when one and only one of the child triggers is true.
Member Function Documentation
|virtual csRefArray<iQuestTriggerFactory>& iOperationQuestTriggerFactory::GetTriggerFactories||(||)||
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||)||
Set the operation this trigger will use to combine child triggers.
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