![]() |
Public API Reference |
This interface is a parameter block that can be used to pass parameters through SendMessage() in a behaviour. More...
#include <behaviourlayer/behave.h>
Public Member Functions | |
| virtual const celData * | GetParameter (csStringID id) const =0 |
| Get parameter given an id. | |
| virtual const celData * | GetParameterByIndex (size_t idx) const =0 |
| Get parameter given an index. | |
| virtual size_t | GetParameterCount () const =0 |
| Get number of parameters. | |
| virtual csStringID | GetParameterDef (size_t idx, celDataType &t) const =0 |
| Get parameter with index. | |
This interface is a parameter block that can be used to pass parameters through SendMessage() in a behaviour.
Parameter ids are constructed directly from the name with iCelPlLayer->FetchStringID().
| virtual const celData* iCelParameterBlock::GetParameter | ( | csStringID | id | ) | const [pure virtual] |
Get parameter given an id.
| 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.
| virtual csStringID iCelParameterBlock::GetParameterDef | ( | size_t | idx, |
| celDataType & | t | ||
| ) | const [pure virtual] |
Get parameter with index.
Returns the id and sets 'type' to the appropriate value.