CommonLibSSE (Parapets fork)
Loading...
Searching...
No Matches
TESSpellList.h
Go to the documentation of this file.
1#pragma once
2
4
5namespace RE
6{
7 class SpellItem;
8 class TESLevSpell;
9 class TESShout;
10
12 {
13 public:
14 inline static constexpr auto RTTI = RTTI_TESSpellList;
15
16 struct SpellData // SPLO
17 {
21 std::uint32_t numSpells; // 18
22 std::uint32_t numlevSpells; // 1C
23 std::uint32_t numShouts; // 20
24 std::uint32_t pad24; // 24
25 };
26 static_assert(sizeof(SpellData) == 0x28);
27
28 ~TESSpellList() override; // 00
29
30 // override (BaseFormComponent)
31 void InitializeDataComponent() override; // 01 - { return; }
32 void ClearDataComponent() override; // 02
33 void CopyComponent(BaseFormComponent* a_rhs) override; // 03
34
35 // members
36 SpellData* actorEffects; // 08 - SPLO
37 };
38 static_assert(sizeof(TESSpellList) == 0x10);
39}
Definition: BaseFormComponent.h:8
Definition: SpellItem.h:16
Definition: TESLevSpell.h:12
Definition: TESShout.h:18
Definition: TESSpellList.h:12
SpellData * actorEffects
Definition: TESSpellList.h:36
static constexpr auto RTTI
Definition: TESSpellList.h:14
void InitializeDataComponent() override
~TESSpellList() override
void CopyComponent(BaseFormComponent *a_rhs) override
void ClearDataComponent() override
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_TESSpellList
Definition: Offsets_RTTI.h:6075
Definition: TESSpellList.h:17
SpellItem ** spells
Definition: TESSpellList.h:18
TESShout ** shouts
Definition: TESSpellList.h:20
std::uint32_t numSpells
Definition: TESSpellList.h:21
std::uint32_t pad24
Definition: TESSpellList.h:24
TESLevSpell ** levSpells
Definition: TESSpellList.h:19
std::uint32_t numlevSpells
Definition: TESSpellList.h:22
std::uint32_t numShouts
Definition: TESSpellList.h:23