CommonLibSSE NG
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 
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 }
Definition: Actor.h:135
Definition: ArmorRatingVisitorBase.h:8
float armorSum
Definition: ArmorRatingVisitorBase.h:23
float armorPerks
Definition: ArmorRatingVisitorBase.h:24
float heavyArmorRating
Definition: ArmorRatingVisitorBase.h:26
virtual void VisitArmor(TESObjectARMO *a_armor)
float lightArmorRating
Definition: ArmorRatingVisitorBase.h:25
BSContainer::ForEachResult Visit(InventoryEntryData *a_entryData) override
virtual bool HaveNotVisitedArmor(TESObjectARMO *a_armor)
Actor * actor
Definition: ArmorRatingVisitorBase.h:22
static constexpr auto RTTI
Definition: ArmorRatingVisitorBase.h:10
Definition: InventoryChanges.h:19
Definition: InventoryEntryData.h:15
Definition: TESObjectARMO.h:37
ForEachResult
Definition: BSContainer.h:6
Definition: AbsorbEffect.h:6
constexpr REL::VariantID RTTI___ArmorRatingVisitorBase(686881, 394730, 0x1f073c8)