CommonLibSSE (Parapets fork)
MagicItemTraversalFunctor.h
Go to the documentation of this file.
1 #pragma once
2 
3 namespace RE
4 {
5  struct Effect;
6 
8  {
9  public:
10  inline static constexpr auto RTTI = RTTI_MagicItemTraversalFunctor;
11 
12  enum class Result
13  {
14  kStop = 0,
15  kContinue = 1,
16  };
17 
18  virtual ~MagicItemTraversalFunctor(); // 00
19 
20  // add
21  virtual Result operator()(Effect* a_effect) = 0; // 01
22 
23  // members
24  std::uint32_t index; // 08
25  std::uint32_t pad0C; // 0C
26  };
27  static_assert(sizeof(MagicItemTraversalFunctor) == 0x10);
28 }
Definition: MagicItemTraversalFunctor.h:8
std::uint32_t pad0C
Definition: MagicItemTraversalFunctor.h:25
Result
Definition: MagicItemTraversalFunctor.h:13
std::uint32_t index
Definition: MagicItemTraversalFunctor.h:24
static constexpr auto RTTI
Definition: MagicItemTraversalFunctor.h:10
virtual Result operator()(Effect *a_effect)=0
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_MagicItemTraversalFunctor
Definition: Offsets_RTTI.h:5133
Definition: Effect.h:11