CommonLibSSE NG
Loading...
Searching...
No Matches
TESEnchantableForm.h
Go to the documentation of this file.
1#pragma once
2
4#include "RE/M/MagicSystem.h"
5
6namespace RE
7{
8 class EnchantmentItem;
9
11 {
12 public:
13 inline static constexpr auto RTTI = RTTI_TESEnchantableForm;
14
15 ~TESEnchantableForm() override; // 00
16
17 // override (BaseFormComponent)
18 void InitializeDataComponent() override; // 01
19 void ClearDataComponent() override; // 02
20 void CopyComponent(BaseFormComponent* a_rhs) override; // 03
21
22 // add
23 [[nodiscard]] virtual MagicSystem::CastingType GetCastingType() const; // 04 - { return castingType; }
24
25 // members
28 std::uint16_t amountofEnchantment; // 12 - EAMT
29 std::uint32_t pad14; // 14
30 };
31 static_assert(sizeof(TESEnchantableForm) == 0x18);
32}
Definition BaseFormComponent.h:8
Definition EnchantmentItem.h:10
Definition TESEnchantableForm.h:11
void InitializeDataComponent() override
void CopyComponent(BaseFormComponent *a_rhs) override
std::uint16_t amountofEnchantment
Definition TESEnchantableForm.h:28
~TESEnchantableForm() override
void ClearDataComponent() override
static constexpr auto RTTI
Definition TESEnchantableForm.h:13
std::uint32_t pad14
Definition TESEnchantableForm.h:29
stl::enumeration< MagicSystem::CastingType, std::uint16_t > castingType
Definition TESEnchantableForm.h:27
virtual MagicSystem::CastingType GetCastingType() const
EnchantmentItem * formEnchanting
Definition TESEnchantableForm.h:26
Definition PCH.h:223
CastingType
Definition MagicSystem.h:31
Definition AbsorbEffect.h:6
constexpr REL::VariantID RTTI_TESEnchantableForm(513876, 392263, 0x1ed7688)