CommonLibSSE (powerof3)
ActorValueOwner.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/A/ActorValues.h"
4 
5 namespace RE
6 {
8  {
9  public:
10  inline static constexpr auto RTTI = RTTI_ActorValueOwner;
11  inline static constexpr auto VTABLE = VTABLE_ActorValueOwner;
12 
13  virtual ~ActorValueOwner(); // 00
14 
15  // add
16  virtual float GetActorValue(ActorValue a_akValue); // 01 - { return 0.0; }
17  virtual float GetPermanentActorValue(ActorValue a_akValue); // 02 - { return 0.0; }
18  virtual float GetBaseActorValue(ActorValue a_akValue); // 03 - { return 0.0; }
19  virtual void SetBaseActorValue(ActorValue a_akValue, float a_value); // 04 - { return; }
20  virtual void ModActorValue(ActorValue a_akValue, float a_value); // 05 - { return; }
21  virtual void RestoreActorValue(ACTOR_VALUE_MODIFIER a_modifier, ActorValue a_akValue, float a_value); // 06 - { return; }
22  virtual void SetActorValue(ActorValue a_akValue, float a_value); // 07 - { SetBaseActorValue(a_akValue, a_value); }
23  [[nodiscard]] virtual bool GetIsPlayerOwner() const; // 08 - { return false; }
24 
25  [[nodiscard]] float GetArmorRatingSkillMultiplier(float a_skillLevel) const;
26  [[nodiscard]] float GetClampedActorValue(ActorValue a_akValue) const;
27  };
28  static_assert(sizeof(ActorValueOwner) == 0x8);
29 }
Definition: ActorValueOwner.h:8
virtual void RestoreActorValue(ACTOR_VALUE_MODIFIER a_modifier, ActorValue a_akValue, float a_value)
virtual bool GetIsPlayerOwner() const
virtual void ModActorValue(ActorValue a_akValue, float a_value)
float GetArmorRatingSkillMultiplier(float a_skillLevel) const
virtual ~ActorValueOwner()
virtual void SetBaseActorValue(ActorValue a_akValue, float a_value)
static constexpr auto RTTI
Definition: ActorValueOwner.h:10
static constexpr auto VTABLE
Definition: ActorValueOwner.h:11
virtual void SetActorValue(ActorValue a_akValue, float a_value)
virtual float GetBaseActorValue(ActorValue a_akValue)
float GetClampedActorValue(ActorValue a_akValue) const
virtual float GetActorValue(ActorValue a_akValue)
virtual float GetPermanentActorValue(ActorValue a_akValue)
Definition: AbsorbEffect.h:6
constexpr std::array< REL::ID, 1 > VTABLE_ActorValueOwner
Definition: Offsets_VTABLE.h:7388
ActorValue
Definition: ActorValues.h:6
constexpr REL::ID RTTI_ActorValueOwner(static_cast< std::uint64_t >(514007))
ACTOR_VALUE_MODIFIER
Definition: ActorValues.h:179