CommonLibSSE NG
StatsNode.h
Go to the documentation of this file.
1 #pragma once
2 
4 #include "RE/B/BSTArray.h"
5 #include "RE/B/BSTEvent.h"
7 
8 namespace RE
9 {
10  struct BSAnimationGraphEvent;
11 
12  class StatsNode :
14  public BSIntrusiveRefCounted, // 20
15  public BSTEventSink<BSAnimationGraphEvent> // 18
16  {
17  public:
18  inline static constexpr auto RTTI = RTTI_StatsNode;
19 
20  ~StatsNode() override; // 00
21 
22  // override (SimpleAnimationGraphManagerHolder)
23  bool SetupAnimEventSinks(const BSTSmartPointer<BShkbAnimationGraph>& a_animGraph) override; // 08
24  void Unk_0C(void) override; // 0C
25 
26  // override (BSTEventSink<BSAnimationGraphEvent>)
27  BSEventNotifyControl ProcessEvent(const BSAnimationGraphEvent* a_event, BSTEventSource<BSAnimationGraphEvent>* a_eventSource) override; // 01 - runs PlaySound on BSAnimationGraphEvent::optionalStr
28 
29  // members
30  std::uint32_t unk24; // 24
32  std::uint64_t unk40; // 40
33  std::uint64_t unk48; // 48
36  std::uint64_t unk60; // 60
37  };
38  static_assert(sizeof(StatsNode) == 0x68);
39 }
Definition: BSTArray.h:377
Definition: BSTEvent.h:143
Definition: BSTSmartPointer.h:36
Definition: SimpleAnimationGraphManagerHolder.h:11
Definition: StatsNode.h:16
BSTArray< BSTSmartPointer< BSIntrusiveRefCounted > > unk28
Definition: StatsNode.h:31
BSTSmartPointer< BSIntrusiveRefCounted > unk58
Definition: StatsNode.h:35
std::uint64_t unk48
Definition: StatsNode.h:33
std::uint64_t unk60
Definition: StatsNode.h:36
std::uint32_t unk24
Definition: StatsNode.h:30
bool SetupAnimEventSinks(const BSTSmartPointer< BShkbAnimationGraph > &a_animGraph) override
~StatsNode() override
void Unk_0C(void) override
BSTSmartPointer< BSIntrusiveRefCounted > unk50
Definition: StatsNode.h:34
std::uint64_t unk40
Definition: StatsNode.h:32
BSEventNotifyControl ProcessEvent(const BSAnimationGraphEvent *a_event, BSTEventSource< BSAnimationGraphEvent > *a_eventSource) override
static constexpr auto RTTI
Definition: StatsNode.h:18
Definition: AbsorbEffect.h:6
constexpr REL::VariantID RTTI_StatsNode(688906, 396761, 0x1f477c0)
BSEventNotifyControl
Definition: BSTEvent.h:12
Definition: BSAnimationGraphEvent.h:10
Definition: BSIntrusiveRefCounted.h:8