CommonLibSSE (powerof3)
ArmorRatingVisitorBase.h
Go to the documentation of this file.
1 #pragma once
2 
4 
5 namespace RE
6 {
8  {
9  public:
10  inline static constexpr auto RTTI = RTTI___ArmorRatingVisitorBase;
11  inline static constexpr auto VTABLE = VTABLE___ArmorRatingVisitorBase;
12 
13  virtual ~ArmorRatingVisitorBase(); // 00
14 
15  // override (InventoryChanges::IItemChangeVisitor)
16  BSContainer::ForEachResult Visit(InventoryEntryData* a_entryData) override; // 01
17 
18  // add
19  virtual bool HaveNotVisitedArmor(TESObjectARMO* a_armor); // 04 - { return true; }
20  virtual void VisitArmor(TESObjectARMO* a_armor); // 05 - { return; }
21 
22  // members
23  Actor* actor; // 08
24  float armorSum; // 10
25  float armorPerks; // 14
26  float lightArmorRating; // 18
27  float heavyArmorRating; // 1C
28  };
29  static_assert(sizeof(ArmorRatingVisitorBase) == 0x20);
30 }
Definition: Actor.h:133
Definition: ArmorRatingVisitorBase.h:8
float armorSum
Definition: ArmorRatingVisitorBase.h:24
float armorPerks
Definition: ArmorRatingVisitorBase.h:25
float heavyArmorRating
Definition: ArmorRatingVisitorBase.h:27
virtual void VisitArmor(TESObjectARMO *a_armor)
float lightArmorRating
Definition: ArmorRatingVisitorBase.h:26
BSContainer::ForEachResult Visit(InventoryEntryData *a_entryData) override
static constexpr auto VTABLE
Definition: ArmorRatingVisitorBase.h:11
virtual bool HaveNotVisitedArmor(TESObjectARMO *a_armor)
Actor * actor
Definition: ArmorRatingVisitorBase.h:23
static constexpr auto RTTI
Definition: ArmorRatingVisitorBase.h:10
Definition: InventoryChanges.h:18
Definition: InventoryEntryData.h:15
Definition: TESObjectARMO.h:37
ForEachResult
Definition: BSContainer.h:6
Definition: AbsorbEffect.h:6
constexpr std::array< REL::ID, 1 > VTABLE___ArmorRatingVisitorBase
Definition: Offsets_VTABLE.h:13003
constexpr REL::ID RTTI___ArmorRatingVisitorBase(static_cast< std::uint64_t >(686881))