CommonLibSSE (Parapets fork)
Loading...
Searching...
No Matches
ExtraPoison.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
AlchemyItem
;
9
10
class
ExtraPoison
:
public
BSExtraData
11
{
12
public
:
13
inline
static
constexpr
auto
RTTI
=
RTTI_ExtraPoison
;
14
inline
static
constexpr
auto
EXTRADATATYPE
=
ExtraDataType::kPoison
;
15
16
ExtraPoison
();
17
ExtraPoison
(
AlchemyItem
* a_poison, std::int32_t a_count);
18
~ExtraPoison
()
override
=
default
;
// 00
19
20
// override (BSExtraData)
21
ExtraDataType
GetType
()
const override
;
// 01 - { return kPoison; }
22
bool
IsNotEqual
(
const
BSExtraData
* a_rhs)
const override
;
// 02 - { return poison != a_rhs->poison || count != a_rhs->count; }
23
24
// members
25
AlchemyItem
*
poison
;
// 10
26
std::uint32_t
count
;
// 18
27
std::uint32_t
pad1C
;
// 1C
28
};
29
static_assert
(
sizeof
(
ExtraPoison
) == 0x20);
30
}
BSExtraData.h
ExtraDataTypes.h
RE::AlchemyItem
Definition:
AlchemyItem.h:24
RE::BSExtraData
Definition:
BSExtraData.h:9
RE::ExtraPoison
Definition:
ExtraPoison.h:11
RE::ExtraPoison::IsNotEqual
bool IsNotEqual(const BSExtraData *a_rhs) const override
RE::ExtraPoison::pad1C
std::uint32_t pad1C
Definition:
ExtraPoison.h:27
RE::ExtraPoison::count
std::uint32_t count
Definition:
ExtraPoison.h:26
RE::ExtraPoison::GetType
ExtraDataType GetType() const override
RE::ExtraPoison::ExtraPoison
ExtraPoison()
RE::ExtraPoison::poison
AlchemyItem * poison
Definition:
ExtraPoison.h:25
RE::ExtraPoison::ExtraPoison
ExtraPoison(AlchemyItem *a_poison, std::int32_t a_count)
RE::ExtraPoison::~ExtraPoison
~ExtraPoison() override=default
RE::ExtraPoison::RTTI
static constexpr auto RTTI
Definition:
ExtraPoison.h:13
RE::ExtraPoison::EXTRADATATYPE
static constexpr auto EXTRADATATYPE
Definition:
ExtraPoison.h:14
RE
Definition:
AbsorbEffect.h:6
RE::FormType::AlchemyItem
@ AlchemyItem
RE::RTTI_ExtraPoison
constexpr REL::ID RTTI_ExtraPoison
Definition:
Offsets_RTTI.h:4734
RE::ExtraDataType
ExtraDataType
Definition:
ExtraDataTypes.h:173
RE::ExtraDataType::kPoison
@ kPoison
CommonLibSSE
include
RE
E
ExtraPoison.h
Generated by
1.9.6