CommonLibSSE NG
Loading...
Searching...
No Matches
MagicItemDataCollector.h
Go to the documentation of this file.
1#pragma once
2
3#include "RE/B/BSTArray.h"
5
6namespace RE
7{
8 class MagicItem;
9
11 {
12 public:
13 inline static constexpr auto RTTI = RTTI_MagicItemDataCollector;
14 inline static constexpr auto VTABLE = VTABLE_MagicItemDataCollector;
15
16 enum class Flags
17 {
18 kNone = 0,
19 kSkipCostiest = 1 << 0,
20 kSkipProjectiles = 1 << 1,
21 kSkipArea = 1 << 2,
22 kOnlyFirstEffect = 1 << 3
23 };
24
26 MagicItemDataCollector(const MagicItem* a_magicItem);
27 ~MagicItemDataCollector() override = default;
28
29 // override (MagicItemTraversalFunctor)
31
32 // members
35 std::int32_t maxCost; // 30
36 std::uint32_t pad34; // 34
38 float highestArea; // 40
41 std::uint8_t pad49; // 49
42 std::uint16_t pad4A; // 4A
43 std::uint32_t pad4C; // 4C
44 };
45 static_assert(sizeof(MagicItemDataCollector) == 0x50);
46}
Definition BSTArray.h:377
Definition MagicItemDataCollector.h:11
Effect * costliestEffect
Definition MagicItemDataCollector.h:34
bool summonsExtraLargeCreature
Definition MagicItemDataCollector.h:40
std::uint16_t pad4A
Definition MagicItemDataCollector.h:42
std::uint8_t pad49
Definition MagicItemDataCollector.h:41
~MagicItemDataCollector() override=default
static constexpr auto RTTI
Definition MagicItemDataCollector.h:13
stl::enumeration< Flags, std::uint32_t > flags
Definition MagicItemDataCollector.h:39
Flags
Definition MagicItemDataCollector.h:17
std::uint32_t pad4C
Definition MagicItemDataCollector.h:43
BSContainer::ForEachResult operator()(Effect *a_effect) override
MagicItemDataCollector(const MagicItem *a_magicItem)
static constexpr auto VTABLE
Definition MagicItemDataCollector.h:14
BSTArray< Effect * > projectileEffectList
Definition MagicItemDataCollector.h:33
Effect * largestAreaEffect
Definition MagicItemDataCollector.h:37
std::int32_t maxCost
Definition MagicItemDataCollector.h:35
std::uint32_t pad34
Definition MagicItemDataCollector.h:36
float highestArea
Definition MagicItemDataCollector.h:38
Definition MagicItem.h:30
Definition MagicItemTraversalFunctor.h:10
Definition PCH.h:223
ForEachResult
Definition BSContainer.h:6
Definition AbsorbEffect.h:6
constexpr std::array< REL::VariantID, 1 > VTABLE_MagicItemDataCollector
Definition Offsets_VTABLE.h:1863
constexpr REL::VariantID RTTI_MagicItemDataCollector(686482, 394315, 0x1efeac8)
Definition Effect.h:11