CommonLibVR
DualValueModifierEffect.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/A/ActorValues.h"
5 
6 namespace RE
7 {
9  public ValueModifierEffect // 00
10  {
11  public:
12  inline static constexpr auto RTTI = RTTI_DualValueModifierEffect;
13  inline static constexpr auto VTABLE = VTABLE_DualValueModifierEffect;
14 
15  // override (ActiveEffect)
16  virtual bool IsCausingHealthDamage() override; // 06
17  virtual void SaveGame(BGSSaveFormBuffer* a_buf) override; // 08
18  virtual void LoadGame(BGSLoadFormBuffer* a_buf) override; // 09
19  virtual ~DualValueModifierEffect(); // 13
20 
21  // override (ValueModifierEffect)
22  virtual void ModifyActorValue(Actor* a_actor, float a_value, ActorValue a_actorValue) override; // 20
23 
24  // add
25  virtual ActorValue GetAdditionalActorValue() const; // 21
26  virtual float GetSecondaryAVWeight() const; // 22
27 
28  // members
30  float secondaryAVWeight; // 9C
31  private:
32  KEEP_FOR_RE()
33  };
34  static_assert(sizeof(DualValueModifierEffect) == 0xA0);
35 }
#define KEEP_FOR_RE()
Definition: PCH.h:713
Definition: Actor.h:133
Definition: BGSLoadFormBuffer.h:11
Definition: BGSSaveFormBuffer.h:8
Definition: DualValueModifierEffect.h:10
virtual ActorValue GetAdditionalActorValue() const
float secondaryAVWeight
Definition: DualValueModifierEffect.h:30
virtual void LoadGame(BGSLoadFormBuffer *a_buf) override
virtual void ModifyActorValue(Actor *a_actor, float a_value, ActorValue a_actorValue) override
virtual bool IsCausingHealthDamage() override
static constexpr auto VTABLE
Definition: DualValueModifierEffect.h:13
static constexpr auto RTTI
Definition: DualValueModifierEffect.h:12
virtual void SaveGame(BGSSaveFormBuffer *a_buf) override
virtual float GetSecondaryAVWeight() const
ActorValue secondaryActorValue
Definition: DualValueModifierEffect.h:29
Definition: ValueModifierEffect.h:9
Definition: AbsorbEffect.h:6
ActorValue
Definition: ActorValues.h:6
constexpr REL::ID RTTI_DualValueModifierEffect(static_cast< std::uint64_t >(686503))
constexpr std::array< REL::ID, 1 > VTABLE_DualValueModifierEffect
Definition: Offsets_VTABLE.h:11462