CommonLibSSE (powerof3)
NiBooleanExtraData.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/N/NiExtraData.h"
4 
5 namespace RE
6 {
8  {
9  public:
10  inline static constexpr auto RTTI = RTTI_NiBooleanExtraData;
11  inline static constexpr auto Ni_RTTI = NiRTTI_NiBooleanExtraData;
12  inline static constexpr auto VTABLE = VTABLE_NiBooleanExtraData;
13 
14  ~NiBooleanExtraData() override; // 00
15 
16  // override (NiExtraData)
17  const NiRTTI* GetRTTI() const override; // 02
18  NiObject* CreateClone(NiCloningProcess& a_cloning) override; // 17
19  void LoadBinary(NiStream& a_stream) override; // 18
20  void LinkObject(NiStream& a_stream) override; // 19 - { NiExtraData::LinkObject(a_stream); }
21  bool RegisterStreamables(NiStream& a_stream) override; // 1A - { return NiExtraData::RegisterStreamables(a_stream); }
22  void SaveBinary(NiStream& a_stream) override; // 1B
23  bool IsEqual(NiObject* a_object) override; // 1C
24 
25  static NiBooleanExtraData* Create(const BSFixedString& a_name, bool a_value);
26 
27  // members
28  bool data; // 18
29  };
30  static_assert(sizeof(NiBooleanExtraData) == 0x20);
31 }
Definition: NiBooleanExtraData.h:8
static constexpr auto VTABLE
Definition: NiBooleanExtraData.h:12
static constexpr auto RTTI
Definition: NiBooleanExtraData.h:10
static constexpr auto Ni_RTTI
Definition: NiBooleanExtraData.h:11
void SaveBinary(NiStream &a_stream) override
bool RegisterStreamables(NiStream &a_stream) override
bool IsEqual(NiObject *a_object) override
static NiBooleanExtraData * Create(const BSFixedString &a_name, bool a_value)
const NiRTTI * GetRTTI() const override
void LoadBinary(NiStream &a_stream) override
NiObject * CreateClone(NiCloningProcess &a_cloning) override
bool data
Definition: NiBooleanExtraData.h:28
void LinkObject(NiStream &a_stream) override
~NiBooleanExtraData() override
Definition: NiCloningProcess.h:10
Definition: NiExtraData.h:9
Definition: NiObject.h:37
Definition: NiRTTI.h:6
Definition: NiStream.h:29
Definition: AbsorbEffect.h:6
constexpr REL::ID NiRTTI_NiBooleanExtraData(static_cast< std::uint64_t >(523992))
constexpr REL::ID RTTI_NiBooleanExtraData(static_cast< std::uint64_t >(690451))
constexpr std::array< REL::ID, 1 > VTABLE_NiBooleanExtraData
Definition: Offsets_VTABLE.h:12179