CommonLibVR
AnimationObjects.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSPointerHandle.h"
4 #include "RE/B/BSTArray.h"
5 #include "RE/B/BSTSmartPointer.h"
6 #include "RE/N/NiSmartPointer.h"
7 
8 namespace RE
9 {
10  class NiAVObject;
11  class QueuedAnimationObject;
12  class TESObjectANIO;
13 
15  {
16  public:
17  //members
19  std::uint32_t pad04; // 04
23  bool visible; // 20
24  std::uint8_t pad21; // 21
25  std::uint16_t pad22; // 22
26  std::uint32_t pad24; // 24
27  private:
28  KEEP_FOR_RE()
29  };
30  static_assert(sizeof(AnimationObject) == 0x28);
31 
32  class AnimationObjects : public BSTSingletonSDM<AnimationObjects>
33  {
34  public:
35  [[nodiscard]] static AnimationObjects* GetSingleton()
36  {
37  REL::Relocation<AnimationObjects**> singleton{ RELOCATION_ID(514179, 400328) };
38  return *singleton;
39  }
40 
41  // members
42  std::uint8_t pad01; // 01
43  std::uint16_t pad02; // 02
44  std::uint32_t pad04; // 04
47  private:
48  KEEP_FOR_RE()
49  };
50  static_assert(sizeof(AnimationObjects) == 0x28);
51 }
#define KEEP_FOR_RE()
Definition: PCH.h:713
#define RELOCATION_ID(SE, AE)
Definition: PCH.h:702
Definition: Relocation.h:210
Definition: AnimationObjects.h:15
bool visible
Definition: AnimationObjects.h:23
std::uint32_t pad24
Definition: AnimationObjects.h:26
NiPointer< QueuedAnimationObject > queuedObject
Definition: AnimationObjects.h:22
std::uint8_t pad21
Definition: AnimationObjects.h:24
TESObjectANIO * object
Definition: AnimationObjects.h:20
std::uint32_t pad04
Definition: AnimationObjects.h:19
std::uint16_t pad22
Definition: AnimationObjects.h:25
NiPointer< NiAVObject > attachedObject
Definition: AnimationObjects.h:21
ObjectRefHandle handle
Definition: AnimationObjects.h:18
Definition: AnimationObjects.h:33
std::uint16_t pad02
Definition: AnimationObjects.h:43
BSTArray< BSTSmartPointer< AnimationObject > > animationObjects
Definition: AnimationObjects.h:45
std::uint8_t pad01
Definition: AnimationObjects.h:42
BSSpinLock lock
Definition: AnimationObjects.h:46
std::uint32_t pad04
Definition: AnimationObjects.h:44
static AnimationObjects * GetSingleton()
Definition: AnimationObjects.h:35
Definition: BSAtomic.h:92
Definition: BSTArray.h:378
Definition: NiSmartPointer.h:9
Definition: TESObjectANIO.h:13
Definition: AbsorbEffect.h:6
Definition: BSTSingleton.h:50