CommonLibVR
EnhanceWeaponEffect.h
Go to the documentation of this file.
1 #pragma once
2 
4 #include "RE/A/ActorValues.h"
5 #include "RE/B/BSTEvent.h"
7 
8 namespace RE
9 {
11  public DualValueModifierEffect, // 00
12  public BSTEventSink<ActorInventoryEvent> // A0
13  {
14  public:
15  inline static constexpr auto RTTI = RTTI_EnhanceWeaponEffect;
16  inline static constexpr auto VTABLE = VTABLE_EnhanceWeaponEffect;
17 
18  // override (ActiveEffect)
19  virtual void FinishLoadGame(BGSLoadFormBuffer* a_buf) override; // 0A
20  virtual void Revert(BGSLoadFormBuffer* a_buf) override; // 0B
21  virtual void ClearTargetImpl() override; // 12
22  virtual ~EnhanceWeaponEffect(); // 13
23  virtual void Start() override; // 14
24  virtual void Finish() override; // 15
25 
26  // override (DualValueModifierEffect)
27  virtual ActorValue GetAdditionalActorValue() const override; // 21
28  virtual float GetSecondaryAVWeight() const override; // 22
29 
30  // override (BSTEventSink)
31  virtual BSEventNotifyControl ProcessEvent(const ActorInventoryEvent* a_event, BSTEventSource<ActorInventoryEvent>* a_eventSource) override; // 01
32 
33  // members
35  private:
36  KEEP_FOR_RE()
37  };
38  static_assert(sizeof(EnhanceWeaponEffect) == 0xB0);
39 }
#define KEEP_FOR_RE()
Definition: PCH.h:713
Definition: BGSLoadFormBuffer.h:11
Definition: BSTEvent.h:143
Definition: BSTEvent.h:19
Definition: DualValueModifierEffect.h:10
Definition: EnhanceWeaponEffect.h:13
static constexpr auto VTABLE
Definition: EnhanceWeaponEffect.h:16
virtual float GetSecondaryAVWeight() const override
virtual void Start() override
virtual void FinishLoadGame(BGSLoadFormBuffer *a_buf) override
virtual BSEventNotifyControl ProcessEvent(const ActorInventoryEvent *a_event, BSTEventSource< ActorInventoryEvent > *a_eventSource) override
virtual void ClearTargetImpl() override
static constexpr auto RTTI
Definition: EnhanceWeaponEffect.h:15
ActorValue secondaryActorValue
Definition: EnhanceWeaponEffect.h:34
virtual void Revert(BGSLoadFormBuffer *a_buf) override
virtual ~EnhanceWeaponEffect()
virtual void Finish() override
virtual ActorValue GetAdditionalActorValue() const override
Definition: AbsorbEffect.h:6
ActorValue
Definition: ActorValues.h:6
constexpr std::array< REL::ID, 2 > VTABLE_EnhanceWeaponEffect
Definition: Offsets_VTABLE.h:11470
constexpr REL::ID RTTI_EnhanceWeaponEffect(static_cast< std::uint64_t >(686639))
BSEventNotifyControl
Definition: BSTEvent.h:12
Definition: ActorInventoryEvent.h:9