CommonLibVR
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 Flag
16 {
17 kNone = 0,
20 };
21
23
24 // override (BGSEntryPointFunctionData)
25 ENTRY_POINT_FUNCTION_DATA GetType() const override; // 01 - { return kDataActivateChoice; }
26 bool LoadImpl(TESFile* a_mod) override; // 02
27 void InitItem(TESForm* a_form) override; // 03
28 std::uint16_t GetID() override; // 05
29 void SetParentPerk(BGSPerk* a_perk) override; // 06 - { perk = a_perk; }
30 BGSPerk* GetParentPerk() 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 id; // 22
41 std::uint32_t pad24; // 24
42 private:
44 };
45 static_assert(sizeof(BGSEntryPointFunctionDataActivateChoice) == 0x28);
46}
#define KEEP_FOR_RE()
Definition PCH.h:517
Definition EnumSet.h:9
Definition BGSEntryPointFunctionDataActivateChoice.h:10
std::uint32_t pad24
Definition BGSEntryPointFunctionDataActivateChoice.h:41
static constexpr auto VTABLE
Definition BGSEntryPointFunctionDataActivateChoice.h:13
BGSPerk * perk
Definition BGSEntryPointFunctionDataActivateChoice.h:37
SpellItem * appliedSpell
Definition BGSEntryPointFunctionDataActivateChoice.h:38
void SetParentPerk(BGSPerk *a_perk) override
BSFixedString label
Definition BGSEntryPointFunctionDataActivateChoice.h:36
std::uint16_t id
Definition BGSEntryPointFunctionDataActivateChoice.h:40
REX::EnumSet< Flag, std::uint16_t > flags
Definition BGSEntryPointFunctionDataActivateChoice.h:39
Flag
Definition BGSEntryPointFunctionDataActivateChoice.h:16
bool LoadImpl(TESFile *a_mod) override
static constexpr auto RTTI
Definition BGSEntryPointFunctionDataActivateChoice.h:12
ENTRY_POINT_FUNCTION_DATA GetType() const override
void InitItem(TESForm *a_form) override
Definition BGSEntryPointFunctionData.h:11
ENTRY_POINT_FUNCTION_DATA
Definition BGSEntryPointFunctionData.h:17
Definition BGSPerk.h:33
Definition SpellItem.h:16
Definition TESFile.h:17
Definition TESForm.h:40
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))