CommonLibSSE (Parapets fork)
BGSAbilityPerkEntry.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BGSPerkEntry.h"
4 
5 namespace RE
6 {
7  class SpellItem;
8 
10  {
11  public:
12  inline static constexpr auto RTTI = RTTI_BGSAbilityPerkEntry;
13 
14  ~BGSAbilityPerkEntry() override; // 03
15 
16  // override (BGSPerkEntry)
17  PERK_ENTRY_TYPE GetType() const override; // 04 - { return kAbility; }
18  void InitItem(TESFile* a_owner) override; // 06
19  bool Load(TESFile* a_file) override; // 07
20  void ApplyPerkEntry(Actor* a_actor) override; // 0A
21  void RemovePerkEntry(Actor* a_actor) override; // 0B
22 
23  // members
25  };
26  static_assert(sizeof(BGSAbilityPerkEntry) == 0x18);
27 }
Definition: Actor.h:134
Definition: BGSAbilityPerkEntry.h:10
SpellItem * ability
Definition: BGSAbilityPerkEntry.h:24
bool Load(TESFile *a_file) override
static constexpr auto RTTI
Definition: BGSAbilityPerkEntry.h:12
void RemovePerkEntry(Actor *a_actor) override
void InitItem(TESFile *a_owner) override
PERK_ENTRY_TYPE GetType() const override
~BGSAbilityPerkEntry() override
void ApplyPerkEntry(Actor *a_actor) override
Definition: BGSPerkEntry.h:20
Definition: SpellItem.h:16
Definition: TESFile.h:14
Definition: AbsorbEffect.h:6
PERK_ENTRY_TYPE
Definition: BGSPerkEntry.h:13
constexpr REL::ID RTTI_BGSAbilityPerkEntry
Definition: Offsets_RTTI.h:1246