CommonLibSSE (powerof3)
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 
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
26  std::uint32_t count; // 18
27  std::uint32_t pad1C; // 1C
28  };
29  static_assert(sizeof(ExtraPoison) == 0x20);
30 }
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:27
std::uint32_t count
Definition: ExtraPoison.h:26
ExtraDataType GetType() const override
AlchemyItem * poison
Definition: ExtraPoison.h:25
ExtraPoison(AlchemyItem *a_poison, std::int32_t a_count)
~ExtraPoison() override=default
static constexpr auto RTTI
Definition: ExtraPoison.h:13
static constexpr auto EXTRADATATYPE
Definition: ExtraPoison.h:14
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_ExtraPoison
Definition: Offsets_RTTI.h:4734
ExtraDataType
Definition: ExtraDataTypes.h:173