CommonLibSSE (Parapets fork)
RE::hkbStateMachine Class Reference

#include <hkbStateMachine.h>

Inheritance diagram for RE::hkbStateMachine:
RE::hkbGenerator RE::hkbNode RE::hkbBindable RE::hkReferencedObject RE::hkBaseObject

Classes

class  StateInfo
 
class  TransitionInfoArray
 

Public Types

enum class  StartStateMode { kDefault = 0 , kSync = 1 , kRandom = 2 , kChooser = 3 }
 
enum class  StateMachineSelfTransitionMode { kNoTransition = 0 , kTransitionToStartState = 1 , kForceTransitionToStartState = 2 }
 
- Public Types inherited from RE::hkbNode
enum class  GetChildrenFlagBits { kActiveOnly = 1 << 0 , kGeneratorsOnly = 1 << 1 , kIgnoreReferencedBehaviour = 1 << 2 }
 
enum class  CloneState { kDefault = 0 , kTemplate = 1 , kClone = 2 , kShareable = 3 }
 
- Public Types inherited from RE::hkReferencedObject
enum class  LockMode { kNone = 0 , kAuto , kManual }
 
enum  { kMemSize = 0x7FFF }
 

Public Member Functions

 ~hkbStateMachine () override
 
hkClass * GetClassType () const override
 
void CalcContentStatistics (hkStatisticsCollector *a_collector, const hkClass *a_class) const override
 
void Unk_03 (void) override
 
void Unk_04 (void) override
 
void Unk_05 (void) override
 
void Unk_06 (void) override
 
void Unk_07 (void) override
 
void Unk_08 (void) override
 
void Unk_09 (void) override
 
void Unk_0A (void) override
 
void Unk_0C (void) override
 
void Unk_0D (void) override
 
void Unk_0E (void) override
 
void Unk_0F (void) override
 
void Unk_10 (void) override
 
void Unk_11 (void) override
 
void Unk_12 (void) override
 
void Unk_14 (void) override
 
void Unk_17 (void) override
 
void Unk_18 (void) override
 
void Unk_19 (void) override
 
void Unk_1B (void) override
 
- Public Member Functions inherited from RE::hkbGenerator
 ~hkbGenerator () override
 
void Unk_15 (void) override
 
virtual void Unk_1A (void)
 
- Public Member Functions inherited from RE::hkbNode
 ~hkbNode () override
 
virtual void Unk_0B (void)
 
virtual void Unk_13 (void)
 
virtual void Unk_16 (void)
 
- Public Member Functions inherited from RE::hkbBindable
 ~hkbBindable () override
 
- Public Member Functions inherited from RE::hkReferencedObject
 hkReferencedObject ()
 
 ~hkReferencedObject () override=default
 
void AddReference () const
 
std::int32_t GetAllocatedSize () const
 
std::int32_t GetReferenceCount () const
 
void RemoveReference () const
 
- Public Member Functions inherited from RE::hkBaseObject
virtual ~hkBaseObject ()=default
 

Public Attributes

hkbEvent eventToSendWhenStateOrTransitionChanges
 
hkRefPtr< hkbStateChooser > startStateChooser
 
std::int32_t startStateID
 
std::int32_t returnToPreviousStateEventID
 
std::int32_t randomTransitionEventID
 
std::int32_t transitionToNextHigherStateEventID
 
std::int32_t transitionToNextLowerStateEventID
 
std::int32_t syncVariableIndex
 
std::int32_t currentStateID
 
bool wrapAroundStateID
 
std::int8_t maxSimultaneousTransitions
 
stl::enumeration< StartStateMode, std::uint8_t > startStateMode
 
stl::enumeration< StateMachineSelfTransitionMode, std::uint8_t > selfTransitionMode
 
bool isActive
 
std::uint8_t pad41
 
std::uint16_t pad42
 
std::uint32_t pad44
 
hkArray< StateInfo * > states
 
hkRefPtr< TransitionInfoArraywildcardTransitions
 
hkRefVariant stateIDToIndexMap
 
hkArray< hkRefVariantactiveTransitions
 
hkArray< hkRefVarianttransitionFlags
 
hkArray< hkRefVariantwildcardTransitionFlags
 
hkArray< hkRefVariantdelayedTransitions
 
float timeInState
 
float lastLocalTime
 
std::int32_t previousStateID
 
std::int32_t nextStartStateIndexOverride
 
bool stateOrTransitionChanged
 
bool echoNextUpdate
 
std::uint16_t currentStateIndexAndEntered
 
std::uint32_t pad0BC
 
- Public Attributes inherited from RE::hkbNode
std::uint32_t userData
 
std::uint32_t pad34
 
hkStringPtr name
 
std::uint16_t id
 
stl::enumeration< CloneState, std::uint8_t > cloneState
 
std::uint8_t pad43
 
std::uint32_t pad44
 
- Public Attributes inherited from RE::hkbBindable
hkRefPtr< hkbVariableBindingSet > variableBindingSet
 
hkArray< hkRefVariantcachedBindables
 
bool areBindablesCached
 
std::uint8_t pad29
 
std::uint16_t pad2A
 
std::uint32_t pad2C
 
- Public Attributes inherited from RE::hkReferencedObject
std::uint16_t memSizeAndFlags
 
volatile std::int16_t referenceCount
 
std::uint32_t pad0C
 

Static Public Attributes

static constexpr auto RTTI = RTTI_hkbStateMachine
 
- Static Public Attributes inherited from RE::hkbGenerator
static constexpr auto RTTI = RTTI_hkbGenerator
 
- Static Public Attributes inherited from RE::hkbNode
static constexpr auto RTTI = RTTI_hkbNode
 
- Static Public Attributes inherited from RE::hkbBindable
static constexpr auto RTTI = RTTI_hkbBindable
 
- Static Public Attributes inherited from RE::hkReferencedObject
static constexpr auto RTTI = RTTI_hkReferencedObject
 
- Static Public Attributes inherited from RE::hkBaseObject
static constexpr auto RTTI = RTTI_hkBaseObject
 

Member Enumeration Documentation

◆ StartStateMode

Enumerator
kDefault 
kSync 
kRandom 
kChooser 

◆ StateMachineSelfTransitionMode

Enumerator
kNoTransition 
kTransitionToStartState 
kForceTransitionToStartState 

Constructor & Destructor Documentation

◆ ~hkbStateMachine()

RE::hkbStateMachine::~hkbStateMachine ( )
override

Member Function Documentation

◆ CalcContentStatistics()

void RE::hkbStateMachine::CalcContentStatistics ( hkStatisticsCollector *  a_collector,
const hkClass *  a_class 
) const
overridevirtual

Reimplemented from RE::hkReferencedObject.

◆ GetClassType()

hkClass* RE::hkbStateMachine::GetClassType ( ) const
overridevirtual

Reimplemented from RE::hkReferencedObject.

◆ Unk_03()

void RE::hkbStateMachine::Unk_03 ( void  )
overridevirtual

Reimplemented from RE::hkbBindable.

◆ Unk_04()

void RE::hkbStateMachine::Unk_04 ( void  )
overridevirtual

Reimplemented from RE::hkbNode.

◆ Unk_05()

void RE::hkbStateMachine::Unk_05 ( void  )
overridevirtual

Reimplemented from RE::hkbNode.

◆ Unk_06()

void RE::hkbStateMachine::Unk_06 ( void  )
overridevirtual

Reimplemented from RE::hkbNode.

◆ Unk_07()

void RE::hkbStateMachine::Unk_07 ( void  )
overridevirtual

Reimplemented from RE::hkbNode.

◆ Unk_08()

void RE::hkbStateMachine::Unk_08 ( void  )
overridevirtual

Reimplemented from RE::hkbNode.

◆ Unk_09()

void RE::hkbStateMachine::Unk_09 ( void  )
overridevirtual

Reimplemented from RE::hkbNode.

◆ Unk_0A()

void RE::hkbStateMachine::Unk_0A ( void  )
overridevirtual

Reimplemented from RE::hkbNode.

◆ Unk_0C()

void RE::hkbStateMachine::Unk_0C ( void  )
overridevirtual

Reimplemented from RE::hkbNode.

◆ Unk_0D()

void RE::hkbStateMachine::Unk_0D ( void  )
overridevirtual

Reimplemented from RE::hkbNode.

◆ Unk_0E()

void RE::hkbStateMachine::Unk_0E ( void  )
overridevirtual

Reimplemented from RE::hkbNode.

◆ Unk_0F()

void RE::hkbStateMachine::Unk_0F ( void  )
overridevirtual

Reimplemented from RE::hkbNode.

◆ Unk_10()

void RE::hkbStateMachine::Unk_10 ( void  )
overridevirtual

Reimplemented from RE::hkbNode.

◆ Unk_11()

void RE::hkbStateMachine::Unk_11 ( void  )
overridevirtual

Reimplemented from RE::hkbNode.

◆ Unk_12()

void RE::hkbStateMachine::Unk_12 ( void  )
overridevirtual

Reimplemented from RE::hkbNode.

◆ Unk_14()

void RE::hkbStateMachine::Unk_14 ( void  )
overridevirtual

Reimplemented from RE::hkbNode.

◆ Unk_17()

void RE::hkbStateMachine::Unk_17 ( void  )
overridevirtual

Implements RE::hkbGenerator.

◆ Unk_18()

void RE::hkbStateMachine::Unk_18 ( void  )
overridevirtual

Reimplemented from RE::hkbGenerator.

◆ Unk_19()

void RE::hkbStateMachine::Unk_19 ( void  )
overridevirtual

Reimplemented from RE::hkbGenerator.

◆ Unk_1B()

void RE::hkbStateMachine::Unk_1B ( void  )
overridevirtual

Reimplemented from RE::hkbGenerator.

Member Data Documentation

◆ activeTransitions

hkArray<hkRefVariant> RE::hkbStateMachine::activeTransitions

◆ currentStateID

std::int32_t RE::hkbStateMachine::currentStateID

◆ currentStateIndexAndEntered

std::uint16_t RE::hkbStateMachine::currentStateIndexAndEntered

◆ delayedTransitions

hkArray<hkRefVariant> RE::hkbStateMachine::delayedTransitions

◆ echoNextUpdate

bool RE::hkbStateMachine::echoNextUpdate

◆ eventToSendWhenStateOrTransitionChanges

hkbEvent RE::hkbStateMachine::eventToSendWhenStateOrTransitionChanges

◆ isActive

bool RE::hkbStateMachine::isActive

◆ lastLocalTime

float RE::hkbStateMachine::lastLocalTime

◆ maxSimultaneousTransitions

std::int8_t RE::hkbStateMachine::maxSimultaneousTransitions

◆ nextStartStateIndexOverride

std::int32_t RE::hkbStateMachine::nextStartStateIndexOverride

◆ pad0BC

std::uint32_t RE::hkbStateMachine::pad0BC

◆ pad41

std::uint8_t RE::hkbStateMachine::pad41

◆ pad42

std::uint16_t RE::hkbStateMachine::pad42

◆ pad44

std::uint32_t RE::hkbStateMachine::pad44

◆ previousStateID

std::int32_t RE::hkbStateMachine::previousStateID

◆ randomTransitionEventID

std::int32_t RE::hkbStateMachine::randomTransitionEventID

◆ returnToPreviousStateEventID

std::int32_t RE::hkbStateMachine::returnToPreviousStateEventID

◆ RTTI

constexpr auto RE::hkbStateMachine::RTTI = RTTI_hkbStateMachine
inlinestaticconstexpr

◆ selfTransitionMode

stl::enumeration<StateMachineSelfTransitionMode, std::uint8_t> RE::hkbStateMachine::selfTransitionMode

◆ startStateChooser

hkRefPtr<hkbStateChooser> RE::hkbStateMachine::startStateChooser

◆ startStateID

std::int32_t RE::hkbStateMachine::startStateID

◆ startStateMode

stl::enumeration<StartStateMode, std::uint8_t> RE::hkbStateMachine::startStateMode

◆ stateIDToIndexMap

hkRefVariant RE::hkbStateMachine::stateIDToIndexMap

◆ stateOrTransitionChanged

bool RE::hkbStateMachine::stateOrTransitionChanged

◆ states

hkArray<StateInfo*> RE::hkbStateMachine::states

◆ syncVariableIndex

std::int32_t RE::hkbStateMachine::syncVariableIndex

◆ timeInState

float RE::hkbStateMachine::timeInState

◆ transitionFlags

hkArray<hkRefVariant> RE::hkbStateMachine::transitionFlags

◆ transitionToNextHigherStateEventID

std::int32_t RE::hkbStateMachine::transitionToNextHigherStateEventID

◆ transitionToNextLowerStateEventID

std::int32_t RE::hkbStateMachine::transitionToNextLowerStateEventID

◆ wildcardTransitionFlags

hkArray<hkRefVariant> RE::hkbStateMachine::wildcardTransitionFlags

◆ wildcardTransitions

hkRefPtr<TransitionInfoArray> RE::hkbStateMachine::wildcardTransitions

◆ wrapAroundStateID

bool RE::hkbStateMachine::wrapAroundStateID

The documentation for this class was generated from the following file: