iDestroyEntityRewardFactory Struct Reference
This interface is implemented by the reward that destroys an entity. More...
Public Member Functions
|virtual void||SetClassParameter (const char *ent_class)=0|
|Set the name of the entity class on which this reward will work. |
|virtual void||SetEntityParameter (const char *entity)=0|
|Set the name of the entity. |
This interface is implemented by the reward that destroys an entity.
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.rewards.destroyentity'.
In XML, factories recognize the following attribute on the 'op' node:
- entity: the name of the entity to send the message too.
- class: the name of an entity class. If this is used instead of the entity parameter, the reward will apply to all entities in the given entity class.
Member Function Documentation
|virtual void iDestroyEntityRewardFactory::SetClassParameter||(||const char *||ent_class||)||
Set the name of the entity class on which this reward will work.
ent_class is the name of the class or a parameter (starts with '$').
|virtual void iDestroyEntityRewardFactory::SetEntityParameter||(||const char *||entity||)||
Set the name of the entity.
entity is the name of the entity or a parameter (starts with '$').
The documentation for this struct was generated from the following file:
Generated for CEL: Crystal Entity Layer 2.1 by doxygen 1.6.1