diff --git a/include/RE/A/Actor.h b/include/RE/A/Actor.h index 9691ea882..58628cac8 100644 --- a/include/RE/A/Actor.h +++ b/include/RE/A/Actor.h @@ -518,7 +518,7 @@ namespace RE InventoryEntryData* GetAttackingWeapon(); const InventoryEntryData* GetAttackingWeapon() const; bhkCharacterController* GetCharController() const; - uint32_t GetCollisionFilterInfo(uint32_t& a_outCollisionFilterInfo); + std::uint32_t GetCollisionFilterInfo(std::uint32_t& a_outCollisionFilterInfo); NiPointer GetCommandingActor() const; TESFaction* GetCrimeFaction(); const TESFaction* GetCrimeFaction() const; @@ -559,6 +559,7 @@ namespace RE bool HasPerk(BGSPerk* a_perk) const; bool HasShout(TESShout* a_shout) const; bool HasSpell(SpellItem* a_spell) const; + void InitiateDoNothingPackage(); void InterruptCast(bool a_restoreMagicka) const; bool IsAttacking() const; bool IsAIEnabled() const; diff --git a/include/RE/T/TESPackage.h b/include/RE/T/TESPackage.h index 20a8a258b..117632712 100644 --- a/include/RE/T/TESPackage.h +++ b/include/RE/T/TESPackage.h @@ -72,7 +72,14 @@ namespace RE kPickPocketWarning = 35, kMovementBlocked = 36, kVampireFeed = 37, - kCannibal = 38 + kCannibal = 38, + kUnk39 = 39, + kUnk40 = 40, + kUnk41 = 41, + kUnk42 = 42, + kUnk43 = 43, + kUnk44 = 44, + kUnk45 = 45, }; enum class PACK_EVENT_ACTION_TYPE diff --git a/src/RE/A/Actor.cpp b/src/RE/A/Actor.cpp index 988bec1d0..a9442ec4e 100644 --- a/src/RE/A/Actor.cpp +++ b/src/RE/A/Actor.cpp @@ -667,7 +667,14 @@ namespace RE return func(this, a_spell); } - void Actor::InterruptCast(bool a_restoreMagicka) const + void Actor::InitiateDoNothingPackage() + { + using func_t = decltype(&Actor::InitiateDoNothingPackage); + REL::Relocation func{ RELOCATION_ID(36408, 37402) }; + return func(this); + } + + void Actor::InterruptCast(bool a_restoreMagicka) const { using func_t = decltype(&Actor::InterruptCast); REL::Relocation func{ RELOCATION_ID(37808, 38757) };