CommonLibSSE NG
Loading...
Searching...
No Matches
NiIntegerExtraData.h
Go to the documentation of this file.
1#pragma once
2
3#include "RE/N/NiExtraData.h"
4
5namespace RE
6{
8 {
9 public:
10 inline static constexpr auto RTTI = RTTI_NiIntegerExtraData;
11 inline static 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
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
NiObject * CreateClone(NiCloningProcess &a_cloning) override
static auto Ni_RTTI
Definition NiIntegerExtraData.h:11
std::uint32_t pad1C
Definition NiIntegerExtraData.h:29
bool RegisterStreamables(NiStream &a_stream) override
static NiIntegerExtraData * Create(const BSFixedString &a_name, std::int32_t a_value)
void SaveBinary(NiStream &a_stream) override
static constexpr auto RTTI
Definition NiIntegerExtraData.h:10
std::int32_t value
Definition NiIntegerExtraData.h:28
const NiRTTI * GetRTTI() const override
Definition NiObject.h:37
Definition NiRTTI.h:6
Definition NiStream.h:27
Definition AbsorbEffect.h:6
constexpr REL::VariantID NiRTTI_NiIntegerExtraData(523999, 410579, 0x316c1e0)
constexpr REL::VariantID RTTI_NiIntegerExtraData(690457, 398312, 0x1f62470)
constexpr std::array< REL::VariantID, 1 > VTABLE_NiIntegerExtraData
Definition Offsets_VTABLE.h:5568