CommonLibSSE (powerof3)
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 inline static constexpr auto VTABLE = VTABLE_TESEnchantableForm;
15
16 ~TESEnchantableForm() override; // 00
17
18 // override (BaseFormComponent)
19 void InitializeDataComponent() override; // 01
20 void ClearDataComponent() override; // 02
21 void CopyComponent(BaseFormComponent* a_rhs) override; // 03
22
23 // add
24 [[nodiscard]] virtual MagicSystem::CastingType GetCastingType() const; // 04 - { return castingType; }
25
26 // members
29 std::uint16_t amountofEnchantment; // 12 - EAMT
30 std::uint32_t pad14; // 14
31 };
32 static_assert(sizeof(TESEnchantableForm) == 0x18);
33}
Definition EnumSet.h:9
Definition BaseFormComponent.h:8
Definition EnchantmentItem.h:10
Definition TESEnchantableForm.h:11
static constexpr auto VTABLE
Definition TESEnchantableForm.h:14
void InitializeDataComponent() override
void CopyComponent(BaseFormComponent *a_rhs) override
std::uint16_t amountofEnchantment
Definition TESEnchantableForm.h:29
~TESEnchantableForm() override
void ClearDataComponent() override
REX::EnumSet< MagicSystem::CastingType, std::uint16_t > castingType
Definition TESEnchantableForm.h:28
static constexpr auto RTTI
Definition TESEnchantableForm.h:13
std::uint32_t pad14
Definition TESEnchantableForm.h:30
virtual MagicSystem::CastingType GetCastingType() const
EnchantmentItem * formEnchanting
Definition TESEnchantableForm.h:27
CastingType
Definition MagicSystem.h:35
Definition AbsorbEffect.h:6
constexpr REL::ID RTTI_TESEnchantableForm(static_cast< std::uint64_t >(513876))
constexpr std::array< REL::ID, 1 > VTABLE_TESEnchantableForm
Definition Offsets_VTABLE.h:12821