CommonLibVR
BGSEntryPointFunctionDataSpellItem.h
Go to the documentation of this file.
1 #pragma once
2 
4 
5 namespace RE
6 {
7  class SpellItem;
8 
10  {
11  public:
12  inline static constexpr auto RTTI = RTTI_BGSEntryPointFunctionDataSpellItem;
13  inline static constexpr auto VTABLE = VTABLE_BGSEntryPointFunctionDataSpellItem;
14 
15  // Override (BGSEntryPointFunctionData)
16  [[nodiscard]] virtual ENTRY_POINT_FUNCTION_DATA GetType() const override; // 1
17  virtual bool LoadImpl(TESFile* a_mod) override; // 2
18  virtual void InitItem(TESForm* a_form) override; // 3
19 
20  // Member variables
22  };
23  static_assert(offsetof(BGSEntryPointFunctionDataSpellItem, spell) == 0x8);
24  static_assert(sizeof(BGSEntryPointFunctionDataSpellItem) == 0x10);
25 }
Definition: BGSEntryPointFunctionDataSpellItem.h:10
static constexpr auto RTTI
Definition: BGSEntryPointFunctionDataSpellItem.h:12
virtual bool LoadImpl(TESFile *a_mod) override
static constexpr auto VTABLE
Definition: BGSEntryPointFunctionDataSpellItem.h:13
virtual void InitItem(TESForm *a_form) override
SpellItem * spell
Definition: BGSEntryPointFunctionDataSpellItem.h:21
virtual ENTRY_POINT_FUNCTION_DATA GetType() const override
Definition: BGSEntryPointFunctionData.h:11
ENTRY_POINT_FUNCTION_DATA
Definition: BGSEntryPointFunctionData.h:17
Definition: SpellItem.h:16
Definition: TESFile.h:17
Definition: TESForm.h:40
Definition: AbsorbEffect.h:6
constexpr std::array< REL::ID, 1 > VTABLE_BGSEntryPointFunctionDataSpellItem
Definition: Offsets_VTABLE.h:8613
constexpr REL::ID RTTI_BGSEntryPointFunctionDataSpellItem(static_cast< std::uint64_t >(685370))