CommonLibSSE (powerof3)
ExtraAmmo.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 ExtraAmmo : public BSExtraData
9  {
10  public:
11  inline static constexpr auto RTTI = RTTI_ExtraAmmo;
12  inline static constexpr auto VTABLE = VTABLE_ExtraAmmo;
13  inline static constexpr auto EXTRADATATYPE = ExtraDataType::kAmmo;
14 
15  ~ExtraAmmo() override; // 00
16 
17  // override (BSExtraData)
18  ExtraDataType GetType() const override; // 01 - { return kAmmo; }
19  bool IsNotEqual(const BSExtraData* a_rhs) const override; // 02 - { return unk18 != a_rhs->unk18 || unk10 != a_rhs->unk10; }
20 
21  // members
22  std::uint64_t unk10; // 10
23  std::uint32_t unk18; // 18
24  std::uint32_t pad1C; // 1C
25  };
26  static_assert(sizeof(ExtraAmmo) == 0x20);
27 }
Definition: BSExtraData.h:9
Definition: ExtraAmmo.h:9
std::uint32_t unk18
Definition: ExtraAmmo.h:23
static constexpr auto EXTRADATATYPE
Definition: ExtraAmmo.h:13
static constexpr auto VTABLE
Definition: ExtraAmmo.h:12
bool IsNotEqual(const BSExtraData *a_rhs) const override
std::uint32_t pad1C
Definition: ExtraAmmo.h:24
static constexpr auto RTTI
Definition: ExtraAmmo.h:11
std::uint64_t unk10
Definition: ExtraAmmo.h:22
ExtraDataType GetType() const override
~ExtraAmmo() override
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_ExtraAmmo(static_cast< std::uint64_t >(684710))
constexpr std::array< REL::ID, 1 > VTABLE_ExtraAmmo
Definition: Offsets_VTABLE.h:11483
ExtraDataType
Definition: ExtraDataTypes.h:173