CommonLibSSE (powerof3)
MagicItemDataCollector.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSTArray.h"
5 
6 namespace 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:378
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
REX::EnumSet< Flags, std::uint32_t > flags
Definition: MagicItemDataCollector.h:39
static constexpr auto RTTI
Definition: MagicItemDataCollector.h:13
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: MagicItemTraversalFunctor.h:10
Definition: MagicItem.h:30
ForEachResult
Definition: BSContainer.h:6
Definition: AbsorbEffect.h:6
constexpr std::array< REL::ID, 1 > VTABLE_MagicItemDataCollector
Definition: Offsets_VTABLE.h:11978
constexpr REL::ID RTTI_MagicItemDataCollector(static_cast< std::uint64_t >(686482))
Definition: Effect.h:11