![]() |
XII Release 0.1.0
|
A state machine state implementation that can be scripted using e.g. visual scripting. More...
#include <StateMachineState_Script.h>
Public Member Functions | |
| xiiStateMachineState_Script (xiiStringView sName=xiiStringView()) | |
| virtual void | OnEnter (xiiStateMachineInstance &ref_instance, void *pInstanceData, const xiiStateMachineState *pFromState) const override |
| virtual void | OnExit (xiiStateMachineInstance &ref_instance, void *pInstanceData, const xiiStateMachineState *pToState) const override |
| virtual void | Update (xiiStateMachineInstance &ref_instance, void *pInstanceData, xiiTime deltaTime) const override |
| virtual xiiResult | Serialize (xiiStreamWriter &inout_stream) const override |
| virtual xiiResult | Deserialize (xiiStreamReader &inout_stream) override |
| virtual bool | GetInstanceDataDesc (xiiInstanceDataDesc &out_desc) override |
| Returns whether this state needs additional instance data and if so fills the out_desc. | |
| void | SetScriptClassFile (const char *szFile) |
| const char * | GetScriptClassFile () const |
| const xiiRangeView< xiiStringView, xiiUInt32 > | GetParameters () const |
| void | SetParameter (xiiStringView sKey, const xiiVariant &value) |
| void | RemoveParameter (xiiStringView sKey) |
| bool | GetParameter (xiiStringView sKey, xiiVariant &out_value) const |
Public Member Functions inherited from xiiStateMachineState | |
| xiiStateMachineState (xiiStringView sName=xiiStringView()) | |
| void | SetName (xiiStringView sName) |
| xiiStringView | GetName () const |
| const xiiHashedString & | GetNameHashed () const |
Public Member Functions inherited from xiiReflectedClass | |
| virtual const xiiRTTI * | GetDynamicRTTI () const |
| bool | IsInstanceOf (const xiiRTTI *pType) const |
| Returns whether the type of this instance is of the given type or derived from it. | |
| template<typename T> | |
| XII_ALWAYS_INLINE bool | IsInstanceOf () const |
| Returns whether the type of this instance is of the given type or derived from it. | |
Additional Inherited Members | |
Static Public Member Functions inherited from xiiNoBase | |
| static const xiiRTTI * | GetStaticRTTI () |
A state machine state implementation that can be scripted using e.g. visual scripting.
|
overridevirtual |
Reimplemented from xiiStateMachineState.
|
overridevirtual |
Returns whether this state needs additional instance data and if so fills the out_desc.
Reimplemented from xiiStateMachineState.
|
overridevirtual |
Implements xiiStateMachineState.
|
overridevirtual |
Reimplemented from xiiStateMachineState.
|
overridevirtual |
Reimplemented from xiiStateMachineState.
|
overridevirtual |
Reimplemented from xiiStateMachineState.