![]() |
ezEngine Release 25.08
|
A state machine state implementation that can be scripted using e.g. visual scripting. More...
#include <StateMachineState_Script.h>

Public Member Functions | |
| ezStateMachineState_Script (ezStringView sName=ezStringView()) | |
| virtual void | OnEnter (ezStateMachineInstance &ref_instance, void *pInstanceData, const ezStateMachineState *pFromState) const override |
| virtual void | OnExit (ezStateMachineInstance &ref_instance, void *pInstanceData, const ezStateMachineState *pToState) const override |
| virtual void | Update (ezStateMachineInstance &ref_instance, void *pInstanceData, ezTime deltaTime) const override |
| virtual ezResult | Serialize (ezStreamWriter &inout_stream) const override |
| virtual ezResult | Deserialize (ezStreamReader &inout_stream) override |
| virtual bool | GetInstanceDataDesc (ezInstanceDataDesc &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 ezRangeView< const char *, ezUInt32 > | GetParameters () const |
| void | SetParameter (const char *szKey, const ezVariant &value) |
| void | RemoveParameter (const char *szKey) |
| bool | GetParameter (const char *szKey, ezVariant &out_value) const |
Public Member Functions inherited from ezStateMachineState | |
| ezStateMachineState (ezStringView sName=ezStringView()) | |
| void | SetName (ezStringView sName) |
| ezStringView | GetName () const |
| const ezHashedString & | GetNameHashed () const |
Public Member Functions inherited from ezReflectedClass | |
| virtual const ezRTTI * | GetDynamicRTTI () const |
| bool | IsInstanceOf (const ezRTTI *pType) const |
| Returns whether the type of this instance is of the given type or derived from it. | |
| template<typename T > | |
| EZ_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 ezNoBase | |
| static const ezRTTI * | GetStaticRTTI () |
A state machine state implementation that can be scripted using e.g. visual scripting.
|
overridevirtual |
Reimplemented from ezStateMachineState.
|
overridevirtual |
Returns whether this state needs additional instance data and if so fills the out_desc.
Reimplemented from ezStateMachineState.
|
overridevirtual |
Implements ezStateMachineState.
|
overridevirtual |
Reimplemented from ezStateMachineState.
|
overridevirtual |
Reimplemented from ezStateMachineState.
|
overridevirtual |
Reimplemented from ezStateMachineState.