CEL

Public API Reference

iCelParameterBlock Struct Reference

This interface is a parameter block that can be used to pass parameters through SendMessage() in a behaviour. More...

#include <behaviourlayer/behave.h>

Inheritance diagram for iCelParameterBlock:

List of all members.

Public Member Functions

virtual const celDataGetParameter (csStringID id) const =0
 Get parameter given an id.
virtual const char * GetParameter (size_t idx, csStringID &id, celDataType &t) const =0
 Get parameter with index.
virtual const celDataGetParameterByIndex (size_t idx) const =0
 Get parameter given an index.
virtual size_t GetParameterCount () const =0
 Get number of parameters.


Detailed Description

This interface is a parameter block that can be used to pass parameters through SendMessage() in a behaviour.

Parameter ids are constructed from the following string: cel.parameter."name"

Definition at line 39 of file behave.h.


Member Function Documentation

virtual const celData* iCelParameterBlock::GetParameter ( csStringID  id  )  const [pure virtual]

Get parameter given an id.

virtual const char* iCelParameterBlock::GetParameter ( size_t  idx,
csStringID &  id,
celDataType &  t 
) const [pure virtual]

Get parameter with index.

Returns the name and sets 'id' and 'type' to the appropriate values.

virtual const celData* iCelParameterBlock::GetParameterByIndex ( size_t  idx  )  const [pure virtual]

Get parameter given an index.

virtual size_t iCelParameterBlock::GetParameterCount (  )  const [pure virtual]

Get number of parameters.


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