CommonLibVR
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  inline static constexpr auto VTABLE = VTABLE_StatsNode;
20 
21  ~StatsNode() override; // 00
22 
23  // override (SimpleAnimationGraphManagerHolder)
24  bool SetupAnimEventSinks(const BSTSmartPointer<BShkbAnimationGraph>& a_animGraph) override; // 08
25  void Unk_0C(void) override; // 0C
26 
27  // override (BSTEventSink<BSAnimationGraphEvent>)
28  BSEventNotifyControl ProcessEvent(const BSAnimationGraphEvent* a_event, BSTEventSource<BSAnimationGraphEvent>* a_eventSource) override; // 01 - runs PlaySound on BSAnimationGraphEvent::optionalStr
29 
30  // members
31  std::uint32_t unk24; // 24
33  std::uint64_t unk40; // 40
34  std::uint64_t unk48; // 48
37  std::uint64_t unk60; // 60
38  private:
39  KEEP_FOR_RE()
40  };
41  static_assert(sizeof(StatsNode) == 0x68);
42 }
#define KEEP_FOR_RE()
Definition: PCH.h:713
Definition: BSTArray.h:378
Definition: BSTEvent.h:143
Definition: BSTSmartPointer.h:37
Definition: SimpleAnimationGraphManagerHolder.h:11
Definition: StatsNode.h:16
BSTArray< BSTSmartPointer< BSIntrusiveRefCounted > > unk28
Definition: StatsNode.h:32
BSTSmartPointer< BSIntrusiveRefCounted > unk58
Definition: StatsNode.h:36
std::uint64_t unk48
Definition: StatsNode.h:34
std::uint64_t unk60
Definition: StatsNode.h:37
std::uint32_t unk24
Definition: StatsNode.h:31
bool SetupAnimEventSinks(const BSTSmartPointer< BShkbAnimationGraph > &a_animGraph) override
~StatsNode() override
void Unk_0C(void) override
BSTSmartPointer< BSIntrusiveRefCounted > unk50
Definition: StatsNode.h:35
std::uint64_t unk40
Definition: StatsNode.h:33
static constexpr auto VTABLE
Definition: StatsNode.h:19
BSEventNotifyControl ProcessEvent(const BSAnimationGraphEvent *a_event, BSTEventSource< BSAnimationGraphEvent > *a_eventSource) override
static constexpr auto RTTI
Definition: StatsNode.h:18
Definition: AbsorbEffect.h:6
constexpr std::array< REL::ID, 2 > VTABLE_StatsNode
Definition: Offsets_VTABLE.h:12779
constexpr REL::ID RTTI_StatsNode(static_cast< std::uint64_t >(688906))
BSEventNotifyControl
Definition: BSTEvent.h:12
Definition: BSAnimationGraphEvent.h:10
Definition: BSIntrusiveRefCounted.h:8