CommonLibSSE (powerof3)
BGSEntryPointFunctionData.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/F/FormTypes.h"
4 
5 namespace RE
6 {
7  class TESFile;
8 
10  {
11  public:
12  inline static constexpr auto RTTI = RTTI_BGSEntryPointFunctionData;
13  inline static constexpr auto VTABLE = VTABLE_BGSEntryPointFunctionData;
14 
15  enum class FunctionType
16  {
17  kInvalid = 0,
18  kOneValue = 1,
19  kTwoValue = 2,
20  kLeveledList = 3,
21  kActivateChoice = 4,
22  kSpellItem = 5,
24  kText = 7
25  };
26 
27  virtual ~BGSEntryPointFunctionData(); // 00
28 
29  [[nodiscard]] virtual FunctionType GetType() const = 0; // 01
30  virtual bool LoadFunctionData(TESFile* a_mod) = 0; // 02
31  virtual void ResolveForms(TESFile* a_mod); // 03 - { return; }
32  virtual void Unk_04(void); // 04 - { return; }
33  virtual void Unk_05(void); // 05 - { return 0xFFFF; }
34  virtual void SetPerk(BGSPerk* a_perk); // 06 - { return; }
35  virtual BGSPerk* GetPerk(); // 07 - { return 0; }
36  };
37  static_assert(sizeof(BGSEntryPointFunctionData) == 0x8);
38 }
Definition: BGSEntryPointFunctionData.h:10
virtual BGSPerk * GetPerk()
virtual void SetPerk(BGSPerk *a_perk)
virtual bool LoadFunctionData(TESFile *a_mod)=0
FunctionType
Definition: BGSEntryPointFunctionData.h:16
virtual void Unk_04(void)
static constexpr auto VTABLE
Definition: BGSEntryPointFunctionData.h:13
virtual void ResolveForms(TESFile *a_mod)
virtual FunctionType GetType() const =0
virtual void Unk_05(void)
static constexpr auto RTTI
Definition: BGSEntryPointFunctionData.h:12
Definition: BGSPerk.h:31
Definition: TESFile.h:17
Definition: AbsorbEffect.h:6
constexpr std::array< REL::ID, 1 > VTABLE_BGSEntryPointFunctionData
Definition: Offsets_VTABLE.h:8608
constexpr REL::ID RTTI_BGSEntryPointFunctionData(static_cast< std::uint64_t >(685366))