CommonLibSSE NG
Loading...
Searching...
No Matches
ExtraPoison.h
Go to the documentation of this file.
1#pragma once
2
3#include "RE/B/BSExtraData.h"
5
6namespace 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 VTABLE = VTABLE_ExtraPoison;
16
18 ExtraPoison(AlchemyItem* a_poison, std::int32_t a_count);
19 ~ExtraPoison() override = default; // 00
20
21 // override (BSExtraData)
22 ExtraDataType GetType() const override; // 01 - { return kPoison; }
23 bool IsNotEqual(const BSExtraData* a_rhs) const override; // 02 - { return poison != a_rhs->poison || count != a_rhs->count; }
24
25 // members
27 std::uint32_t count; // 18
28 std::uint32_t pad1C; // 1C
29 };
30 static_assert(sizeof(ExtraPoison) == 0x20);
31}
Definition AlchemyItem.h:24
Definition BSExtraData.h:9
Definition ExtraPoison.h:11
bool IsNotEqual(const BSExtraData *a_rhs) const override
std::uint32_t pad1C
Definition ExtraPoison.h:28
std::uint32_t count
Definition ExtraPoison.h:27
static auto EXTRADATATYPE
Definition ExtraPoison.h:15
ExtraDataType GetType() const override
AlchemyItem * poison
Definition ExtraPoison.h:26
static constexpr auto VTABLE
Definition ExtraPoison.h:14
ExtraPoison(AlchemyItem *a_poison, std::int32_t a_count)
~ExtraPoison() override=default
static constexpr auto RTTI
Definition ExtraPoison.h:13
Definition AbsorbEffect.h:6
constexpr std::array< REL::VariantID, 1 > VTABLE_ExtraPoison
Definition Offsets_VTABLE.h:115
ExtraDataType
Definition ExtraDataTypes.h:173
constexpr REL::VariantID RTTI_ExtraPoison(684665, 392332, 0x1ed84a8)