CommonLibSSE (Parapets fork)
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 FORMTYPE = FormType::ArtObject;
16 
17  enum class ArtType
18  {
19  kMagicCastingArt = 0,
20  kMagicHitEffect = 1,
22  };
23 
24  struct RecordFlags
25  {
26  enum RecordFlag : std::uint32_t
27  {
28  kDeleted = 1 << 5,
29  kIgnored = 1 << 12
30  };
31  };
32 
33  struct Data // DNAM
34  {
35  public:
36  // members
38  };
39  static_assert(sizeof(Data) == 0x4);
40 
41  ~BGSArtObject() override; // 00
42 
43  // override (TESBoundObject)
44  bool Load(TESFile* a_mod) override; // 06
45  void InitItemImpl() override; // 13
46 
47  // members
48  Data data; // 68 - DNAM
49  std::uint32_t pad6C; // 6C
50  };
51  static_assert(sizeof(BGSArtObject) == 0x70);
52 }
Definition: BGSArtObject.h:12
static constexpr auto RTTI
Definition: BGSArtObject.h:14
std::uint32_t pad6C
Definition: BGSArtObject.h:49
bool Load(TESFile *a_mod) override
void InitItemImpl() override
~BGSArtObject() override
Data data
Definition: BGSArtObject.h:48
ArtType
Definition: BGSArtObject.h:18
static constexpr auto FORMTYPE
Definition: BGSArtObject.h:15
Definition: TESBoundObject.h:24
Definition: TESFile.h:14
Definition: TESModelTextureSwap.h:10
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_BGSArtObject
Definition: Offsets_RTTI.h:1255
Definition: BGSArtObject.h:34
stl::enumeration< ArtType, std::uint32_t > artType
Definition: BGSArtObject.h:37
Definition: BGSArtObject.h:25
RecordFlag
Definition: BGSArtObject.h:27
@ kIgnored
Definition: BGSArtObject.h:29
@ kDeleted
Definition: BGSArtObject.h:28