CommonLibSSE NG
ArmorRatingVisitorBase.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
RE/I/InventoryChanges.h
"
4
5
namespace
RE
6
{
7
class
ArmorRatingVisitorBase
:
public
InventoryChanges::IItemChangeVisitor
8
{
9
public
:
10
inline
static
constexpr
auto
RTTI
=
RTTI___ArmorRatingVisitorBase
;
11
12
virtual
~ArmorRatingVisitorBase
();
// 00
13
14
// override (InventoryChanges::IItemChangeVisitor)
15
BSContainer::ForEachResult
Visit
(
InventoryEntryData
* a_entryData)
override
;
// 01
16
17
// add
18
virtual
bool
HaveNotVisitedArmor
(
TESObjectARMO
* a_armor);
// 04 - { return true; }
19
virtual
void
VisitArmor
(
TESObjectARMO
* a_armor);
// 05 - { return; }
20
21
// members
22
Actor
*
actor
;
// 08
23
float
armorSum
;
// 10
24
float
armorPerks
;
// 14
25
float
lightArmorRating
;
// 18
26
float
heavyArmorRating
;
// 1C
27
};
28
static_assert(
sizeof
(
ArmorRatingVisitorBase
) == 0x20);
29
}
InventoryChanges.h
RE::Actor
Definition:
Actor.h:135
RE::ArmorRatingVisitorBase
Definition:
ArmorRatingVisitorBase.h:8
RE::ArmorRatingVisitorBase::armorSum
float armorSum
Definition:
ArmorRatingVisitorBase.h:23
RE::ArmorRatingVisitorBase::armorPerks
float armorPerks
Definition:
ArmorRatingVisitorBase.h:24
RE::ArmorRatingVisitorBase::heavyArmorRating
float heavyArmorRating
Definition:
ArmorRatingVisitorBase.h:26
RE::ArmorRatingVisitorBase::VisitArmor
virtual void VisitArmor(TESObjectARMO *a_armor)
RE::ArmorRatingVisitorBase::~ArmorRatingVisitorBase
virtual ~ArmorRatingVisitorBase()
RE::ArmorRatingVisitorBase::lightArmorRating
float lightArmorRating
Definition:
ArmorRatingVisitorBase.h:25
RE::ArmorRatingVisitorBase::Visit
BSContainer::ForEachResult Visit(InventoryEntryData *a_entryData) override
RE::ArmorRatingVisitorBase::HaveNotVisitedArmor
virtual bool HaveNotVisitedArmor(TESObjectARMO *a_armor)
RE::ArmorRatingVisitorBase::actor
Actor * actor
Definition:
ArmorRatingVisitorBase.h:22
RE::ArmorRatingVisitorBase::RTTI
static constexpr auto RTTI
Definition:
ArmorRatingVisitorBase.h:10
RE::InventoryChanges::IItemChangeVisitor
Definition:
InventoryChanges.h:19
RE::InventoryEntryData
Definition:
InventoryEntryData.h:15
RE::TESObjectARMO
Definition:
TESObjectARMO.h:37
RE::BSContainer::ForEachResult
ForEachResult
Definition:
BSContainer.h:6
RE
Definition:
AbsorbEffect.h:6
RE::RTTI___ArmorRatingVisitorBase
constexpr REL::VariantID RTTI___ArmorRatingVisitorBase(686881, 394730, 0x1f073c8)
CommonLibSSE-NG
include
RE
A
ArmorRatingVisitorBase.h
Generated by
1.9.1