CommonLibSSE (powerof3)
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 
12  ~TESAttackDamageForm() override; // 00
13 
14  // override (BaseFormComponent)
15  void InitializeDataComponent() override; // 01 - { attackDamage = 0; }
16  void ClearDataComponent() override; // 02 - { return; }
17  void CopyComponent(BaseFormComponent* a_rhs) override; // 03
18 
19  // add
20  [[nodiscard]] virtual std::uint16_t GetAttackDamage() const; // 04 - { return attackDamage; }
21 
22  // members
23  std::uint16_t attackDamage; // 08
24  std::uint16_t pad0A; // 0A
25  std::uint32_t pad0C; // 0C
26  };
27  static_assert(sizeof(TESAttackDamageForm) == 0x10);
28 }
Definition: BaseFormComponent.h:8
Definition: TESAttackDamageForm.h:8
std::uint16_t pad0A
Definition: TESAttackDamageForm.h:24
std::uint32_t pad0C
Definition: TESAttackDamageForm.h:25
static constexpr auto RTTI
Definition: TESAttackDamageForm.h:10
virtual std::uint16_t GetAttackDamage() const
std::uint16_t attackDamage
Definition: TESAttackDamageForm.h:23
void InitializeDataComponent() override
~TESAttackDamageForm() override
void ClearDataComponent() override
void CopyComponent(BaseFormComponent *a_rhs) override
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_TESAttackDamageForm
Definition: Offsets_RTTI.h:5972