CommonLibVR
TESAttackDamageForm.h
Go to the documentation of this file.
1 #pragma once
2 
4 
5 namespace RE
6 {
8  {
9  public:
10  inline static constexpr auto RTTI = RTTI_TESAttackDamageForm;
11  inline static constexpr auto VTABLE = VTABLE_TESAttackDamageForm;
12 
13  ~TESAttackDamageForm() override; // 00
14 
15  // override (BaseFormComponent)
16  void InitializeDataComponent() override; // 01 - { attackDamage = 0; }
17  void ClearDataComponent() override; // 02 - { return; }
18  void CopyComponent(BaseFormComponent* a_rhs) override; // 03
19 
20  // add
21  [[nodiscard]] virtual std::uint16_t GetAttackDamage() const; // 04 - { return attackDamage; }
22 
23  // members
24  std::uint16_t attackDamage; // 08
25  std::uint16_t pad0A; // 0A
26  std::uint32_t pad0C; // 0C
27  private:
28  KEEP_FOR_RE()
29  };
30  static_assert(sizeof(TESAttackDamageForm) == 0x10);
31 }
#define KEEP_FOR_RE()
Definition: PCH.h:713
Definition: BaseFormComponent.h:8
Definition: TESAttackDamageForm.h:8
std::uint16_t pad0A
Definition: TESAttackDamageForm.h:25
std::uint32_t pad0C
Definition: TESAttackDamageForm.h:26
static constexpr auto VTABLE
Definition: TESAttackDamageForm.h:11
static constexpr auto RTTI
Definition: TESAttackDamageForm.h:10
virtual std::uint16_t GetAttackDamage() const
std::uint16_t attackDamage
Definition: TESAttackDamageForm.h:24
void InitializeDataComponent() override
~TESAttackDamageForm() override
void ClearDataComponent() override
void CopyComponent(BaseFormComponent *a_rhs) override
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_TESAttackDamageForm(static_cast< std::uint64_t >(513940))
constexpr std::array< REL::ID, 1 > VTABLE_TESAttackDamageForm
Definition: Offsets_VTABLE.h:12804