CommonLibSSE NG
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 
14  enum class FunctionType
15  {
16  kInvalid = 0,
17  kOneValue = 1,
18  kTwoValue = 2,
19  kLeveledList = 3,
20  kActivateChoice = 4,
21  kSpellItem = 5,
23  kText = 7
24  };
25 
26  virtual ~BGSEntryPointFunctionData(); // 00
27 
28  [[nodiscard]] virtual FunctionType GetType() const = 0; // 01
29  virtual bool LoadFunctionData(TESFile* a_mod) = 0; // 02
30  virtual void ResolveForms(TESFile* a_mod); // 03 - { return; }
31  virtual void Unk_04(void); // 04 - { return; }
32  virtual void Unk_05(void); // 05 - { return 0xFFFF; }
33  virtual void SetPerk(BGSPerk* a_perk); // 06 - { return; }
34  virtual BGSPerk* GetPerk(); // 07 - { return 0; }
35  };
36  static_assert(sizeof(BGSEntryPointFunctionData) == 0x8);
37 }
Definition: BGSEntryPointFunctionData.h:10
virtual BGSPerk * GetPerk()
virtual void SetPerk(BGSPerk *a_perk)
virtual bool LoadFunctionData(TESFile *a_mod)=0
FunctionType
Definition: BGSEntryPointFunctionData.h:15
virtual void Unk_04(void)
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 REL::VariantID RTTI_BGSEntryPointFunctionData(685366, 393146, 0x1ee4780)