CommonLibSSE NG
BGSArtObject.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/F/FormTypes.h"
4 #include "RE/T/TESBoundObject.h"
6 
7 namespace RE
8 {
9  class BGSArtObject :
10  public TESBoundObject, // 00
11  public TESModelTextureSwap // 30
12  {
13  public:
14  inline static constexpr auto RTTI = RTTI_BGSArtObject;
15  inline static constexpr auto VTABLE = VTABLE_BGSArtObject;
16  inline static constexpr auto FORMTYPE = FormType::ArtObject;
17 
18  enum class ArtType
19  {
20  kMagicCastingArt = 0,
21  kMagicHitEffect = 1,
23  };
24 
25  struct RecordFlags
26  {
27  enum RecordFlag : std::uint32_t
28  {
29  kDeleted = 1 << 5,
30  kIgnored = 1 << 12
31  };
32  };
33 
34  struct Data // DNAM
35  {
36  public:
37  // members
39  };
40  static_assert(sizeof(Data) == 0x4);
41 
42  ~BGSArtObject() override; // 00
43 
44  // override (TESBoundObject)
45  bool Load(TESFile* a_mod) override; // 06
46  void InitItemImpl() override; // 13
47 
48  // members
49  Data data; // 68 - DNAM
50  std::uint32_t pad6C; // 6C
51  };
52  static_assert(sizeof(BGSArtObject) == 0x70);
53 }
Definition: BGSArtObject.h:12
static constexpr auto RTTI
Definition: BGSArtObject.h:14
std::uint32_t pad6C
Definition: BGSArtObject.h:50
bool Load(TESFile *a_mod) override
void InitItemImpl() override
~BGSArtObject() override
Data data
Definition: BGSArtObject.h:49
ArtType
Definition: BGSArtObject.h:19
static constexpr auto FORMTYPE
Definition: BGSArtObject.h:16
static constexpr auto VTABLE
Definition: BGSArtObject.h:15
Definition: TESBoundObject.h:24
Definition: TESFile.h:17
Definition: TESModelTextureSwap.h:10
Definition: AbsorbEffect.h:6
constexpr REL::VariantID RTTI_BGSArtObject(513865, 392236, 0x1ed7068)
constexpr std::array< REL::VariantID, 2 > VTABLE_BGSArtObject
Definition: Offsets_VTABLE.h:444
Definition: BGSArtObject.h:35
stl::enumeration< ArtType, std::uint32_t > artType
Definition: BGSArtObject.h:38
Definition: BGSArtObject.h:26
RecordFlag
Definition: BGSArtObject.h:28
@ kIgnored
Definition: BGSArtObject.h:30
@ kDeleted
Definition: BGSArtObject.h:29