CommonLibSSE (powerof3)
BoundItemEffect.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/A/ActiveEffect.h"
5 #include "RE/B/BSTEvent.h"
6 
7 namespace RE
8 {
9  class TESForm;
10 
12  public ActiveEffect, // 00
13  public BSTEventSink<ActorInventoryEvent> // 90
14  {
15  public:
16  inline static constexpr auto RTTI = RTTI_BoundItemEffect;
17  inline static constexpr auto VTABLE = VTABLE_BoundItemEffect;
18 
19  // override (ActiveEffect)
20  virtual void Update(float a_delta) override; // 04
21  virtual void SaveGame(BGSSaveFormBuffer* a_buf) override; // 08
22  virtual void LoadGame(BGSLoadFormBuffer* a_buf) override; // 09
23  virtual void FinishLoadGame(BGSLoadFormBuffer* a_buf) override; // 0A
24  virtual void Revert(BGSLoadFormBuffer* a_buf) override; // 0B
25  virtual void ClearTargetImpl() override; // 12
26  virtual ~BoundItemEffect(); // 13
27  virtual void Start() override; // 14
28  virtual void Finish() override; // 15
29  virtual bool CanFinish() override; // 16
30 
31  // override (BSTEventSink)
32  virtual BSEventNotifyControl ProcessEvent(const ActorInventoryEvent* a_event, BSTEventSource<ActorInventoryEvent>* a_eventSource) override; // 01
33 
34  // members
36  bool unkB0; // B0
37  bool unkB1; // B1
38  bool unkB2; // B2
39  };
40  static_assert(sizeof(BoundItemEffect) == 0xB8);
41 }
Definition: ActiveEffect.h:27
Definition: BGSLoadFormBuffer.h:11
Definition: BGSSaveFormBuffer.h:8
Definition: BSTArray.h:378
Definition: BSTEvent.h:143
Definition: BSTEvent.h:19
Definition: BoundItemEffect.h:14
virtual void Revert(BGSLoadFormBuffer *a_buf) override
virtual void LoadGame(BGSLoadFormBuffer *a_buf) override
bool unkB1
Definition: BoundItemEffect.h:37
bool unkB0
Definition: BoundItemEffect.h:36
virtual void ClearTargetImpl() override
virtual bool CanFinish() override
BSTArray< SpellItem * > spells
Definition: BoundItemEffect.h:35
virtual void Start() override
virtual void Finish() override
virtual void Update(float a_delta) override
static constexpr auto RTTI
Definition: BoundItemEffect.h:16
bool unkB2
Definition: BoundItemEffect.h:38
virtual void SaveGame(BGSSaveFormBuffer *a_buf) override
virtual ~BoundItemEffect()
virtual void FinishLoadGame(BGSLoadFormBuffer *a_buf) override
static constexpr auto VTABLE
Definition: BoundItemEffect.h:17
virtual BSEventNotifyControl ProcessEvent(const ActorInventoryEvent *a_event, BSTEventSource< ActorInventoryEvent > *a_eventSource) override
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_BoundItemEffect(static_cast< std::uint64_t >(686486))
constexpr std::array< REL::ID, 2 > VTABLE_BoundItemEffect
Definition: Offsets_VTABLE.h:10614
BSEventNotifyControl
Definition: BSTEvent.h:12
Definition: ActorInventoryEvent.h:9