CommonLibSSE (Parapets fork)
BGSIdleMarker.h
Go to the documentation of this file.
1 #pragma once
2 
4 #include "RE/F/FormTypes.h"
5 #include "RE/T/TESBoundObject.h"
6 #include "RE/T/TESModel.h"
7 
8 namespace RE
9 {
10  class BGSIdleMarker :
11  public TESBoundObject, // 00
12  public TESModel, // 30
13  public BGSIdleCollection // 58
14  {
15  public:
16  inline static constexpr auto RTTI = RTTI_BGSIdleMarker;
17  inline static constexpr auto FORMTYPE = FormType::IdleMarker;
18 
19  struct RecordFlags
20  {
21  enum RecordFlag : std::uint32_t
22  {
23  kDeleted = 1 << 5,
24  kIgnored = 1 << 12,
25  kChildCanUse = 1 << 29
26  };
27  };
28 
29  ~BGSIdleMarker() override; // 00
30 
31  // override (TESBoundObject)
32  bool Load(TESFile* a_mod) override; // 06
33  void InitItemImpl() override; // 13
34  bool GetIgnoredBySandbox() const override; // 22 - { return (BGSIdleCollection::flags >> 4) & 1; }
35  void UnClone3D(TESObjectREFR* a_ref) override; // 41
36  NiAVObject* Clone3D(TESObjectREFR* a_ref) override; // 4A
37  };
38  static_assert(sizeof(BGSIdleMarker) == 0x78);
39 }
Definition: BGSIdleCollection.h:10
Definition: BGSIdleMarker.h:14
NiAVObject * Clone3D(TESObjectREFR *a_ref) override
void InitItemImpl() override
void UnClone3D(TESObjectREFR *a_ref) override
bool GetIgnoredBySandbox() const override
~BGSIdleMarker() override
static constexpr auto FORMTYPE
Definition: BGSIdleMarker.h:17
static constexpr auto RTTI
Definition: BGSIdleMarker.h:16
bool Load(TESFile *a_mod) override
Definition: NiAVObject.h:45
Definition: TESBoundObject.h:24
Definition: TESFile.h:14
Definition: TESModel.h:16
Definition: TESObjectREFR.h:105
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_BGSIdleMarker
Definition: Offsets_RTTI.h:1309
Definition: BGSIdleMarker.h:20
RecordFlag
Definition: BGSIdleMarker.h:22
@ kIgnored
Definition: BGSIdleMarker.h:24
@ kDeleted
Definition: BGSIdleMarker.h:23
@ kChildCanUse
Definition: BGSIdleMarker.h:25