CommonLibSSE NG
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  inline static constexpr auto VTABLE = VTABLE_BGSAbilityPerkEntry;
14 
15  ~BGSAbilityPerkEntry() override; // 03
16 
17  // override (BGSPerkEntry)
18  PERK_ENTRY_TYPE GetType() const override; // 04 - { return kAbility; }
19  void InitItem(TESFile* a_owner) override; // 06
20  bool Load(TESFile* a_file) override; // 07
21  void ApplyPerkEntry(Actor* a_actor) override; // 0A
22  void RemovePerkEntry(Actor* a_actor) override; // 0B
23 
24  // members
26  };
27  static_assert(sizeof(BGSAbilityPerkEntry) == 0x18);
28 }
Definition: Actor.h:135
Definition: BGSAbilityPerkEntry.h:10
SpellItem * ability
Definition: BGSAbilityPerkEntry.h:25
bool Load(TESFile *a_file) override
static constexpr auto RTTI
Definition: BGSAbilityPerkEntry.h:12
void RemovePerkEntry(Actor *a_actor) override
static constexpr auto VTABLE
Definition: BGSAbilityPerkEntry.h:13
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:17
Definition: AbsorbEffect.h:6
PERK_ENTRY_TYPE
Definition: BGSPerkEntry.h:13
constexpr REL::VariantID RTTI_BGSAbilityPerkEntry(685392, 393177, 0x1ee4e80)
constexpr std::array< REL::VariantID, 1 > VTABLE_BGSAbilityPerkEntry
Definition: Offsets_VTABLE.h:888