CommonLibSSE (powerof3)
NiIntegerExtraData.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_NiIntegerExtraData;
11  inline static constexpr auto Ni_RTTI = NiRTTI_NiIntegerExtraData;
12  inline static constexpr auto VTABLE = VTABLE_NiIntegerExtraData;
13 
14  ~NiIntegerExtraData() 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 - { return object ? value == a_object->value : false; }
24 
25  static NiIntegerExtraData* Create(const BSFixedString& a_name, std::int32_t a_value);
26 
27  // members
28  std::int32_t value; // 18
29  std::uint32_t pad1C; // 1C
30  };
31  static_assert(sizeof(NiIntegerExtraData) == 0x20);
32 }
Definition: NiCloningProcess.h:10
Definition: NiExtraData.h:9
Definition: NiIntegerExtraData.h:8
NiObject * CreateClone(NiCloningProcess &a_cloning) override
void LoadBinary(NiStream &a_stream) override
void LinkObject(NiStream &a_stream) override
~NiIntegerExtraData() override
bool IsEqual(NiObject *a_object) override
static constexpr auto VTABLE
Definition: NiIntegerExtraData.h:12
const NiRTTI * GetRTTI() const override
static NiIntegerExtraData * Create(const BSFixedString &a_name, std::int32_t a_value)
std::uint32_t pad1C
Definition: NiIntegerExtraData.h:29
bool RegisterStreamables(NiStream &a_stream) override
void SaveBinary(NiStream &a_stream) override
static constexpr auto RTTI
Definition: NiIntegerExtraData.h:10
static constexpr auto Ni_RTTI
Definition: NiIntegerExtraData.h:11
std::int32_t value
Definition: NiIntegerExtraData.h:28
Definition: NiObject.h:37
Definition: NiRTTI.h:6
Definition: NiStream.h:29
Definition: AbsorbEffect.h:6
constexpr REL::ID NiRTTI_NiIntegerExtraData(static_cast< std::uint64_t >(523999))
constexpr REL::ID RTTI_NiIntegerExtraData(static_cast< std::uint64_t >(690457))
constexpr std::array< REL::ID, 1 > VTABLE_NiIntegerExtraData
Definition: Offsets_VTABLE.h:12218