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