iMessageQuestRewardFactory Struct Reference
This interface is implemented by the reward that sends a message to some entity (the behaviour will get this message). More...
#include <tools/questmanager.h>
Public Member Functions | |
virtual void | AddParameter (celDataType type, csStringID id, const char *name, const char *value)=0 |
Add a parameter to send with the message. | |
virtual void | SetEntityParameter (const char *entity)=0 |
Set the name of the entity. | |
virtual void | SetIDParameter (const char *id)=0 |
Set the message id. |
Detailed Description
This interface is implemented by the reward that sends a message to some entity (the behaviour will get this message).You can query this interface from the reward factory if you want to manually control this factory as opposed to loading its definition from an XML document.
The predefined name of this reward type is 'cel.questreward.message'.
In XML, factories recognize the following attributes on the 'op' node:
- entity: the name of the entity to send the message too.
- id: id of the message to send.
Definition at line 1449 of file questmanager.h.
Member Function Documentation
|
Add a parameter to send with the message.
|
|
Set the name of the entity.
|
|
Set the message id.
|
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