CommonLibSSE (powerof3)
TESObjectANIO.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSString.h"
4 #include "RE/F/FormTypes.h"
5 #include "RE/T/TESForm.h"
7 
8 namespace RE
9 {
10  class TESObjectANIO :
11  public TESForm, // 00
12  public TESModelTextureSwap // 20
13  {
14  public:
15  inline static constexpr auto RTTI = RTTI_TESObjectANIO;
16  inline static constexpr auto FORMTYPE = FormType::AnimatedObject;
17 
18  struct RecordFlags
19  {
20  enum RecordFlag : std::uint32_t
21  {
22  kDeleted = 1 << 5,
23  kIgnored = 1 << 12
24  };
25  };
26 
27  ~TESObjectANIO() override; // 00
28 
29  // override (TESForm)
30  bool Load(TESFile* a_mod) override; // 06
31  void InitItemImpl() override; // 13
32  const char* GetFormEditorID() const override; // 32 - { return formEditorID.c_str(); }
33  bool SetFormEditorID(const char* a_str) override; // 33 - { if (formEditorID == a_str) return false; formEditorID = a_str; return true; }
34 
35  // members
38  };
39  static_assert(sizeof(TESObjectANIO) == 0x68);
40 }
Definition: TESFile.h:14
Definition: TESForm.h:34
Definition: TESModelTextureSwap.h:10
Definition: TESObjectANIO.h:13
bool SetFormEditorID(const char *a_str) override
BSFixedString unloadEventName
Definition: TESObjectANIO.h:37
~TESObjectANIO() override
const char * GetFormEditorID() const override
BSFixedString formEditorID
Definition: TESObjectANIO.h:36
bool Load(TESFile *a_mod) override
void InitItemImpl() override
static constexpr auto FORMTYPE
Definition: TESObjectANIO.h:16
static constexpr auto RTTI
Definition: TESObjectANIO.h:15
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_TESObjectANIO
Definition: Offsets_RTTI.h:6028
Definition: TESObjectANIO.h:19
RecordFlag
Definition: TESObjectANIO.h:21
@ kDeleted
Definition: TESObjectANIO.h:22
@ kIgnored
Definition: TESObjectANIO.h:23