CommonLibSSE (powerof3)
Loading...
Searching...
No Matches
BGSEntryPointFunctionDataActivateChoice.h
Go to the documentation of this file.
1#pragma once
2
5#include "RE/F/FormTypes.h"
6
7namespace RE
8{
10 {
11 public:
12 inline static constexpr auto RTTI = RTTI_BGSEntryPointFunctionDataActivateChoice;
14
15 enum class Flag1
16 {
17 kNone = 0,
20 };
21
23
24 // override (BGSEntryPointFunctionData)
25 FunctionType GetType() const override; // 01 - { return kDataActivateChoice; }
26 bool LoadFunctionData(TESFile* a_mod) override; // 02
27 void ResolveForms(TESFile* a_mod) override; // 03
28 void Unk_05(void) override; // 05
29 void SetPerk(BGSPerk* a_perk) override; // 06 - { perk = a_perk; }
30 BGSPerk* GetPerk() override; // 07 - { return perk; }
31
32 [[nodiscard]] bool ReplacesDefault() const;
33 [[nodiscard]] bool RunsImmediately() const;
34
35 // members
37 BGSPerk* perk; // 10
40 std::uint16_t flags2; // 22
41 std::uint32_t pad24; // 24
42 };
43 static_assert(sizeof(BGSEntryPointFunctionDataActivateChoice) == 0x28);
44}
Definition EnumSet.h:9
Definition BGSEntryPointFunctionDataActivateChoice.h:10
std::uint32_t pad24
Definition BGSEntryPointFunctionDataActivateChoice.h:41
FunctionType GetType() const override
REX::EnumSet< Flag1, std::uint16_t > flags1
Definition BGSEntryPointFunctionDataActivateChoice.h:39
static constexpr auto VTABLE
Definition BGSEntryPointFunctionDataActivateChoice.h:13
BGSPerk * perk
Definition BGSEntryPointFunctionDataActivateChoice.h:37
SpellItem * appliedSpell
Definition BGSEntryPointFunctionDataActivateChoice.h:38
void SetPerk(BGSPerk *a_perk) override
std::uint16_t flags2
Definition BGSEntryPointFunctionDataActivateChoice.h:40
BSFixedString label
Definition BGSEntryPointFunctionDataActivateChoice.h:36
void ResolveForms(TESFile *a_mod) override
Flag1
Definition BGSEntryPointFunctionDataActivateChoice.h:16
static constexpr auto RTTI
Definition BGSEntryPointFunctionDataActivateChoice.h:12
bool LoadFunctionData(TESFile *a_mod) override
Definition BGSEntryPointFunctionData.h:10
FunctionType
Definition BGSEntryPointFunctionData.h:16
Definition BGSPerk.h:31
Definition SpellItem.h:16
Definition TESFile.h:17
Definition AbsorbEffect.h:6
constexpr std::array< REL::ID, 1 > VTABLE_BGSEntryPointFunctionDataActivateChoice
Definition Offsets_VTABLE.h:8609
constexpr REL::ID RTTI_BGSEntryPointFunctionDataActivateChoice(static_cast< std::uint64_t >(685373))