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