CommonLibSSE (powerof3)
hkbBehaviorGraph.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/H/hkArray.h"
4 #include "RE/H/hkRefVariant.h"
5 #include "RE/H/hkbGenerator.h"
6 
7 namespace RE
8 {
9  class hkbBehaviorGraphData;
10 
12  {
13  public:
14  inline static constexpr auto RTTI = RTTI_hkbBehaviorGraph;
15  inline static constexpr auto VTABLE = VTABLE_hkbBehaviorGraph;
16 
17  enum class VariableMode
18  {
21  };
22 
23  ~hkbBehaviorGraph() override; // 00
24 
25  // override (hkbGenerator)
26  hkClass* GetClassType() const override; // 01
27  void CalcContentStatistics(hkStatisticsCollector* a_collector, const hkClass* a_class) const override; // 02
28  void Activate(const hkbContext& a_context) override; // 04
29  void Update(const hkbContext& a_context, float a_timestep) override; // 05
30  void Unk_06(void) override; // 06
31  void Deactivate(const hkbContext& a_context) override; // 07
32  void Unk_09(void) override; // 09
33  void Unk_0C(void) override; // 0C
34  void Unk_16(void) override; // 16 - { return 1; }
35  void Generate(const hkbContext& a_context) override; // 17
36  void Unk_18(void) override; // 18 - { return 1; }
37  void UpdateSync(const hkbContext& a_context) override; // 19
38 
39  // members
41  std::uint8_t pad49; // 049
42  std::uint16_t pad4A; // 04A
43  std::uint32_t pad4C; // 04C
64  std::int32_t numIntermediateOutputs; // 100
65  std::uint32_t pad104; // 104
68  std::int16_t numStaticNodes; // 128
69  std::int16_t nextUniqueID; // 12A
70  bool isActive; // 12C
71  bool isLinked; // 12D
72  bool updateActiveNodes; // 12E
74  };
75  static_assert(sizeof(hkbBehaviorGraph) == 0x130);
76 }
Definition: hkArray.h:190
Definition: hkRefPtr.h:7
Definition: hkRefVariant.h:9
Definition: hkbBehaviorGraph.h:12
hkRefVariant idToStateMachineTemplateMap
Definition: hkbBehaviorGraph.h:45
void UpdateSync(const hkbContext &a_context) override
hkRefVariant nodeCloneToTemplateMap
Definition: hkbBehaviorGraph.h:61
hkArray< hkRefVariant > allPartitionMemory
Definition: hkbBehaviorGraph.h:67
std::int16_t numStaticNodes
Definition: hkbBehaviorGraph.h:68
std::uint32_t pad104
Definition: hkbBehaviorGraph.h:65
VariableMode
Definition: hkbBehaviorGraph.h:18
hkRefVariant pseudoRandomGenerator
Definition: hkbBehaviorGraph.h:47
bool stateOrTransitionChanged
Definition: hkbBehaviorGraph.h:73
hkRefPtr< hkbGenerator > rootGenerator
Definition: hkbBehaviorGraph.h:48
hkRefVariant activeNodeTemplateToIndexMap
Definition: hkbBehaviorGraph.h:52
std::uint8_t pad49
Definition: hkbBehaviorGraph.h:41
hkArray< hkRefVariant > jobs
Definition: hkbBehaviorGraph.h:66
std::int16_t nextUniqueID
Definition: hkbBehaviorGraph.h:69
void Unk_06(void) override
hkRefVariant activeNodesChildrenIndices
Definition: hkbBehaviorGraph.h:53
void Update(const hkbContext &a_context, float a_timestep) override
void Generate(const hkbContext &a_context) override
bool isLinked
Definition: hkbBehaviorGraph.h:71
static constexpr auto VTABLE
Definition: hkbBehaviorGraph.h:15
hkRefVariant characterPropertyIDMap
Definition: hkbBehaviorGraph.h:58
void Deactivate(const hkbContext &a_context) override
hkRefVariant variableValueSet
Definition: hkbBehaviorGraph.h:59
hkRefVariant eventIDMap
Definition: hkbBehaviorGraph.h:55
void Activate(const hkbContext &a_context) override
hkRefVariant variableIDMap
Definition: hkbBehaviorGraph.h:57
void Unk_09(void) override
hkRefVariant globalTransitionData
Definition: hkbBehaviorGraph.h:54
std::uint32_t pad4C
Definition: hkbBehaviorGraph.h:43
hkRefVariant stateListenerTemplateToCloneMap
Definition: hkbBehaviorGraph.h:62
hkRefVariant activeNodes
Definition: hkbBehaviorGraph.h:51
void Unk_0C(void) override
hkRefVariant nodeTemplateToCloneMap
Definition: hkbBehaviorGraph.h:60
REX::EnumSet< VariableMode, std::uint8_t > variableMode
Definition: hkbBehaviorGraph.h:40
~hkbBehaviorGraph() override
hkClass * GetClassType() const override
void Unk_16(void) override
hkRefVariant nodePartitionInfo
Definition: hkbBehaviorGraph.h:63
std::int32_t numIntermediateOutputs
Definition: hkbBehaviorGraph.h:64
hkArray< hkRefVariant > uniqueIDPool
Definition: hkbBehaviorGraph.h:44
hkRefVariant rootGeneratorClone
Definition: hkbBehaviorGraph.h:50
static constexpr auto RTTI
Definition: hkbBehaviorGraph.h:14
void Unk_18(void) override
std::uint16_t pad4A
Definition: hkbBehaviorGraph.h:42
bool isActive
Definition: hkbBehaviorGraph.h:70
hkArray< hkRefVariant > mirroredExternalIDMap
Definition: hkbBehaviorGraph.h:46
void CalcContentStatistics(hkStatisticsCollector *a_collector, const hkClass *a_class) const override
hkRefPtr< hkbBehaviorGraphData > data
Definition: hkbBehaviorGraph.h:49
hkRefVariant attributeIDMap
Definition: hkbBehaviorGraph.h:56
bool updateActiveNodes
Definition: hkbBehaviorGraph.h:72
Definition: hkbContext.h:13
Definition: hkbGenerator.h:8
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_hkbBehaviorGraph(static_cast< std::uint64_t >(689634))
constexpr std::array< REL::ID, 1 > VTABLE_hkbBehaviorGraph
Definition: Offsets_VTABLE.h:13951