CommonLibSSE NG
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
29  float secondaryAVWeight; // 98
30  std::uint32_t pad9C; // 9C
31  };
32  static_assert(sizeof(DualValueModifierEffect) == 0xA0);
33 }
Definition: Actor.h:135
Definition: BGSLoadFormBuffer.h:11
Definition: BGSSaveFormBuffer.h:8
Definition: DualValueModifierEffect.h:10
virtual ActorValue GetAdditionalActorValue() const
float secondaryAVWeight
Definition: DualValueModifierEffect.h:29
virtual void LoadGame(BGSLoadFormBuffer *a_buf) override
virtual void ModifyActorValue(Actor *a_actor, float a_value, ActorValue a_actorValue) override
std::uint32_t pad9C
Definition: DualValueModifierEffect.h:30
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
Definition: ValueModifierEffect.h:9
Definition: AbsorbEffect.h:6
constexpr REL::VariantID RTTI_DualValueModifierEffect(686503, 394337, 0x1efef18)
ActorValue
Definition: ActorValues.h:6
constexpr std::array< REL::VariantID, 1 > VTABLE_DualValueModifierEffect
Definition: Offsets_VTABLE.h:1880