CommonLibVR
AccumulatingValueModifierEffect.h
Go to the documentation of this file.
1 #pragma once
2 
4 
5 namespace RE
6 {
8  public ValueModifierEffect // 00
9  {
10  public:
11  inline static constexpr auto RTTI = RTTI_AccumulatingValueModifierEffect;
12  inline static constexpr auto VTABLE = VTABLE_AccumulatingValueModifierEffect;
13 
14  // override (ActiveEffect)
15  virtual void SaveGame(BGSSaveFormBuffer* a_buf) override; // 08
16  virtual void LoadGame(BGSLoadFormBuffer* a_buf) override; // 09
18  virtual void Start() override; // 14
19  virtual void Finish() override; // 15
20 
21  // override (ValueModifierEffect)
22  virtual bool ShouldModifyOnStart() override; // 1A
23  virtual bool ShouldModifyOnUpdate() const override; // 1C
24  virtual void ModifyOnUpdate(float a_delta) override; // 1D
25  virtual void ModifyOnFinish(Actor* a_caster, Actor* a_target, float a_value) override; // 1F
26 
27  // members
28  float accumulatedMagnitude; // 98
29  float maximumMagnitude; // 9C
30  float holdTimer; // A0
31  private:
32  KEEP_FOR_RE()
33  };
34  static_assert(sizeof(AccumulatingValueModifierEffect) == 0xA8);
35 }
#define KEEP_FOR_RE()
Definition: PCH.h:713
Definition: AccumulatingValueModifierEffect.h:9
virtual void ModifyOnUpdate(float a_delta) override
virtual void Start() override
virtual bool ShouldModifyOnUpdate() const override
float accumulatedMagnitude
Definition: AccumulatingValueModifierEffect.h:28
static constexpr auto RTTI
Definition: AccumulatingValueModifierEffect.h:11
static constexpr auto VTABLE
Definition: AccumulatingValueModifierEffect.h:12
virtual void LoadGame(BGSLoadFormBuffer *a_buf) override
float maximumMagnitude
Definition: AccumulatingValueModifierEffect.h:29
virtual void Finish() override
float holdTimer
Definition: AccumulatingValueModifierEffect.h:30
virtual void ModifyOnFinish(Actor *a_caster, Actor *a_target, float a_value) override
virtual bool ShouldModifyOnStart() override
virtual void SaveGame(BGSSaveFormBuffer *a_buf) override
Definition: Actor.h:133
Definition: BGSLoadFormBuffer.h:11
Definition: BGSSaveFormBuffer.h:8
Definition: ValueModifierEffect.h:9
Definition: AbsorbEffect.h:6
constexpr std::array< REL::ID, 1 > VTABLE_AccumulatingValueModifierEffect
Definition: Offsets_VTABLE.h:7356
constexpr REL::ID RTTI_AccumulatingValueModifierEffect(static_cast< std::uint64_t >(686471))