CommonLibSSE (powerof3)
BSAnimationGraphManager.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSAtomic.h"
4 #include "RE/B/BSFixedString.h"
6 #include "RE/B/BSTArray.h"
7 #include "RE/B/BSTEvent.h"
8 #include "RE/B/BSTSmartPointer.h"
9 
10 namespace RE
11 {
12  class BSAnimationGraphChannel;
13  class BShkbAnimationGraph;
14  struct BSAnimationGraphEvent;
15 
17  {
18  bool b;
19  std::int32_t i;
20  float f;
21  };
22  static_assert(sizeof(hkbVariableValue) == 0x4);
23 
25  {
26  public:
27  // members
30  };
31  static_assert(sizeof(AnimVariableCacheInfo) == 0x10);
32 
34  {
35  public:
36  // members
38  void* unk18; // 18
39  void* unk20; // 20 - smart ptr
40  };
41  static_assert(sizeof(BSAnimationGraphVariableCache) == 0x28);
42 
44 
46  public BSTEventSink<BSAnimationGraphEvent>, // 00
47  public BSIntrusiveRefCounted // 08
48  {
49  public:
50  inline static constexpr auto RTTI = RTTI_BSAnimationGraphManager;
51 
53  {
54  public:
55  union Value
56  {
57  bool b;
58  std::int32_t i;
59  float f;
60  };
61  static_assert(sizeof(Value) == 0x4);
62 
63  // members
65  Value* value; // 08
66  };
67  static_assert(sizeof(AnimationVariable) == 0x10);
68 
69  ~BSAnimationGraphManager() override; // 00
70 
71  // override (BSTEventSink<BSAnimationGraphEvent>)
73 
74  // members
75  std::uint32_t pad0C; // 0C
81  mutable BSSpinLock updateLock; // 98
83  std::uint32_t activeGraph; // A8
84  std::uint32_t generateDepth; // A8
85  };
86  static_assert(sizeof(BSAnimationGraphManager) == 0xB0);
87 }
Definition: BSAnimationGraphManager.h:48
BSTArray< BSTSmartPointer< BSAnimationGraphChannel > > bumpedChannels
Definition: BSAnimationGraphManager.h:77
BSEventNotifyControl ProcessEvent(const BSAnimationGraphEvent *a_event, BSTEventSource< BSAnimationGraphEvent > *a_eventSource) override
BSTSmallArray< BSTSmartPointer< BShkbAnimationGraph > > graphs
Definition: BSAnimationGraphManager.h:78
std::uint32_t activeGraph
Definition: BSAnimationGraphManager.h:83
BSAnimationGraphVariableCache variableCache
Definition: BSAnimationGraphManager.h:80
BSSpinLock updateLock
Definition: BSAnimationGraphManager.h:81
static constexpr auto RTTI
Definition: BSAnimationGraphManager.h:50
std::uint32_t pad0C
Definition: BSAnimationGraphManager.h:75
BSTArray< BSTSmartPointer< BSAnimationGraphChannel > > boundChannels
Definition: BSAnimationGraphManager.h:76
BSTArray< BSAnimationGraphManagerPtr > subManagers
Definition: BSAnimationGraphManager.h:79
BSSpinLock dependentManagerLock
Definition: BSAnimationGraphManager.h:82
std::uint32_t generateDepth
Definition: BSAnimationGraphManager.h:84
Definition: BSAtomic.h:49
Definition: BSTArray.h:377
Definition: BSTEvent.h:146
Definition: AbsorbEffect.h:6
BSSmartPointer(BSAnimationGraphManager)
constexpr REL::ID RTTI_BSAnimationGraphManager
Definition: Offsets_RTTI.h:1626
BSEventNotifyControl
Definition: BSTEvent.h:12
Definition: BSAnimationGraphManager.h:25
hkbVariableValue * variable
Definition: BSAnimationGraphManager.h:29
BSFixedString variableName
Definition: BSAnimationGraphManager.h:28
Definition: BSAnimationGraphEvent.h:10
Definition: BSAnimationGraphManager.h:53
Value * value
Definition: BSAnimationGraphManager.h:65
BSFixedString name
Definition: BSAnimationGraphManager.h:61
Definition: BSAnimationGraphManager.h:34
void * unk18
Definition: BSAnimationGraphManager.h:38
void * unk20
Definition: BSAnimationGraphManager.h:39
BSTArray< AnimVariableCacheInfo > variableCache
Definition: BSAnimationGraphManager.h:37
Definition: BSIntrusiveRefCounted.h:8
Definition: BSAnimationGraphManager.h:56
float f
Definition: BSAnimationGraphManager.h:59
bool b
Definition: BSAnimationGraphManager.h:57
std::int32_t i
Definition: BSAnimationGraphManager.h:58
Definition: BSAnimationGraphManager.h:17
std::int32_t i
Definition: BSAnimationGraphManager.h:19
bool b
Definition: BSAnimationGraphManager.h:18
float f
Definition: BSAnimationGraphManager.h:20