Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
powerof3 committed Dec 20, 2023
1 parent 195851e commit 509842b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
13 changes: 7 additions & 6 deletions include/RE/B/BGSEntryPointFunctionDataSpellItem.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,14 @@ namespace RE
public:
inline static constexpr auto RTTI = RTTI_BGSEntryPointFunctionDataSpellItem;
inline static constexpr auto VTABLE = VTABLE_BGSEntryPointFunctionDataSpellItem;
// Override
virtual ~BGSEntryPointFunctionDataSpellItem() override; // 0

// Override (BGSEntryPointFunctionData)
[[nodiscard]] virtual FunctionType GetType() const override; // 1
virtual bool LoadFunctionData(TESFile* a_mod) override; // 2
virtual void ResolveForms(TESFile* a_form) override; // 3
// override
~BGSEntryPointFunctionDataSpellItem() override; // 0

// override (BGSEntryPointFunctionData)
[[nodiscard]] FunctionType GetType() const override; // 01
bool LoadFunctionData(TESFile* a_mod) override; // 02
void ResolveForms(TESFile* a_form) override; // 03

// Member variables
SpellItem* spell; // 8
Expand Down
11 changes: 5 additions & 6 deletions include/RE/F/FindMaxMagnitudeVisitor.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,21 @@ namespace RE
{
class ActiveEffect;

class FindMaxMagnitudeVisitor :
public MagicTarget::ForEachActiveEffectVisitor
class FindMaxMagnitudeVisitor : public MagicTarget::ForEachActiveEffectVisitor
{
public:
inline static constexpr auto RTTI = RTTI_FindMaxMagnitudeVisitor;
inline static constexpr auto VTABLE = VTABLE_FindMaxMagnitudeVisitor;

virtual ~FindMaxMagnitudeVisitor(){}; // 00
~FindMaxMagnitudeVisitor() override = default; // 00

// add
virtual BSContainer::ForEachResult Accept(ActiveEffect* a_effect) override; // 01

// Member variables
ActiveEffect* activeEffect{ nullptr }; // 8
// members
ActiveEffect* activeEffect{ nullptr }; // 08
float maxMagnitude{ -1.0F }; // 10
};
static_assert(sizeof(FindMaxMagnitudeVisitor) == 0x18);

} // namespace RE
}

0 comments on commit 509842b

Please sign in to comment.