iPropertyChangeQuestTriggerFactory Struct Reference
This interface is implemented by the trigger that fires when a certain property gets some value. More...
#include <tools/questmanager.h>
Public Member Functions | |
virtual void | SetEntityParameter (const char *entity, const char *tag=0)=0 |
Set the name of the entity containing the pcproperties property class on which this trigger will fire. | |
virtual void | SetPropertyParameter (const char *prop)=0 |
Set the name of the property on which this trigger will fire. | |
virtual void | SetValueParameter (const char *value)=0 |
Set the value of the property on which this trigger will fire. |
Detailed Description
This interface is implemented by the trigger that fires when a certain property gets some value.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.propertychange'.
In XML, factories recognize the following attributes on the 'fireon' node:
- entity: the name of the entity that contains the pcproperties property class.
- entity_tag: optional tag used to find the right property class from the entity.
- property: the name of the property.
- value: the value on which this trigger will fire. If this value is not given then the trigger will fire whenever the value changes.
Definition at line 912 of file questmanager.h.
Member Function Documentation
|
Set the name of the entity containing the pcproperties property class on which this trigger will fire.
|
|
Set the name of the property on which this trigger will fire.
|
|
Set the value of the property on which this trigger will fire. If this value is not given the the trigger will fire whenever the value changes.
|
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