Skip to content

Commit

Permalink
maintenance
Browse files Browse the repository at this point in the history
  • Loading branch information
powerof3 authored and github-actions[bot] committed Jan 9, 2024
1 parent 579a20b commit bade6c1
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 26 deletions.
1 change: 1 addition & 0 deletions cmake/sourcelist.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -1373,6 +1373,7 @@ set(SOURCES
include/RE/S/ScriptedRefEffect.h
include/RE/S/ScrollItem.h
include/RE/S/SendPlayerToJailFunctor.h
include/RE/S/SendUIMessage.h
include/RE/S/SetEventData.h
include/RE/S/SetMotionTypeFunctor.h
include/RE/S/SetPositionFunctor.h
Expand Down
48 changes: 24 additions & 24 deletions include/RE/A/ActorMagicCaster.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,31 +40,31 @@ namespace RE
~ActorMagicCaster() override; // 00

// override (MagicCaster)
void RequestCastImpl() override; // 03
bool StartChargeImpl() override; // 04
void StartReadyImpl() override; // 05
void StartCastImpl() override; // 06
void FinishCastImpl() override; // 07 - { return; }
void InterruptCastImpl(bool a_depleteEnergy) override; // 08 - { return; }
void SpellCast(bool a_doCast, std::uint32_t a_arg2, MagicItem* a_spell) override; // 09 - { return; }
void RequestCastImpl() override; // 03
bool StartChargeImpl() override; // 04
void StartReadyImpl() override; // 05
void StartCastImpl() override; // 06
void FinishCastImpl() override; // 07 - { return; }
void InterruptCastImpl(bool a_depleteEnergy) override; // 08 - { return; }
void SpellCast(bool a_doCast, std::uint32_t a_arg2, MagicItem* a_spell) override; // 09 - { return; }
bool CheckCast(MagicItem* a_spell, bool a_dualCast, float* a_effectStrength, MagicSystem::CannotCastReason* a_reason, bool a_useBaseValueForCost) override; // 0A
TESObjectREFR* GetCasterStatsObject() const override; // 0B - { return actor; }
Actor* GetCasterAsActor() const override; // 0C - { return actor; }
NiNode* GetMagicNode() override; // 0E - { return magicNode; }
void ClearMagicNode() override; // 0F - { magicNode = 0; }
void SetCurrentSpellImpl(MagicItem* a_spell) override; // 10 - { return; }
void SelectSpellImpl() override; // 11 - { return; }
void DeselectSpellImpl() override; // 12 - { return; }
void SetSkipCheckCast() override; // 13 - { return; }
void SetCastingTimerForCharge() override; // 14
MagicSystem::CastingSource GetCastingSource() const override; // 15 - { return castingSource; }
bool GetIsDualCasting() const override; // 16 - { return flags & 1; }
void SetDualCasting(bool a_set) override; // 17
void SaveGame(BGSSaveGameBuffer* a_buf) override; // 18
void LoadGame(BGSLoadGameBuffer* a_buf) override; // 19
void FinishLoadGame(BGSLoadGameBuffer* a_buf) override; // 1A
void PrepareSound(MagicSystem::SoundID a_sound, MagicItem* a_spell) override; // 1B
void AdjustActiveEffect(ActiveEffect* a_activeEffect, float a_power, bool a_arg3) override; // 1C
TESObjectREFR* GetCasterStatsObject() const override; // 0B - { return actor; }
Actor* GetCasterAsActor() const override; // 0C - { return actor; }
NiNode* GetMagicNode() override; // 0E - { return magicNode; }
void ClearMagicNode() override; // 0F - { magicNode = 0; }
void SetCurrentSpellImpl(MagicItem* a_spell) override; // 10 - { return; }
void SelectSpellImpl() override; // 11 - { return; }
void DeselectSpellImpl() override; // 12 - { return; }
void SetSkipCheckCast() override; // 13 - { return; }
void SetCastingTimerForCharge() override; // 14
MagicSystem::CastingSource GetCastingSource() const override; // 15 - { return castingSource; }
bool GetIsDualCasting() const override; // 16 - { return flags & 1; }
void SetDualCasting(bool a_set) override; // 17
void SaveGame(BGSSaveGameBuffer* a_buf) override; // 18
void LoadGame(BGSLoadGameBuffer* a_buf) override; // 19
void FinishLoadGame(BGSLoadGameBuffer* a_buf) override; // 1A
void PrepareSound(MagicSystem::SoundID a_sound, MagicItem* a_spell) override; // 1B
void AdjustActiveEffect(ActiveEffect* a_activeEffect, float a_power, bool a_arg3) override; // 1C

// add
virtual void Update(float a_delta); // 1D
Expand Down
2 changes: 1 addition & 1 deletion include/RE/I/InventoryUpdateData.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace RE
{
class TESBoundObject;

class InventoryUpdateData : public IUIMessageData
class InventoryUpdateData : public IUIMessageData
{
public:
inline static constexpr auto RTTI = RTTI_InventoryUpdateData;
Expand Down
2 changes: 1 addition & 1 deletion include/RE/S/SendUIMessage.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ namespace RE
{
class TESBoundObject;
class TESObjectREFR;

namespace SendUIMessage
{
void SendInventoryUpdateMessage(TESObjectREFR* a_inventoryRef, const TESBoundObject* a_updateObj)
Expand Down
1 change: 1 addition & 0 deletions include/RE/Skyrim.h
Original file line number Diff line number Diff line change
Expand Up @@ -1371,6 +1371,7 @@
#include "RE/S/ScriptedRefEffect.h"
#include "RE/S/ScrollItem.h"
#include "RE/S/SendPlayerToJailFunctor.h"
#include "RE/S/SendUIMessage.h"
#include "RE/S/SetEventData.h"
#include "RE/S/SetMotionTypeFunctor.h"
#include "RE/S/SetPositionFunctor.h"
Expand Down

0 comments on commit bade6c1

Please sign in to comment.