CommonLibSSE NG
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  };
28  static_assert(sizeof(AnimationObject) == 0x28);
29 
30  class AnimationObjects : public BSTSingletonSDM<AnimationObjects>
31  {
32  public:
33  [[nodiscard]] static AnimationObjects* GetSingleton()
34  {
35  REL::Relocation<AnimationObjects**> singleton{ RELOCATION_ID(514179, 400328) };
36  return *singleton;
37  }
38 
39  // members
40  std::uint8_t pad01; // 01
41  std::uint16_t pad02; // 02
42  std::uint32_t pad04; // 04
45  };
46  static_assert(sizeof(AnimationObjects) == 0x28);
47 }
#define RELOCATION_ID(a_se, a_ae)
Definition: PCH.h:724
Definition: Relocation.h:204
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:31
std::uint16_t pad02
Definition: AnimationObjects.h:41
BSTArray< BSTSmartPointer< AnimationObject > > animationObjects
Definition: AnimationObjects.h:43
std::uint8_t pad01
Definition: AnimationObjects.h:40
BSSpinLock lock
Definition: AnimationObjects.h:44
std::uint32_t pad04
Definition: AnimationObjects.h:42
static AnimationObjects * GetSingleton()
Definition: AnimationObjects.h:33
Definition: BSAtomic.h:51
Definition: BSTArray.h:377
Definition: NiSmartPointer.h:9
Definition: TESObjectANIO.h:13
Definition: AbsorbEffect.h:6
Definition: BSTSingleton.h:50