CommonLibSSE (powerof3)
ExtraUniqueID.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
RE/B/BSExtraData.h
"
4
#include "
RE/E/ExtraDataTypes.h
"
5
6
namespace
RE
7
{
8
class
ExtraUniqueID
:
public
BSExtraData
9
{
10
public
:
11
inline
static
constexpr
auto
RTTI
=
RTTI_ExtraUniqueID
;
12
inline
static
constexpr
auto
EXTRADATATYPE
=
ExtraDataType::kUniqueID
;
13
14
ExtraUniqueID
();
15
ExtraUniqueID
(
FormID
a_baseID, std::uint16_t a_uniqueID);
16
~ExtraUniqueID
()
override
=
default
;
// 00
17
18
// override (BSExtraData)
19
ExtraDataType
GetType
()
const override
;
// 01 - { return kUniqueID; }
20
bool
IsNotEqual
(
const
BSExtraData
* a_rhs)
const override
;
// 02 - { return uniqueID != a_rhs->uniqueID || baseID != a_rhs->baseID; }
21
22
// members
23
FormID
baseID
;
// 10
24
std::uint16_t
uniqueID
;
// 14
25
std::uint16_t
pad16
;
// 16
26
};
27
static_assert(
sizeof
(
ExtraUniqueID
) == 0x18);
28
}
BSExtraData.h
ExtraDataTypes.h
RE::BSExtraData
Definition:
BSExtraData.h:9
RE::ExtraUniqueID
Definition:
ExtraUniqueID.h:9
RE::ExtraUniqueID::baseID
FormID baseID
Definition:
ExtraUniqueID.h:23
RE::ExtraUniqueID::pad16
std::uint16_t pad16
Definition:
ExtraUniqueID.h:25
RE::ExtraUniqueID::GetType
ExtraDataType GetType() const override
RE::ExtraUniqueID::ExtraUniqueID
ExtraUniqueID()
RE::ExtraUniqueID::RTTI
static constexpr auto RTTI
Definition:
ExtraUniqueID.h:11
RE::ExtraUniqueID::EXTRADATATYPE
static constexpr auto EXTRADATATYPE
Definition:
ExtraUniqueID.h:12
RE::ExtraUniqueID::~ExtraUniqueID
~ExtraUniqueID() override=default
RE::ExtraUniqueID::uniqueID
std::uint16_t uniqueID
Definition:
ExtraUniqueID.h:24
RE::ExtraUniqueID::ExtraUniqueID
ExtraUniqueID(FormID a_baseID, std::uint16_t a_uniqueID)
RE::ExtraUniqueID::IsNotEqual
bool IsNotEqual(const BSExtraData *a_rhs) const override
RE
Definition:
AbsorbEffect.h:6
RE::RTTI_ExtraUniqueID
constexpr REL::ID RTTI_ExtraUniqueID
Definition:
Offsets_RTTI.h:4776
RE::FormID
std::uint32_t FormID
Definition:
BSCoreTypes.h:5
RE::ExtraDataType
ExtraDataType
Definition:
ExtraDataTypes.h:173
RE::ExtraDataType::kUniqueID
@ kUniqueID
CommonLibSSE
include
RE
E
ExtraUniqueID.h
Generated by
1.9.1