CommonLibSSE NG
Loading...
Searching...
No Matches
TESFlora.h
Go to the documentation of this file.
1#pragma once
2
3#include "RE/F/FormTypes.h"
6
7namespace RE
8{
9 class TESFlora :
10 public TESObjectACTI, // 00
11 public TESProduceForm // C8
12 {
13 public:
14 inline static constexpr auto RTTI = RTTI_TESFlora;
15 inline static constexpr auto VTABLE = VTABLE_TESFlora;
16 inline static constexpr auto FORMTYPE = FormType::Flora;
17
19 {
20 enum RecordFlag : std::uint32_t
21 {
22 kDeleted = 1 << 5,
23 kIgnored = 1 << 12
24 };
25 };
26
27 ~TESFlora() override; // 00
28
29 // override (TESObjectACTI)
30 bool Load(TESFile* a_mod) override; // 06
31 void InitItemImpl() override; // 13
32 bool Activate(TESObjectREFR* a_targetRef, TESObjectREFR* a_activatorRef, std::uint8_t a_arg3, TESBoundObject* a_object, std::int32_t a_targetCount) override; // 37
33 bool GetActivateText(TESObjectREFR* a_activator, BSString& a_dst) override; // 4C
34 bool CalculateDoFavor(Actor* a_activator, bool a_arg2, TESObjectREFR* a_toActivate, float a_arg3) override; // 4D
35 };
36 static_assert(sizeof(TESFlora) == 0xE8);
37}
Definition Actor.h:131
Definition TESBoundObject.h:24
Definition TESFile.h:15
Definition TESFlora.h:12
void InitItemImpl() override
bool CalculateDoFavor(Actor *a_activator, bool a_arg2, TESObjectREFR *a_toActivate, float a_arg3) override
static constexpr auto VTABLE
Definition TESFlora.h:15
static constexpr auto FORMTYPE
Definition TESFlora.h:16
static constexpr auto RTTI
Definition TESFlora.h:14
bool Load(TESFile *a_mod) override
bool Activate(TESObjectREFR *a_targetRef, TESObjectREFR *a_activatorRef, std::uint8_t a_arg3, TESBoundObject *a_object, std::int32_t a_targetCount) override
bool GetActivateText(TESObjectREFR *a_activator, BSString &a_dst) override
~TESFlora() override
Definition TESObjectACTI.h:22
Definition TESObjectREFR.h:112
Definition TESProduceForm.h:25
Definition AbsorbEffect.h:6
constexpr std::array< REL::VariantID, 7 > VTABLE_TESFlora
Definition Offsets_VTABLE.h:496
constexpr REL::VariantID RTTI_TESFlora(685048, 392802, 0x1ede8d8)
Definition TESFlora.h:19
RecordFlag
Definition TESFlora.h:21
@ kIgnored
Definition TESFlora.h:23
@ kDeleted
Definition TESFlora.h:22