CommonLibSSE (Parapets fork)
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;
13
14 enum class Flag1
15 {
16 kNone = 0,
19 };
20
22
23 // override (BGSEntryPointFunctionData)
24 FunctionType GetType() const override; // 01 - { return kDataActivateChoice; }
25 bool LoadFunctionData(TESFile* a_mod) override; // 02
26 void ResolveForms(TESFile* a_mod) override; // 03
27 void Unk_05(void) override; // 05
28 void SetPerk(BGSPerk* a_perk) override; // 06 - { perk = a_perk; }
29 BGSPerk* GetPerk() override; // 07 - { return perk; }
30
31 [[nodiscard]] bool ReplacesDefault() const;
32 [[nodiscard]] bool RunsImmediately() const;
33
34 // members
36 BGSPerk* perk; // 10
39 std::uint16_t flags2; // 22
40 std::uint32_t pad24; // 24
41 };
42 static_assert(sizeof(BGSEntryPointFunctionDataActivateChoice) == 0x28);
43}
Definition: BGSEntryPointFunctionDataActivateChoice.h:10
std::uint32_t pad24
Definition: BGSEntryPointFunctionDataActivateChoice.h:40
FunctionType GetType() const override
BGSPerk * GetPerk() override
BGSPerk * perk
Definition: BGSEntryPointFunctionDataActivateChoice.h:36
bool ReplacesDefault() const
void Unk_05(void) override
SpellItem * appliedSpell
Definition: BGSEntryPointFunctionDataActivateChoice.h:37
void SetPerk(BGSPerk *a_perk) override
~BGSEntryPointFunctionDataActivateChoice() override
std::uint16_t flags2
Definition: BGSEntryPointFunctionDataActivateChoice.h:39
BSFixedString label
Definition: BGSEntryPointFunctionDataActivateChoice.h:35
void ResolveForms(TESFile *a_mod) override
stl::enumeration< Flag1, std::uint16_t > flags1
Definition: BGSEntryPointFunctionDataActivateChoice.h:38
Flag1
Definition: BGSEntryPointFunctionDataActivateChoice.h:15
@ kNone
@ kRunImmediately
@ kReplaceDefault
static constexpr auto RTTI
Definition: BGSEntryPointFunctionDataActivateChoice.h:12
bool RunsImmediately() const
bool LoadFunctionData(TESFile *a_mod) override
Definition: BGSEntryPointFunctionData.h:10
FunctionType
Definition: BGSEntryPointFunctionData.h:15
Definition: BGSPerk.h:31
Definition: SpellItem.h:16
Definition: TESFile.h:14
Definition: PCH.h:216
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_BGSEntryPointFunctionDataActivateChoice
Definition: Offsets_RTTI.h:1286