CommonLibSSE (Parapets fork)
Loading...
Searching...
No Matches
NiExtraData.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
RE/B/BSFixedString.h
"
4
#include "
RE/N/NiObject.h
"
5
6
namespace
RE
7
{
8
class
NiExtraData
:
public
NiObject
9
{
10
public
:
11
inline
static
constexpr
auto
RTTI
=
RTTI_NiExtraData
;
12
inline
static
constexpr
auto
Ni_RTTI
=
NiRTTI_NiExtraData
;
13
14
~NiExtraData
()
override
;
// 00
15
16
// override (NiObject)
17
const
NiRTTI
*
GetRTTI
()
const override
;
// 02
18
void
LoadBinary
(
NiStream
& a_stream)
override
;
// 18
19
void
LinkObject
(
NiStream
& a_stream)
override
;
// 19 - { return; }
20
bool
RegisterStreamables
(
NiStream
& a_stream)
override
;
// 1A
21
void
SaveBinary
(
NiStream
& a_stream)
override
;
// 1B
22
bool
IsEqual
(
NiObject
* a_object)
override
;
// 1C
23
24
// add
25
[[nodiscard]]
virtual
bool
IsStreamable
()
const
;
// 25 - { return true; }
26
[[nodiscard]]
virtual
bool
IsCloneable
()
const
;
// 26 - { return true; }
27
28
static
NiExtraData
*
Create
(std::size_t a_size, std::uintptr_t a_vtbl);
29
30
[[nodiscard]]
const
BSFixedString
&
GetName
()
const
;
31
void
SetName
(
const
BSFixedString
& a_name);
32
33
// members
34
BSFixedString
name
;
// 10
35
};
36
static_assert
(
sizeof
(
NiExtraData
) == 0x18);
37
}
BSFixedString.h
NiObject.h
RE::NiExtraData
Definition:
NiExtraData.h:9
RE::NiExtraData::RegisterStreamables
bool RegisterStreamables(NiStream &a_stream) override
RE::NiExtraData::IsCloneable
virtual bool IsCloneable() const
RE::NiExtraData::SaveBinary
void SaveBinary(NiStream &a_stream) override
RE::NiExtraData::LoadBinary
void LoadBinary(NiStream &a_stream) override
RE::NiExtraData::~NiExtraData
~NiExtraData() override
RE::NiExtraData::name
BSFixedString name
Definition:
NiExtraData.h:34
RE::NiExtraData::SetName
void SetName(const BSFixedString &a_name)
RE::NiExtraData::Create
static NiExtraData * Create(std::size_t a_size, std::uintptr_t a_vtbl)
RE::NiExtraData::RTTI
static constexpr auto RTTI
Definition:
NiExtraData.h:11
RE::NiExtraData::GetRTTI
const NiRTTI * GetRTTI() const override
RE::NiExtraData::IsEqual
bool IsEqual(NiObject *a_object) override
RE::NiExtraData::LinkObject
void LinkObject(NiStream &a_stream) override
RE::NiExtraData::Ni_RTTI
static constexpr auto Ni_RTTI
Definition:
NiExtraData.h:12
RE::NiExtraData::IsStreamable
virtual bool IsStreamable() const
RE::NiExtraData::GetName
const BSFixedString & GetName() const
RE::NiObject
Definition:
NiObject.h:37
RE::NiRTTI
Definition:
NiRTTI.h:6
RE::NiStream
Definition:
NiStream.h:6
RE::detail::BSFixedString< char >
RE
Definition:
AbsorbEffect.h:6
RE::NiRTTI_NiExtraData
constexpr REL::ID NiRTTI_NiExtraData
Definition:
Offsets_NiRTTI.h:186
RE::RTTI_NiExtraData
constexpr REL::ID RTTI_NiExtraData
Definition:
Offsets_RTTI.h:5355
CommonLibSSE
include
RE
N
NiExtraData.h
Generated by
1.9.6