CommonLibSSE (Parapets fork)
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 FORMTYPE = FormType::Flora;
16
18 {
19 enum RecordFlag : std::uint32_t
20 {
21 kDeleted = 1 << 5,
22 kIgnored = 1 << 12
23 };
24 };
25
26 ~TESFlora() override; // 00
27
28 // override (TESObjectACTI)
29 bool Load(TESFile* a_mod) override; // 06
30 void InitItemImpl() override; // 13
31 bool Activate(TESObjectREFR* a_targetRef, TESObjectREFR* a_activatorRef, std::uint8_t a_arg3, TESBoundObject* a_object, std::int32_t a_targetCount) override; // 37
32 bool GetActivateText(TESObjectREFR* a_activator, BSString& a_dst) override; // 4C
33 bool CalculateDoFavor(Actor* a_activator, bool a_arg2, TESObjectREFR* a_toActivate, float a_arg3) override; // 4D
34 };
35 static_assert(sizeof(TESFlora) == 0xE8);
36}
Definition: Actor.h:125
Definition: TESBoundObject.h:24
Definition: TESFile.h:14
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 FORMTYPE
Definition: TESFlora.h:15
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:105
Definition: TESProduceForm.h:25
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_TESFlora
Definition: Offsets_RTTI.h:5993
Definition: TESFlora.h:18
RecordFlag
Definition: TESFlora.h:20
@ kIgnored
Definition: TESFlora.h:22
@ kDeleted
Definition: TESFlora.h:21