diff --git a/CommonLibF4/include/RE/Bethesda/ActiveEffect.h b/CommonLibF4/include/RE/Bethesda/ActiveEffect.h index d686dade..8e2238b1 100644 --- a/CommonLibF4/include/RE/Bethesda/ActiveEffect.h +++ b/CommonLibF4/include/RE/Bethesda/ActiveEffect.h @@ -54,7 +54,7 @@ namespace RE virtual ~ActiveEffect(); - [[deprecated]] bool CheckDisplacementSpellOnTarget() + bool CheckDisplacementSpellOnTarget() { using func_t = decltype(&ActiveEffect::CheckDisplacementSpellOnTarget); REL::Relocation func{ REL::ID(1415178) }; diff --git a/CommonLibF4/include/RE/Bethesda/Actor.h b/CommonLibF4/include/RE/Bethesda/Actor.h index e411e93b..9c376c2f 100644 --- a/CommonLibF4/include/RE/Bethesda/Actor.h +++ b/CommonLibF4/include/RE/Bethesda/Actor.h @@ -256,7 +256,7 @@ namespace RE static constexpr auto RTTI{ RTTI::EquippedWeaponData }; static constexpr auto VTABLE{ VTABLE::EquippedWeaponData }; - [[deprecated]] void SetupFireSounds(Actor& a_actor, BGSObjectInstanceT& a_weapon) + void SetupFireSounds(Actor& a_actor, BGSObjectInstanceT& a_weapon) { using func_t = decltype(&EquippedWeaponData::SetupFireSounds); REL::Relocation func{ REL::ID(1468462) }; @@ -488,35 +488,35 @@ namespace RE class AIProcess { public: - [[deprecated]] [[nodiscard]] TESAmmo* GetCurrentAmmo(BGSEquipIndex a_equipIndex) const + [[nodiscard]] TESAmmo* GetCurrentAmmo(BGSEquipIndex a_equipIndex) const { using func_t = decltype(&AIProcess::GetCurrentAmmo); REL::Relocation func{ REL::ID(1154936) }; return func(this, a_equipIndex); } - [[deprecated]] COMMAND_TYPE GetCommandType() + COMMAND_TYPE GetCommandType() { using func_t = decltype(&AIProcess::GetCommandType); REL::Relocation func{ REL::ID(678523) }; return func(this); } - [[deprecated]] [[nodiscard]] ObjectRefHandle GetOccupiedFurniture() + [[nodiscard]] ObjectRefHandle GetOccupiedFurniture() { using func_t = decltype(&AIProcess::GetOccupiedFurniture); REL::Relocation func{ REL::ID(1162965) }; return func(this); } - [[deprecated]] bool IsWeaponSubgraphFinishedLoading(const Actor& a_actor) + bool IsWeaponSubgraphFinishedLoading(const Actor& a_actor) { using func_t = decltype(&AIProcess::IsWeaponSubgraphFinishedLoading); REL::Relocation func{ REL::ID(320183) }; return func(this, a_actor); } - [[deprecated]] void KnockExplosion(Actor* a_actor, const NiPoint3& a_location, float a_magnitude) + void KnockExplosion(Actor* a_actor, const NiPoint3& a_location, float a_magnitude) { using func_t = decltype(&AIProcess::KnockExplosion); REL::Relocation func{ REL::ID(533106) }; @@ -528,63 +528,63 @@ namespace RE return SetupSpecialIdle(a_actor, DEFAULT_OBJECT::kActionIdle, a_idle, true, a_target); } - [[deprecated]] bool ProcessGreet(Actor* a_actor, DIALOGUE_TYPE a_type, DIALOGUE_SUBTYPE a_subType, TESObjectREFR* a_target, BGSDialogueBranch* a_branch, bool a_forceSub, bool a_stop, bool a_que, bool a_sayCallback) + bool ProcessGreet(Actor* a_actor, DIALOGUE_TYPE a_type, DIALOGUE_SUBTYPE a_subType, TESObjectREFR* a_target, BGSDialogueBranch* a_branch, bool a_forceSub, bool a_stop, bool a_que, bool a_sayCallback) { using func_t = decltype(&AIProcess::ProcessGreet); REL::Relocation func{ REL::ID(1174935) }; return func(this, a_actor, a_type, a_subType, a_target, a_branch, a_forceSub, a_stop, a_que, a_sayCallback); } - [[deprecated]] bool RequestLoadAnimationsForWeaponChange(Actor& a_actor) + bool RequestLoadAnimationsForWeaponChange(Actor& a_actor) { using func_t = decltype(&AIProcess::RequestLoadAnimationsForWeaponChange); REL::Relocation func{ REL::ID(666002) }; return func(this, a_actor); } - [[deprecated]] void SetActorsDetectionEvent(Actor* a_actor, const NiPoint3& a_location, std::int32_t a_soundLevel, TESObjectREFR* a_refr) + void SetActorsDetectionEvent(Actor* a_actor, const NiPoint3& a_location, std::int32_t a_soundLevel, TESObjectREFR* a_refr) { using func_t = decltype(&AIProcess::SetActorsDetectionEvent); REL::Relocation func{ REL::ID(1376336) }; return func(this, a_actor, a_location, a_soundLevel, a_refr); } - [[deprecated]] void SetCurrentAmmo(BGSEquipIndex a_equipIndex, TESAmmo* a_ammo) + void SetCurrentAmmo(BGSEquipIndex a_equipIndex, TESAmmo* a_ammo) { using func_t = decltype(&AIProcess::SetCurrentAmmo); REL::Relocation func{ REL::ID(795983) }; return func(this, a_equipIndex, a_ammo); } - [[deprecated]] void SetCommandType(COMMAND_TYPE a_type) + void SetCommandType(COMMAND_TYPE a_type) { using func_t = decltype(&AIProcess::SetCommandType); REL::Relocation func{ REL::ID(1555789) }; return func(this, a_type); } - [[deprecated]] void SetEquippedItem(Actor* a_actor, const BGSObjectInstance& a_instance, const BGSEquipSlot* a_slot) + void SetEquippedItem(Actor* a_actor, const BGSObjectInstance& a_instance, const BGSEquipSlot* a_slot) { using func_t = decltype(&AIProcess::SetEquippedItem); REL::Relocation func{ REL::ID(1200276) }; return func(this, a_actor, a_instance, a_slot); } - [[deprecated]] bool SetupSpecialIdle(Actor& a_actor, RE::DEFAULT_OBJECT a_defaultObject, TESIdleForm* a_idle, bool a_testConditions, TESObjectREFR* a_targetOverride) + bool SetupSpecialIdle(Actor& a_actor, RE::DEFAULT_OBJECT a_defaultObject, TESIdleForm* a_idle, bool a_testConditions, TESObjectREFR* a_targetOverride) { using func_t = decltype(&AIProcess::SetupSpecialIdle); REL::Relocation func{ REL::ID(1446774) }; return func(this, a_actor, a_defaultObject, a_idle, a_testConditions, a_targetOverride); } - [[deprecated]] bool SetWeaponBonesCulled(const Actor& a_actor, bool a_stateToSet, WEAPON_CULL_TYPE a_weaponCullType) + bool SetWeaponBonesCulled(const Actor& a_actor, bool a_stateToSet, WEAPON_CULL_TYPE a_weaponCullType) { using func_t = decltype(&AIProcess::SetWeaponBonesCulled); REL::Relocation func{ REL::ID(397172) }; return func(this, a_actor, a_stateToSet, a_weaponCullType); } - [[deprecated]] void StopCurrentIdle(Actor* a_actor, bool a_instant, bool a_killFlavor) + void StopCurrentIdle(Actor* a_actor, bool a_instant, bool a_killFlavor) { using func_t = decltype(&AIProcess::StopCurrentIdle); REL::Relocation func{ REL::ID(434460) }; @@ -657,14 +657,14 @@ namespace RE virtual void EffectActiveStatusChanged([[maybe_unused]] ActiveEffect* a_effect) { return; } // 0B virtual bool CheckAbsorb([[maybe_unused]] Actor* a_caster, [[maybe_unused]] MagicItem* a_spell, [[maybe_unused]] const EffectItem* a_effectItem) { return false; } // 0C - [[deprecated]] [[nodiscard]] bool IsTakingHealthDamageFromActiveEffect() + [[nodiscard]] bool IsTakingHealthDamageFromActiveEffect() { using func_t = decltype(&MagicTarget::IsTakingHealthDamageFromActiveEffect); REL::Relocation func{ REL::ID(999442) }; return func(this); } - [[deprecated]] [[nodiscard]] bool IsTakingRadDamageFromActiveEffect() + [[nodiscard]] bool IsTakingRadDamageFromActiveEffect() { using func_t = decltype(&MagicTarget::IsTakingRadDamageFromActiveEffect); REL::Relocation func{ REL::ID(1079111) }; @@ -964,110 +964,110 @@ namespace RE virtual float CheckClampDamageModifier(ActorValueInfo& a_info, float a_delta); // 131 virtual void ValidateNewPath([[maybe_unused]] const MovementMessageNewPath& a_newPathMessage) { return; } // 132 - [[deprecated]] void AddPerk(BGSPerk* a_perk, std::uint8_t a_rank = 0) + void AddPerk(BGSPerk* a_perk, std::uint8_t a_rank = 0) { using func_t = decltype(&Actor::AddPerk); REL::Relocation func{ REL::ID(187096) }; return func(this, a_perk, a_rank); } - [[deprecated]] bool CanUseIdle(TESIdleForm* a_idle) const + bool CanUseIdle(TESIdleForm* a_idle) const { using func_t = decltype(&Actor::CanUseIdle); REL::Relocation func{ REL::ID(1223707) }; return func(this, a_idle); } - [[deprecated]] void ClearAttackStates() + void ClearAttackStates() { using func_t = decltype(&Actor::ClearAttackStates); REL::Relocation func{ REL::ID(1525555) }; return func(this); } - [[deprecated]] void EndInterruptPackage(bool a_notRunOnceDialogue) + void EndInterruptPackage(bool a_notRunOnceDialogue) { using func_t = decltype(&Actor::EndInterruptPackage); REL::Relocation func{ REL::ID(575188) }; return func(this, a_notRunOnceDialogue); } - [[deprecated]] void ExitCover() + void ExitCover() { using func_t = decltype(&Actor::ExitCover); REL::Relocation func{ REL::ID(770035) }; return func(this); } - [[deprecated]] void GetAimVector(NiPoint3& a_aimVector) + void GetAimVector(NiPoint3& a_aimVector) { using func_t = decltype(&Actor::GetAimVector); REL::Relocation func{ REL::ID(554863) }; return func(this, a_aimVector); } - [[deprecated]] NiAVObject* GetClosestBone(NiPoint3 a_impactLocation, NiPoint3 a_movementDirection) + NiAVObject* GetClosestBone(NiPoint3 a_impactLocation, NiPoint3 a_movementDirection) { using func_t = decltype(&Actor::GetClosestBone); REL::Relocation func{ REL::ID(1180004) }; return func(this, a_impactLocation, a_movementDirection); } - [[deprecated]] CFilter GetCollisionFilter() + CFilter GetCollisionFilter() { using func_t = decltype(&Actor::GetCollisionFilter); REL::Relocation func{ REL::ID(1474995) }; return func(this); } - [[deprecated]] TESCombatStyle* GetCombatStyle() + TESCombatStyle* GetCombatStyle() { using func_t = decltype(&Actor::GetCombatStyle); REL::Relocation func{ REL::ID(1270929) }; return func(this); } - [[deprecated]] [[nodiscard]] TESAmmo* GetCurrentAmmo(BGSEquipIndex a_equipIndex) const + [[nodiscard]] TESAmmo* GetCurrentAmmo(BGSEquipIndex a_equipIndex) const { return currentProcess ? currentProcess->GetCurrentAmmo(a_equipIndex) : nullptr; } - [[deprecated]] std::uint32_t GetCurrentCollisionGroup() + std::uint32_t GetCurrentCollisionGroup() { using func_t = decltype(&Actor::GetCurrentCollisionGroup); REL::Relocation func{ REL::ID(410500) }; return func(this); } - [[deprecated]] bool GetCurrentFireLocation(BGSEquipIndex a_index, NiPoint3& a_fireLocation) + bool GetCurrentFireLocation(BGSEquipIndex a_index, NiPoint3& a_fireLocation) { using func_t = decltype(&Actor::GetCurrentFireLocation); REL::Relocation func{ REL::ID(663107) }; return func(this, a_index, a_fireLocation); } - [[deprecated]] float GetDesiredSpeed() + float GetDesiredSpeed() { using func_t = decltype(&Actor::GetDesiredSpeed); REL::Relocation func{ REL::ID(106892) }; return func(this); } - [[deprecated]] [[nodiscard]] bool GetHostileToActor(Actor* a_actor) + [[nodiscard]] bool GetHostileToActor(Actor* a_actor) { using func_t = decltype(&Actor::GetHostileToActor); REL::Relocation func{ REL::ID(1148686) }; return func(this, a_actor); } - [[deprecated]] [[nodiscard]] ActorHandle GetMountHandle() + [[nodiscard]] ActorHandle GetMountHandle() { using func_t = decltype(&Actor::GetMountHandle); REL::Relocation func{ REL::ID(313362) }; return func(this); } - [[deprecated]] [[nodiscard]] std::int16_t GetLevel() + [[nodiscard]] std::int16_t GetLevel() { using func_t = decltype(&Actor::GetLevel); REL::Relocation func{ REL::ID(661617) }; @@ -1076,112 +1076,112 @@ namespace RE [[nodiscard]] TESNPC* GetNPC() const noexcept; - [[deprecated]] [[nodiscard]] std::uint8_t GetPerkRank(BGSPerk* a_perk) + [[nodiscard]] std::uint8_t GetPerkRank(BGSPerk* a_perk) { using func_t = decltype(&Actor::GetPerkRank); REL::Relocation func{ REL::ID(1368313) }; return func(this, a_perk); } - [[deprecated]] void HandleDefaultAnimationSwitch() + void HandleDefaultAnimationSwitch() { using func_t = decltype(&Actor::HandleDefaultAnimationSwitch); REL::Relocation func{ REL::ID(1163130) }; return func(this); } - [[deprecated]] void HandleItemEquip(bool bCullBone) + void HandleItemEquip(bool bCullBone) { using func_t = decltype(&Actor::HandleItemEquip); REL::Relocation func{ REL::ID(164912) }; return func(this, bCullBone); } - [[deprecated]] void InitiateDoNothingPackage() + void InitiateDoNothingPackage() { using func_t = decltype(&Actor::InitiateDoNothingPackage); REL::Relocation func{ REL::ID(89993) }; return func(this); } - [[deprecated]] bool IsCrippled() + bool IsCrippled() { using func_t = decltype(&Actor::IsCrippled); REL::Relocation func{ REL::ID(1238666) }; return func(this); } - [[deprecated]] bool IsFollowing() + bool IsFollowing() { using func_t = decltype(&Actor::IsFollowing); REL::Relocation func{ REL::ID(629579) }; return func(this); } - [[deprecated]] [[nodiscard]] bool IsJumping() + [[nodiscard]] bool IsJumping() { using func_t = decltype(&Actor::IsJumping); REL::Relocation func{ REL::ID(1041558) }; return func(this); } - [[deprecated]] bool IsPathValid() + bool IsPathValid() { using func_t = decltype(&Actor::IsPathValid); REL::Relocation func{ REL::ID(1522194) }; return func(this); } - [[deprecated]] bool IsPathing() + bool IsPathing() { using func_t = decltype(&Actor::IsPathing); REL::Relocation func{ REL::ID(989661) }; return func(this); } - [[deprecated]] bool IsPathingComplete() + bool IsPathingComplete() { using func_t = decltype(&Actor::IsPathingComplete); REL::Relocation func{ REL::ID(817283) }; return func(this); } - [[deprecated]] bool IsQuadruped() + bool IsQuadruped() { using func_t = decltype(&Actor::IsQuadruped); REL::Relocation func{ REL::ID(1552322) }; return func(this); } - [[deprecated]] bhkCharacterController* Move(float a_deltaTime, NiPoint3 a_deltaPos, bool a_defer) + bhkCharacterController* Move(float a_deltaTime, NiPoint3 a_deltaPos, bool a_defer) { using func_t = decltype(&Actor::Move); REL::Relocation func{ REL::ID(737625) }; return func(this, a_deltaTime, a_deltaPos, a_defer); } - [[deprecated]] bool PerformAction(BGSAction* a_action, TESObjectREFR* a_target) + bool PerformAction(BGSAction* a_action, TESObjectREFR* a_target) { using func_t = decltype(&Actor::PerformAction); REL::Relocation func{ REL::ID(1057231) }; return func(this, a_action, a_target); } - [[deprecated]] void RemovePerk(BGSPerk* a_perk) + void RemovePerk(BGSPerk* a_perk) { using func_t = decltype(&Actor::RemovePerk); REL::Relocation func{ REL::ID(1316475) }; return func(this, a_perk); } - [[deprecated]] void Reset3D(bool a_reloadAll, std::uint32_t a_additionalFlags, bool a_queueReset, std::uint32_t a_excludeFlags) + void Reset3D(bool a_reloadAll, std::uint32_t a_additionalFlags, bool a_queueReset, std::uint32_t a_excludeFlags) { using func_t = decltype(&Actor::Reset3D); REL::Relocation func{ REL::ID(302888) }; return func(this, a_reloadAll, a_additionalFlags, a_queueReset, a_excludeFlags); } - [[deprecated]] void RewardExperience(float a_amount, bool a_direct, TESObjectREFR* a_actionTarget, TESObjectREFR* a_killWeapon) + void RewardExperience(float a_amount, bool a_direct, TESObjectREFR* a_actionTarget, TESObjectREFR* a_killWeapon) { using func_t = decltype(&Actor::RewardExperience); REL::Relocation func{ REL::ID(262786) }; @@ -1195,21 +1195,21 @@ namespace RE } } - [[deprecated]] void SetGunState(GUN_STATE a_gunState, bool a_val = true) + void SetGunState(GUN_STATE a_gunState, bool a_val = true) { using func_t = decltype(&Actor::SetGunState); REL::Relocation func{ REL::ID(977675) }; return func(this, a_gunState, a_val); } - [[deprecated]] void SetHeading(float a_angle) + void SetHeading(float a_angle) { using func_t = decltype(&Actor::SetHeading); REL::Relocation func{ REL::ID(353571) }; return func(this, a_angle); } - [[deprecated]] void TrespassAlarm(TESObjectREFR* a_refr, TESForm* a_owner, std::int32_t a_crime) + void TrespassAlarm(TESObjectREFR* a_refr, TESForm* a_owner, std::int32_t a_crime) { using func_t = decltype(&Actor::TrespassAlarm); REL::Relocation func{ REL::ID(1109888) }; @@ -1278,13 +1278,13 @@ namespace RE public BSTEventSource // 08 { public: - [[deprecated]] [[nodiscard]] static ActorEquipManager* GetSingleton() + [[nodiscard]] static ActorEquipManager* GetSingleton() { REL::Relocation singleton{ REL::ID(1174340) }; return *singleton; } - [[deprecated]] bool EquipObject( + bool EquipObject( Actor* a_actor, const BGSObjectInstance& a_object, std::uint32_t a_stackID, @@ -1301,7 +1301,7 @@ namespace RE return func(this, a_actor, a_object, a_stackID, a_number, a_slot, a_queueEquip, a_forceEquip, a_playSounds, a_applyNow, a_locked); } - [[deprecated]] bool UnequipObject( + bool UnequipObject( Actor* a_actor, const BGSObjectInstance* a_object, std::uint32_t a_number, diff --git a/CommonLibF4/include/RE/Bethesda/ActorValueInfo.h b/CommonLibF4/include/RE/Bethesda/ActorValueInfo.h index cf27dedb..488be333 100644 --- a/CommonLibF4/include/RE/Bethesda/ActorValueInfo.h +++ b/CommonLibF4/include/RE/Bethesda/ActorValueInfo.h @@ -55,7 +55,7 @@ namespace RE kHardcoded = 1 << 31, }; - [[deprecated]] [[nodiscard]] static ActorValue* GetSingleton() + [[nodiscard]] static ActorValue* GetSingleton() { using func_t = decltype(&ActorValue::GetSingleton); REL::Relocation func{ REL::ID(405390) }; diff --git a/CommonLibF4/include/RE/Bethesda/Archive2.h b/CommonLibF4/include/RE/Bethesda/Archive2.h index e8938ed8..44ddad18 100644 --- a/CommonLibF4/include/RE/Bethesda/Archive2.h +++ b/CommonLibF4/include/RE/Bethesda/Archive2.h @@ -165,55 +165,55 @@ namespace RE::BSResource::Archive2 ReaderStream() { stl::emplace_vtable(this); } // override - [[deprecated]] ErrorCode DoOpen() override // 01 + ErrorCode DoOpen() override // 01 { using func_t = decltype(&ReaderStream::DoOpen); REL::Relocation func{ REL::ID(762048) }; return func(this); } - [[deprecated]] void DoClose() override // 02 + void DoClose() override // 02 { using func_t = decltype(&ReaderStream::DoClose); REL::Relocation func{ REL::ID(109149) }; return func(this); } - [[deprecated]] std::uint64_t DoGetKey() const override // 03 + std::uint64_t DoGetKey() const override // 03 { using func_t = decltype(&ReaderStream::DoGetKey); REL::Relocation func{ REL::ID(772817) }; return func(this); } - [[deprecated]] void DoClone(BSTSmartPointer& a_result) const override // 05 + void DoClone(BSTSmartPointer& a_result) const override // 05 { using func_t = decltype(&ReaderStream::DoClone); REL::Relocation func{ REL::ID(855081) }; return func(this, a_result); } - [[deprecated]] ErrorCode DoRead(void* a_buffer, std::uint64_t a_bytes, std::uint64_t& a_read) const override // 06 + ErrorCode DoRead(void* a_buffer, std::uint64_t a_bytes, std::uint64_t& a_read) const override // 06 { using func_t = decltype(&ReaderStream::DoRead); REL::Relocation func{ REL::ID(1359347) }; return func(this, a_buffer, a_bytes, a_read); } - [[deprecated]] ErrorCode DoWrite(const void*, std::uint64_t, std::uint64_t& a_write) const override // 08 + ErrorCode DoWrite(const void*, std::uint64_t, std::uint64_t& a_write) const override // 08 { a_write = 0; return ErrorCode::kUnsupported; } - [[deprecated]] ErrorCode DoSeek(std::int64_t a_offset, SeekMode a_whence, std::uint64_t& a_pos) const override // 09 + ErrorCode DoSeek(std::int64_t a_offset, SeekMode a_whence, std::uint64_t& a_pos) const override // 09 { using func_t = decltype(&ReaderStream::DoSeek); REL::Relocation func{ REL::ID(1000164) }; return func(this, a_offset, a_whence, a_pos); } - [[deprecated]] ErrorCode DoPrefetchAll(std::uint32_t a_priority) const override // 0E + ErrorCode DoPrefetchAll(std::uint32_t a_priority) const override // 0E { using func_t = decltype(&ReaderStream::DoPrefetchAll); REL::Relocation func{ REL::ID(1518821) }; @@ -226,7 +226,7 @@ namespace RE::BSResource::Archive2 return a_result.size() != 0; } - [[deprecated]] ErrorCode DoCreateAsync(BSTSmartPointer& a_result) const override // 10 + ErrorCode DoCreateAsync(BSTSmartPointer& a_result) const override // 10 { using func_t = decltype(&ReaderStream::DoCreateAsync); REL::Relocation func{ REL::ID(893405) }; @@ -269,21 +269,21 @@ namespace RE::BSResource::Archive2 AsyncReaderStream() { stl::emplace_vtable(this); } // override - [[deprecated]] ErrorCode DoOpen() override // 01 + ErrorCode DoOpen() override // 01 { using func_t = decltype(&AsyncReaderStream::DoOpen); REL::Relocation func{ REL::ID(1401160) }; return func(this); } - [[deprecated]] void DoClose() override // 02 + void DoClose() override // 02 { using func_t = decltype(&AsyncReaderStream::DoClose); REL::Relocation func{ REL::ID(883012) }; return func(this); } - [[deprecated]] void DoClone( + void DoClone( BSTSmartPointer& a_result) const override // 05 { using func_t = decltype(&AsyncReaderStream::DoClone); @@ -291,7 +291,7 @@ namespace RE::BSResource::Archive2 return func(this, a_result); } - [[deprecated]] ErrorCode DoStartRead( + ErrorCode DoStartRead( void* a_buffer, std::uint64_t a_bytes, std::uint64_t a_offset) const override // 06 @@ -301,7 +301,7 @@ namespace RE::BSResource::Archive2 return func(this, a_buffer, a_bytes, a_offset); } - [[deprecated]] ErrorCode DoStartPacketAlignedBufferedRead( + ErrorCode DoStartPacketAlignedBufferedRead( PacketAlignedBuffer* a_buffer, std::uint64_t a_bytes, std::uint64_t a_offset) const override // 07 @@ -325,7 +325,7 @@ namespace RE::BSResource::Archive2 return ErrorCode::kUnsupported; } - [[deprecated]] ErrorCode DoWait( + ErrorCode DoWait( std::uint64_t& a_transferred, bool a_block) override // 0B { diff --git a/CommonLibF4/include/RE/Bethesda/BGSCreatedObjectManager.h b/CommonLibF4/include/RE/Bethesda/BGSCreatedObjectManager.h index 29c9d2bd..6f592688 100644 --- a/CommonLibF4/include/RE/Bethesda/BGSCreatedObjectManager.h +++ b/CommonLibF4/include/RE/Bethesda/BGSCreatedObjectManager.h @@ -51,20 +51,20 @@ namespace RE }; static_assert(sizeof(CreatedMagicItemData) == 0x10); - [[deprecated]] [[nodiscard]] static BGSCreatedObjectManager* GetSingleton() + [[nodiscard]] static BGSCreatedObjectManager* GetSingleton() { REL::Relocation singleton{ REL::ID(1000678) }; return *singleton; } - [[deprecated]] void DecrementRef(AlchemyItem* a_alchItem) + void DecrementRef(AlchemyItem* a_alchItem) { using func_t = decltype(&BGSCreatedObjectManager::DecrementRef); REL::Relocation func{ REL::ID(230928) }; return func(this, a_alchItem); } - [[deprecated]] void IncrementRef(AlchemyItem* a_alchItem) + void IncrementRef(AlchemyItem* a_alchItem) { using func_t = decltype(&BGSCreatedObjectManager::IncrementRef); REL::Relocation func{ REL::ID(1042515) }; diff --git a/CommonLibF4/include/RE/Bethesda/BGSDefaultObjectManager.h b/CommonLibF4/include/RE/Bethesda/BGSDefaultObjectManager.h index c9f519d7..3f04a0b4 100644 --- a/CommonLibF4/include/RE/Bethesda/BGSDefaultObjectManager.h +++ b/CommonLibF4/include/RE/Bethesda/BGSDefaultObjectManager.h @@ -428,7 +428,7 @@ namespace RE }; static_assert(sizeof(DEFAULT_OBJECT_DATA) == 0x20); - [[deprecated]] [[nodiscard]] inline std::span GetDefaultObjectData() + [[nodiscard]] inline std::span GetDefaultObjectData() { REL::Relocation data{ REL::ID(838886) }; return { *data }; diff --git a/CommonLibF4/include/RE/Bethesda/BGSDynamicPersistenceManager.h b/CommonLibF4/include/RE/Bethesda/BGSDynamicPersistenceManager.h index 005c47f0..44f55e40 100644 --- a/CommonLibF4/include/RE/Bethesda/BGSDynamicPersistenceManager.h +++ b/CommonLibF4/include/RE/Bethesda/BGSDynamicPersistenceManager.h @@ -13,20 +13,20 @@ namespace RE public BSTSingletonExplicit { public: - [[deprecated]] [[nodiscard]] static BGSDynamicPersistenceManager* GetSingleton() + [[nodiscard]] static BGSDynamicPersistenceManager* GetSingleton() { REL::Relocation singleton{ REL::ID(109630) }; return *singleton; } - [[deprecated]] bool PromoteReference(TESObjectREFR* a_refr, TESForm* a_owner) + bool PromoteReference(TESObjectREFR* a_refr, TESForm* a_owner) { using func_t = decltype(&BGSDynamicPersistenceManager::PromoteReference); REL::Relocation func{ REL::ID(1300345) }; return func(this, a_refr, a_owner); } - [[deprecated]] bool DemoteReference(TESObjectREFR* a_refr, TESForm* a_owner, bool a_allowActors = false) + bool DemoteReference(TESObjectREFR* a_refr, TESForm* a_owner, bool a_allowActors = false) { using func_t = decltype(&BGSDynamicPersistenceManager::DemoteReference); REL::Relocation func{ REL::ID(222813) }; diff --git a/CommonLibF4/include/RE/Bethesda/BGSEntryPoint.h b/CommonLibF4/include/RE/Bethesda/BGSEntryPoint.h index 238bb5b5..99465ea0 100644 --- a/CommonLibF4/include/RE/Bethesda/BGSEntryPoint.h +++ b/CommonLibF4/include/RE/Bethesda/BGSEntryPoint.h @@ -169,7 +169,7 @@ namespace RE }; template - [[deprecated]] inline void HandleEntryPoint(ENTRY_POINT a_entryPoint, Actor* a_perkOwner, Args... a_args) + inline void HandleEntryPoint(ENTRY_POINT a_entryPoint, Actor* a_perkOwner, Args... a_args) { using func_t = decltype(&BGSEntryPoint::HandleEntryPoint); REL::Relocation func{ REL::ID(714336) }; diff --git a/CommonLibF4/include/RE/Bethesda/BGSInventoryInterface.h b/CommonLibF4/include/RE/Bethesda/BGSInventoryInterface.h index a01f77d6..dd3c5ddf 100644 --- a/CommonLibF4/include/RE/Bethesda/BGSInventoryInterface.h +++ b/CommonLibF4/include/RE/Bethesda/BGSInventoryInterface.h @@ -60,13 +60,13 @@ namespace RE }; static_assert(sizeof(Agent) == 0xC); - [[deprecated]] [[nodiscard]] static BGSInventoryInterface* GetSingleton() + [[nodiscard]] static BGSInventoryInterface* GetSingleton() { REL::Relocation singleton{ REL::ID(501899) }; return *singleton; } - [[deprecated]] [[nodiscard]] const BGSInventoryItem* RequestInventoryItem(const std::uint32_t& a_handleID) const + [[nodiscard]] const BGSInventoryItem* RequestInventoryItem(const std::uint32_t& a_handleID) const { using func_t = decltype(&BGSInventoryInterface::RequestInventoryItem); REL::Relocation func{ REL::ID(1200959) }; diff --git a/CommonLibF4/include/RE/Bethesda/BGSInventoryItem.h b/CommonLibF4/include/RE/Bethesda/BGSInventoryItem.h index 5daaf446..bc6ee780 100644 --- a/CommonLibF4/include/RE/Bethesda/BGSInventoryItem.h +++ b/CommonLibF4/include/RE/Bethesda/BGSInventoryItem.h @@ -127,7 +127,7 @@ namespace RE }; static_assert(sizeof(ModifyModDataFunctor) == 0x30); - [[deprecated]] bool FindAndWriteStackData(StackDataCompareFunctor& a_compareFunc, StackDataWriteFunctor& a_writeFunc, bool a_manualMerge, ObjectRefHandle a_owner) + bool FindAndWriteStackData(StackDataCompareFunctor& a_compareFunc, StackDataWriteFunctor& a_writeFunc, bool a_manualMerge, ObjectRefHandle a_owner) { using func_t = decltype(&BGSInventoryItem::FindAndWriteStackData); REL::Relocation func{ REL::ID(770140) }; @@ -145,21 +145,21 @@ namespace RE return iter; } - [[deprecated]] [[nodiscard]] const char* GetDisplayFullName(std::uint32_t a_stackID) + [[nodiscard]] const char* GetDisplayFullName(std::uint32_t a_stackID) { using func_t = decltype(&BGSInventoryItem::GetDisplayFullName); REL::Relocation func{ REL::ID(277641) }; return func(this, a_stackID); } - [[deprecated]] [[nodiscard]] TBO_InstanceData* GetInstanceData(std::uint32_t a_stackID) + [[nodiscard]] TBO_InstanceData* GetInstanceData(std::uint32_t a_stackID) { using func_t = decltype(&BGSInventoryItem::GetInstanceData); REL::Relocation func{ REL::ID(491493) }; return func(this, a_stackID); } - [[deprecated]] [[nodiscard]] std::int32_t GetInventoryValue(std::uint32_t a_stackID, bool a_scale) const + [[nodiscard]] std::int32_t GetInventoryValue(std::uint32_t a_stackID, bool a_scale) const { using func_t = decltype(&BGSInventoryItem::GetInventoryValue); REL::Relocation func{ REL::ID(430292) }; @@ -180,7 +180,7 @@ namespace RE static constexpr auto VTABLE{ VTABLE::__ApplyChangesFunctor }; // override - [[deprecated]] virtual void WriteDataImpl(TESBoundObject& a_baseObj, BGSInventoryItem::Stack& a_stack) override // 01 + virtual void WriteDataImpl(TESBoundObject& a_baseObj, BGSInventoryItem::Stack& a_stack) override // 01 { using func_t = decltype(&ApplyChangesFunctor::WriteDataImpl); REL::Relocation func{ REL::ID(1291190) }; diff --git a/CommonLibF4/include/RE/Bethesda/BGSMod.h b/CommonLibF4/include/RE/Bethesda/BGSMod.h index 3bec40f7..3ae74497 100644 --- a/CommonLibF4/include/RE/Bethesda/BGSMod.h +++ b/CommonLibF4/include/RE/Bethesda/BGSMod.h @@ -132,7 +132,7 @@ namespace RE::BGSMod namespace Attachment { - [[deprecated]] [[nodiscard]] inline BSTHashMap& GetAllLooseMods() + [[nodiscard]] inline BSTHashMap& GetAllLooseMods() { REL::Relocation*> mods{ REL::ID(1108112), -0x8 }; return *mods; @@ -163,28 +163,28 @@ namespace RE::BGSMod }; static_assert(sizeof(Data) == 0x20); - [[deprecated]] static void FindModsForLooseMod(TESObjectMISC* a_looseMod, BSScrapArray& a_result) + static void FindModsForLooseMod(TESObjectMISC* a_looseMod, BSScrapArray& a_result) { using func_t = decltype(&Mod::FindModsForLooseMod); REL::Relocation func{ REL::ID(410363) }; return func(a_looseMod, a_result); } - [[deprecated]] void GetData(Data& a_data) const + void GetData(Data& a_data) const { using func_t = decltype(&Mod::GetData); REL::Relocation func{ REL::ID(33658) }; return func(this, a_data); } - [[deprecated]] TESObjectMISC* GetLooseMod() + TESObjectMISC* GetLooseMod() { using func_t = decltype(&Mod::GetLooseMod); REL::Relocation func{ REL::ID(1359613) }; return func(this); } - [[deprecated]] void SetLooseMod(TESObjectMISC* misc) + void SetLooseMod(TESObjectMISC* misc) { using func_t = decltype(&Mod::SetLooseMod); REL::Relocation func{ REL::ID(123132) }; @@ -247,7 +247,7 @@ namespace RE::BGSMod static constexpr auto RTTI{ RTTI::BGSMod__Template__Items }; static constexpr auto VTABLE{ VTABLE::BGSMod__Template__Items }; - [[deprecated]] static void CreateInstanceDataForObjectAndExtra(TESBoundObject& a_object, ExtraDataList& a_extra, const INSTANCE_FILTER* a_filter, bool a_useDefault) + static void CreateInstanceDataForObjectAndExtra(TESBoundObject& a_object, ExtraDataList& a_extra, const INSTANCE_FILTER* a_filter, bool a_useDefault) { using func_t = decltype(&Items::CreateInstanceDataForObjectAndExtra); REL::Relocation func{ REL::ID(147297) }; diff --git a/CommonLibF4/include/RE/Bethesda/BGSSaveLoad.h b/CommonLibF4/include/RE/Bethesda/BGSSaveLoad.h index 0f5fc977..c6750642 100644 --- a/CommonLibF4/include/RE/Bethesda/BGSSaveLoad.h +++ b/CommonLibF4/include/RE/Bethesda/BGSSaveLoad.h @@ -121,13 +121,13 @@ namespace RE // override (BSTEventSink) BSEventNotifyControl ProcessEvent(const SPECIALMenuEvent::NameChangedEvent& a_event, BSTEventSource* a_source) override; // 01 - [[deprecated]] [[nodiscard]] static BGSSaveLoadManager* GetSingleton() + [[nodiscard]] static BGSSaveLoadManager* GetSingleton() { REL::Relocation singleton{ REL::ID(1247320) }; return *singleton; } - [[deprecated]] void QueueSaveLoadTask(QUEUED_TASK a_task) + void QueueSaveLoadTask(QUEUED_TASK a_task) { using func_t = decltype(&BGSSaveLoadManager::QueueSaveLoadTask); REL::Relocation func{ REL::ID(1487308) }; diff --git a/CommonLibF4/include/RE/Bethesda/BGSStoryEventManager.h b/CommonLibF4/include/RE/Bethesda/BGSStoryEventManager.h index e9a748f1..422eb2de 100644 --- a/CommonLibF4/include/RE/Bethesda/BGSStoryEventManager.h +++ b/CommonLibF4/include/RE/Bethesda/BGSStoryEventManager.h @@ -77,7 +77,7 @@ namespace RE } } - [[deprecated]] [[nodiscard]] static std::uint32_t EVENT_INDEX() + [[nodiscard]] static std::uint32_t EVENT_INDEX() { REL::Relocation eventIdx{ REL::ID(1186942) }; return *eventIdx; @@ -97,7 +97,7 @@ namespace RE ctor(a_actor, a_lockRef, a_isCrime); } - [[deprecated]] [[nodiscard]] static std::uint32_t EVENT_INDEX() + [[nodiscard]] static std::uint32_t EVENT_INDEX() { REL::Relocation eventIdx{ REL::ID(701969) }; return *eventIdx; @@ -109,7 +109,7 @@ namespace RE std::uint32_t isCrime; // 08 private: - [[deprecated]] BGSPickLockEvent* ctor(TESObjectREFR* a_actor, TESObjectREFR* a_lockRef, bool a_isCrime) + BGSPickLockEvent* ctor(TESObjectREFR* a_actor, TESObjectREFR* a_lockRef, bool a_isCrime) { using func_t = decltype(&BGSPickLockEvent::ctor); REL::Relocation func{ REL::ID(193329) }; diff --git a/CommonLibF4/include/RE/Bethesda/BGSStoryManagerTreeForm.h b/CommonLibF4/include/RE/Bethesda/BGSStoryManagerTreeForm.h index fb2f2d09..a87e5077 100644 --- a/CommonLibF4/include/RE/Bethesda/BGSStoryManagerTreeForm.h +++ b/CommonLibF4/include/RE/Bethesda/BGSStoryManagerTreeForm.h @@ -93,7 +93,7 @@ namespace RE struct ListObjectivesAccess; struct ListStagesAccess; - [[deprecated]] bool SetStage(std::uint16_t stage) + bool SetStage(std::uint16_t stage) { using func_t = decltype(&TESQuest::SetStage); REL::Relocation func{ REL::ID(952799) }; diff --git a/CommonLibF4/include/RE/Bethesda/BGSSynchronizedAnimationManager.h b/CommonLibF4/include/RE/Bethesda/BGSSynchronizedAnimationManager.h index d47a5bb2..9ead1e8e 100644 --- a/CommonLibF4/include/RE/Bethesda/BGSSynchronizedAnimationManager.h +++ b/CommonLibF4/include/RE/Bethesda/BGSSynchronizedAnimationManager.h @@ -25,13 +25,13 @@ namespace RE virtual BSEventNotifyControl ProcessEvent(const AnimationDataSetupEvent&, BSTEventSource*) override; // 01 virtual BSEventNotifyControl ProcessEvent(const AnimationDataCleanupEvent&, BSTEventSource*) override; // 02 - [[deprecated]] [[nodiscard]] static BGSSynchronizedAnimationManager* GetSingleton() + [[nodiscard]] static BGSSynchronizedAnimationManager* GetSingleton() { REL::Relocation singleton{ REL::ID(1346879) }; return *singleton; } - [[deprecated]] [[nodiscard]] bool IsReferenceInSynchronizedScene(ObjectRefHandle a_ref) + [[nodiscard]] bool IsReferenceInSynchronizedScene(ObjectRefHandle a_ref) { using func_t = decltype(&BGSSynchronizedAnimationManager::IsReferenceInSynchronizedScene); REL::Relocation func{ REL::ID(915329) }; diff --git a/CommonLibF4/include/RE/Bethesda/BSAudioManager.h b/CommonLibF4/include/RE/Bethesda/BSAudioManager.h index 373696ee..684a6c7c 100644 --- a/CommonLibF4/include/RE/Bethesda/BSAudioManager.h +++ b/CommonLibF4/include/RE/Bethesda/BSAudioManager.h @@ -70,13 +70,13 @@ namespace RE }; static_assert(sizeof(SyncedPlaybackManager) == 0x18); - [[deprecated]] [[nodiscard]] static BSAudioManager* GetSingleton() + [[nodiscard]] static BSAudioManager* GetSingleton() { REL::Relocation singleton{ REL::ID(1321158) }; return *singleton; } - [[deprecated]] void GetSoundHandleByName(BSSoundHandle& a_handle, const char* a_soundName, float a_distance, std::uint32_t a_usageFlags, BSISoundDescriptor::ExtraResolutionData* a_data) + void GetSoundHandleByName(BSSoundHandle& a_handle, const char* a_soundName, float a_distance, std::uint32_t a_usageFlags, BSISoundDescriptor::ExtraResolutionData* a_data) { using func_t = decltype(&BSAudioManager::GetSoundHandleByName); REL::Relocation func{ REL::ID(196484) }; diff --git a/CommonLibF4/include/RE/Bethesda/BSExtraData.h b/CommonLibF4/include/RE/Bethesda/BSExtraData.h index 1ea0f89b..876bcb72 100644 --- a/CommonLibF4/include/RE/Bethesda/BSExtraData.h +++ b/CommonLibF4/include/RE/Bethesda/BSExtraData.h @@ -473,7 +473,7 @@ namespace RE std::uint16_t itemIndex{ 0 }; // 20 private: - [[deprecated]] BGSObjectInstanceExtra* ctor(const BGSMod::Template::Item* a_item, TESForm* a_parentForm, const INSTANCE_FILTER* a_filter) + BGSObjectInstanceExtra* ctor(const BGSMod::Template::Item* a_item, TESForm* a_parentForm, const INSTANCE_FILTER* a_filter) { using func_t = decltype(&BGSObjectInstanceExtra::ctor); REL::Relocation func{ REL::ID(1222521) }; @@ -885,7 +885,7 @@ namespace RE return func(this, a_name); } - [[deprecated]] void SetStartingWorldOrCell(TESForm* a_form) + void SetStartingWorldOrCell(TESForm* a_form) { using func_t = decltype(&ExtraDataList::SetStartingWorldOrCell); REL::Relocation func{ REL::ID(603621) }; diff --git a/CommonLibF4/include/RE/Bethesda/BSGraphics.h b/CommonLibF4/include/RE/Bethesda/BSGraphics.h index b570ecd1..deb0b6e4 100644 --- a/CommonLibF4/include/RE/Bethesda/BSGraphics.h +++ b/CommonLibF4/include/RE/Bethesda/BSGraphics.h @@ -242,7 +242,7 @@ namespace RE class RendererData { public: - [[deprecated]] [[nodiscard]] static RendererData* GetSingleton() + [[nodiscard]] static RendererData* GetSingleton() { REL::Relocation singleton{ REL::ID(1235449) }; return *singleton; @@ -283,13 +283,13 @@ namespace RE public: using ResetRenderTargets_t = void (*)(); - [[deprecated]] void IncRef(Buffer* a_vertexBuffer) + void IncRef(Buffer* a_vertexBuffer) { using func_t = decltype(&BSGraphics::Renderer::IncRef); REL::Relocation func{ REL::ID(1337764) }; return func(this, a_vertexBuffer); } - [[deprecated]] void DecRef(Buffer* a_vertexBuffer) + void DecRef(Buffer* a_vertexBuffer) { using func_t = decltype(&BSGraphics::Renderer::DecRef); REL::Relocation func{ REL::ID(194808) }; @@ -459,7 +459,7 @@ namespace RE class State { public: - [[deprecated]] [[nodiscard]] static State GetSingleton() + [[nodiscard]] static State GetSingleton() { REL::Relocation singleton{ REL::ID(600795) }; return *singleton; @@ -568,13 +568,13 @@ namespace RE public: using Create_T = void (*)(); - [[deprecated]] [[nodiscard]] static RenderTargetManager GetSingleton() + [[nodiscard]] static RenderTargetManager GetSingleton() { REL::Relocation singleton{ REL::ID(1508457) }; return *singleton; } - [[deprecated]] void SetEnableDynamicResolution(bool a_enableDynamicResolution) + void SetEnableDynamicResolution(bool a_enableDynamicResolution) { using func_t = decltype(&RenderTargetManager::SetEnableDynamicResolution); REL::Relocation func{ REL::ID(116947) }; diff --git a/CommonLibF4/include/RE/Bethesda/BSHavok.h b/CommonLibF4/include/RE/Bethesda/BSHavok.h index ace74afb..d161a9f6 100644 --- a/CommonLibF4/include/RE/Bethesda/BSHavok.h +++ b/CommonLibF4/include/RE/Bethesda/BSHavok.h @@ -18,7 +18,7 @@ namespace RE virtual bool Update(std::uint32_t a_updateFlags); // 28 virtual void Init(const hknpWorldCinfo& a_info); // 29 - [[deprecated]] static bool RemoveObjects(NiAVObject* a_object, bool a_recurse, bool a_force) + static bool RemoveObjects(NiAVObject* a_object, bool a_recurse, bool a_force) { using func_t = decltype(&RemoveObjects); REL::Relocation func{ REL::ID(1514984) }; diff --git a/CommonLibF4/include/RE/Bethesda/BSInputDeviceManager.h b/CommonLibF4/include/RE/Bethesda/BSInputDeviceManager.h index d68cc5a3..9894a988 100644 --- a/CommonLibF4/include/RE/Bethesda/BSInputDeviceManager.h +++ b/CommonLibF4/include/RE/Bethesda/BSInputDeviceManager.h @@ -53,7 +53,7 @@ namespace RE kTotal }; - [[deprecated]] [[nodiscard]] static BSInputDeviceManager* GetSingleton() + [[nodiscard]] static BSInputDeviceManager* GetSingleton() { REL::Relocation singleton{ REL::ID(1284221) }; return *singleton; diff --git a/CommonLibF4/include/RE/Bethesda/BSModelDB.h b/CommonLibF4/include/RE/Bethesda/BSModelDB.h index 6eba89a1..432f3a54 100644 --- a/CommonLibF4/include/RE/Bethesda/BSModelDB.h +++ b/CommonLibF4/include/RE/Bethesda/BSModelDB.h @@ -44,7 +44,7 @@ namespace RE }; static_assert(sizeof(ArgsType) == 0x0C); - [[deprecated]] static BSResource::EntryDB* GetSingleton() + static BSResource::EntryDB* GetSingleton() { REL::Relocation**> singleton{ REL::ID(45807) }; return *singleton; @@ -52,7 +52,7 @@ namespace RE }; static_assert(std::is_empty_v); - [[deprecated]] static BSResource::ErrorCode Demand( + static BSResource::ErrorCode Demand( const char* a_name, BSResource::RHandleType, BSResource::EntryDBTraits>::CArgs>, BSResource::EntryDB>& a_result, const DBTraits::ArgsType& a_args) @@ -62,7 +62,7 @@ namespace RE return func(a_name, a_result, a_args); } - [[deprecated]] static BSResource::ErrorCode Demand( + static BSResource::ErrorCode Demand( const char* a_name, NiPointer* a_result, const DBTraits::ArgsType& a_args) diff --git a/CommonLibF4/include/RE/Bethesda/BSPointerHandle.h b/CommonLibF4/include/RE/Bethesda/BSPointerHandle.h index b82f6099..6ffc347c 100644 --- a/CommonLibF4/include/RE/Bethesda/BSPointerHandle.h +++ b/CommonLibF4/include/RE/Bethesda/BSPointerHandle.h @@ -158,21 +158,21 @@ namespace RE class BSPointerHandleManagerInterface { public: - [[deprecated]] static BSPointerHandle CreateHandle(T* a_ptr) + static BSPointerHandle CreateHandle(T* a_ptr) { using func_t = decltype(&BSPointerHandleManagerInterface::CreateHandle); REL::Relocation func{ REL::ID(224532) }; return func(a_ptr); } - [[deprecated]] static BSPointerHandle GetHandle(T* a_ptr) + static BSPointerHandle GetHandle(T* a_ptr) { using func_t = decltype(&BSPointerHandleManagerInterface::GetHandle); REL::Relocation func{ REL::ID(901626) }; return func(a_ptr); } - [[deprecated]] static bool GetSmartPointer(const BSPointerHandle& a_handle, NiPointer& a_smartPointerOut) + static bool GetSmartPointer(const BSPointerHandle& a_handle, NiPointer& a_smartPointerOut) { using func_t = decltype(&BSPointerHandleManagerInterface::GetSmartPointer); REL::Relocation func{ REL::ID(967277) }; diff --git a/CommonLibF4/include/RE/Bethesda/BSResource.h b/CommonLibF4/include/RE/Bethesda/BSResource.h index 22a63b83..37424c1d 100644 --- a/CommonLibF4/include/RE/Bethesda/BSResource.h +++ b/CommonLibF4/include/RE/Bethesda/BSResource.h @@ -14,7 +14,7 @@ namespace RE::BSResource { [[nodiscard]] ErrorCode GetOrCreateStream(const char* a_fileName, BSTSmartPointer& a_result, bool a_writable = false, Location* a_optionalStart = nullptr); - [[deprecated]] inline void RegisterLocation(Location* a_location, std::uint32_t a_priority) + inline void RegisterLocation(Location* a_location, std::uint32_t a_priority) { using func_t = decltype(&RegisterLocation); REL::Relocation func{ REL::ID(918408) }; diff --git a/CommonLibF4/include/RE/Bethesda/BSResource/Entry.h b/CommonLibF4/include/RE/Bethesda/BSResource/Entry.h index ca893efe..d1e45271 100644 --- a/CommonLibF4/include/RE/Bethesda/BSResource/Entry.h +++ b/CommonLibF4/include/RE/Bethesda/BSResource/Entry.h @@ -35,7 +35,7 @@ namespace RE class EntryDBBaseUtil { public: - [[deprecated]] static bool ReleaseEntryAction(EntryBase* a_entry) + static bool ReleaseEntryAction(EntryBase* a_entry) { using func_t = decltype(&EntryDBBaseUtil::ReleaseEntryAction); REL::Relocation func{ REL::ID(777279) }; diff --git a/CommonLibF4/include/RE/Bethesda/BSResource/GlobalLocations.h b/CommonLibF4/include/RE/Bethesda/BSResource/GlobalLocations.h index 816e4d56..2f1b196d 100644 --- a/CommonLibF4/include/RE/Bethesda/BSResource/GlobalLocations.h +++ b/CommonLibF4/include/RE/Bethesda/BSResource/GlobalLocations.h @@ -24,7 +24,7 @@ namespace RE::BSResource }; static_assert(sizeof(Entry) == 0x18); - [[deprecated]] [[nodiscard]] static GlobalLocations* GetSingleton() + [[nodiscard]] static GlobalLocations* GetSingleton() { REL::Relocation singleton{ REL::ID(1573818) }; return *singleton; diff --git a/CommonLibF4/include/RE/Bethesda/BSResource/GlobalPaths.h b/CommonLibF4/include/RE/Bethesda/BSResource/GlobalPaths.h index 1716358e..2fb39a0a 100644 --- a/CommonLibF4/include/RE/Bethesda/BSResource/GlobalPaths.h +++ b/CommonLibF4/include/RE/Bethesda/BSResource/GlobalPaths.h @@ -15,7 +15,7 @@ namespace RE::BSResource static constexpr auto RTTI{ RTTI::BSResource____GlobalPaths }; static constexpr auto VTABLE{ VTABLE::BSResource____GlobalPaths }; - [[deprecated]] [[nodiscard]] static GlobalPaths* GetSingleton() + [[nodiscard]] static GlobalPaths* GetSingleton() { REL::Relocation singleton{ REL::ID(210868) }; return *singleton; diff --git a/CommonLibF4/include/RE/Bethesda/BSScaleformManager.h b/CommonLibF4/include/RE/Bethesda/BSScaleformManager.h index 8abc0254..3f8801f7 100644 --- a/CommonLibF4/include/RE/Bethesda/BSScaleformManager.h +++ b/CommonLibF4/include/RE/Bethesda/BSScaleformManager.h @@ -40,7 +40,7 @@ namespace RE public BSTEventSource // 000 { public: - [[deprecated]] void Initialize() + void Initialize() { using func_t = decltype(&BSScaleformRenderer::Initialize); REL::Relocation func{ REL::ID(1403529) }; @@ -83,13 +83,13 @@ namespace RE using ScaleModeType = Scaleform::GFx::Movie::ScaleModeType; - [[deprecated]] [[nodiscard]] static BSScaleformManager* GetSingleton() + [[nodiscard]] static BSScaleformManager* GetSingleton() { REL::Relocation singleton{ REL::ID(106578) }; return *singleton; } - [[deprecated]] bool LoadMovie( + bool LoadMovie( IMenu& a_menu, Scaleform::Ptr& a_movie, const char* a_menuName, @@ -117,14 +117,14 @@ namespace RE BSStringT validNameChars; // 30 private: - [[deprecated]] [[nodiscard]] bool GetMovieFilename(char const* a_menuName, BSStaticStringT<260>& a_filePath) + [[nodiscard]] bool GetMovieFilename(char const* a_menuName, BSStaticStringT<260>& a_filePath) { using func_t = decltype(&BSScaleformManager::GetMovieFilename); REL::Relocation func{ REL::ID(1191277) }; return func(this, a_menuName, a_filePath); } - [[deprecated]] void InitMovieViewport(Scaleform::GFx::Movie& a_movie, const float a_dynamicWidthRatio, const float a_dynamicHeightRatio) + void InitMovieViewport(Scaleform::GFx::Movie& a_movie, const float a_dynamicWidthRatio, const float a_dynamicHeightRatio) { using func_t = decltype(&BSScaleformManager::InitMovieViewport); REL::Relocation func{ REL::ID(206895) }; diff --git a/CommonLibF4/include/RE/Bethesda/BSScript/ArrayWrapper.h b/CommonLibF4/include/RE/Bethesda/BSScript/ArrayWrapper.h index 92c8a6db..4f06586b 100644 --- a/CommonLibF4/include/RE/Bethesda/BSScript/ArrayWrapper.h +++ b/CommonLibF4/include/RE/Bethesda/BSScript/ArrayWrapper.h @@ -46,7 +46,7 @@ namespace RE F4_HEAP_REDEFINE_NEW(ArrayWrapper); - [[deprecated]] void ReplaceArray(BSScrapArray& a_copy, IVirtualMachine& a_vm) + void ReplaceArray(BSScrapArray& a_copy, IVirtualMachine& a_vm) { using func_t = decltype(&ArrayWrapper::ReplaceArray); REL::Relocation func{ REL::ID(445184) }; diff --git a/CommonLibF4/include/RE/Bethesda/BSScript/NF_util/NativeFunctionBase.h b/CommonLibF4/include/RE/Bethesda/BSScript/NF_util/NativeFunctionBase.h index 1914f879..085aa9ed 100644 --- a/CommonLibF4/include/RE/Bethesda/BSScript/NF_util/NativeFunctionBase.h +++ b/CommonLibF4/include/RE/Bethesda/BSScript/NF_util/NativeFunctionBase.h @@ -84,7 +84,7 @@ namespace RE const BSFixedString& GetDocString() const override { return docString; } // 0D void InsertLocals(StackFrame&) const override { return; } // 0E - [[deprecated]] CallResult Call(const BSTSmartPointer& a_stack, ErrorLogger& a_errorLogger, Internal::VirtualMachine& a_vm, bool a_inScriptTasklet) const override // 0F + CallResult Call(const BSTSmartPointer& a_stack, ErrorLogger& a_errorLogger, Internal::VirtualMachine& a_vm, bool a_inScriptTasklet) const override // 0F { using func_t = decltype(&NativeFunctionBase::Call); REL::Relocation func{ REL::ID(571037) }; diff --git a/CommonLibF4/include/RE/Bethesda/BSScript/Object.h b/CommonLibF4/include/RE/Bethesda/BSScript/Object.h index ec2abfcf..586f246d 100644 --- a/CommonLibF4/include/RE/Bethesda/BSScript/Object.h +++ b/CommonLibF4/include/RE/Bethesda/BSScript/Object.h @@ -33,7 +33,7 @@ namespace RE [[nodiscard]] void* Resolve(std::uint32_t a_typeID) const; - [[deprecated]] [[nodiscard]] std::uint32_t DecRef() const + [[nodiscard]] std::uint32_t DecRef() const { using func_t = decltype(&Object::DecRef); REL::Relocation func{ REL::ID(541793) }; diff --git a/CommonLibF4/include/RE/Bethesda/BSScript/ObjectBindPolicy.h b/CommonLibF4/include/RE/Bethesda/BSScript/ObjectBindPolicy.h index 6803e0af..fb9c68a6 100644 --- a/CommonLibF4/include/RE/Bethesda/BSScript/ObjectBindPolicy.h +++ b/CommonLibF4/include/RE/Bethesda/BSScript/ObjectBindPolicy.h @@ -56,14 +56,14 @@ namespace RE virtual void ConvertProperties(std::size_t a_objTarget, const BSTSmartPointer& a_boundScript, bool a_constOnly, BSTScrapHashMap& a_properties, std::uint32_t& a_nonConvertedProperties) const = 0; // 0F virtual void ConvertProperties(std::size_t a_objTarget, const MergedBoundScript& a_mergedScript, bool a_constOnly, BSTScrapHashMap& a_properties, std::uint32_t& a_nonConvertedProperties) const = 0; // 0E - [[deprecated]] void BindObject(const BSTSmartPointer& a_obj, std::size_t a_objHandle) + void BindObject(const BSTSmartPointer& a_obj, std::size_t a_objHandle) { using func_t = decltype(&ObjectBindPolicy::BindObject); REL::Relocation func{ REL::ID(709728) }; return func(this, a_obj, a_objHandle); } - [[deprecated]] void UnbindObject(const BSTSmartPointer& a_obj) + void UnbindObject(const BSTSmartPointer& a_obj) { using func_t = decltype(&ObjectBindPolicy::UnbindObject); REL::Relocation func{ REL::ID(522763) }; diff --git a/CommonLibF4/include/RE/Bethesda/BSScript/Stack.h b/CommonLibF4/include/RE/Bethesda/BSScript/Stack.h index 9c0fb780..ef67d410 100644 --- a/CommonLibF4/include/RE/Bethesda/BSScript/Stack.h +++ b/CommonLibF4/include/RE/Bethesda/BSScript/Stack.h @@ -75,14 +75,14 @@ namespace RE }; static_assert(sizeof(MemoryPageData) == 0x10); - [[deprecated]] [[nodiscard]] std::uint32_t GetPageForFrame(const StackFrame* a_frame) const + [[nodiscard]] std::uint32_t GetPageForFrame(const StackFrame* a_frame) const { using func_t = decltype(&Stack::GetPageForFrame); REL::Relocation func{ REL::ID(1429302) }; return func(this, a_frame); } - [[deprecated]] [[nodiscard]] Variable& GetStackFrameVariable(const StackFrame* a_frame, std::uint32_t a_index, std::uint32_t a_pageHint) + [[nodiscard]] Variable& GetStackFrameVariable(const StackFrame* a_frame, std::uint32_t a_index, std::uint32_t a_pageHint) { using func_t = decltype(&Stack::GetStackFrameVariable); REL::Relocation func{ REL::ID(897539) }; diff --git a/CommonLibF4/include/RE/Bethesda/BSScriptUtil.h b/CommonLibF4/include/RE/Bethesda/BSScriptUtil.h index 86119738..b5ccf353 100644 --- a/CommonLibF4/include/RE/Bethesda/BSScriptUtil.h +++ b/CommonLibF4/include/RE/Bethesda/BSScriptUtil.h @@ -430,7 +430,7 @@ namespace RE::BSScript } template - [[deprecated]] [[nodiscard]] std::optional GetTypeInfo() + [[nodiscard]] std::optional GetTypeInfo() { const auto game = GameVM::GetSingleton(); const auto vm = game ? game->GetVM() : nullptr; @@ -1276,7 +1276,7 @@ namespace RE::BSScript }; static_assert(sizeof(FunctionArgsBase) == 0x10); - [[deprecated]] inline BSTThreadScrapFunction&)> + inline BSTThreadScrapFunction&)> CreateThreadScrapFunction(FunctionArgsBase& a_args) { using func_t = decltype(&detail::CreateThreadScrapFunction); diff --git a/CommonLibF4/include/RE/Bethesda/BSShaderProperty.h b/CommonLibF4/include/RE/Bethesda/BSShaderProperty.h index ec1bed96..c3dfd3c5 100644 --- a/CommonLibF4/include/RE/Bethesda/BSShaderProperty.h +++ b/CommonLibF4/include/RE/Bethesda/BSShaderProperty.h @@ -142,7 +142,7 @@ namespace RE virtual std::uint32_t GetMaterialType() const { return 0; } // 3E virtual void DoClearRenderPasses() { return; } // 3F - [[deprecated]] void SetMaterial(BSShaderMaterial* a_material, bool a_unique) + void SetMaterial(BSShaderMaterial* a_material, bool a_unique) { using func_t = decltype(&BSShaderProperty::SetMaterial); REL::Relocation func{ REL::ID(706318) }; diff --git a/CommonLibF4/include/RE/Bethesda/BSSoundHandle.h b/CommonLibF4/include/RE/Bethesda/BSSoundHandle.h index e836fab4..c300c2fb 100644 --- a/CommonLibF4/include/RE/Bethesda/BSSoundHandle.h +++ b/CommonLibF4/include/RE/Bethesda/BSSoundHandle.h @@ -7,14 +7,14 @@ namespace RE public: ~BSSoundHandle() noexcept {} // NOLINT(modernize-use-equals-default) - [[deprecated]] bool FadeInPlay(std::uint16_t a_milliseconds) + bool FadeInPlay(std::uint16_t a_milliseconds) { using func_t = decltype(&BSSoundHandle::FadeInPlay); REL::Relocation func{ REL::ID(353528) }; return func(this, a_milliseconds); } - [[deprecated]] bool FadeOutAndRelease(std::uint16_t a_milliseconds) + bool FadeOutAndRelease(std::uint16_t a_milliseconds) { using func_t = decltype(&BSSoundHandle::FadeOutAndRelease); REL::Relocation func{ REL::ID(260328) }; diff --git a/CommonLibF4/include/RE/Bethesda/BSSystemFileStreamer.h b/CommonLibF4/include/RE/Bethesda/BSSystemFileStreamer.h index 1cc137da..22fdd637 100644 --- a/CommonLibF4/include/RE/Bethesda/BSSystemFileStreamer.h +++ b/CommonLibF4/include/RE/Bethesda/BSSystemFileStreamer.h @@ -2,7 +2,7 @@ namespace RE::BSSystemFileStreamer { - [[deprecated]] inline void UncacheAll(bool a_block) + inline void UncacheAll(bool a_block) { using func_t = decltype(&UncacheAll); REL::Relocation func{ REL::ID(40925) }; diff --git a/CommonLibF4/include/RE/Bethesda/BSSystemUtility.h b/CommonLibF4/include/RE/Bethesda/BSSystemUtility.h index 56f4ae18..6563f8d7 100644 --- a/CommonLibF4/include/RE/Bethesda/BSSystemUtility.h +++ b/CommonLibF4/include/RE/Bethesda/BSSystemUtility.h @@ -10,7 +10,7 @@ namespace RE virtual ~BSAwardsSystemUtility() {} // 00 - [[deprecated]] [[nodiscard]] static BSAwardsSystemUtility& GetSingleton() + [[nodiscard]] static BSAwardsSystemUtility& GetSingleton() { using func_t = decltype(&BSAwardsSystemUtility::GetSingleton); REL::Relocation func{ REL::ID(1569384) }; diff --git a/CommonLibF4/include/RE/Bethesda/BSTempEffect.h b/CommonLibF4/include/RE/Bethesda/BSTempEffect.h index 91a825fa..d8a53f2b 100644 --- a/CommonLibF4/include/RE/Bethesda/BSTempEffect.h +++ b/CommonLibF4/include/RE/Bethesda/BSTempEffect.h @@ -294,7 +294,7 @@ namespace RE static constexpr auto Ni_RTTI{ Ni_RTTI::BSTempEffectDebris }; static constexpr auto TYPE{ TEMP_EFFECT_TYPE::kDebris }; - [[deprecated]] BSTempEffectDebris( + BSTempEffectDebris( TESObjectCELL* a_parentCell, float a_lifetime, const char* a_fileName, diff --git a/CommonLibF4/include/RE/Bethesda/BSTextureDB.h b/CommonLibF4/include/RE/Bethesda/BSTextureDB.h index 0f1008eb..5fed3627 100644 --- a/CommonLibF4/include/RE/Bethesda/BSTextureDB.h +++ b/CommonLibF4/include/RE/Bethesda/BSTextureDB.h @@ -27,7 +27,7 @@ namespace RE }; static_assert(sizeof(ArgsType) == 0x0C); - [[deprecated]] static BSResource::EntryDB* GetSingleton() + static BSResource::EntryDB* GetSingleton() { REL::Relocation**> singleton{ REL::ID(1126862) }; return *singleton; diff --git a/CommonLibF4/include/RE/Bethesda/BSTextureSet.h b/CommonLibF4/include/RE/Bethesda/BSTextureSet.h index 6f286ea2..9647194d 100644 --- a/CommonLibF4/include/RE/Bethesda/BSTextureSet.h +++ b/CommonLibF4/include/RE/Bethesda/BSTextureSet.h @@ -34,7 +34,7 @@ namespace RE static constexpr auto VTABLE{ VTABLE::BSShaderTextureSet }; static constexpr auto Ni_RTTI{ Ni_RTTI::BSShaderTextureSet }; - [[deprecated]] static BSShaderTextureSet* CreateObject() + static BSShaderTextureSet* CreateObject() { using func_t = decltype(&BSShaderTextureSet::CreateObject); REL::Relocation func{ REL::ID(993063) }; diff --git a/CommonLibF4/include/RE/Bethesda/BSTimer.h b/CommonLibF4/include/RE/Bethesda/BSTimer.h index 9cd6defe..ba64fc32 100644 --- a/CommonLibF4/include/RE/Bethesda/BSTimer.h +++ b/CommonLibF4/include/RE/Bethesda/BSTimer.h @@ -5,25 +5,25 @@ namespace RE class BSTimer { public: - [[deprecated]] [[nodiscard]] static BSTimer GetSingleton() + [[nodiscard]] static BSTimer GetSingleton() { REL::Relocation singleton{ REL::ID(1256126) }; return *singleton; } - [[deprecated]] static float QGlobalTimeMultiplier() + static float QGlobalTimeMultiplier() { REL::Relocation value{ REL::ID(365546) }; return *value; } - [[deprecated]] static float QGlobalTimeMultiplierTarget() + static float QGlobalTimeMultiplierTarget() { REL::Relocation value{ REL::ID(1266509) }; return *value; } - [[deprecated]] void SetGlobalTimeMultiplier(float a_mult, bool a_now) + void SetGlobalTimeMultiplier(float a_mult, bool a_now) { using func_t = decltype(&BSTimer::SetGlobalTimeMultiplier); REL::Relocation func{ REL::ID(1419977) }; diff --git a/CommonLibF4/include/RE/Bethesda/Calendar.h b/CommonLibF4/include/RE/Bethesda/Calendar.h index a0b9494b..a336052c 100644 --- a/CommonLibF4/include/RE/Bethesda/Calendar.h +++ b/CommonLibF4/include/RE/Bethesda/Calendar.h @@ -31,7 +31,7 @@ namespace RE }; using Month = Months::Month; - [[deprecated]] [[nodiscard]] static Calendar* GetSingleton() + [[nodiscard]] static Calendar* GetSingleton() { REL::Relocation singleton{ REL::ID(1444952) }; return *singleton; diff --git a/CommonLibF4/include/RE/Bethesda/CombatFormulas.h b/CommonLibF4/include/RE/Bethesda/CombatFormulas.h index f88b264f..c9c642bd 100644 --- a/CommonLibF4/include/RE/Bethesda/CombatFormulas.h +++ b/CommonLibF4/include/RE/Bethesda/CombatFormulas.h @@ -8,28 +8,28 @@ namespace RE namespace CombatFormulas { - [[deprecated]] [[nodiscard]] inline float GetWeaponDisplayAccuracy(const BGSObjectInstanceT& a_weapon, Actor* a_actor) + [[nodiscard]] inline float GetWeaponDisplayAccuracy(const BGSObjectInstanceT& a_weapon, Actor* a_actor) { using func_t = decltype(&CombatFormulas::GetWeaponDisplayAccuracy); REL::Relocation func{ REL::ID(1137654) }; return func(a_weapon, a_actor); } - [[deprecated]] [[nodiscard]] inline float GetWeaponDisplayDamage(const BGSObjectInstanceT& a_weapon, const TESAmmo* a_ammo, float a_condition) + [[nodiscard]] inline float GetWeaponDisplayDamage(const BGSObjectInstanceT& a_weapon, const TESAmmo* a_ammo, float a_condition) { using func_t = decltype(&CombatFormulas::GetWeaponDisplayDamage); REL::Relocation func{ REL::ID(1431014) }; return func(a_weapon, a_ammo, a_condition); } - [[deprecated]] [[nodiscard]] inline float GetWeaponDisplayRange(const BGSObjectInstanceT& a_weapon) + [[nodiscard]] inline float GetWeaponDisplayRange(const BGSObjectInstanceT& a_weapon) { using func_t = decltype(&CombatFormulas::GetWeaponDisplayRange); REL::Relocation func{ REL::ID(1324037) }; return func(a_weapon); } - [[deprecated]] [[nodiscard]] inline float GetWeaponDisplayRateOfFire(const TESObjectWEAP& a_weapon, const TESObjectWEAP::InstanceData* a_data) + [[nodiscard]] inline float GetWeaponDisplayRateOfFire(const TESObjectWEAP& a_weapon, const TESObjectWEAP::InstanceData* a_data) { using func_t = decltype(&CombatFormulas::GetWeaponDisplayRateOfFire); REL::Relocation func{ REL::ID(1403591) }; diff --git a/CommonLibF4/include/RE/Bethesda/ControlMap.h b/CommonLibF4/include/RE/Bethesda/ControlMap.h index a52b6379..000273d1 100644 --- a/CommonLibF4/include/RE/Bethesda/ControlMap.h +++ b/CommonLibF4/include/RE/Bethesda/ControlMap.h @@ -53,41 +53,41 @@ namespace RE }; static_assert(sizeof(LinkedMapping) == 0x20); - [[deprecated]] [[nodiscard]] static ControlMap* GetSingleton() + [[nodiscard]] static ControlMap* GetSingleton() { REL::Relocation singleton{ REL::ID(325206) }; return *singleton; } - [[deprecated]] bool PopInputContext(UserEvents::INPUT_CONTEXT_ID a_context) + bool PopInputContext(UserEvents::INPUT_CONTEXT_ID a_context) { using func_t = decltype(&ControlMap::PopInputContext); REL::Relocation func{ REL::ID(74587) }; return func(this, a_context); } - [[deprecated]] void PushInputContext(UserEvents::INPUT_CONTEXT_ID a_context) + void PushInputContext(UserEvents::INPUT_CONTEXT_ID a_context) { using func_t = decltype(&ControlMap::PushInputContext); REL::Relocation func{ REL::ID(1404410) }; return func(this, a_context); } - [[deprecated]] bool RemapButton(BSFixedString const& a_id, INPUT_DEVICE a_device, std::int32_t a_buttonID) + bool RemapButton(BSFixedString const& a_id, INPUT_DEVICE a_device, std::int32_t a_buttonID) { using func_t = decltype(&ControlMap::RemapButton); REL::Relocation func{ REL::ID(11351) }; return func(this, a_id, a_device, a_buttonID); } - [[deprecated]] void SaveRemappings() + void SaveRemappings() { using func_t = decltype(&ControlMap::SaveRemappings); REL::Relocation func{ REL::ID(1141541) }; return func(this); } - [[deprecated]] void SetTextEntryMode(bool a_enable) + void SetTextEntryMode(bool a_enable) { using func_t = decltype(&ControlMap::SetTextEntryMode); REL::Relocation func{ REL::ID(1270079) }; diff --git a/CommonLibF4/include/RE/Bethesda/Events.h b/CommonLibF4/include/RE/Bethesda/Events.h index 8e5dd33e..ba59527c 100644 --- a/CommonLibF4/include/RE/Bethesda/Events.h +++ b/CommonLibF4/include/RE/Bethesda/Events.h @@ -93,7 +93,7 @@ namespace RE kOnShutdown }; - [[deprecated]] static void InitSDM() + static void InitSDM() { using func_t = decltype(&BSThreadEvent::InitSDM); REL::Relocation func{ REL::ID(1425097) }; @@ -123,7 +123,7 @@ namespace RE using EventSource_t = BSTGlobalEvent::EventSource; public: - [[deprecated]] [[nodiscard]] static EventSource_t* GetEventSource() + [[nodiscard]] static EventSource_t* GetEventSource() { REL::Relocation singleton{ REL::ID(421543) }; if (!*singleton) { @@ -146,7 +146,7 @@ namespace RE optionalValue = a_value; } - [[deprecated]] [[nodiscard]] static EventSource_t* GetEventSource() + [[nodiscard]] static EventSource_t* GetEventSource() { REL::Relocation singleton{ REL::ID(344866) }; if (!*singleton) { @@ -179,7 +179,7 @@ namespace RE public BSTSingletonImplicit { public: - [[deprecated]] [[nodiscard]] static CellAttachDetachEventSourceSingleton& GetSingleton() + [[nodiscard]] static CellAttachDetachEventSourceSingleton& GetSingleton() { using func_t = decltype(&CellAttachDetachEventSourceSingleton::GetSingleton); REL::Relocation func{ REL::ID(862142) }; @@ -216,7 +216,7 @@ namespace RE using EventSource_t = BSTGlobalEvent::EventSource; public: - [[deprecated]] [[nodiscard]] static EventSource_t* GetEventSource() + [[nodiscard]] static EventSource_t* GetEventSource() { REL::Relocation singleton{ REL::ID(1226590) }; if (!*singleton) { @@ -247,7 +247,7 @@ namespace RE using EventSource_t = BSTGlobalEvent::EventSource; public: - [[deprecated]] [[nodiscard]] static EventSource_t* GetEventSource() + [[nodiscard]] static EventSource_t* GetEventSource() { REL::Relocation singleton{ REL::ID(787908) }; if (!*singleton) { @@ -264,7 +264,7 @@ namespace RE using EventSource_t = BSTGlobalEvent::EventSource; public: - [[deprecated]] [[nodiscard]] static EventSource_t* GetEventSource() + [[nodiscard]] static EventSource_t* GetEventSource() { REL::Relocation singleton{ REL::ID(683142) }; if (!*singleton) { @@ -311,7 +311,7 @@ namespace RE bool isBetterThanEquippedItem{ false }; // 17 private: - [[deprecated]] InventoryItemDisplayData* ctor( + InventoryItemDisplayData* ctor( const ObjectRefHandle a_inventoryRef, const InventoryUserUIInterfaceEntry& a_entry) { @@ -331,7 +331,7 @@ namespace RE }; static_assert(std::is_empty_v); - [[deprecated]] [[nodiscard]] static BSTEventSource* GetEventSource() + [[nodiscard]] static BSTEventSource* GetEventSource() { using func_t = decltype(&LocksPicked::GetEventSource); REL::Relocation func{ REL::ID(594991) }; @@ -377,7 +377,7 @@ namespace RE perkCount(a_perkCount) {} - [[deprecated]] [[nodiscard]] static EventSource_t* GetEventSource() + [[nodiscard]] static EventSource_t* GetEventSource() { REL::Relocation singleton{ REL::ID(685859) }; if (!*singleton) { @@ -438,7 +438,7 @@ namespace RE using EventSource_t = BSTGlobalEvent::EventSource; public: - [[deprecated]] [[nodiscard]] static EventSource_t* GetEventSource() + [[nodiscard]] static EventSource_t* GetEventSource() { REL::Relocation singleton{ REL::ID(120809) }; if (!*singleton) { @@ -505,7 +505,7 @@ namespace RE }; static_assert(sizeof(Event) == 0x04); - [[deprecated]] [[nodiscard]] static BSTEventSource* GetEventSource() + [[nodiscard]] static BSTEventSource* GetEventSource() { using func_t = decltype(&TerminalHacked::GetEventSource); REL::Relocation func{ REL::ID(425579) }; @@ -517,7 +517,7 @@ namespace RE struct TESActivateEvent { public: - [[deprecated]] [[nodiscard]] static BSTEventSource* GetEventSource() + [[nodiscard]] static BSTEventSource* GetEventSource() { using func_t = decltype(&TESActivateEvent::GetEventSource); REL::Relocation func{ REL::ID(166230) }; @@ -533,7 +533,7 @@ namespace RE struct TESContainerChangedEvent { public: - [[deprecated]] [[nodiscard]] static BSTEventSource* GetEventSource() + [[nodiscard]] static BSTEventSource* GetEventSource() { using func_t = decltype(&TESContainerChangedEvent::GetEventSource); REL::Relocation func{ REL::ID(242538) }; @@ -553,7 +553,7 @@ namespace RE struct TESDeathEvent { public: - [[deprecated]] [[nodiscard]] static BSTEventSource* GetEventSource() + [[nodiscard]] static BSTEventSource* GetEventSource() { using func_t = decltype(&TESDeathEvent::GetEventSource); REL::Relocation func{ REL::ID(1465690) }; @@ -570,7 +570,7 @@ namespace RE struct TESEquipEvent { public: - [[deprecated]] [[nodiscard]] static BSTEventSource* GetEventSource() + [[nodiscard]] static BSTEventSource* GetEventSource() { using func_t = decltype(&TESEquipEvent::GetEventSource); REL::Relocation func{ REL::ID(1251703) }; @@ -595,7 +595,7 @@ namespace RE kExit }; - [[deprecated]] [[nodiscard]] static BSTEventSource* GetEventSource() + [[nodiscard]] static BSTEventSource* GetEventSource() { using func_t = decltype(&TESFurnitureEvent::GetEventSource); REL::Relocation func{ REL::ID(678665) }; @@ -683,7 +683,7 @@ namespace RE class TESHitEvent { public: - [[deprecated]] [[nodiscard]] static BSTEventSource* GetEventSource() + [[nodiscard]] static BSTEventSource* GetEventSource() { using func_t = decltype(&TESHitEvent::GetEventSource); REL::Relocation func{ REL::ID(1411899) }; @@ -704,7 +704,7 @@ namespace RE struct TESMagicEffectApplyEvent { public: - [[deprecated]] [[nodiscard]] static BSTEventSource* GetEventSource() + [[nodiscard]] static BSTEventSource* GetEventSource() { using func_t = decltype(&TESMagicEffectApplyEvent::GetEventSource); REL::Relocation func{ REL::ID(1327824) }; @@ -721,7 +721,7 @@ namespace RE struct TESObjectLoadedEvent { public: - [[deprecated]] [[nodiscard]] static BSTEventSource* GetEventSource() + [[nodiscard]] static BSTEventSource* GetEventSource() { using func_t = decltype(&TESObjectLoadedEvent::GetEventSource); REL::Relocation func{ REL::ID(609604) }; @@ -749,7 +749,7 @@ namespace RE using EventSource_t = BSTGlobalEvent::EventSource; public: - [[deprecated]] [[nodiscard]] static EventSource_t* GetEventSource() + [[nodiscard]] static EventSource_t* GetEventSource() { REL::Relocation singleton{ REL::ID(1067039) }; if (!*singleton) { diff --git a/CommonLibF4/include/RE/Bethesda/FavoritesManager.h b/CommonLibF4/include/RE/Bethesda/FavoritesManager.h index d6402c08..8fb3e660 100644 --- a/CommonLibF4/include/RE/Bethesda/FavoritesManager.h +++ b/CommonLibF4/include/RE/Bethesda/FavoritesManager.h @@ -40,13 +40,13 @@ namespace RE static constexpr auto RTTI{ RTTI::FavoritesManager }; static constexpr auto VTABLE{ VTABLE::FavoritesManager }; - [[deprecated]] [[nodiscard]] static FavoritesManager* GetSingleton() + [[nodiscard]] static FavoritesManager* GetSingleton() { REL::Relocation singleton{ REL::ID(198281) }; return *singleton; } - [[deprecated]] [[nodiscard]] bool IsComponentFavorite(const TESBoundObject* a_component) + [[nodiscard]] bool IsComponentFavorite(const TESBoundObject* a_component) { using func_t = decltype(&FavoritesManager::IsComponentFavorite); REL::Relocation func{ REL::ID(352046) }; diff --git a/CommonLibF4/include/RE/Bethesda/FormComponents.h b/CommonLibF4/include/RE/Bethesda/FormComponents.h index d5db715e..cd354414 100644 --- a/CommonLibF4/include/RE/Bethesda/FormComponents.h +++ b/CommonLibF4/include/RE/Bethesda/FormComponents.h @@ -642,7 +642,7 @@ namespace RE void CopyComponent(BaseFormComponent*) override { return; } // 06 void CopyComponent(BaseFormComponent*, TESForm*) override; // 05 - [[deprecated]] void SetParentGroupNumber(BGSKeyword* a_parent, std::uint32_t a_groupID) + void SetParentGroupNumber(BGSKeyword* a_parent, std::uint32_t a_groupID) { using func_t = decltype(&BGSAttachParentArray::SetParentGroupNumber); REL::Relocation func{ REL::ID(1412266) }; @@ -900,7 +900,7 @@ namespace RE // add virtual BGSKeyword* GetDefaultKeyword() const { return nullptr; } // 07 - [[deprecated]] void AddKeyword(BGSKeyword* a_keyword) + void AddKeyword(BGSKeyword* a_keyword) { using func_t = decltype(&BGSKeywordForm::AddKeyword); REL::Relocation func{ REL::ID(762999) }; @@ -934,7 +934,7 @@ namespace RE [[nodiscard]] std::uint32_t GetNumKeywords() const { return numKeywords; }; - [[deprecated]] void RemoveKeyword(BGSKeyword* a_keyword) + void RemoveKeyword(BGSKeyword* a_keyword) { using func_t = decltype(&BGSKeywordForm::RemoveKeyword); REL::Relocation func{ REL::ID(921694) }; @@ -1041,14 +1041,14 @@ namespace RE virtual void InitComponent() override; // 04 virtual void CopyComponent(BaseFormComponent* a_copy) override; // 06 - [[deprecated]] void AllocatePerkRankArray(std::uint32_t a_count) + void AllocatePerkRankArray(std::uint32_t a_count) { using func_t = decltype(&BGSPerkRankArray::AllocatePerkRankArray); REL::Relocation func{ REL::ID(888419) }; return func(this, a_count); } - [[deprecated]] void ClearPerks(bool a_removeFormUser) + void ClearPerks(bool a_removeFormUser) { using func_t = decltype(&BGSPerkRankArray::ClearPerks); REL::Relocation func{ REL::ID(1247917) }; @@ -1267,14 +1267,14 @@ namespace RE struct BGSLocalizedStringDL { public: - [[deprecated]] void GetDescription(BSStringT& a_out, const TESForm* a_form) const + void GetDescription(BSStringT& a_out, const TESForm* a_form) const { using func_t = decltype(&BGSLocalizedStringDL::GetDescription); REL::Relocation func{ REL::ID(523613) }; return func(this, a_out, a_form); } - [[deprecated]] [[nodiscard]] BGSLocalizedStrings::ScrapStringBuffer GetText(TESFile& a_file) const + [[nodiscard]] BGSLocalizedStrings::ScrapStringBuffer GetText(TESFile& a_file) const { using func_t = decltype(&BGSLocalizedStringDL::GetText); REL::Relocation func{ REL::ID(472297) }; @@ -1303,7 +1303,7 @@ namespace RE void ClearDataComponent() override { return; } // 03 void CopyComponent(BaseFormComponent*) override; // 06 - [[deprecated]] void GetDescription(BSStringT& a_outString, const TESForm* a_form = nullptr) + void GetDescription(BSStringT& a_outString, const TESForm* a_form = nullptr) { using func_t = decltype(&TESDescription::GetDescription); REL::Relocation func{ REL::ID(523613) }; @@ -1377,7 +1377,7 @@ namespace RE void ClearDataComponent() override; // 03 void CopyComponent(BaseFormComponent*) override; // 06 - [[deprecated]] [[nodiscard]] static std::uint32_t GetFormHealth(const TESForm* a_form, const TBO_InstanceData* a_data) + [[nodiscard]] static std::uint32_t GetFormHealth(const TESForm* a_form, const TBO_InstanceData* a_data) { using func_t = decltype(&TESHealthForm::GetFormHealth); REL::Relocation func{ REL::ID(1515099) }; @@ -1658,14 +1658,14 @@ namespace RE virtual const char* GetOverrideName() { return nullptr; } // 0A virtual bool GetCanContainFormsOfType(ENUM_FORM_ID a_type) const = 0; // 0B - [[deprecated]] LEVELED_OBJECT* AddLeveledObject(std::uint16_t a_level, uint16_t a_count, int8_t a_chanceNone, TESForm* a_item, ContainerItemExtra* a_itemExtra) + LEVELED_OBJECT* AddLeveledObject(std::uint16_t a_level, uint16_t a_count, int8_t a_chanceNone, TESForm* a_item, ContainerItemExtra* a_itemExtra) { using func_t = decltype(&TESLeveledList::AddLeveledObject); REL::Relocation func{ REL::ID(1163308) }; return func(this, a_level, a_count, a_chanceNone, a_item, a_itemExtra); } - [[deprecated]] bool GetUseAll() + bool GetUseAll() { using func_t = decltype(&TESLeveledList::GetUseAll); REL::Relocation func{ REL::ID(233875) }; @@ -1802,7 +1802,7 @@ namespace RE }; static_assert(sizeof(SpellData) == 0x28); - [[deprecated]] bool AddSpell(TESForm* a_spell) + bool AddSpell(TESForm* a_spell) { using func_t = decltype(&TESSpellList::AddSpell); REL::Relocation func{ REL::ID(1312083) }; @@ -1833,7 +1833,7 @@ namespace RE static constexpr auto RTTI{ RTTI::TESValueForm }; static constexpr auto VTABLE{ VTABLE::TESValueForm }; - [[deprecated]] [[nodiscard]] static std::uint32_t GetFormValue(const TESForm* a_form, const TBO_InstanceData* a_data) + [[nodiscard]] static std::uint32_t GetFormValue(const TESForm* a_form, const TBO_InstanceData* a_data) { using func_t = std::int32_t (*)(const TESForm*, const TBO_InstanceData*); REL::Relocation func{ REL::ID(885783) }; @@ -1855,7 +1855,7 @@ namespace RE static constexpr auto RTTI{ RTTI::TESWeightForm }; static constexpr auto VTABLE{ VTABLE::TESWeightForm }; - [[deprecated]] [[nodiscard]] static float GetFormWeight(const TESForm* a_form, const TBO_InstanceData* a_data) + [[nodiscard]] static float GetFormWeight(const TESForm* a_form, const TBO_InstanceData* a_data) { using func_t = float (*)(const TESForm*, const TBO_InstanceData*); REL::Relocation func{ REL::ID(1321341) }; diff --git a/CommonLibF4/include/RE/Bethesda/FormFactory.h b/CommonLibF4/include/RE/Bethesda/FormFactory.h index 1be7b7bd..369b6307 100644 --- a/CommonLibF4/include/RE/Bethesda/FormFactory.h +++ b/CommonLibF4/include/RE/Bethesda/FormFactory.h @@ -32,7 +32,7 @@ namespace RE [[nodiscard]] virtual OBJECT_CATEGORY_TYPE GetObjectCategory() const; // 06 [[nodiscard]] virtual BGSMod::Property::BridgeI* GetPropertyBridge() const { return nullptr; } // 07 - [[deprecated]] [[nodiscard]] static auto GetFormFactories() + [[nodiscard]] static auto GetFormFactories() -> std::span { constexpr auto len = stl::to_underlying(ENUM_FORM_ID::kTotal); diff --git a/CommonLibF4/include/RE/Bethesda/GamePlayFormulas.h b/CommonLibF4/include/RE/Bethesda/GamePlayFormulas.h index c0afe01a..fe26f559 100644 --- a/CommonLibF4/include/RE/Bethesda/GamePlayFormulas.h +++ b/CommonLibF4/include/RE/Bethesda/GamePlayFormulas.h @@ -25,28 +25,28 @@ namespace RE kHackComputer = 1, }; - [[deprecated]] inline bool CanHackGateCheck(LOCK_LEVEL a_lockLevel) + inline bool CanHackGateCheck(LOCK_LEVEL a_lockLevel) { using func_t = decltype(&GamePlayFormulas::CanHackGateCheck); REL::Relocation func{ REL::ID(269668) }; return func(a_lockLevel); } - [[deprecated]] inline bool CanPickLockGateCheck(LOCK_LEVEL a_lockLevel) + inline bool CanPickLockGateCheck(LOCK_LEVEL a_lockLevel) { using func_t = decltype(&GamePlayFormulas::CanPickLockGateCheck); REL::Relocation func{ REL::ID(1160841) }; return func(a_lockLevel); } - [[deprecated]] inline float GetExperienceReward(EXPERIENCE_ACTIVITY a_activity, DIFFICULTY_LEVEL a_difficulty, float a_xpBase) + inline float GetExperienceReward(EXPERIENCE_ACTIVITY a_activity, DIFFICULTY_LEVEL a_difficulty, float a_xpBase) { using func_t = decltype(&GamePlayFormulas::GetExperienceReward); REL::Relocation func{ REL::ID(853500) }; return func(a_activity, a_difficulty, a_xpBase); } - [[deprecated]] inline float GetLockXPReward(LOCK_LEVEL a_lockLevel) + inline float GetLockXPReward(LOCK_LEVEL a_lockLevel) { using func_t = decltype(&GamePlayFormulas::GetLockXPReward); REL::Relocation func{ REL::ID(880926) }; diff --git a/CommonLibF4/include/RE/Bethesda/GameScript.h b/CommonLibF4/include/RE/Bethesda/GameScript.h index 8563cb21..88b59117 100644 --- a/CommonLibF4/include/RE/Bethesda/GameScript.h +++ b/CommonLibF4/include/RE/Bethesda/GameScript.h @@ -138,7 +138,7 @@ namespace RE class RadiationDamageRegistrationList; } - [[deprecated]] inline void LogFormError( + inline void LogFormError( const TESForm* a_obj, const char* a_error, BSScript::IVirtualMachine* a_vm, @@ -263,7 +263,7 @@ namespace RE return func(this); } - [[deprecated]] void GetInventoryObjFromHandle(std::uint64_t a_cobj, TESObjectREFR*& a_container, std::uint16_t& a_uniqueID, TESObjectREFR*& a_inWorldREFR) + void GetInventoryObjFromHandle(std::uint64_t a_cobj, TESObjectREFR*& a_container, std::uint16_t& a_uniqueID, TESObjectREFR*& a_inWorldREFR) { using func_t = decltype(&HandlePolicy::GetInventoryObjFromHandle); REL::Relocation func{ REL::ID(66597) }; @@ -500,7 +500,7 @@ namespace RE [[nodiscard]] BSTSmartPointer GetVM() const noexcept { return impl; } - [[deprecated]] bool QueuePostRenderCall(const BSTSmartPointer& a_functor) + bool QueuePostRenderCall(const BSTSmartPointer& a_functor) { using func_t = decltype(&GameVM::QueuePostRenderCall); REL::Relocation func{ REL::ID(34412) }; @@ -514,7 +514,7 @@ namespace RE return func(this); } - [[deprecated]] void SendEventToObjectAndRelated( + void SendEventToObjectAndRelated( std::size_t a_object, const BSFixedString& a_eventName, const BSTThreadScrapFunction&)>& a_args, @@ -696,7 +696,7 @@ namespace RE }; static_assert(sizeof(RefrOrInventoryObj) == 0x18); - [[deprecated]] inline void BindCObject(const BSTSmartPointer& a_scriptObj, const RefrOrInventoryObj& a_cobj, BSScript::IVirtualMachine& a_vm) + inline void BindCObject(const BSTSmartPointer& a_scriptObj, const RefrOrInventoryObj& a_cobj, BSScript::IVirtualMachine& a_vm) { using func_t = decltype(&BindCObject); REL::Relocation func{ REL::ID(81787) }; diff --git a/CommonLibF4/include/RE/Bethesda/IMenu.h b/CommonLibF4/include/RE/Bethesda/IMenu.h index 344ebce6..704341f3 100644 --- a/CommonLibF4/include/RE/Bethesda/IMenu.h +++ b/CommonLibF4/include/RE/Bethesda/IMenu.h @@ -176,7 +176,7 @@ namespace RE static constexpr auto RTTI{ RTTI::FlatScreenModel }; static constexpr auto VTABLE{ VTABLE::FlatScreenModel }; - [[deprecated]] [[nodiscard]] static FlatScreenModel* GetSingleton() + [[nodiscard]] static FlatScreenModel* GetSingleton() { REL::Relocation singleton{ REL::ID(847741) }; return *singleton; @@ -200,13 +200,13 @@ namespace RE static constexpr auto RTTI{ RTTI::GameUIModel }; static constexpr auto VTABLE{ VTABLE::GameUIModel }; - [[deprecated]] [[nodiscard]] static GameUIModel* GetSingleton() + [[nodiscard]] static GameUIModel* GetSingleton() { REL::Relocation singleton{ REL::ID(17419) }; return *singleton; } - [[deprecated]] void UpdateDataModels() + void UpdateDataModels() { using func_t = decltype(&GameUIModel::UpdateDataModels); REL::Relocation func{ REL::ID(1269653) }; @@ -240,7 +240,7 @@ namespace RE } // override (BSInputEventUser) - [[deprecated]] bool ShouldHandleEvent(const InputEvent* a_event) override // 01 + bool ShouldHandleEvent(const InputEvent* a_event) override // 01 { using func_t = decltype(&IMenu::ShouldHandleEvent); REL::Relocation func{ REL::ID(1241790) }; @@ -292,7 +292,7 @@ namespace RE virtual void PreDisplay() { return; } // 05 virtual void PostDisplay() { return; } // 06 - [[deprecated]] virtual bool PassesRenderConditionText(MENU_RENDER_CONTEXT a_reason, const BSFixedString& a_customRendererName) const // 07 + virtual bool PassesRenderConditionText(MENU_RENDER_CONTEXT a_reason, const BSFixedString& a_customRendererName) const // 07 { using func_t = decltype(&IMenu::PassesRenderConditionText); REL::Relocation func{ REL::ID(937304) }; @@ -344,7 +344,7 @@ namespace RE uiMovie->Advance(a_timeDelta); } - [[deprecated]] void OnSetSafeRect() + void OnSetSafeRect() { using func_t = decltype(&IMenu::OnSetSafeRect); REL::Relocation func{ REL::ID(964859) }; @@ -353,14 +353,14 @@ namespace RE [[nodiscard]] bool OnStack() const noexcept { return menuFlags.all(UI_MENU_FLAGS::kOnStack); } - [[deprecated]] UI_MESSAGE_RESULTS ProcessScaleformEvent(Scaleform::GFx::Movie* a_movie, const IUIMessageData* a_data) + UI_MESSAGE_RESULTS ProcessScaleformEvent(Scaleform::GFx::Movie* a_movie, const IUIMessageData* a_data) { using func_t = decltype(&IMenu::ProcessScaleformEvent); REL::Relocation func{ REL::ID(150211) }; return func(this, a_movie, a_data); } - [[deprecated]] void RefreshPlatform() + void RefreshPlatform() { using func_t = decltype(&IMenu::RefreshPlatform); REL::Relocation func{ REL::ID(1071829) }; @@ -485,14 +485,14 @@ namespace RE AcquireFlashObjectByPath(a_parentMovie, a_pathToObject); } - [[deprecated]] Scaleform::GFx::Value* AcquireFlashObjectByMemberName(const Scaleform::GFx::Value& a_flashObject, const char* a_relativePathToMember) + Scaleform::GFx::Value* AcquireFlashObjectByMemberName(const Scaleform::GFx::Value& a_flashObject, const char* a_relativePathToMember) { using func_t = decltype(&BSGFxObject::AcquireFlashObjectByMemberName); REL::Relocation func{ REL::ID(1172680) }; return func(this, a_flashObject, a_relativePathToMember); } - [[deprecated]] Scaleform::GFx::Value* AcquireFlashObjectByPath(const Scaleform::GFx::Movie& a_parentMovie, const char* a_absolutePathToMember) + Scaleform::GFx::Value* AcquireFlashObjectByPath(const Scaleform::GFx::Movie& a_parentMovie, const char* a_absolutePathToMember) { using func_t = decltype(&BSGFxObject::AcquireFlashObjectByPath); REL::Relocation func{ REL::ID(1065592) }; @@ -542,7 +542,7 @@ namespace RE } } - [[deprecated]] void RemoveChild(const BSGFxDisplayObject& a_child) const + void RemoveChild(const BSGFxDisplayObject& a_child) const { using func_t = decltype(&BSGFxDisplayObject::RemoveChild); REL::Relocation func{ REL::ID(1229383) }; @@ -611,7 +611,7 @@ namespace RE } // override - [[deprecated]] virtual BSEventNotifyControl ProcessEvent(const ApplyColorUpdateEvent& a_event, BSTEventSource* a_source) override // 01 + virtual BSEventNotifyControl ProcessEvent(const ApplyColorUpdateEvent& a_event, BSTEventSource* a_source) override // 01 { using func_t = decltype(&BSGFxShaderFXTarget::ProcessEvent); REL::Relocation func{ REL::ID(848563) }; @@ -619,35 +619,35 @@ namespace RE } // add - [[deprecated]] virtual void AppendShaderFXInfos(BSTArray& a_colorFXInfo, BSTArray& a_backgroundFXInfo) // 02 + virtual void AppendShaderFXInfos(BSTArray& a_colorFXInfo, BSTArray& a_backgroundFXInfo) // 02 { using func_t = decltype(&BSGFxShaderFXTarget::AppendShaderFXInfos); REL::Relocation func{ REL::ID(544646) }; return func(this, a_colorFXInfo, a_backgroundFXInfo); } - [[deprecated]] void CreateAndSetFiltersToColor(const NiColor& a_color, float a_brightness) + void CreateAndSetFiltersToColor(const NiColor& a_color, float a_brightness) { using func_t = void (BSGFxShaderFXTarget::*)(const NiColor&, float); REL::Relocation func{ REL::ID(1487925) }; func(this, a_color, a_brightness); } - [[deprecated]] void CreateAndSetFiltersToColor(std::uint8_t a_r, std::uint8_t a_g, std::uint8_t a_b, float a_brightness) + void CreateAndSetFiltersToColor(std::uint8_t a_r, std::uint8_t a_g, std::uint8_t a_b, float a_brightness) { using func_t = void (BSGFxShaderFXTarget::*)(std::uint8_t, std::uint8_t, std::uint8_t, float); REL::Relocation func{ REL::ID(783104) }; func(this, a_r, a_g, a_b, a_brightness); } - [[deprecated]] void CreateAndSetFiltersToHUD(HUDColorTypes a_colorType, float a_scale = 1.0) + void CreateAndSetFiltersToHUD(HUDColorTypes a_colorType, float a_scale = 1.0) { using func_t = decltype(&BSGFxShaderFXTarget::CreateAndSetFiltersToHUD); REL::Relocation func{ REL::ID(876001) }; func(this, a_colorType, a_scale); } - [[deprecated]] void EnableShadedBackground(HUDColorTypes a_colorType, float a_scale = 1.0) + void EnableShadedBackground(HUDColorTypes a_colorType, float a_scale = 1.0) { using func_t = decltype(&BSGFxShaderFXTarget::EnableShadedBackground); REL::Relocation func{ REL::ID(278402) }; @@ -716,14 +716,14 @@ namespace RE virtual ~GameMenuBase() = default; // override - [[deprecated]] virtual void SetIsTopButtonBar(bool a_isTopButtonBar) override // 08 + virtual void SetIsTopButtonBar(bool a_isTopButtonBar) override // 08 { using func_t = decltype(&GameMenuBase::SetIsTopButtonBar); REL::Relocation func{ REL::ID(1367353) }; return func(this, a_isTopButtonBar); } - [[deprecated]] virtual void OnMenuDisplayStateChanged() override // 0A + virtual void OnMenuDisplayStateChanged() override // 0A { using func_t = decltype(&GameMenuBase::OnMenuDisplayStateChanged); REL::Relocation func{ REL::ID(1274450) }; @@ -746,21 +746,21 @@ namespace RE } } - [[deprecated]] virtual bool CacheShaderFXQuadsForRenderer_Impl() override // 10 + virtual bool CacheShaderFXQuadsForRenderer_Impl() override // 10 { using func_t = decltype(&GameMenuBase::CacheShaderFXQuadsForRenderer_Impl); REL::Relocation func{ REL::ID(863029) }; return func(this); } - [[deprecated]] virtual void TransferCachedShaderFXQuadsForRenderer(const BSFixedString& a_rendererName) override // 11 + virtual void TransferCachedShaderFXQuadsForRenderer(const BSFixedString& a_rendererName) override // 11 { using func_t = decltype(&GameMenuBase::TransferCachedShaderFXQuadsForRenderer); REL::Relocation func{ REL::ID(65166) }; return func(this, a_rendererName); } - [[deprecated]] virtual void SetViewportRect(const NiRect& a_viewportRect) override // 12 + virtual void SetViewportRect(const NiRect& a_viewportRect) override // 12 { using func_t = decltype(&GameMenuBase::SetViewportRect); REL::Relocation func{ REL::ID(1554334) }; @@ -768,14 +768,14 @@ namespace RE } // add - [[deprecated]] virtual void AppendShaderFXInfos(BSTAlignedArray& a_colorFXInfos, BSTAlignedArray& a_backgroundFXInfos) const // 13 + virtual void AppendShaderFXInfos(BSTAlignedArray& a_colorFXInfos, BSTAlignedArray& a_backgroundFXInfos) const // 13 { using func_t = decltype(&GameMenuBase::AppendShaderFXInfos); REL::Relocation func{ REL::ID(583584) }; return func(this, a_colorFXInfos, a_backgroundFXInfos); } - [[deprecated]] void SetUpButtonBar(BSGFxShaderFXTarget& a_parentObject, const char* a_buttonBarPath, HUDColorTypes a_colorType) + void SetUpButtonBar(BSGFxShaderFXTarget& a_parentObject, const char* a_buttonBarPath, HUDColorTypes a_colorType) { using func_t = decltype(&GameMenuBase::SetUpButtonBar); REL::Relocation func{ REL::ID(531584) }; @@ -812,32 +812,32 @@ namespace RE static constexpr auto VTABLE{ VTABLE::Console }; static constexpr auto MENU_NAME{ "Console"sv }; - [[deprecated]] static void ExecuteCommand(const char* a_command) + static void ExecuteCommand(const char* a_command) { using func_t = decltype(&Console::ExecuteCommand); REL::Relocation func{ REL::ID(1061864) }; return func(a_command); } - [[deprecated]] [[nodiscard]] static decltype(auto) GetCurrentPickIndex() + [[nodiscard]] static decltype(auto) GetCurrentPickIndex() { REL::Relocation currentPickIndex{ REL::ID(1407033) }; return *currentPickIndex; } - [[deprecated]] [[nodiscard]] static decltype(auto) GetPickRef() + [[nodiscard]] static decltype(auto) GetPickRef() { REL::Relocation ref{ REL::ID(170742) }; return *ref; } - [[deprecated]] [[nodiscard]] static decltype(auto) GetPickRefs() + [[nodiscard]] static decltype(auto) GetPickRefs() { REL::Relocation*> pickRefs{ REL::ID(875116) }; return *pickRefs; } - [[deprecated]] [[nodiscard]] static ObjectRefHandle GetCurrentPickREFR() + [[nodiscard]] static ObjectRefHandle GetCurrentPickREFR() { const auto idx = GetCurrentPickIndex(); const auto& refs = GetPickRefs(); @@ -846,7 +846,7 @@ namespace RE ObjectRefHandle{}; } - [[deprecated]] void SetCurrentPickREFR(stl::not_null a_refr) + void SetCurrentPickREFR(stl::not_null a_refr) { using func_t = decltype(&Console::SetCurrentPickREFR); REL::Relocation func{ REL::ID(79066) }; @@ -901,49 +901,49 @@ namespace RE static constexpr auto RTTI{ RTTI::Inventory3DManager }; static constexpr auto VTABLE{ VTABLE::Inventory3DManager }; - [[deprecated]] void Begin3D() + void Begin3D() { using func_t = decltype(&Inventory3DManager::Begin3D); REL::Relocation func{ REL::ID(662659) }; return func(this); } - [[deprecated]] void ClearModel() + void ClearModel() { using func_t = decltype(&Inventory3DManager::ClearModel); REL::Relocation func{ REL::ID(63218) }; return func(this); } - [[deprecated]] void DisableRendering(const BSFixedString& a_userID) + void DisableRendering(const BSFixedString& a_userID) { using func_t = decltype(&Inventory3DManager::DisableRendering); REL::Relocation func{ REL::ID(255893) }; return func(this, a_userID); } - [[deprecated]] void EnableRendering(const BSFixedString& a_userID) + void EnableRendering(const BSFixedString& a_userID) { using func_t = decltype(&Inventory3DManager::EnableRendering); REL::Relocation func{ REL::ID(176578) }; return func(this, a_userID); } - [[deprecated]] void End3D() + void End3D() { using func_t = decltype(&Inventory3DManager::End3D); REL::Relocation func{ REL::ID(1512675) }; return func(this); } - [[deprecated]] void SetModelScale(float a_scale) + void SetModelScale(float a_scale) { using func_t = decltype(&Inventory3DManager::SetModelScale); REL::Relocation func{ REL::ID(1319701) }; return func(this, a_scale); } - [[deprecated]] void SetModelScreenPosition(const NiPoint3& a_position, bool a_screenCoords) + void SetModelScreenPosition(const NiPoint3& a_position, bool a_screenCoords) { using func_t = decltype(&Inventory3DManager::SetModelScreenPosition); REL::Relocation func{ REL::ID(2967) }; @@ -1056,14 +1056,14 @@ namespace RE }; static_assert(sizeof(IconBG) == 0x38); - [[deprecated]] void CheckAndSetItemForPlacement() + void CheckAndSetItemForPlacement() { using func_t = decltype(&WorkshopMenu::CheckAndSetItemForPlacement); REL::Relocation func{ REL::ID(1541862) }; return func(this); } - [[deprecated]] void UpdateButtonText() + void UpdateButtonText() { using func_t = decltype(&WorkshopMenu::UpdateButtonText); REL::Relocation func{ REL::ID(1089189) }; @@ -1105,7 +1105,7 @@ namespace RE static constexpr auto VTABLE{ VTABLE::PipboySubMenu }; // override (BSTEventSink) - [[deprecated]] BSEventNotifyControl ProcessEvent(const PipboyValueChangedEvent& a_event, BSTEventSource* a_source) override + BSEventNotifyControl ProcessEvent(const PipboyValueChangedEvent& a_event, BSTEventSource* a_source) override { using func_t = decltype(&PipboySubMenu::ProcessEvent); REL::Relocation func{ REL::ID(893703) }; @@ -1129,7 +1129,7 @@ namespace RE static constexpr auto VTABLE{ VTABLE::PipboyStatsMenu }; // override (PipboySubMenu) - [[deprecated]] void UpdateData() override + void UpdateData() override { using func_t = decltype(&PipboyStatsMenu::UpdateData); REL::Relocation func{ REL::ID(332518) }; @@ -1149,7 +1149,7 @@ namespace RE static constexpr auto VTABLE{ VTABLE::PipboySpecialMenu }; // override (PipboySubMenu) - [[deprecated]] void UpdateData() override + void UpdateData() override { using func_t = decltype(&PipboySpecialMenu::UpdateData); REL::Relocation func{ REL::ID(1426810) }; @@ -1166,7 +1166,7 @@ namespace RE static constexpr auto VTABLE{ VTABLE::PipboyPerksMenu }; // override (PipboySubMenu) - [[deprecated]] void UpdateData() override + void UpdateData() override { using func_t = decltype(&PipboyPerksMenu::UpdateData); REL::Relocation func{ REL::ID(783380) }; @@ -1183,7 +1183,7 @@ namespace RE static constexpr auto VTABLE{ VTABLE::PipboyInventoryMenu }; // override (PipboySubMenu) - [[deprecated]] void UpdateData() override + void UpdateData() override { using func_t = decltype(&PipboyInventoryMenu::UpdateData); REL::Relocation func{ REL::ID(762897) }; @@ -1200,7 +1200,7 @@ namespace RE static constexpr auto VTABLE{ VTABLE::PipboyQuestMenu }; // override (PipboySubMenu) - [[deprecated]] void UpdateData() override + void UpdateData() override { using func_t = decltype(&PipboyQuestMenu::UpdateData); REL::Relocation func{ REL::ID(1495929) }; @@ -1217,7 +1217,7 @@ namespace RE static constexpr auto VTABLE{ VTABLE::PipboyWorkshopMenu }; // override (PipboySubMenu) - [[deprecated]] void UpdateData() override + void UpdateData() override { using func_t = decltype(&PipboyWorkshopMenu::UpdateData); REL::Relocation func{ REL::ID(1370368) }; @@ -1234,7 +1234,7 @@ namespace RE static constexpr auto VTABLE{ VTABLE::PipboyLogMenu }; // override (PipboySubMenu) - [[deprecated]] void UpdateData() override + void UpdateData() override { using func_t = decltype(&PipboyLogMenu::UpdateData); REL::Relocation func{ REL::ID(672256) }; @@ -1261,7 +1261,7 @@ namespace RE static constexpr auto VTABLE{ VTABLE::PipboyMapMenu }; // override (PipboySubMenu) - [[deprecated]] void UpdateData() override + void UpdateData() override { using func_t = decltype(&PipboyMapMenu::UpdateData); REL::Relocation func{ REL::ID(92696) }; @@ -1287,7 +1287,7 @@ namespace RE static constexpr auto VTABLE{ VTABLE::PipboyRadioMenu }; // override (PipboySubMenu) - [[deprecated]] void UpdateData() override + void UpdateData() override { using func_t = decltype(&PipboyRadioMenu::UpdateData); REL::Relocation func{ REL::ID(713423) }; @@ -1423,7 +1423,7 @@ namespace RE kWeight = 6, }; - [[deprecated]] void IncrementSort() + void IncrementSort() { using func_t = decltype(&ItemSorter::IncrementSort); REL::Relocation func{ REL::ID(1307263) }; @@ -1511,7 +1511,7 @@ namespace RE virtual void UpdateItemPickpocketInfo(std::int32_t a_index, bool a_inContainer, std::int32_t a_count) override; // 25 virtual void UpdateList(bool a_inContainer) override; // 26 - [[deprecated]] void TakeAllItems() + void TakeAllItems() { using func_t = decltype(&ContainerMenu::TakeAllItems); REL::Relocation func{ REL::ID(1323703) }; @@ -1565,21 +1565,21 @@ namespace RE virtual void UpdateEncumbranceAndCaps(bool a_inContainer, std::int32_t a_capsDifferential) override; // 1E virtual void UpdateList(bool a_inContainer) override; // 20 - [[deprecated]] void ClearTradingData() + void ClearTradingData() { using func_t = decltype(&BarterMenu::ClearTradingData); REL::Relocation func{ REL::ID(1112285) }; return func(this); } - [[deprecated]] void CompleteTrade() + void CompleteTrade() { using func_t = decltype(&BarterMenu::CompleteTrade); REL::Relocation func{ REL::ID(379932) }; return func(this); } - [[deprecated]] [[nodiscard]] std::int64_t GetCapsOwedByPlayer() + [[nodiscard]] std::int64_t GetCapsOwedByPlayer() { using func_t = decltype(&BarterMenu::GetCapsOwedByPlayer); REL::Relocation func{ REL::ID(672405) }; @@ -1612,7 +1612,7 @@ namespace RE virtual void MapCodeObjectFunctions() override; // 02 virtual UI_MESSAGE_RESULTS ProcessMessage(UIMessage&) override; // 03 - [[deprecated]] void ShowMessage() + void ShowMessage() { using func_t = decltype(&MessageBoxMenu::ShowMessage); REL::Relocation func{ REL::ID(442479) }; @@ -1926,21 +1926,21 @@ namespace RE virtual bool AddLooseModToModChoiceArray(BGSMod::Attachment::Mod* a_mod, std::uint8_t a_rank); // 44 virtual bool ShouldShowModSlot(const BGSKeyword* a_keyword); // 45 - [[deprecated]] void BuildWeaponScrappingArray() + void BuildWeaponScrappingArray() { using func_t = decltype(&ExamineMenu::BuildWeaponScrappingArray); REL::Relocation func{ REL::ID(646841) }; return func(this); } - [[deprecated]] [[nodiscard]] std::uint32_t GetSelectedIndex() + [[nodiscard]] std::uint32_t GetSelectedIndex() { using func_t = decltype(&ExamineMenu::GetSelectedIndex); REL::Relocation func{ REL::ID(776503) }; return func(this); } - [[deprecated]] void ShowConfirmMenu(ExamineConfirmMenu::InitData* a_data, ExamineConfirmMenu::ICallback* a_callback) + void ShowConfirmMenu(ExamineConfirmMenu::InitData* a_data, ExamineConfirmMenu::ICallback* a_callback) { using func_t = decltype(&ExamineMenu::ShowConfirmMenu); REL::Relocation func{ REL::ID(443081) }; @@ -2090,7 +2090,7 @@ namespace RE virtual void OnMouseMoveEvent(const MouseMoveEvent*) override; // 06 virtual void OnButtonEvent(const ButtonEvent*) override; // 08 - [[deprecated]] static void OpenLockpickingMenu(TESObjectREFR* a_lockedRef) + static void OpenLockpickingMenu(TESObjectREFR* a_lockedRef) { using func_t = decltype(&LockpickingMenu::OpenLockpickingMenu); REL::Relocation func{ REL::ID(129892) }; @@ -2150,14 +2150,14 @@ namespace RE virtual UI_MESSAGE_RESULTS ProcessMessage(UIMessage& a_message) override; // 03 virtual void OnMenuStackChanged(const BSFixedString& a_topMenuName, bool a_passesTopMenuTest) override; // 09 - [[deprecated]] static void OnEnterFurniture(ObjectRefHandle a_handle) + static void OnEnterFurniture(ObjectRefHandle a_handle) { using func_t = decltype(&SitWaitMenu::OnEnterFurniture); REL::Relocation func{ REL::ID(562238) }; return func(a_handle); } - [[deprecated]] static void OnExitFurniture() + static void OnExitFurniture() { using func_t = decltype(&SitWaitMenu::OnExitFurniture); REL::Relocation func{ REL::ID(454795) }; @@ -2296,14 +2296,14 @@ namespace RE // override (BSTEventSink) virtual BSEventNotifyControl ProcessEvent(const MenuOpenCloseEvent& a_event, BSTEventSource* a_source) override; // 01 - [[deprecated]] static void ShowHolotapeInPipboy(const BSFixedString& a_holotapePath) + static void ShowHolotapeInPipboy(const BSFixedString& a_holotapePath) { using func_t = decltype(&HolotapeMenu::ShowHolotapeInPipboy); REL::Relocation func{ REL::ID(217953) }; return func(a_holotapePath); } - [[deprecated]] static void ShowHolotapeInTerminal(const BSFixedString& a_holotapePath) + static void ShowHolotapeInTerminal(const BSFixedString& a_holotapePath) { using func_t = decltype(&HolotapeMenu::ShowHolotapeInTerminal); REL::Relocation func{ REL::ID(390509) }; diff --git a/CommonLibF4/include/RE/Bethesda/ImageSpaceEffect.h b/CommonLibF4/include/RE/Bethesda/ImageSpaceEffect.h index c9df1a30..43cd8727 100644 --- a/CommonLibF4/include/RE/Bethesda/ImageSpaceEffect.h +++ b/CommonLibF4/include/RE/Bethesda/ImageSpaceEffect.h @@ -117,7 +117,7 @@ namespace RE virtual bool IsActive() override; // 08 virtual bool UpdateParams(ImageSpaceEffectParam* a_param) override; // 09 - [[deprecated]] inline static REL::Relocation bDisable{ REL::ID(372489) }; + inline static REL::Relocation bDisable{ REL::ID(372489) }; // members ImageSpaceTexture buffer[3]; // B0 @@ -141,7 +141,7 @@ namespace RE virtual bool IsActive() override; // 08 virtual bool UpdateParams(ImageSpaceEffectParam* a_param) override; // 09 - [[deprecated]] inline static REL::Relocation bDisable{ REL::ID(1523708) }; + inline static REL::Relocation bDisable{ REL::ID(1523708) }; // members float* data; // B0 @@ -179,7 +179,7 @@ namespace RE virtual void ReturnTextures() override; // 06 virtual bool UpdateParams(ImageSpaceEffectParam* a_param) override; // 09 - [[deprecated]] inline static REL::Relocation bPowerArmorPipboy{ REL::ID(1065542) }; + inline static REL::Relocation bPowerArmorPipboy{ REL::ID(1065542) }; // members NiPointer scanlineTexture; // B0 @@ -201,7 +201,7 @@ namespace RE virtual bool IsActive() override; // 08 virtual bool UpdateParams(ImageSpaceEffectParam* a_param) override; // 09 - [[deprecated]] inline static REL::Relocation bDisable{ REL::ID(1500590) }; + inline static REL::Relocation bDisable{ REL::ID(1500590) }; }; static_assert(sizeof(ImageSpaceEffectRadialBlur) == 0xB0); @@ -220,7 +220,7 @@ namespace RE virtual bool IsActive() override; // 08 virtual bool UpdateParams(ImageSpaceEffectParam* a_param) override; // 09 - [[deprecated]] inline static REL::Relocation MaskS{ REL::ID(775377) }; + inline static REL::Relocation MaskS{ REL::ID(775377) }; // members float previousInvTexSizeX; // B0 diff --git a/CommonLibF4/include/RE/Bethesda/ImageSpaceManager.h b/CommonLibF4/include/RE/Bethesda/ImageSpaceManager.h index 5b4a9c74..2758b375 100644 --- a/CommonLibF4/include/RE/Bethesda/ImageSpaceManager.h +++ b/CommonLibF4/include/RE/Bethesda/ImageSpaceManager.h @@ -269,7 +269,7 @@ namespace RE EFFECT_SHADER_BRIGHTPASS_CS_V_END = 231 }; - [[deprecated]] [[nodiscard]] static ImageSpaceManager* GetSingleton() + [[nodiscard]] static ImageSpaceManager* GetSingleton() { REL::Relocation singleton{ REL::ID(161743) }; return *singleton; diff --git a/CommonLibF4/include/RE/Bethesda/ImageSpaceModifier.h b/CommonLibF4/include/RE/Bethesda/ImageSpaceModifier.h index 622eb9d5..9af84ce7 100644 --- a/CommonLibF4/include/RE/Bethesda/ImageSpaceModifier.h +++ b/CommonLibF4/include/RE/Bethesda/ImageSpaceModifier.h @@ -58,28 +58,28 @@ namespace RE virtual void PrintInfo(char* a_buffer) override; // 2A virtual ImageSpaceModifierInstanceForm* IsForm() override; // 2B - [[deprecated]] static ImageSpaceModifierInstanceForm* Trigger(TESImageSpaceModifier* a_mod, float a_strength, NiAVObject* a_target) + static ImageSpaceModifierInstanceForm* Trigger(TESImageSpaceModifier* a_mod, float a_strength, NiAVObject* a_target) { using func_t = ImageSpaceModifierInstanceForm* (*)(TESImageSpaceModifier*, float, NiAVObject*); REL::Relocation func{ REL::ID(179769) }; return func(a_mod, a_strength, a_target); } - [[deprecated]] static ImageSpaceModifierInstanceForm* Trigger(const BSFixedString& a_name) + static ImageSpaceModifierInstanceForm* Trigger(const BSFixedString& a_name) { using func_t = ImageSpaceModifierInstanceForm* (*)(const BSFixedString&); REL::Relocation func{ REL::ID(1216312) }; return func(a_name); } - [[deprecated]] static void Stop(TESImageSpaceModifier* a_mod) + static void Stop(TESImageSpaceModifier* a_mod) { using func_t = void (*)(TESImageSpaceModifier*); REL::Relocation func{ REL::ID(217873) }; return func(a_mod); } - [[deprecated]] static void Stop(const BSFixedString& a_name) + static void Stop(const BSFixedString& a_name) { using func_t = void (*)(const BSFixedString&); REL::Relocation func{ REL::ID(549773) }; diff --git a/CommonLibF4/include/RE/Bethesda/Interface3D.h b/CommonLibF4/include/RE/Bethesda/Interface3D.h index 6fe46978..f85a5a92 100644 --- a/CommonLibF4/include/RE/Bethesda/Interface3D.h +++ b/CommonLibF4/include/RE/Bethesda/Interface3D.h @@ -121,21 +121,21 @@ namespace RE }; static_assert(sizeof(LightParams) == 0x28); - [[deprecated]] static Renderer* Create(const BSFixedString& a_name, RE::UI_DEPTH_PRIORITY a_depth, float a_fov, bool a_alwaysRenderWhenEnabled) + static Renderer* Create(const BSFixedString& a_name, RE::UI_DEPTH_PRIORITY a_depth, float a_fov, bool a_alwaysRenderWhenEnabled) { using func_t = decltype(&Renderer::Create); REL::Relocation func{ REL::ID(88488) }; return func(a_name, a_depth, a_fov, a_alwaysRenderWhenEnabled); } - [[deprecated]] [[nodiscard]] static Renderer* GetByName(const BSFixedString& a_name) + [[nodiscard]] static Renderer* GetByName(const BSFixedString& a_name) { using func_t = decltype(&Renderer::GetByName); REL::Relocation func{ REL::ID(140387) }; return func(a_name); } - [[deprecated]] void MainScreen_AddPointLight( + void MainScreen_AddPointLight( NiPoint3 a_translation, NiColor a_diffuse, float a_radius, @@ -146,7 +146,7 @@ namespace RE return func(this, a_translation, a_diffuse, a_radius, a_dimmerVal); } - [[deprecated]] void MainScreen_AddSpotLight( + void MainScreen_AddSpotLight( NiPoint3 a_translation, NiPoint3 a_lookAtPosition, NiAVObject* a_lookAtObject, @@ -161,7 +161,7 @@ namespace RE return func(this, a_translation, a_lookAtPosition, a_lookAtObject, a_fov, a_diffuse, a_radius, a_dimmerVal, a_castShadows); } - [[deprecated]] void MainScreen_ClearLights() + void MainScreen_ClearLights() { using func_t = decltype(&Renderer::MainScreen_ClearLights); REL::Relocation func{ REL::ID(683530) }; @@ -217,7 +217,7 @@ namespace RE postAA = a_value; } - [[deprecated]] void MainScreen_SetScreenAttached3D(NiAVObject* a_root3D) + void MainScreen_SetScreenAttached3D(NiAVObject* a_root3D) { using func_t = decltype(&Renderer::MainScreen_SetScreenAttached3D); REL::Relocation func{ REL::ID(817727) }; @@ -229,7 +229,7 @@ namespace RE defRenderMainScreen = a_value; } - [[deprecated]] void MainScreen_SetWorldAttached3D(NiAVObject* a_root3D) + void MainScreen_SetWorldAttached3D(NiAVObject* a_root3D) { using func_t = decltype(&Renderer::MainScreen_SetWorldAttached3D); REL::Relocation func{ REL::ID(724778) }; @@ -247,7 +247,7 @@ namespace RE hideScreenWhenDisabled = a_value; } - [[deprecated]] void Offscreen_AddLight( + void Offscreen_AddLight( NiPoint3 a_translation, NiColor a_diffuse, NiColor a_specular, @@ -258,14 +258,14 @@ namespace RE return func(this, a_translation, a_diffuse, a_specular, a_dimmerVal); } - [[deprecated]] void Offscreen_Clear3D() + void Offscreen_Clear3D() { using func_t = decltype(&Renderer::Offscreen_Clear3D); REL::Relocation func{ REL::ID(1533262) }; return func(this); } - [[deprecated]] void Offscreen_ClearLights() + void Offscreen_ClearLights() { using func_t = decltype(&Renderer::Offscreen_ClearLights); REL::Relocation func{ REL::ID(1039253) }; @@ -277,21 +277,21 @@ namespace RE offscreen3DEnabled = a_value; } - [[deprecated]] std::uint32_t Offscreen_GetRenderTargetHeight() + std::uint32_t Offscreen_GetRenderTargetHeight() { using func_t = decltype(&Renderer::Offscreen_GetRenderTargetHeight); REL::Relocation func{ REL::ID(1280897) }; return func(this); } - [[deprecated]] std::uint32_t Offscreen_GetRenderTargetWidth() + std::uint32_t Offscreen_GetRenderTargetWidth() { using func_t = decltype(&Renderer::Offscreen_GetRenderTargetWidth); REL::Relocation func{ REL::ID(403273) }; return func(this); } - [[deprecated]] void Offscreen_Set3D(NiAVObject* a_3D) + void Offscreen_Set3D(NiAVObject* a_3D) { using func_t = decltype(&Renderer::Offscreen_Set3D); REL::Relocation func{ REL::ID(43983) }; @@ -313,14 +313,14 @@ namespace RE clearRenderTarget = a_clear; } - [[deprecated]] void Offscreen_SetDebugMode(bool a_on, bool a_small, std::uint32_t a_target) + void Offscreen_SetDebugMode(bool a_on, bool a_small, std::uint32_t a_target) { using func_t = decltype(&Renderer::Offscreen_SetDebugMode); REL::Relocation func{ REL::ID(1277879) }; return func(this, a_on, a_small, a_target); } - [[deprecated]] void Offscreen_SetDirectionalLight( + void Offscreen_SetDirectionalLight( float a_xyPlaneAngle, float a_zAngle, NiColor a_diffuse, @@ -356,28 +356,28 @@ namespace RE useLongRangeCamera = a_use; } - [[deprecated]] void Enable(bool a_unhideGeometries = false) + void Enable(bool a_unhideGeometries = false) { using func_t = decltype(&Renderer::Enable); REL::Relocation func{ REL::ID(326895) }; return func(this, a_unhideGeometries); } - [[deprecated]] void Disable() + void Disable() { using func_t = decltype(&Renderer::Disable); REL::Relocation func{ REL::ID(938370) }; return func(this); } - [[deprecated]] void Release() + void Release() { using func_t = decltype(&Renderer::Release); REL::Relocation func{ REL::ID(74749) }; return func(this); } - [[deprecated]] void SetViewport(RE::Scaleform::GFx::Movie& a_ui, const NiRect& a_renderArea) + void SetViewport(RE::Scaleform::GFx::Movie& a_ui, const NiRect& a_renderArea) { using func_t = decltype(&Renderer::SetViewport); REL::Relocation func{ REL::ID(825410) }; diff --git a/CommonLibF4/include/RE/Bethesda/InventoryUserUIUtils.h b/CommonLibF4/include/RE/Bethesda/InventoryUserUIUtils.h index 97f37737..c9f1b7fd 100644 --- a/CommonLibF4/include/RE/Bethesda/InventoryUserUIUtils.h +++ b/CommonLibF4/include/RE/Bethesda/InventoryUserUIUtils.h @@ -14,7 +14,7 @@ namespace RE { namespace detail { - [[deprecated]] inline void AddItemCardInfoEntry( + inline void AddItemCardInfoEntry( Scaleform::GFx::Value& a_array, Scaleform::GFx::Value& a_newEntry, const BSFixedStringCS& a_textID, @@ -48,7 +48,7 @@ namespace RE namespace StatsMenuUtils { - [[deprecated]] inline void GetEffectDisplayInfo(MagicItem* a_item, EffectItem* a_effect, float& a_magnitude, float& a_duration) + inline void GetEffectDisplayInfo(MagicItem* a_item, EffectItem* a_effect, float& a_magnitude, float& a_duration) { using func_t = decltype(&StatsMenuUtils::GetEffectDisplayInfo); REL::Relocation func{ REL::ID(294691) }; @@ -60,21 +60,21 @@ namespace RE { using ComparisonItems = BSScrapArray>; - [[deprecated]] inline void GetComparisonItems(const TESBoundObject* a_object, ComparisonItems& a_comparisonItems) + inline void GetComparisonItems(const TESBoundObject* a_object, ComparisonItems& a_comparisonItems) { using func_t = decltype(&GetComparisonItems); REL::Relocation func{ REL::ID(593818) }; return func(a_object, a_comparisonItems); } - [[deprecated]] inline void PlayPipboySound(const char* a_soundName) + inline void PlayPipboySound(const char* a_soundName) { using func_t = decltype(&PlayPipboySound); REL::Relocation func{ REL::ID(1320952) }; return func(a_soundName); } - [[deprecated]] inline void PlayMenuSound(const char* a_soundName) + inline void PlayMenuSound(const char* a_soundName) { using func_t = decltype(&PlayMenuSound); REL::Relocation func{ REL::ID(1227993) }; diff --git a/CommonLibF4/include/RE/Bethesda/MagicItems.h b/CommonLibF4/include/RE/Bethesda/MagicItems.h index b5d016de..a5448222 100644 --- a/CommonLibF4/include/RE/Bethesda/MagicItems.h +++ b/CommonLibF4/include/RE/Bethesda/MagicItems.h @@ -28,7 +28,7 @@ namespace RE class EffectItem { public: - [[deprecated]] void GetDescription(BSStringT* a_buffer, const char* a_beginTagFormat, const char* a_endTagFormat, float a_magnitude, float a_duration) + void GetDescription(BSStringT* a_buffer, const char* a_beginTagFormat, const char* a_endTagFormat, float a_magnitude, float a_duration) { using func_t = decltype(&EffectItem::GetDescription); REL::Relocation func{ REL::ID(949839) }; diff --git a/CommonLibF4/include/RE/Bethesda/MenuControls.h b/CommonLibF4/include/RE/Bethesda/MenuControls.h index a3e2a960..511c1e51 100644 --- a/CommonLibF4/include/RE/Bethesda/MenuControls.h +++ b/CommonLibF4/include/RE/Bethesda/MenuControls.h @@ -20,7 +20,7 @@ namespace RE public BSTSingletonSDM // 10 { public: - [[deprecated]] [[nodiscard]] static MenuControls* GetSingleton() + [[nodiscard]] static MenuControls* GetSingleton() { REL::Relocation singleton{ REL::ID(520890) }; return *singleton; diff --git a/CommonLibF4/include/RE/Bethesda/MenuCursor.h b/CommonLibF4/include/RE/Bethesda/MenuCursor.h index aaaa00e4..da12fa01 100644 --- a/CommonLibF4/include/RE/Bethesda/MenuCursor.h +++ b/CommonLibF4/include/RE/Bethesda/MenuCursor.h @@ -13,13 +13,13 @@ namespace RE static constexpr auto RTTI{ RTTI::MenuCursor }; static constexpr auto VTABLE{ VTABLE::MenuCursor }; - [[deprecated]] [[nodiscard]] static MenuCursor* GetSingleton() + [[nodiscard]] static MenuCursor* GetSingleton() { REL::Relocation singleton{ REL::ID(695696) }; return *singleton; } - [[deprecated]] void CenterCursor() + void CenterCursor() { using func_t = decltype(&MenuCursor::CenterCursor); REL::Relocation func{ REL::ID(1107298) }; @@ -37,21 +37,21 @@ namespace RE void ConstrainForPipboy(); void ConstrainForPipboyPA(); - [[deprecated]] void RegisterCursor() + void RegisterCursor() { using func_t = decltype(&MenuCursor::RegisterCursor); REL::Relocation func{ REL::ID(1318193) }; return func(this); } - [[deprecated]] void SetCursorConstraintsRaw(std::uint32_t a_tlx, std::uint32_t a_tly, std::uint32_t a_width, std::uint32_t a_height) + void SetCursorConstraintsRaw(std::uint32_t a_tlx, std::uint32_t a_tly, std::uint32_t a_width, std::uint32_t a_height) { using func_t = decltype(&MenuCursor::SetCursorConstraintsRaw); REL::Relocation func{ REL::ID(907092) }; return func(this, a_tlx, a_tly, a_width, a_height); } - [[deprecated]] void UnregisterCursor() + void UnregisterCursor() { using func_t = decltype(&MenuCursor::UnregisterCursor); REL::Relocation func{ REL::ID(1225249) }; diff --git a/CommonLibF4/include/RE/Bethesda/MessageMenuManager.h b/CommonLibF4/include/RE/Bethesda/MessageMenuManager.h index ec3afc91..b7c0cbb5 100644 --- a/CommonLibF4/include/RE/Bethesda/MessageMenuManager.h +++ b/CommonLibF4/include/RE/Bethesda/MessageMenuManager.h @@ -86,13 +86,13 @@ namespace RE public BSTSingletonSDM // 00 { public: - [[deprecated]] [[nodiscard]] static MessageMenuManager* GetSingleton() + [[nodiscard]] static MessageMenuManager* GetSingleton() { REL::Relocation singleton{ REL::ID(959572) }; return *singleton; } - [[deprecated]] void Create( + void Create( const char* a_headerText, const char* a_bodyText, IMessageBoxCallback* a_callback, diff --git a/CommonLibF4/include/RE/Bethesda/PipboyInventoryUtils.h b/CommonLibF4/include/RE/Bethesda/PipboyInventoryUtils.h index fd76c3bb..e9408a60 100644 --- a/CommonLibF4/include/RE/Bethesda/PipboyInventoryUtils.h +++ b/CommonLibF4/include/RE/Bethesda/PipboyInventoryUtils.h @@ -6,21 +6,21 @@ namespace RE { namespace PipboyInventoryUtils { - [[deprecated]] inline bool DoSlotsOverlap(const TESObjectARMO* a_armor1, const TESObjectARMO* a_armor2) + inline bool DoSlotsOverlap(const TESObjectARMO* a_armor1, const TESObjectARMO* a_armor2) { using func_t = decltype(&DoSlotsOverlap); REL::Relocation func{ REL::ID(1035436) }; return func(a_armor1, a_armor2); } - [[deprecated]] inline void FillDamageTypeInfo(const BGSInventoryItem& a_item, const BGSInventoryItem::Stack* a_stack, BSScrapArray>& a_damageValuesPerType) + inline void FillDamageTypeInfo(const BGSInventoryItem& a_item, const BGSInventoryItem::Stack* a_stack, BSScrapArray>& a_damageValuesPerType) { using func_t = decltype(&FillDamageTypeInfo); REL::Relocation func{ REL::ID(928518) }; return func(a_item, a_stack, a_damageValuesPerType); } - [[deprecated]] inline void FillResistTypeInfo(const BGSInventoryItem& a_item, const BGSInventoryItem::Stack* a_stack, BSScrapArray>& a_resistValuesPerType, float a_scale) + inline void FillResistTypeInfo(const BGSInventoryItem& a_item, const BGSInventoryItem::Stack* a_stack, BSScrapArray>& a_resistValuesPerType, float a_scale) { using func_t = decltype(&FillResistTypeInfo); REL::Relocation func{ REL::ID(1578434) }; diff --git a/CommonLibF4/include/RE/Bethesda/PipboyManager.h b/CommonLibF4/include/RE/Bethesda/PipboyManager.h index 7a573820..de760cb0 100644 --- a/CommonLibF4/include/RE/Bethesda/PipboyManager.h +++ b/CommonLibF4/include/RE/Bethesda/PipboyManager.h @@ -60,181 +60,181 @@ namespace RE virtual void OnMouseMoveEvent(const MouseMoveEvent*) override; // 07 virtual void OnThumbstickEvent(const ThumbstickEvent*) override; // 05 - [[deprecated]] [[nodiscard]] static PipboyManager* GetSingleton() + [[nodiscard]] static PipboyManager* GetSingleton() { REL::Relocation singleton{ REL::ID(553234) }; return *singleton; } - [[deprecated]] void AddMenuToPipboy(IMenu& a_menu, const NiRect& a_standVP, const NiRect& a_powerVP) + void AddMenuToPipboy(IMenu& a_menu, const NiRect& a_standVP, const NiRect& a_powerVP) { using func_t = decltype(&PipboyManager::AddMenuToPipboy); REL::Relocation func{ REL::ID(394568) }; return func(this, a_menu, a_standVP, a_powerVP); } - [[deprecated]] void ClosedownPipboy() + void ClosedownPipboy() { using func_t = decltype(&PipboyManager::ClosedownPipboy); REL::Relocation func{ REL::ID(731410) }; return func(this); } - [[deprecated]] void DisablePipboyShader() + void DisablePipboyShader() { using func_t = decltype(&PipboyManager::DisablePipboyShader); REL::Relocation func{ REL::ID(662519) }; return func(this); } - [[deprecated]] void EnablePipboyShader() + void EnablePipboyShader() { using func_t = decltype(&PipboyManager::EnablePipboyShader); REL::Relocation func{ REL::ID(157921) }; return func(this); } - [[deprecated]] void InitPipboy() + void InitPipboy() { using func_t = decltype(&PipboyManager::InitPipboy); REL::Relocation func{ REL::ID(1477369) }; return func(this); } - [[deprecated]] void LowerPipboy(LOWER_REASON a_reason) + void LowerPipboy(LOWER_REASON a_reason) { using func_t = decltype(&PipboyManager::LowerPipboy); REL::Relocation func{ REL::ID(1444875) }; return func(this, a_reason); } - [[deprecated]] void OnPipboyCloseAnim() + void OnPipboyCloseAnim() { using func_t = decltype(&PipboyManager::OnPipboyCloseAnim); REL::Relocation func{ REL::ID(1231000) }; return func(this); } - [[deprecated]] void OnPipboyCloseAnimFailed() + void OnPipboyCloseAnimFailed() { using func_t = decltype(&PipboyManager::OnPipboyCloseAnimFailed); REL::Relocation func{ REL::ID(1362084) }; return func(this); } - [[deprecated]] void OnPipboyClosed() + void OnPipboyClosed() { using func_t = decltype(&PipboyManager::OnPipboyClosed); REL::Relocation func{ REL::ID(592088) }; return func(this); } - [[deprecated]] void OnPipboyOpenAnim() + void OnPipboyOpenAnim() { using func_t = decltype(&PipboyManager::OnPipboyOpenAnim); REL::Relocation func{ REL::ID(1500318) }; return func(this); } - [[deprecated]] void OnPipboyOpenAnimFailed() + void OnPipboyOpenAnimFailed() { using func_t = decltype(&PipboyManager::OnPipboyOpenAnimFailed); REL::Relocation func{ REL::ID(702357) }; return func(this); } - [[deprecated]] void OnPipboyOpened() + void OnPipboyOpened() { using func_t = decltype(&PipboyManager::OnPipboyOpened); REL::Relocation func{ REL::ID(1299608) }; return func(this); } - [[deprecated]] void PlayItemAnimOnClose() + void PlayItemAnimOnClose() { using func_t = decltype(&PipboyManager::PlayItemAnimOnClose); REL::Relocation func{ REL::ID(377837) }; return func(this); } - [[deprecated]] void PlayPipboyCloseAnim(bool a_noAnim) + void PlayPipboyCloseAnim(bool a_noAnim) { using func_t = decltype(&PipboyManager::PlayPipboyCloseAnim); REL::Relocation func{ REL::ID(273927) }; return func(this, a_noAnim); } - [[deprecated]] void PlayPipboyGenericOpenAnim(const BSFixedString& a_menu, const BSFixedString& a_anim, bool a_noAnim) + void PlayPipboyGenericOpenAnim(const BSFixedString& a_menu, const BSFixedString& a_anim, bool a_noAnim) { using func_t = decltype(&PipboyManager::PlayPipboyGenericOpenAnim); REL::Relocation func{ REL::ID(809076) }; return func(this, a_menu, a_anim, a_noAnim); } - [[deprecated]] void PlayPipboyLoadHolotapeAnim(BGSNote* a_holotape, bool a_noAnim) + void PlayPipboyLoadHolotapeAnim(BGSNote* a_holotape, bool a_noAnim) { using func_t = decltype(&PipboyManager::PlayPipboyLoadHolotapeAnim); REL::Relocation func{ REL::ID(477096) }; return func(this, a_holotape, a_noAnim); } - [[deprecated]] void PlayPipboyOpenAnim(const RE::BSFixedString& a_menuName) + void PlayPipboyOpenAnim(const RE::BSFixedString& a_menuName) { using func_t = decltype(&PipboyManager::PlayPipboyOpenAnim); REL::Relocation func{ REL::ID(663900) }; return func(this, a_menuName); } - [[deprecated]] void PlayPipboyOpenTerminalAnim(BGSTerminal* a_terminal) + void PlayPipboyOpenTerminalAnim(BGSTerminal* a_terminal) { using func_t = decltype(&PipboyManager::PlayPipboyOpenTerminalAnim); REL::Relocation func{ REL::ID(743427) }; return func(this, a_terminal); } - [[deprecated]] void ProcessLoweringReason() + void ProcessLoweringReason() { using func_t = decltype(&PipboyManager::ProcessLoweringReason); REL::Relocation func{ REL::ID(302903) }; return func(this); } - [[deprecated]] bool QPipboyActive() + bool QPipboyActive() { using func_t = decltype(&PipboyManager::QPipboyActive); REL::Relocation func{ REL::ID(470886) }; return func(this); } - [[deprecated]] void RaisePipboy() + void RaisePipboy() { using func_t = decltype(&PipboyManager::RaisePipboy); REL::Relocation func{ REL::ID(726763) }; return func(this); } - [[deprecated]] void RefreshPipboyRenderSurface() + void RefreshPipboyRenderSurface() { using func_t = decltype(&PipboyManager::RefreshPipboyRenderSurface); REL::Relocation func{ REL::ID(81339) }; return func(this); } - [[deprecated]] void StartAnimationGraphListening() + void StartAnimationGraphListening() { using func_t = decltype(&PipboyManager::StartAnimationGraphListening); REL::Relocation func{ REL::ID(714713) }; return func(this); } - [[deprecated]] void StopAnimationGraphListening() + void StopAnimationGraphListening() { using func_t = decltype(&PipboyManager::StopAnimationGraphListening); REL::Relocation func{ REL::ID(621144) }; return func(this); } - [[deprecated]] void UpdateCursorConstraint(bool a_enable) + void UpdateCursorConstraint(bool a_enable) { using func_t = decltype(&PipboyManager::UpdateCursorConstraint); REL::Relocation func{ REL::ID(900802) }; diff --git a/CommonLibF4/include/RE/Bethesda/PlayerCharacter.h b/CommonLibF4/include/RE/Bethesda/PlayerCharacter.h index e5c839b2..780cc56c 100644 --- a/CommonLibF4/include/RE/Bethesda/PlayerCharacter.h +++ b/CommonLibF4/include/RE/Bethesda/PlayerCharacter.h @@ -245,14 +245,14 @@ namespace RE const bool suppressAudio{ false }; // 01 private: - [[deprecated]] void ctor(bool a_suppressMessages, bool a_suppressAudio) + void ctor(bool a_suppressMessages, bool a_suppressAudio) { using func_t = decltype(&ScopedInventoryChangeMessageContext::ctor); REL::Relocation func{ REL::ID(1512872) }; return func(this, a_suppressMessages, a_suppressAudio); } - [[deprecated]] void dtor() + void dtor() { using func_t = decltype(&ScopedInventoryChangeMessageContext::dtor); REL::Relocation func{ REL::ID(542100) }; @@ -273,34 +273,34 @@ namespace RE return singleton->get(); } - [[deprecated]] [[nodiscard]] static ActorHandle GetPlayerHandle() + [[nodiscard]] static ActorHandle GetPlayerHandle() { REL::Relocation singleton{ REL::ID(522947) }; return *singleton; } - [[deprecated]] DIFFICULTY_LEVEL GetDifficultyLevel() + DIFFICULTY_LEVEL GetDifficultyLevel() { using func_t = decltype(&PlayerCharacter::GetDifficultyLevel); REL::Relocation func{ REL::ID(922962) }; return func(this); } - [[deprecated]] bool IsGodMode() + bool IsGodMode() { using func_t = decltype(&PlayerCharacter::IsGodMode); REL::Relocation func{ REL::ID(1032309) }; return func(this); } - [[deprecated]] bool IsHolotapePlaying(BGSNote* a_holotape) + bool IsHolotapePlaying(BGSNote* a_holotape) { using func_t = decltype(&PlayerCharacter::IsHolotapePlaying); REL::Relocation func{ REL::ID(530826) }; return func(this, a_holotape); } - [[deprecated]] bool IsImmortal() + bool IsImmortal() { using func_t = decltype(&PlayerCharacter::IsImmortal); REL::Relocation func{ REL::ID(500346) }; @@ -309,7 +309,7 @@ namespace RE bool IsLockedOutOfTerminal(ObjectRefHandle a_handle); - [[deprecated]] bool IsPipboyLightOn() + bool IsPipboyLightOn() { using func_t = decltype(&PlayerCharacter::IsPipboyLightOn); REL::Relocation func{ REL::ID(426550) }; @@ -318,56 +318,56 @@ namespace RE void LockOutOfTerminal(ObjectRefHandle a_handle); - [[deprecated]] void PauseHolotape(BGSNote* a_holotape) + void PauseHolotape(BGSNote* a_holotape) { using func_t = decltype(&PlayerCharacter::PauseHolotape); REL::Relocation func{ REL::ID(1567456) }; return func(this, a_holotape); } - [[deprecated]] void PlayHolotape(BGSNote* a_holotape) + void PlayHolotape(BGSNote* a_holotape) { using func_t = decltype(&PlayerCharacter::PlayHolotape); REL::Relocation func{ REL::ID(1581042) }; return func(this, a_holotape); } - [[deprecated]] void QueueFastTravel(ObjectRefHandle a_marker, bool a_allowAutoSave) + void QueueFastTravel(ObjectRefHandle a_marker, bool a_allowAutoSave) { using func_t = decltype(&PlayerCharacter::QueueFastTravel); REL::Relocation func{ REL::ID(556824) }; return func(this, a_marker, a_allowAutoSave); } - [[deprecated]] void RemoveLastUsedPowerArmor() + void RemoveLastUsedPowerArmor() { using func_t = decltype(&PlayerCharacter::RemoveLastUsedPowerArmor); REL::Relocation func{ REL::ID(1488486) }; return func(this); } - [[deprecated]] void SelectPerk(std::uint32_t a_formID, std::int8_t a_rank = 0) + void SelectPerk(std::uint32_t a_formID, std::int8_t a_rank = 0) { using func_t = decltype(&PlayerCharacter::SelectPerk); REL::Relocation func{ REL::ID(1397326) }; return func(this, a_formID, a_rank); } - [[deprecated]] void SetEscaping(bool a_flag, bool a_escaped) + void SetEscaping(bool a_flag, bool a_escaped) { using func_t = decltype(&PlayerCharacter::SetEscaping); REL::Relocation func{ REL::ID(25528) }; return func(this, a_flag, a_escaped); } - [[deprecated]] void SetVATSCriticalCount(uint32_t a_critCount) + void SetVATSCriticalCount(uint32_t a_critCount) { using func_t = decltype(&PlayerCharacter::SetVATSCriticalCount); REL::Relocation func{ REL::ID(327338) }; return func(this, a_critCount); } - [[deprecated]] void ShowPipboyLight(bool a_show, bool a_skipEffects) + void ShowPipboyLight(bool a_show, bool a_skipEffects) { using func_t = decltype(&PlayerCharacter::ShowPipboyLight); REL::Relocation func{ REL::ID(1304102) }; diff --git a/CommonLibF4/include/RE/Bethesda/PlayerControls.h b/CommonLibF4/include/RE/Bethesda/PlayerControls.h index 7731726b..768dc887 100644 --- a/CommonLibF4/include/RE/Bethesda/PlayerControls.h +++ b/CommonLibF4/include/RE/Bethesda/PlayerControls.h @@ -153,20 +153,20 @@ namespace RE static constexpr auto RTTI{ RTTI::PlayerControls }; static constexpr auto VTABLE{ VTABLE::PlayerControls }; - [[deprecated]] static PlayerControls* GetSingleton() + static PlayerControls* GetSingleton() { REL::Relocation singleton{ REL::ID(544871) }; return *singleton; } - [[deprecated]] bool CanPerformAction(DEFAULT_OBJECT a_action) + bool CanPerformAction(DEFAULT_OBJECT a_action) { using func_t = decltype(&PlayerControls::CanPerformAction); REL::Relocation func{ REL::ID(565925) }; return func(this, a_action); } - [[deprecated]] bool DoAction(DEFAULT_OBJECT a_action, ActionInput::ACTIONPRIORITY a_priority) + bool DoAction(DEFAULT_OBJECT a_action, ActionInput::ACTIONPRIORITY a_priority) { using func_t = decltype(&PlayerControls::DoAction); REL::Relocation func{ REL::ID(818081) }; @@ -204,7 +204,7 @@ namespace RE float cameraAutoRotationY; // 258 private: - [[deprecated]] void DoRegisterHandler(PlayerInputHandler* a_handler, bool a_isHeldStateHandler) + void DoRegisterHandler(PlayerInputHandler* a_handler, bool a_isHeldStateHandler) { using func_t = decltype(&PlayerControls::DoRegisterHandler); REL::Relocation func{ REL::ID(177801) }; diff --git a/CommonLibF4/include/RE/Bethesda/PowerArmor.h b/CommonLibF4/include/RE/Bethesda/PowerArmor.h index d443ec8c..83c2ee55 100644 --- a/CommonLibF4/include/RE/Bethesda/PowerArmor.h +++ b/CommonLibF4/include/RE/Bethesda/PowerArmor.h @@ -18,7 +18,7 @@ namespace RE namespace PowerArmor { - [[deprecated]] [[nodiscard]] inline bool ActorInPowerArmor(const Actor& a_actor) + [[nodiscard]] inline bool ActorInPowerArmor(const Actor& a_actor) { using func_t = decltype(&ActorInPowerArmor); REL::Relocation func{ REL::ID(1176757) }; @@ -31,42 +31,42 @@ namespace RE return PlayerCharacter ? ActorInPowerArmor(*PlayerCharacter) : false; } - [[deprecated]] [[nodiscard]] inline BGSKeyword* GetArmorKeyword() + [[nodiscard]] inline BGSKeyword* GetArmorKeyword() { using func_t = decltype(&GetArmorKeyword); REL::Relocation func{ REL::ID(961172) }; return func(); } - [[deprecated]] [[nodiscard]] inline BGSKeyword* GetBatteryKeyword() + [[nodiscard]] inline BGSKeyword* GetBatteryKeyword() { using func_t = decltype(&GetBatteryKeyword); REL::Relocation func{ REL::ID(1493537) }; return func(); } - [[deprecated]] [[nodiscard]] inline TESAmmo* GetDefaultBatteryObject() + [[nodiscard]] inline TESAmmo* GetDefaultBatteryObject() { using func_t = decltype(&GetDefaultBatteryObject); REL::Relocation func{ REL::ID(1279247) }; return func(); } - [[deprecated]] [[nodiscard]] inline bool IsPowerArmorBattery(const TESBoundObject* a_itemData) + [[nodiscard]] inline bool IsPowerArmorBattery(const TESBoundObject* a_itemData) { using func_t = decltype(&IsPowerArmorBattery); REL::Relocation func{ REL::ID(1012910) }; return func(a_itemData); } - [[deprecated]] inline void SyncFurnitureVisualsToInventory(TESObjectREFR* a_furniture, bool a_force3DUpdate, BGSInventoryItem* a_tempItemToAdd, bool a_hideCore) + inline void SyncFurnitureVisualsToInventory(TESObjectREFR* a_furniture, bool a_force3DUpdate, BGSInventoryItem* a_tempItemToAdd, bool a_hideCore) { using func_t = decltype(&SyncFurnitureVisualsToInventory); REL::Relocation func{ REL::ID(1078979) }; return func(a_furniture, a_force3DUpdate, a_tempItemToAdd, a_hideCore); } - [[deprecated]] inline REL::Relocation*> fNewBatteryCapacity{ REL::ID(1134204) }; + inline REL::Relocation*> fNewBatteryCapacity{ REL::ID(1134204) }; } class __declspec(novtable) PowerArmorGeometry : @@ -87,20 +87,20 @@ namespace RE virtual BSEventNotifyControl ProcessEvent(const PreloadPowerArmor::Event& a_event, BSTEventSource* a_source) override; // 02 virtual BSEventNotifyControl ProcessEvent(const ExitPowerArmor::Event& a_event, BSTEventSource* a_source) override; // 03 - [[deprecated]] [[nodiscard]] static PowerArmorGeometry* GetSingleton() + [[nodiscard]] static PowerArmorGeometry* GetSingleton() { REL::Relocation singleton{ REL::ID(1365745) }; return *singleton; } - [[deprecated]] void HidePipboyPAGeometry() + void HidePipboyPAGeometry() { using func_t = decltype(&PowerArmorGeometry::HidePipboyPAGeometry); REL::Relocation func{ REL::ID(976332) }; return func(this); } - [[deprecated]] void ShowPipboyPAGeometry() + void ShowPipboyPAGeometry() { using func_t = decltype(&PowerArmorGeometry::ShowPipboyPAGeometry); REL::Relocation func{ REL::ID(19066) }; diff --git a/CommonLibF4/include/RE/Bethesda/ProcessLists.h b/CommonLibF4/include/RE/Bethesda/ProcessLists.h index 62ea3ff5..dccdc624 100644 --- a/CommonLibF4/include/RE/Bethesda/ProcessLists.h +++ b/CommonLibF4/include/RE/Bethesda/ProcessLists.h @@ -22,13 +22,13 @@ namespace RE // override virtual BSEventNotifyControl ProcessEvent(const PositionPlayerEvent&, BSTEventSource*) override; // 01 - [[deprecated]] [[nodiscard]] static ProcessLists* GetSingleton() + [[nodiscard]] static ProcessLists* GetSingleton() { REL::Relocation singleton{ REL::ID(1569706) }; return *singleton; } - [[deprecated]] [[nodiscard]] bool AreHostileActorsNear(BSScrapArray* a_hostileActorArray) + [[nodiscard]] bool AreHostileActorsNear(BSScrapArray* a_hostileActorArray) { using func_t = decltype(&ProcessLists::AreHostileActorsNear); REL::Relocation func{ REL::ID(1053584) }; @@ -69,14 +69,14 @@ namespace RE }); } - [[deprecated]] [[nodiscard]] bool IsActorTargetingREFinPackage(const TESObjectREFR* a_actor, PTYPE a_type, bool a_onlyHigh) + [[nodiscard]] bool IsActorTargetingREFinPackage(const TESObjectREFR* a_actor, PTYPE a_type, bool a_onlyHigh) { using func_t = decltype(&ProcessLists::IsActorTargetingREFinPackage); REL::Relocation func{ REL::ID(559542) }; return func(this, a_actor, a_type, a_onlyHigh); } - [[deprecated]] [[nodiscard]] std::int16_t RequestHighestDetectionLevelAgainstActor(Actor* a_actor, std::uint32_t& a_LOSCount) + [[nodiscard]] std::int16_t RequestHighestDetectionLevelAgainstActor(Actor* a_actor, std::uint32_t& a_LOSCount) { using func_t = decltype(&ProcessLists::RequestHighestDetectionLevelAgainstActor); REL::Relocation func{ REL::ID(1036693) }; diff --git a/CommonLibF4/include/RE/Bethesda/SWFToCodeFunctionHandler.h b/CommonLibF4/include/RE/Bethesda/SWFToCodeFunctionHandler.h index 6c6e0a24..5e9b9f10 100644 --- a/CommonLibF4/include/RE/Bethesda/SWFToCodeFunctionHandler.h +++ b/CommonLibF4/include/RE/Bethesda/SWFToCodeFunctionHandler.h @@ -20,14 +20,14 @@ namespace RE // add virtual void MapCodeObjectFunctions() { return; } // 02 - [[deprecated]] void MapCodeMethodToASFunction(const char* a_functionName, std::int32_t a_functionID) + void MapCodeMethodToASFunction(const char* a_functionName, std::int32_t a_functionID) { using func_t = decltype(&SWFToCodeFunctionHandler::MapCodeMethodToASFunction); REL::Relocation func{ REL::ID(1263128) }; return func(this, a_functionName, a_functionID); } - [[deprecated]] void RegisterCodeObject(Scaleform::GFx::Movie& a_movie, Scaleform::GFx::Value& a_menuObj) + void RegisterCodeObject(Scaleform::GFx::Movie& a_movie, Scaleform::GFx::Value& a_menuObj) { using func_t = decltype(&SWFToCodeFunctionHandler::RegisterCodeObject); REL::Relocation func{ REL::ID(67637) }; diff --git a/CommonLibF4/include/RE/Bethesda/SendHUDMessage.h b/CommonLibF4/include/RE/Bethesda/SendHUDMessage.h index 93802332..095cadf6 100644 --- a/CommonLibF4/include/RE/Bethesda/SendHUDMessage.h +++ b/CommonLibF4/include/RE/Bethesda/SendHUDMessage.h @@ -4,28 +4,28 @@ namespace RE { namespace SendHUDMessage { - [[deprecated]] inline void PopHUDMode(const HUDModeType& a_hudMode) + inline void PopHUDMode(const HUDModeType& a_hudMode) { using func_t = decltype(&SendHUDMessage::PopHUDMode); REL::Relocation func{ REL::ID(1495042) }; return func(a_hudMode); } - [[deprecated]] inline void PushHUDMode(const HUDModeType& a_hudMode) + inline void PushHUDMode(const HUDModeType& a_hudMode) { using func_t = decltype(&SendHUDMessage::PushHUDMode); REL::Relocation func{ REL::ID(1321764) }; return func(a_hudMode); } - [[deprecated]] inline void SetPowerArmorMode(bool a_inPowerArmor) + inline void SetPowerArmorMode(bool a_inPowerArmor) { using func_t = decltype(&SendHUDMessage::SetPowerArmorMode); REL::Relocation func{ REL::ID(361745) }; return func(a_inPowerArmor); } - [[deprecated]] inline void ShowHUDMessage(const char* a_message, const char* a_sound, bool a_throttle, bool a_warning) + inline void ShowHUDMessage(const char* a_message, const char* a_sound, bool a_throttle, bool a_warning) { using func_t = decltype(&SendHUDMessage::ShowHUDMessage); REL::Relocation func{ REL::ID(1163005) }; diff --git a/CommonLibF4/include/RE/Bethesda/Sky.h b/CommonLibF4/include/RE/Bethesda/Sky.h index 9fbdc510..861acb7b 100644 --- a/CommonLibF4/include/RE/Bethesda/Sky.h +++ b/CommonLibF4/include/RE/Bethesda/Sky.h @@ -71,13 +71,13 @@ namespace RE virtual ~Sky(); // 00 - [[deprecated]] [[nodiscard]] static Sky* GetSingleton() + [[nodiscard]] static Sky* GetSingleton() { REL::Relocation singleton{ REL::ID(484694) }; return *singleton; } - [[deprecated]] void ForceWeather(TESWeather* a_weather, bool a_override) + void ForceWeather(TESWeather* a_weather, bool a_override) { using func_t = decltype(&Sky::ForceWeather); REL::Relocation func{ REL::ID(698558) }; @@ -92,7 +92,7 @@ namespace RE } } - [[deprecated]] void ResetWeather() + void ResetWeather() { using func_t = decltype(&Sky::ResetWeather); REL::Relocation func{ REL::ID(6511) }; diff --git a/CommonLibF4/include/RE/Bethesda/SplineUtils.h b/CommonLibF4/include/RE/Bethesda/SplineUtils.h index cf9b75d2..7db3151f 100644 --- a/CommonLibF4/include/RE/Bethesda/SplineUtils.h +++ b/CommonLibF4/include/RE/Bethesda/SplineUtils.h @@ -6,14 +6,14 @@ namespace RE namespace SplineUtils { - [[deprecated]] inline void DisconnectSpline(TESObjectREFR& a_spline) + inline void DisconnectSpline(TESObjectREFR& a_spline) { using func_t = decltype(&DisconnectSpline); REL::Relocation func{ REL::ID(750682) }; return func(a_spline); } - [[deprecated]] inline void ConnectSpline(TESObjectREFR* akEndpoint1, int32_t linkType1, TESObjectREFR* akEndpoint2, int32_t linkType2, TESObjectREFR* akWireRef) + inline void ConnectSpline(TESObjectREFR* akEndpoint1, int32_t linkType1, TESObjectREFR* akEndpoint2, int32_t linkType2, TESObjectREFR* akWireRef) { using func_t = decltype(&ConnectSpline); REL::Relocation func{ REL::ID(59311) }; diff --git a/CommonLibF4/include/RE/Bethesda/TESBoundAnimObjects.h b/CommonLibF4/include/RE/Bethesda/TESBoundAnimObjects.h index 9d09878b..ff9956d3 100644 --- a/CommonLibF4/include/RE/Bethesda/TESBoundAnimObjects.h +++ b/CommonLibF4/include/RE/Bethesda/TESBoundAnimObjects.h @@ -278,7 +278,7 @@ namespace RE }; static_assert(sizeof(EntryPointData) == 0x8); - [[deprecated]] [[nodiscard]] TESContainer* GetContainer() + [[nodiscard]] TESContainer* GetContainer() { using func_t = decltype(&TESFurniture::GetContainer); REL::Relocation func{ REL::ID(1049933) }; @@ -385,13 +385,13 @@ namespace RE [[nodiscard]] bool ContainsKeyword(std::string_view a_editorID) const; - [[deprecated]] [[nodiscard]] static BSTHashMap>& GetAlternateHeadPartListMap() + [[nodiscard]] static BSTHashMap>& GetAlternateHeadPartListMap() { REL::Relocation>*> map{ REL::ID(1306546), -0x8 }; return *map; } - [[deprecated]] [[nodiscard]] static TESNPC* GetDefaultNPC(TESNPC* npc) + [[nodiscard]] static TESNPC* GetDefaultNPC(TESNPC* npc) { using func_t = decltype(&TESNPC::GetDefaultNPC); REL::Relocation func{ REL::ID(1073775) }; @@ -440,7 +440,7 @@ namespace RE return root; } - [[deprecated]] [[nodiscard]] uint32_t GetSex() noexcept + [[nodiscard]] uint32_t GetSex() noexcept { using func_t = decltype(&TESNPC::GetSex); REL::Relocation func{ REL::ID(1257181) }; @@ -560,21 +560,21 @@ namespace RE }; static_assert(sizeof(MenuItem) == 0x28); - [[deprecated]] LOCK_LEVEL GetHackDifficultyLockLevel(TESObjectREFR* a_refr) + LOCK_LEVEL GetHackDifficultyLockLevel(TESObjectREFR* a_refr) { using func_t = decltype(&BGSTerminal::GetHackDifficultyLockLevel); REL::Relocation func{ REL::ID(537273) }; return func(this, a_refr); } - [[deprecated]] static bool IsTerminalRefInUse(TESObjectREFR* a_refr) + static bool IsTerminalRefInUse(TESObjectREFR* a_refr) { using func_t = decltype(&BGSTerminal::IsTerminalRefInUse); REL::Relocation func{ REL::ID(1093565) }; return func(a_refr); } - [[deprecated]] static void Show(TESObjectREFR* a_refr) + static void Show(TESObjectREFR* a_refr) { using func_t = decltype(&BGSTerminal::Show); REL::Relocation func{ REL::ID(1069012) }; diff --git a/CommonLibF4/include/RE/Bethesda/TESBoundObjects.h b/CommonLibF4/include/RE/Bethesda/TESBoundObjects.h index 95480ed3..8774d0a5 100644 --- a/CommonLibF4/include/RE/Bethesda/TESBoundObjects.h +++ b/CommonLibF4/include/RE/Bethesda/TESBoundObjects.h @@ -99,7 +99,7 @@ namespace RE virtual void OnCopyReference() { return; } // 65 virtual void OnFinishScale() { return; } // 66 - [[deprecated]] void ApplyMods(BSTSmartPointer& a_dest, const BGSObjectInstanceExtra* a_extra) const + void ApplyMods(BSTSmartPointer& a_dest, const BGSObjectInstanceExtra* a_extra) const { using func_t = decltype(&TESBoundObject::ApplyMods); REL::Relocation func{ REL::ID(113585) }; @@ -600,14 +600,14 @@ namespace RE }; static_assert(sizeof(Data) == 0x138); - [[deprecated]] [[nodiscard]] MELEE_ATTACK_SPEED GetMeleeAttackSpeed() + [[nodiscard]] MELEE_ATTACK_SPEED GetMeleeAttackSpeed() { using func_t = decltype(&TESObjectWEAP::GetMeleeAttackSpeed); REL::Relocation func{ REL::ID(817670) }; return func(this); } - [[deprecated]] [[nodiscard]] static const char* GetMeleeAttackSpeedLabel(MELEE_ATTACK_SPEED a_speed) + [[nodiscard]] static const char* GetMeleeAttackSpeedLabel(MELEE_ATTACK_SPEED a_speed) { using func_t = decltype(&TESObjectWEAP::GetMeleeAttackSpeedLabel); REL::Relocation func{ REL::ID(178784) }; @@ -652,7 +652,7 @@ namespace RE static constexpr auto VTABLE{ VTABLE::TESAmmo }; static constexpr auto FORM_ID{ ENUM_FORM_ID::kAMMO }; - [[deprecated]] [[nodiscard]] static bool GetReloadsWithAmmoRef(const TESAmmo* a_ammo) + [[nodiscard]] static bool GetReloadsWithAmmoRef(const TESAmmo* a_ammo) { using func_t = decltype(&TESAmmo::GetReloadsWithAmmoRef); REL::Relocation func{ REL::ID(1035622) }; @@ -790,7 +790,7 @@ namespace RE static constexpr auto VTABLE{ VTABLE::BGSProjectile }; static constexpr auto FORM_ID{ ENUM_FORM_ID::kPROJ }; - [[deprecated]] bool CollidesWithSmallTransparentLayer() + bool CollidesWithSmallTransparentLayer() { using func_t = decltype(&BGSProjectile::CollidesWithSmallTransparentLayer); REL::Relocation func{ REL::ID(1115694) }; diff --git a/CommonLibF4/include/RE/Bethesda/TESCamera.h b/CommonLibF4/include/RE/Bethesda/TESCamera.h index 4c851a69..364d15ce 100644 --- a/CommonLibF4/include/RE/Bethesda/TESCamera.h +++ b/CommonLibF4/include/RE/Bethesda/TESCamera.h @@ -173,7 +173,7 @@ namespace RE static constexpr auto RTTI{ RTTI::TESCamera }; static constexpr auto VTABLE{ VTABLE::TESCamera }; - [[deprecated]] [[nodiscard]] static PlayerCamera* GetSingleton() + [[nodiscard]] static PlayerCamera* GetSingleton() { REL::Relocation singleton{ REL::ID(1171980) }; return *singleton; @@ -191,49 +191,49 @@ namespace RE return BSTSmartPointer{ static_cast(cameraStates[T::STATE].get()) }; } - [[deprecated]] TESCameraState* PopState() + TESCameraState* PopState() { using func_t = decltype(&PlayerCamera::PopState); REL::Relocation func{ REL::ID(120998) }; return func(this); } - [[deprecated]] TESCameraState* PushState(CameraState a_state) + TESCameraState* PushState(CameraState a_state) { using func_t = decltype(&PlayerCamera::PushState); REL::Relocation func{ REL::ID(746523) }; return func(this, a_state); } - [[deprecated]] void ToggleFreeCameraMode(bool a_freezeTime) + void ToggleFreeCameraMode(bool a_freezeTime) { using func_t = decltype(&PlayerCamera::ToggleFreeCameraMode); REL::Relocation func{ REL::ID(224913) }; return func(this, a_freezeTime); } - [[deprecated]] void SetState(TESCameraState* a_newstate) const + void SetState(TESCameraState* a_newstate) const { using func_t = decltype(&PlayerCamera::SetState); REL::Relocation func{ REL::ID(858847) }; return func(this, a_newstate); } - [[deprecated]] void StartFurnitureMode(TESObjectREFR* a_furniture) + void StartFurnitureMode(TESObjectREFR* a_furniture) { using func_t = decltype(&PlayerCamera::StartFurnitureMode); REL::Relocation func{ REL::ID(10202) }; return func(this, a_furniture); } - [[deprecated]] void StartPipboyMode(bool a_forcePipboyModeCamera) + void StartPipboyMode(bool a_forcePipboyModeCamera) { using func_t = decltype(&PlayerCamera::StartPipboyMode); REL::Relocation func{ REL::ID(998069) }; return func(this, a_forcePipboyModeCamera); } - [[deprecated]] void StopPipboyMode() + void StopPipboyMode() { using func_t = decltype(&PlayerCamera::StopPipboyMode); REL::Relocation func{ REL::ID(811954) }; diff --git a/CommonLibF4/include/RE/Bethesda/TESCondition.h b/CommonLibF4/include/RE/Bethesda/TESCondition.h index e24e7163..2662b5c7 100644 --- a/CommonLibF4/include/RE/Bethesda/TESCondition.h +++ b/CommonLibF4/include/RE/Bethesda/TESCondition.h @@ -71,14 +71,14 @@ namespace RE class TESConditionItem { public: - [[deprecated]] [[nodiscard]] float GetComparisonValue() + [[nodiscard]] float GetComparisonValue() { using func_t = decltype(&TESConditionItem::GetComparisonValue); REL::Relocation func{ REL::ID(1373349) }; return func(this); } - [[deprecated]] [[nodiscard]] bool IsTrue(TESObjectREFR* a_actionRef, TESObjectREFR* a_targetRef) + [[nodiscard]] bool IsTrue(TESObjectREFR* a_actionRef, TESObjectREFR* a_targetRef) { using func_t = decltype(&TESConditionItem::IsTrue); REL::Relocation func{ REL::ID(1453240) }; @@ -108,7 +108,7 @@ namespace RE return func(this, a_actionRef, a_targetRef); } - [[deprecated]] [[nodiscard]] bool IsTrueForAllButFunction(ConditionCheckParams& a_paramData, SCRIPT_OUTPUT a_function) const + [[nodiscard]] bool IsTrueForAllButFunction(ConditionCheckParams& a_paramData, SCRIPT_OUTPUT a_function) const { using func_t = decltype(&TESCondition::IsTrueForAllButFunction); REL::Relocation func{ REL::ID(1182457) }; diff --git a/CommonLibF4/include/RE/Bethesda/TESDataHandler.h b/CommonLibF4/include/RE/Bethesda/TESDataHandler.h index 24d94efd..6d6ab66d 100644 --- a/CommonLibF4/include/RE/Bethesda/TESDataHandler.h +++ b/CommonLibF4/include/RE/Bethesda/TESDataHandler.h @@ -69,21 +69,21 @@ namespace RE return *singleton; } - [[deprecated]] [[nodiscard]] bool AddFormToDataHandler(TESForm* a_form) + [[nodiscard]] bool AddFormToDataHandler(TESForm* a_form) { using func_t = decltype(&TESDataHandler::AddFormToDataHandler); REL::Relocation func{ REL::ID(350112) }; return func(this, a_form); } - [[deprecated]] [[nodiscard]] bool CheckModsLoaded(bool a_everModded) + [[nodiscard]] bool CheckModsLoaded(bool a_everModded) { using func_t = decltype(&TESDataHandler::CheckModsLoaded); REL::Relocation func{ REL::ID(1432894) }; return func(this, a_everModded); } - [[deprecated]] [[nodiscard]] ObjectRefHandle CreateReferenceAtLocation(NEW_REFR_DATA& a_data) + [[nodiscard]] ObjectRefHandle CreateReferenceAtLocation(NEW_REFR_DATA& a_data) { using func_t = decltype(&TESDataHandler::CreateReferenceAtLocation); REL::Relocation func{ REL::ID(500304) }; @@ -202,7 +202,7 @@ namespace RE return mod ? std::make_optional(mod->smallFileCompileIndex) : std::nullopt; } - [[deprecated]] bool IsFormIDInuse(std::uint32_t a_formID) + bool IsFormIDInuse(std::uint32_t a_formID) { using func_t = decltype(&TESDataHandler::IsFormIDInuse); REL::Relocation func{ REL::ID(1448838) }; diff --git a/CommonLibF4/include/RE/Bethesda/TESForms.h b/CommonLibF4/include/RE/Bethesda/TESForms.h index dcfd687f..3142cc6b 100644 --- a/CommonLibF4/include/RE/Bethesda/TESForms.h +++ b/CommonLibF4/include/RE/Bethesda/TESForms.h @@ -631,7 +631,7 @@ namespace RE struct FormSortFunc { public: - [[deprecated]] std::int32_t operator()(const TESForm* a_arg1, const TESForm* a_arg2) + std::int32_t operator()(const TESForm* a_arg1, const TESForm* a_arg2) { using func_t = decltype(&FormSortFunc::operator()); REL::Relocation func{ REL::ID(705530) }; @@ -714,7 +714,7 @@ namespace RE virtual std::uint32_t GetFilledSlotsImpl() const { return static_cast(-1); } // 48 virtual float GetDesirability([[maybe_unused]] TBO_InstanceData* a_instanceData, [[maybe_unused]] const TESForm* a_user) const { return 0.0F; } // 49 - [[deprecated]] static void AddCompileIndex(std::uint32_t& a_id, TESFile* a_file) + static void AddCompileIndex(std::uint32_t& a_id, TESFile* a_file) { using func_t = decltype(&TESForm::AddCompileIndex); REL::Relocation func{ REL::ID(1315637) }; @@ -866,7 +866,7 @@ namespace RE } } - [[deprecated]] void SetTemporary() + void SetTemporary() { using func_t = decltype(&TESForm::SetTemporary); REL::Relocation func{ REL::ID(482454) }; @@ -939,7 +939,7 @@ namespace RE } } - [[deprecated]] [[nodiscard]] static auto GetTypedKeywords() + [[nodiscard]] static auto GetTypedKeywords() -> std::optional, stl::to_underlying(KeywordType::kTotal)>> { REL::Relocation(*)[stl::to_underlying(KeywordType::kTotal)]> keywords{ REL::ID(1095775) }; @@ -1479,14 +1479,14 @@ namespace RE kWarnToLeave = 1u << 9, }; - [[deprecated]] [[nodiscard]] bhkWorld* GetbhkWorld() const + [[nodiscard]] bhkWorld* GetbhkWorld() const { using func_t = decltype(&TESObjectCELL::GetbhkWorld); REL::Relocation func{ REL::ID(1326073) }; return func(this); } - [[deprecated]] [[nodiscard]] bool GetCantWaitHere() + [[nodiscard]] bool GetCantWaitHere() { using func_t = decltype(&TESObjectCELL::GetCantWaitHere); REL::Relocation func{ REL::ID(376940) }; @@ -1507,7 +1507,7 @@ namespace RE return func(this); } - [[deprecated]] [[nodiscard]] BGSEncounterZone* GetEncounterZone() const + [[nodiscard]] BGSEncounterZone* GetEncounterZone() const { using func_t = decltype(&TESObjectCELL::GetEncounterZone); REL::Relocation func{ REL::ID(1414637) }; @@ -1521,21 +1521,21 @@ namespace RE return func(this); } - [[deprecated]] [[nodiscard]] TESForm* GetOwner() + [[nodiscard]] TESForm* GetOwner() { using func_t = decltype(&TESObjectCELL::GetOwner); REL::Relocation func{ REL::ID(910422) }; return func(this); } - [[deprecated]] [[nodiscard]] TESRegionList* GetRegionList(bool a_createIfMissing) + [[nodiscard]] TESRegionList* GetRegionList(bool a_createIfMissing) { using func_t = decltype(&TESObjectCELL::GetRegionList); REL::Relocation func{ REL::ID(1565031) }; return func(this, a_createIfMissing); } - [[deprecated]] [[nodiscard]] NiAVObject* Pick(bhkPickData& pd) + [[nodiscard]] NiAVObject* Pick(bhkPickData& pd) { using func_t = decltype(&TESObjectCELL::Pick); REL::Relocation func{ REL::ID(434717) }; @@ -1919,14 +1919,14 @@ namespace RE static constexpr auto VTABLE{ VTABLE::BGSListForm }; static constexpr auto FORM_ID{ ENUM_FORM_ID::kFLST }; - [[deprecated]] void AddScriptAddedForm(TESForm* a_form) + void AddScriptAddedForm(TESForm* a_form) { using func_t = decltype(&BGSListForm::AddScriptAddedForm); REL::Relocation func{ REL::ID(1064874) }; return func(this, a_form); } - [[deprecated]] [[nodiscard]] bool ContainsItem(const TESForm* a_form) + [[nodiscard]] bool ContainsItem(const TESForm* a_form) { using func_t = decltype(&BGSListForm::ContainsItem); REL::Relocation func{ REL::ID(688500) }; @@ -2440,14 +2440,14 @@ namespace RE static constexpr auto VTABLE{ VTABLE::BGSMessage }; static constexpr auto FORM_ID{ ENUM_FORM_ID::kMESG }; - [[deprecated]] void AddButton(MESSAGEBOX_BUTTON* btn) + void AddButton(MESSAGEBOX_BUTTON* btn) { using func_t = decltype(&BGSMessage::AddButton); REL::Relocation func{ REL::ID(236744) }; return func(this, btn); } - [[deprecated]] std::uint32_t GetConvertedDescription(BSFixedString& a_result) + std::uint32_t GetConvertedDescription(BSFixedString& a_result) { using func_t = decltype(&BGSMessage::GetConvertedDescription); REL::Relocation func{ REL::ID(8331) }; diff --git a/CommonLibF4/include/RE/Bethesda/TESObjectREFRs.h b/CommonLibF4/include/RE/Bethesda/TESObjectREFRs.h index 8173cff4..87c2f39e 100644 --- a/CommonLibF4/include/RE/Bethesda/TESObjectREFRs.h +++ b/CommonLibF4/include/RE/Bethesda/TESObjectREFRs.h @@ -186,28 +186,28 @@ namespace RE virtual void PreLoadAnimationGraphManager([[maybe_unused]] const BSTSmartPointer& a_animGraphMgr) { return; } // 18 virtual void PostLoadAnimationGraphManager([[maybe_unused]] const BSTSmartPointer& a_animGraphMgr) { return; } // 19 - [[deprecated]] bool SetGraphVariableBool(const BSFixedString& a_variable, bool a_var) + bool SetGraphVariableBool(const BSFixedString& a_variable, bool a_var) { using func_t = decltype(&IAnimationGraphManagerHolder::SetGraphVariableBool); REL::Relocation func{ REL::ID(1437197) }; return func(this, a_variable, a_var); }; - [[deprecated]] bool SetGraphVariableFloat(const BSFixedString& a_variable, float a_var) + bool SetGraphVariableFloat(const BSFixedString& a_variable, float a_var) { using func_t = decltype(&IAnimationGraphManagerHolder::SetGraphVariableFloat); REL::Relocation func{ REL::ID(27400) }; return func(this, a_variable, a_var); }; - [[deprecated]] bool SetGraphVariableInt(const BSFixedString& a_variable, int a_var) + bool SetGraphVariableInt(const BSFixedString& a_variable, int a_var) { using func_t = decltype(&IAnimationGraphManagerHolder::SetGraphVariableInt); REL::Relocation func{ REL::ID(732926) }; return func(this, a_variable, a_var); }; - [[deprecated]] bool RevertAnimationGraphManager(bool a_performModifyInitialAnimationStateC = true) + bool RevertAnimationGraphManager(bool a_performModifyInitialAnimationStateC = true) { using func_t = decltype(&IAnimationGraphManagerHolder::RevertAnimationGraphManager); REL::Relocation func{ REL::ID(41382) }; @@ -276,7 +276,7 @@ namespace RE BSTSmartPointer instanceData; // 08 private: - [[deprecated]] BGSObjectInstance* ctor(TESForm* a_object, TBO_InstanceData* a_instanceData) + BGSObjectInstance* ctor(TESForm* a_object, TBO_InstanceData* a_instanceData) { using func_t = decltype(&BGSObjectInstance::ctor); REL::Relocation func{ REL::ID(1095748) }; @@ -337,7 +337,7 @@ namespace RE return a_lhs == a_rhs; } - [[deprecated]] void FindAndWriteStackDataForItem( + void FindAndWriteStackDataForItem( TESBoundObject* a_object, BGSInventoryItem::StackDataCompareFunctor& a_compareFunc, BGSInventoryItem::StackDataWriteFunctor& a_writeFunc, @@ -373,7 +373,7 @@ namespace RE BSReadWriteLock rwLock; // 78 private: - [[deprecated]] void ctor(const TESContainer* a_container, std::uint32_t* a_owner) + void ctor(const TESContainer* a_container, std::uint32_t* a_owner) { using func_t = decltype(&BGSInventoryList::ctor); REL::Relocation func{ REL::ID(845050) }; @@ -430,7 +430,7 @@ namespace RE bool skinned; // 50 private: - [[deprecated]] void Dtor() + void Dtor() { using func_t = decltype(&BIPOBJECT::Dtor); REL::Relocation func{ REL::ID(765242) }; @@ -468,14 +468,14 @@ namespace RE struct REFR_LOCK { public: - [[deprecated]] [[nodiscard]] LOCK_LEVEL GetLockLevel(TESObjectREFR* a_owner) + [[nodiscard]] LOCK_LEVEL GetLockLevel(TESObjectREFR* a_owner) { using func_t = decltype(&REFR_LOCK::GetLockLevel); REL::Relocation func{ REL::ID(782953) }; return func(this, a_owner); } - [[deprecated]] void SetLocked(bool a_locked) + void SetLocked(bool a_locked) { using func_t = decltype(&REFR_LOCK::SetLocked); REL::Relocation func{ REL::ID(157617) }; @@ -656,35 +656,35 @@ namespace RE virtual void InitDefaultWornImpl(bool a_weapon, bool a_allowChanges); // C4 virtual bool HasKeywordHelper(const BGSKeyword* a_keyword, const TBO_InstanceData* a_data) const; // C5 - [[deprecated]] bool ActivateRef(TESObjectREFR* a_actionRef, TESBoundObject* a_objectToGet, std::int32_t a_count, bool a_defaultProcessingOnly, bool a_fromScript, bool a_looping) + bool ActivateRef(TESObjectREFR* a_actionRef, TESBoundObject* a_objectToGet, std::int32_t a_count, bool a_defaultProcessingOnly, bool a_fromScript, bool a_looping) { using func_t = decltype(&TESObjectREFR::ActivateRef); REL::Relocation func{ REL::ID(753531) }; return func(this, a_actionRef, a_objectToGet, a_count, a_defaultProcessingOnly, a_fromScript, a_looping); } - [[deprecated]] void AddInventoryItem(TESBoundObject* a_object, BSTSmartPointer a_extra, std::uint32_t a_count, TESObjectREFR* a_oldContainer, const INSTANCE_FILTER* a_filter, TESObjectREFR* a_overrideRef) + void AddInventoryItem(TESBoundObject* a_object, BSTSmartPointer a_extra, std::uint32_t a_count, TESObjectREFR* a_oldContainer, const INSTANCE_FILTER* a_filter, TESObjectREFR* a_overrideRef) { using func_t = decltype(&TESObjectREFR::AddInventoryItem); REL::Relocation func{ REL::ID(78185) }; return func(this, a_object, a_extra, a_count, a_oldContainer, a_filter, a_overrideRef); } - [[deprecated]] void AddKeyword(BGSKeyword* kwd) + void AddKeyword(BGSKeyword* kwd) { using func_t = decltype(&TESObjectREFR::AddKeyword); REL::Relocation func{ REL::ID(640674) }; return func(this, kwd); } - [[deprecated]] void AddLockChange() + void AddLockChange() { using func_t = decltype(&TESObjectREFR::AddLockChange); REL::Relocation func{ REL::ID(1578706) }; return func(this); } - [[deprecated]] ModelReferenceEffect* ApplyArtObject( + ModelReferenceEffect* ApplyArtObject( BGSArtObject* a_art, float a_time = -1.0f, TESObjectREFR* a_facingRef = nullptr, @@ -698,7 +698,7 @@ namespace RE return func(this, a_art, a_time, a_facingRef, a_attachToCamera, a_inheritRotation, a_3D, a_interfaceEffect); } - [[deprecated]] ShaderReferenceEffect* ApplyEffectShader( + ShaderReferenceEffect* ApplyEffectShader( TESEffectShader* a_art, float a_time = -1.0f, TESObjectREFR* a_facingRef = nullptr, @@ -712,7 +712,7 @@ namespace RE return func(this, a_art, a_time, a_facingRef, a_attachToCamera, a_inheritRotation, a_3D, a_interfaceEffect); } - [[deprecated]] void Enable(bool a_resetInventory) + void Enable(bool a_resetInventory) { using func_t = decltype(&TESObjectREFR::Enable); REL::Relocation func{ REL::ID(1396707) }; @@ -731,14 +731,14 @@ namespace RE } } - [[deprecated]] [[nodiscard]] BGSLocation* GetCurrentLocation() const + [[nodiscard]] BGSLocation* GetCurrentLocation() const { using func_t = decltype(&TESObjectREFR::GetCurrentLocation); REL::Relocation func{ REL::ID(1135470) }; return func(this); } - [[deprecated]] [[nodiscard]] const char* GetDisplayFullName() + [[nodiscard]] const char* GetDisplayFullName() { using func_t = decltype(&TESObjectREFR::GetDisplayFullName); REL::Relocation func{ REL::ID(1212056) }; @@ -747,7 +747,7 @@ namespace RE [[nodiscard]] TESBoundObject* GetObjectReference() const noexcept { return data.objectReference; } - [[deprecated]] [[nodiscard]] TESForm* GetOwner() + [[nodiscard]] TESForm* GetOwner() { using func_t = decltype(&TESObjectREFR::GetOwner); REL::Relocation func{ REL::ID(1323437) }; @@ -764,154 +764,154 @@ namespace RE [[nodiscard]] float GetPositionZ() const noexcept { return data.location.z; } - [[deprecated]] [[nodiscard]] std::int64_t GetGoldAmount() + [[nodiscard]] std::int64_t GetGoldAmount() { using func_t = decltype(&TESObjectREFR::GetGoldAmount); REL::Relocation func{ REL::ID(564356) }; return func(this); } - [[deprecated]] [[nodiscard]] ObjectRefHandle GetHandle() + [[nodiscard]] ObjectRefHandle GetHandle() { using func_t = decltype(&TESObjectREFR::GetHandle); REL::Relocation func{ REL::ID(1573130) }; return func(this); } - [[deprecated]] [[nodiscard]] bool GetHasOwner() + [[nodiscard]] bool GetHasOwner() { using func_t = decltype(&TESObjectREFR::GetHasOwner); REL::Relocation func{ REL::ID(1016277) }; return func(this); } - [[deprecated]] [[nodiscard]] std::uint32_t GetInventoryObjectCount(const TESBoundObject* a_object) + [[nodiscard]] std::uint32_t GetInventoryObjectCount(const TESBoundObject* a_object) { using func_t = decltype(&TESObjectREFR::GetInventoryObjectCount); REL::Relocation func{ REL::ID(333415) }; return func(this, a_object); } - [[deprecated]] [[nodiscard]] TESObjectREFR* GetLinkedRef(BGSKeyword* a_keyword) + [[nodiscard]] TESObjectREFR* GetLinkedRef(BGSKeyword* a_keyword) { using func_t = decltype(&TESObjectREFR::GetLinkedRef); REL::Relocation func{ REL::ID(897287) }; return func(this, a_keyword); } - [[deprecated]] [[nodiscard]] REFR_LOCK* GetLock() + [[nodiscard]] REFR_LOCK* GetLock() { using func_t = decltype(&TESObjectREFR::GetLock); REL::Relocation func{ REL::ID(930785) }; return func(this); } - [[deprecated]] [[nodiscard]] float GetWeightInContainer() + [[nodiscard]] float GetWeightInContainer() { using func_t = decltype(&TESObjectREFR::GetWeightInContainer); REL::Relocation func{ REL::ID(1377567) }; return func(this); } - [[deprecated]] [[nodiscard]] bool IsAnOwner(Actor* a_testOwner, bool a_useFaction, bool a_requiresOwner) + [[nodiscard]] bool IsAnOwner(Actor* a_testOwner, bool a_useFaction, bool a_requiresOwner) { using func_t = decltype(&TESObjectREFR::IsAnOwner); REL::Relocation func{ REL::ID(933798) }; return func(this, a_testOwner, a_useFaction, a_requiresOwner); } - [[deprecated]] [[nodiscard]] bool IsCrimeToActivate() + [[nodiscard]] bool IsCrimeToActivate() { using func_t = decltype(&TESObjectREFR::IsCrimeToActivate); REL::Relocation func{ REL::ID(836011) }; return func(this); } - [[deprecated]] [[nodiscard]] bool IsInWater() + [[nodiscard]] bool IsInWater() { using func_t = decltype(&TESObjectREFR::IsInWater); REL::Relocation func{ REL::ID(315318) }; return func(this); } - [[deprecated]] void MarkAsDeleted() + void MarkAsDeleted() { using func_t = decltype(&TESObjectREFR::MarkAsDeleted); REL::Relocation func{ REL::ID(192661) }; return func(this); } - [[deprecated]] void MoveRefToNewSpace(TESObjectCELL* a_interior, TESWorldSpace* a_world) + void MoveRefToNewSpace(TESObjectCELL* a_interior, TESWorldSpace* a_world) { using func_t = decltype(&TESObjectREFR::MoveRefToNewSpace); REL::Relocation func{ REL::ID(629658) }; return func(this, a_interior, a_world); } - [[deprecated]] void RemoveKeyword(BGSKeyword* kwd) + void RemoveKeyword(BGSKeyword* kwd) { using func_t = decltype(&TESObjectREFR::RemoveKeyword); REL::Relocation func{ REL::ID(281170) }; return func(this, kwd); } - [[deprecated]] void SetAngleOnReference(const NiPoint3& a_point) + void SetAngleOnReference(const NiPoint3& a_point) { using func_t = decltype(&TESObjectREFR::SetAngleOnReference); REL::Relocation func{ REL::ID(1049748) }; return func(this, a_point); } - [[deprecated]] void SetLinkedRef(Actor* a_actor, BGSKeyword* a_keyword) + void SetLinkedRef(Actor* a_actor, BGSKeyword* a_keyword) { using func_t = decltype(&TESObjectREFR::SetLinkedRef); REL::Relocation func{ REL::ID(192840) }; return func(this, a_actor, a_keyword); } - [[deprecated]] void SetLocationOnReference(const NiPoint3& a_point) + void SetLocationOnReference(const NiPoint3& a_point) { using func_t = decltype(&TESObjectREFR::SetLocationOnReference); REL::Relocation func{ REL::ID(1101832) }; return func(this, a_point); } - [[deprecated]] void SetWantsDelete(bool a_delete) + void SetWantsDelete(bool a_delete) { using func_t = decltype(&TESObjectREFR::SetWantsDelete); REL::Relocation func{ REL::ID(761346) }; return func(this, a_delete); } - [[deprecated]] void RebuildBendableSpline(bool rebuildCollision, NiAVObject* target) + void RebuildBendableSpline(bool rebuildCollision, NiAVObject* target) { using func_t = decltype(&TESObjectREFR::RebuildBendableSpline); REL::Relocation func{ REL::ID(340319) }; return func(this, rebuildCollision, target); } - [[deprecated]] bool GetItemCount(uint32_t& count, TESForm* item, bool countComponent) + bool GetItemCount(uint32_t& count, TESForm* item, bool countComponent) { using func_t = decltype(&TESObjectREFR::GetItemCount); REL::Relocation func{ REL::ID(635042) }; return func(this, count, item, countComponent); } - [[deprecated]] void UpdateReference3D() + void UpdateReference3D() { using func_t = decltype(&TESObjectREFR::UpdateReference3D); REL::Relocation func{ REL::ID(1568075) }; return func(this); } - [[deprecated]] void GetObjectCenter(NiPoint3& center) + void GetObjectCenter(NiPoint3& center) { using func_t = decltype(&TESObjectREFR::GetObjectCenter); REL::Relocation func{ REL::ID(777738) }; return func(this, center); } - [[deprecated]] void SetScale(float scale) + void SetScale(float scale) { using func_t = decltype(&TESObjectREFR::SetScale); REL::Relocation func{ REL::ID(817930) }; diff --git a/CommonLibF4/include/RE/Bethesda/TESWorldSpace.h b/CommonLibF4/include/RE/Bethesda/TESWorldSpace.h index 48447f37..dc34d4ed 100644 --- a/CommonLibF4/include/RE/Bethesda/TESWorldSpace.h +++ b/CommonLibF4/include/RE/Bethesda/TESWorldSpace.h @@ -107,7 +107,7 @@ namespace RE return parentUseFlags.all(a_flags) ? parentWorld : nullptr; } - [[deprecated]] [[nodiscard]] TESWaterForm* GetWaterType() const noexcept + [[nodiscard]] TESWaterForm* GetWaterType() const noexcept { auto root = this; for (auto iter = root; iter; iter = iter->GetParentWorld(PARENT_USE_FLAG::kWater)) { diff --git a/CommonLibF4/include/RE/Bethesda/TaskQueueInterface.h b/CommonLibF4/include/RE/Bethesda/TaskQueueInterface.h index fd8b29ee..ddaf1721 100644 --- a/CommonLibF4/include/RE/Bethesda/TaskQueueInterface.h +++ b/CommonLibF4/include/RE/Bethesda/TaskQueueInterface.h @@ -13,48 +13,48 @@ namespace RE class TaskQueueInterface { public: - [[deprecated]] static TaskQueueInterface* GetSingleton() + static TaskQueueInterface* GetSingleton() { REL::Relocation singleton{ REL::ID(7491) }; return *singleton; } - [[deprecated]] void QueueClosePipboy() + void QueueClosePipboy() { using func_t = decltype(&TaskQueueInterface::QueueClosePipboy); REL::Relocation func{ REL::ID(69886) }; return func(this); } - [[deprecated]] void QueueRebuildBendableSpline(TESObjectREFR& a_ref, bool a_createPhysics, NiAVObject* a_childNode) + void QueueRebuildBendableSpline(TESObjectREFR& a_ref, bool a_createPhysics, NiAVObject* a_childNode) { using func_t = decltype(&TaskQueueInterface::QueueRebuildBendableSpline); REL::Relocation func{ REL::ID(198419) }; return func(this, a_ref, a_createPhysics, a_childNode); } - [[deprecated]] void QueueShow1stPerson(bool a_show1stPerson) + void QueueShow1stPerson(bool a_show1stPerson) { using func_t = decltype(&TaskQueueInterface::QueueShow1stPerson); REL::Relocation func{ REL::ID(994377) }; return func(this, a_show1stPerson); } - [[deprecated]] void QueueShowPipboy(DEFAULT_OBJECT a_animType) + void QueueShowPipboy(DEFAULT_OBJECT a_animType) { using func_t = decltype(&TaskQueueInterface::QueueShowPipboy); REL::Relocation func{ REL::ID(1133684) }; return func(this, a_animType); } - [[deprecated]] void QueueUpdate3D(TESObjectREFR* a_ref, std::uint32_t a_flags) + void QueueUpdate3D(TESObjectREFR* a_ref, std::uint32_t a_flags) { using func_t = decltype(&TaskQueueInterface::QueueUpdate3D); REL::Relocation func{ REL::ID(581890) }; return func(this, a_ref, a_flags); } - [[deprecated]] void QueueWeaponFire(TESObjectWEAP* a_weapon, TESObjectREFR* a_refObject, BGSEquipIndex a_equipIndex, TESAmmo* a_ammo) + void QueueWeaponFire(TESObjectWEAP* a_weapon, TESObjectREFR* a_refObject, BGSEquipIndex a_equipIndex, TESAmmo* a_ammo) { using func_t = decltype(&TaskQueueInterface::QueueWeaponFire); REL::Relocation func{ REL::ID(15449) }; diff --git a/CommonLibF4/include/RE/Bethesda/UI.h b/CommonLibF4/include/RE/Bethesda/UI.h index a179e192..2c0ed038 100644 --- a/CommonLibF4/include/RE/Bethesda/UI.h +++ b/CommonLibF4/include/RE/Bethesda/UI.h @@ -53,7 +53,7 @@ namespace RE // add virtual ~UI() = default; // 01 - [[deprecated]] [[nodiscard]] bool CustomRendererHasQuads(const BSFixedString& a_customRendererName) + [[nodiscard]] bool CustomRendererHasQuads(const BSFixedString& a_customRendererName) { using func_t = decltype(&UI::CustomRendererHasQuads); REL::Relocation func{ REL::ID(1401451) }; @@ -66,7 +66,7 @@ namespace RE return static_cast*>(this); } - [[deprecated]] [[nodiscard]] static BSReadWriteLock& GetMenuMapRWLock() + [[nodiscard]] static BSReadWriteLock& GetMenuMapRWLock() { REL::Relocation menuMapRWLock{ REL::ID(578487) }; return *menuMapRWLock; @@ -106,14 +106,14 @@ namespace RE return GetMenuOpen(T::MENU_NAME); } - [[deprecated]] void RefreshCursor() + void RefreshCursor() { using func_t = decltype(&UI::RefreshCursor); REL::Relocation func{ REL::ID(1436639) }; return func(this); } - [[deprecated]] void RegisterMenu(const char* a_menu, Create_t* a_create, StaticUpdate_t* a_staticUpdate = nullptr) + void RegisterMenu(const char* a_menu, Create_t* a_create, StaticUpdate_t* a_staticUpdate = nullptr) { using func_t = decltype(&UI::RegisterMenu); REL::Relocation func{ REL::ID(1519575) }; @@ -126,7 +126,7 @@ namespace RE GetEventSource()->RegisterSink(a_sink); } - [[deprecated]] void UpdateControllerType() + void UpdateControllerType() { using func_t = decltype(&UI::UpdateControllerType); REL::Relocation func{ REL::ID(175796) }; @@ -162,7 +162,7 @@ namespace RE namespace UIUtils { - [[deprecated]] inline void UpdateGamepadDependentButtonCodes(bool a_usingGamepad) + inline void UpdateGamepadDependentButtonCodes(bool a_usingGamepad) { using func_t = decltype(&UpdateGamepadDependentButtonCodes); REL::Relocation func{ REL::ID(190238) }; diff --git a/CommonLibF4/include/RE/Bethesda/UIMessage.h b/CommonLibF4/include/RE/Bethesda/UIMessage.h index 113212ef..d2b032ab 100644 --- a/CommonLibF4/include/RE/Bethesda/UIMessage.h +++ b/CommonLibF4/include/RE/Bethesda/UIMessage.h @@ -77,28 +77,28 @@ namespace RE static constexpr auto RTTI{ RTTI::BSUIMessageData }; static constexpr auto VTABLE{ VTABLE::BSUIMessageData }; - [[deprecated]] static void SendUIBoolMessage(const BSFixedString& a_menuName, UI_MESSAGE_TYPE a_type, bool a_value) + static void SendUIBoolMessage(const BSFixedString& a_menuName, UI_MESSAGE_TYPE a_type, bool a_value) { using func_t = decltype(&BSUIMessageData::SendUIBoolMessage); REL::Relocation func{ REL::ID(1388308) }; return func(a_menuName, a_type, a_value); } - [[deprecated]] static void SendUIStringMessage(const BSFixedString& a_menuName, UI_MESSAGE_TYPE a_type, const BSFixedString& a_string) + static void SendUIStringMessage(const BSFixedString& a_menuName, UI_MESSAGE_TYPE a_type, const BSFixedString& a_string) { using func_t = decltype(&BSUIMessageData::SendUIStringMessage); REL::Relocation func{ REL::ID(1270833) }; return func(a_menuName, a_type, a_string); } - [[deprecated]] static void SendUIPtrMessage(const BSFixedString& a_menuName, UI_MESSAGE_TYPE a_type, void* a_data) + static void SendUIPtrMessage(const BSFixedString& a_menuName, UI_MESSAGE_TYPE a_type, void* a_data) { using func_t = decltype(&BSUIMessageData::SendUIPtrMessage); REL::Relocation func{ REL::ID(1374542) }; return func(a_menuName, a_type, a_data); } - [[deprecated]] static void SendUIStringUIntMessage(const BSFixedString& a_menuName, UI_MESSAGE_TYPE a_type, const BSFixedString& a_fixedString, std::uint32_t a_data) + static void SendUIStringUIntMessage(const BSFixedString& a_menuName, UI_MESSAGE_TYPE a_type, const BSFixedString& a_fixedString, std::uint32_t a_data) { using func_t = decltype(&BSUIMessageData::SendUIStringUIntMessage); REL::Relocation func{ REL::ID(99795) }; diff --git a/CommonLibF4/include/RE/Bethesda/UIMessageQueue.h b/CommonLibF4/include/RE/Bethesda/UIMessageQueue.h index 3915a3ae..6266c751 100644 --- a/CommonLibF4/include/RE/Bethesda/UIMessageQueue.h +++ b/CommonLibF4/include/RE/Bethesda/UIMessageQueue.h @@ -12,13 +12,13 @@ namespace RE public BSTSingletonSDM // 000 { public: - [[deprecated]] [[nodiscard]] static UIMessageQueue* GetSingleton() + [[nodiscard]] static UIMessageQueue* GetSingleton() { REL::Relocation singleton{ REL::ID(82123) }; return *singleton; } - [[deprecated]] void AddMessage(const BSFixedString& a_menu, UI_MESSAGE_TYPE a_type) + void AddMessage(const BSFixedString& a_menu, UI_MESSAGE_TYPE a_type) { using func_t = decltype(&UIMessageQueue::AddMessage); REL::Relocation func{ REL::ID(1182019) }; diff --git a/CommonLibF4/include/RE/Bethesda/Utilities.h b/CommonLibF4/include/RE/Bethesda/Utilities.h index a758e4b9..0be37ccf 100644 --- a/CommonLibF4/include/RE/Bethesda/Utilities.h +++ b/CommonLibF4/include/RE/Bethesda/Utilities.h @@ -11,7 +11,7 @@ namespace RE { namespace BSUtilities { - [[deprecated]] inline NiAVObject* GetObjectByName(NiAVObject* a_root, const BSFixedString& a_name, bool a_tryInternal, bool a_dontAttach) + inline NiAVObject* GetObjectByName(NiAVObject* a_root, const BSFixedString& a_name, bool a_tryInternal, bool a_dontAttach) { using func_t = decltype(&GetObjectByName); REL::Relocation func{ REL::ID(843650) }; @@ -21,7 +21,7 @@ namespace RE namespace CombatUtilities { - [[deprecated]] inline bool CalculateProjectileLOS( + inline bool CalculateProjectileLOS( Actor* a_actor, BGSProjectile* a_projectile, float a_projectileSpeed, @@ -36,14 +36,14 @@ namespace RE return func(a_actor, a_projectile, a_projectileSpeed, a_launchPos, a_targetPos, a_hitPos, a_collidee, a_distanceFraction); } - [[deprecated]] inline bool CalculateProjectileLOS(Actor* a_actor, BGSProjectile* a_projectile, bhkPickData& a_pickData) + inline bool CalculateProjectileLOS(Actor* a_actor, BGSProjectile* a_projectile, bhkPickData& a_pickData) { using func_t = bool (*)(Actor*, BGSProjectile*, bhkPickData&); REL::Relocation func{ REL::ID(55339) }; return func(a_actor, a_projectile, a_pickData); } - [[deprecated]] inline bool CalculateProjectileTrajectory( + inline bool CalculateProjectileTrajectory( const NiPoint3& a_projectilePos, const NiPoint3& a_projectileVelocity, float a_projectileGravity, @@ -56,12 +56,12 @@ namespace RE return func(a_projectilePos, a_projectileVelocity, a_projectileGravity, a_targetPos, a_heading, a_trajectoryPos); } - [[deprecated]] static REL::Relocation fWorldGravity{ REL::ID(1378547) }; + static REL::Relocation fWorldGravity{ REL::ID(1378547) }; }; namespace AnimationSystemUtils { - [[deprecated]] inline bool WillEventChangeState(const TESObjectREFR& a_ref, const BSFixedString& a_evn) + inline bool WillEventChangeState(const TESObjectREFR& a_ref, const BSFixedString& a_evn) { using func_t = decltype(&WillEventChangeState); REL::Relocation func{ REL::ID(35074) }; @@ -82,21 +82,21 @@ namespace RE }; static_assert(sizeof(ActiveSyncInfo) == 0x50); - [[deprecated]] inline bool GetActiveSyncInfo(const IAnimationGraphManagerHolder* a_graphHolder, ActiveSyncInfo& a_infoOut) + inline bool GetActiveSyncInfo(const IAnimationGraphManagerHolder* a_graphHolder, ActiveSyncInfo& a_infoOut) { using func_t = decltype(&GetActiveSyncInfo); REL::Relocation func{ REL::ID(1349978) }; return func(a_graphHolder, a_infoOut); } - [[deprecated]] inline bool InitializeActorInstant(Actor& a_actor, bool a_update3D) + inline bool InitializeActorInstant(Actor& a_actor, bool a_update3D) { using func_t = decltype(&InitializeActorInstant); REL::Relocation func{ REL::ID(672857) }; return func(a_actor, a_update3D); } - [[deprecated]] inline bool IsActiveGraphInTransition(const TESObjectREFR* a_refr) + inline bool IsActiveGraphInTransition(const TESObjectREFR* a_refr) { using func_t = decltype(&IsActiveGraphInTransition); REL::Relocation func{ REL::ID(839650) }; @@ -106,7 +106,7 @@ namespace RE namespace PerkUtilities { - [[deprecated]] inline void RemoveGrenadeTrajectory() + inline void RemoveGrenadeTrajectory() { using func_t = decltype(&RemoveGrenadeTrajectory); REL::Relocation func{ REL::ID(672186) }; diff --git a/CommonLibF4/include/RE/Bethesda/VATS.h b/CommonLibF4/include/RE/Bethesda/VATS.h index 6f865069..744f7345 100644 --- a/CommonLibF4/include/RE/Bethesda/VATS.h +++ b/CommonLibF4/include/RE/Bethesda/VATS.h @@ -46,7 +46,7 @@ namespace RE virtual BSEventNotifyControl ProcessEvent(const TESHitEvent& a_event, BSTEventSource* a_source) override; // 03 virtual BSEventNotifyControl ProcessEvent(const TESDeathEvent& a_event, BSTEventSource* a_source) override; // 04 - [[deprecated]] [[nodiscard]] static VATS* GetSingleton() + [[nodiscard]] static VATS* GetSingleton() { REL::Relocation singleton{ REL::ID(570121) }; return *singleton; diff --git a/CommonLibF4/include/RE/Bethesda/Workshop.h b/CommonLibF4/include/RE/Bethesda/Workshop.h index c6b8e944..68f7c751 100644 --- a/CommonLibF4/include/RE/Bethesda/Workshop.h +++ b/CommonLibF4/include/RE/Bethesda/Workshop.h @@ -112,7 +112,7 @@ namespace RE class alignas(0x10) PlacementItemData { public: - [[deprecated]] void Set(TESObjectREFR& a_refr) + void Set(TESObjectREFR& a_refr) { using func_t = decltype(&PlacementItemData::Set); REL::Relocation func{ REL::ID(1460935) }; @@ -165,7 +165,7 @@ namespace RE children.clear(); } - [[deprecated]] bool FindAndSetSelectedNode(std::uint16_t a_row, std::uint32_t a_crc, std::uint16_t& a_outRow) + bool FindAndSetSelectedNode(std::uint16_t a_row, std::uint32_t a_crc, std::uint16_t& a_outRow) { using func_t = decltype(&WorkshopMenuNode::FindAndSetSelectedNode); REL::Relocation func{ REL::ID(1309368) }; @@ -197,155 +197,155 @@ namespace RE }; static_assert(sizeof(WorkshopModeEvent) == 0x10); - [[deprecated]] [[nodiscard]] inline TESObjectREFR* FindNearestValidWorkshop(const TESObjectREFR& a_refr) + [[nodiscard]] inline TESObjectREFR* FindNearestValidWorkshop(const TESObjectREFR& a_refr) { using func_t = decltype(&Workshop::FindNearestValidWorkshop); REL::Relocation func{ REL::ID(905705) }; return func(a_refr); } - [[deprecated]] [[nodiscard]] inline bool FreeBuild() + [[nodiscard]] inline bool FreeBuild() { using func_t = decltype(&Workshop::FreeBuild); REL::Relocation func{ REL::ID(1583365) }; return func(); } - [[deprecated]] [[nodiscard]] inline WorkshopMenuNode* GetSelectedWorkshopMenuNode(std::uint32_t a_row, std::uint32_t& a_column) + [[nodiscard]] inline WorkshopMenuNode* GetSelectedWorkshopMenuNode(std::uint32_t a_row, std::uint32_t& a_column) { using func_t = decltype(&Workshop::GetSelectedWorkshopMenuNode); REL::Relocation func{ REL::ID(763948) }; return func(a_row, a_column); } - [[deprecated]] inline void InitializePlacementReference(const ContextData& a_context, TESBoundObject& a_object) + inline void InitializePlacementReference(const ContextData& a_context, TESBoundObject& a_object) { using func_t = decltype(&Workshop::InitializePlacementReference); REL::Relocation func{ REL::ID(1577199) }; return func(a_context, a_object); } - [[deprecated]] [[nodiscard]] inline bool IsLocationWithinBuildableArea(const TESObjectREFR& a_workshop, const NiPoint3& a_location) + [[nodiscard]] inline bool IsLocationWithinBuildableArea(const TESObjectREFR& a_workshop, const NiPoint3& a_location) { using func_t = decltype(&Workshop::IsLocationWithinBuildableArea); REL::Relocation func{ REL::ID(990965) }; return func(a_workshop, a_location); } - [[deprecated]] inline bool PlaceCurrentReference(const ContextData& a_context) + inline bool PlaceCurrentReference(const ContextData& a_context) { using func_t = decltype(&Workshop::PlaceCurrentReference); REL::Relocation func{ REL::ID(1058211) }; return func(a_context); } - [[deprecated]] inline void RegisterForItemDestroyed(BSTEventSink* a_sink) + inline void RegisterForItemDestroyed(BSTEventSink* a_sink) { using func_t = decltype(&Workshop::RegisterForItemDestroyed); REL::Relocation func{ REL::ID(1367004) }; return func(a_sink); } - [[deprecated]] inline void RegisterForItemMoved(BSTEventSink* a_sink) + inline void RegisterForItemMoved(BSTEventSink* a_sink) { using func_t = decltype(&Workshop::RegisterForItemMoved); REL::Relocation func{ REL::ID(835323) }; return func(a_sink); } - [[deprecated]] inline void RegisterForItemPlaced(BSTEventSink* a_sink) + inline void RegisterForItemPlaced(BSTEventSink* a_sink) { using func_t = decltype(&Workshop::RegisterForItemPlaced); REL::Relocation func{ REL::ID(849008) }; return func(a_sink); } - [[deprecated]] inline void RegisterForWorkshopModeEvent(BSTEventSink* a_sink) + inline void RegisterForWorkshopModeEvent(BSTEventSink* a_sink) { using func_t = decltype(&Workshop::RegisterForWorkshopModeEvent); REL::Relocation func{ REL::ID(275798) }; return func(a_sink); } - [[deprecated]] inline void RequestExitWorkshop(bool a_allowReEntry) + inline void RequestExitWorkshop(bool a_allowReEntry) { using func_t = decltype(&Workshop::RequestExitWorkshop); REL::Relocation func{ REL::ID(209891) }; return func(a_allowReEntry); } - [[deprecated]] inline void ScrapReference(const ContextData& a_context, BSPointerHandleSmartPointer>& a_scrapRef, BSTArray>* a_rewards) + inline void ScrapReference(const ContextData& a_context, BSPointerHandleSmartPointer>& a_scrapRef, BSTArray>* a_rewards) { using func_t = decltype(&Workshop::ScrapReference); REL::Relocation func{ REL::ID(636327) }; return func(a_context, a_scrapRef, a_rewards); } - [[deprecated]] inline void SetSelectedEditItem(ObjectRefHandle a_refr) + inline void SetSelectedEditItem(ObjectRefHandle a_refr) { using func_t = decltype(&Workshop::SetSelectedEditItem); REL::Relocation func{ REL::ID(2562) }; return func(a_refr); } - [[deprecated]] inline void StartWorkshop(TESObjectREFR* a_workshopRef) + inline void StartWorkshop(TESObjectREFR* a_workshopRef) { using func_t = decltype(&Workshop::StartWorkshop); REL::Relocation func{ REL::ID(171771) }; return func(a_workshopRef); } - [[deprecated]] inline void ToggleEditMode(const ContextData& a_context) + inline void ToggleEditMode(const ContextData& a_context) { using func_t = decltype(&Workshop::ToggleEditMode); REL::Relocation func{ REL::ID(1243386) }; return func(a_context); } - [[deprecated]] inline void UnregisterForItemDestroyed(BSTEventSink* a_sink) + inline void UnregisterForItemDestroyed(BSTEventSink* a_sink) { using func_t = decltype(&Workshop::UnregisterForItemDestroyed); REL::Relocation func{ REL::ID(1101379) }; return func(a_sink); } - [[deprecated]] inline void UnregisterForItemMoved(BSTEventSink* a_sink) + inline void UnregisterForItemMoved(BSTEventSink* a_sink) { using func_t = decltype(&Workshop::UnregisterForItemMoved); REL::Relocation func{ REL::ID(569432) }; return func(a_sink); } - [[deprecated]] inline void UnregisterForItemPlaced(BSTEventSink* a_sink) + inline void UnregisterForItemPlaced(BSTEventSink* a_sink) { using func_t = decltype(&Workshop::UnregisterForItemPlaced); REL::Relocation func{ REL::ID(583255) }; return func(a_sink); } - [[deprecated]] inline void UnregisterForWorkshopModeEvent(BSTEventSink* a_sink) + inline void UnregisterForWorkshopModeEvent(BSTEventSink* a_sink) { using func_t = decltype(&Workshop::UnregisterForWorkshopModeEvent); REL::Relocation func{ REL::ID(9236) }; return func(a_sink); } - [[deprecated]] inline void UpdateActiveEdit(const ContextData& a_context, bool a_multiselect = false) + inline void UpdateActiveEdit(const ContextData& a_context, bool a_multiselect = false) { using func_t = decltype(&Workshop::UpdateActiveEdit); REL::Relocation func{ REL::ID(69261) }; return func(a_context, a_multiselect); } - [[deprecated]] [[nodiscard]] inline bool WorkshopCanShowRecipe(BGSConstructibleObject* a_recipe, BGSKeyword* a_filter) + [[nodiscard]] inline bool WorkshopCanShowRecipe(BGSConstructibleObject* a_recipe, BGSKeyword* a_filter) { using func_t = decltype(&Workshop::WorkshopCanShowRecipe); REL::Relocation func{ REL::ID(239190) }; return func(a_recipe, a_filter); } - [[deprecated]] inline REL::Relocation CurrentPlacementItemData{ REL::ID(1279207) }; - [[deprecated]] inline REL::Relocation CurrentRow{ REL::ID(833923) }; - [[deprecated]] inline REL::Relocation PlacementItem{ REL::ID(526727) }; + inline REL::Relocation CurrentPlacementItemData{ REL::ID(1279207) }; + inline REL::Relocation CurrentRow{ REL::ID(833923) }; + inline REL::Relocation PlacementItem{ REL::ID(526727) }; } } diff --git a/CommonLibF4/include/RE/Bethesda/bhkCharacterController.h b/CommonLibF4/include/RE/Bethesda/bhkCharacterController.h index 3e8e655b..4e0f3ec5 100644 --- a/CommonLibF4/include/RE/Bethesda/bhkCharacterController.h +++ b/CommonLibF4/include/RE/Bethesda/bhkCharacterController.h @@ -114,42 +114,42 @@ namespace RE virtual void RemoveFromWorld(); // 2F virtual bool SetCollisionFilterInfo(CFilter a_filterInfo); // 30 - [[deprecated]] void CopyMembers(bhkNPCollisionObject* from, NiCloningProcess& cp) + void CopyMembers(bhkNPCollisionObject* from, NiCloningProcess& cp) { using func_t = decltype(&bhkNPCollisionObject::CopyMembers); REL::Relocation func{ REL::ID(1558409) }; func(this, from, cp); } - [[deprecated]] static bhkNPCollisionObject* Getbhk(bhkWorld* world, hknpBodyId& bodyId) + static bhkNPCollisionObject* Getbhk(bhkWorld* world, hknpBodyId& bodyId) { using func_t = decltype(&bhkNPCollisionObject::Getbhk); REL::Relocation func{ REL::ID(730034) }; return func(world, bodyId); } - [[deprecated]] hknpShape* GetShape() + hknpShape* GetShape() { using func_t = decltype(&bhkNPCollisionObject::GetShape); REL::Relocation func{ REL::ID(315427) }; return func(this); } - [[deprecated]] bool GetTransform(hkTransformf& transform) + bool GetTransform(hkTransformf& transform) { using func_t = decltype(&bhkNPCollisionObject::GetTransform); REL::Relocation func{ REL::ID(1508189) }; return func(this, transform); } - [[deprecated]] void SetMotionType(hknpMotionPropertiesId::Preset type) + void SetMotionType(hknpMotionPropertiesId::Preset type) { using func_t = decltype(&bhkNPCollisionObject::SetMotionType); REL::Relocation func{ REL::ID(200912) }; return func(this, type); } - [[deprecated]] bool SetTransform(hkTransformf& transform) + bool SetTransform(hkTransformf& transform) { using func_t = decltype(&bhkNPCollisionObject::SetTransform); REL::Relocation func{ REL::ID(178085) }; diff --git a/CommonLibF4/include/RE/Bethesda/bhkPickData.h b/CommonLibF4/include/RE/Bethesda/bhkPickData.h index e0bac113..c098b984 100644 --- a/CommonLibF4/include/RE/Bethesda/bhkPickData.h +++ b/CommonLibF4/include/RE/Bethesda/bhkPickData.h @@ -11,7 +11,7 @@ namespace RE struct bhkPickData { public: - [[deprecated]] bhkPickData() + bhkPickData() { typedef bhkPickData* func_t(bhkPickData*); REL::Relocation func{ REL::ID(526783) }; @@ -20,63 +20,63 @@ namespace RE F4_HEAP_REDEFINE_NEW(bhkPickData); - [[deprecated]] void SetStartEnd(const NiPoint3& start, const NiPoint3& end) + void SetStartEnd(const NiPoint3& start, const NiPoint3& end) { using func_t = decltype(&bhkPickData::SetStartEnd); REL::Relocation func{ REL::ID(747470) }; return func(this, start, end); } - [[deprecated]] void Reset() + void Reset() { using func_t = decltype(&bhkPickData::Reset); REL::Relocation func{ REL::ID(438299) }; return func(this); } - [[deprecated]] bool HasHit() + bool HasHit() { using func_t = decltype(&bhkPickData::HasHit); REL::Relocation func{ REL::ID(1181584) }; return func(this); } - [[deprecated]] float GetHitFraction() + float GetHitFraction() { using func_t = decltype(&bhkPickData::GetHitFraction); REL::Relocation func{ REL::ID(476687) }; return func(this); } - [[deprecated]] int32_t GetAllCollectorRayHitSize() + int32_t GetAllCollectorRayHitSize() { using func_t = decltype(&bhkPickData::GetAllCollectorRayHitSize); REL::Relocation func{ REL::ID(1288513) }; return func(this); } - [[deprecated]] bool GetAllCollectorRayHitAt(uint32_t i, hknpCollisionResult& res) + bool GetAllCollectorRayHitAt(uint32_t i, hknpCollisionResult& res) { using func_t = decltype(&bhkPickData::GetAllCollectorRayHitAt); REL::Relocation func{ REL::ID(583997) }; return func(this, i, res); } - [[deprecated]] void SortAllCollectorHits() + void SortAllCollectorHits() { using func_t = decltype(&bhkPickData::SortAllCollectorHits); REL::Relocation func{ REL::ID(1274842) }; return func(this); } - [[deprecated]] NiAVObject* GetNiAVObject() + NiAVObject* GetNiAVObject() { using func_t = decltype(&bhkPickData::GetNiAVObject); REL::Relocation func{ REL::ID(863406) }; return func(this); } - [[deprecated]] hknpBody* GetBody() + hknpBody* GetBody() { using func_t = decltype(&bhkPickData::GetBody); REL::Relocation func{ REL::ID(1223055) }; diff --git a/CommonLibF4/include/RE/Havok/hkLifoAllocator.h b/CommonLibF4/include/RE/Havok/hkLifoAllocator.h index 69d3805d..e3df6e41 100644 --- a/CommonLibF4/include/RE/Havok/hkLifoAllocator.h +++ b/CommonLibF4/include/RE/Havok/hkLifoAllocator.h @@ -16,35 +16,35 @@ namespace RE hkLifoAllocator() { stl::emplace_vtable(this); } // override (hkMemoryAllocator) - [[deprecated]] void* BlockAlloc(std::int32_t a_numBytesIn) override // 01 + void* BlockAlloc(std::int32_t a_numBytesIn) override // 01 { using func_t = decltype(&hkLifoAllocator::BlockAlloc); REL::Relocation func{ REL::ID(605837) }; return func(this, a_numBytesIn); } - [[deprecated]] void BlockFree(void* a_ptr, std::int32_t a_numBytesIn) override // 02 + void BlockFree(void* a_ptr, std::int32_t a_numBytesIn) override // 02 { using func_t = decltype(&hkLifoAllocator::BlockFree); REL::Relocation func{ REL::ID(778687) }; return func(this, a_ptr, a_numBytesIn); } - [[deprecated]] void* BufAlloc(std::int32_t& a_reqNumBytesInOut) override // 03 + void* BufAlloc(std::int32_t& a_reqNumBytesInOut) override // 03 { using func_t = decltype(&hkLifoAllocator::BufAlloc); REL::Relocation func{ REL::ID(951267) }; return func(this, a_reqNumBytesInOut); } - [[deprecated]] void BufFree(void* a_ptr, std::int32_t a_numBytes) override // 04 + void BufFree(void* a_ptr, std::int32_t a_numBytes) override // 04 { using func_t = decltype(&hkLifoAllocator::BufFree); REL::Relocation func{ REL::ID(1123850) }; return func(this, a_ptr, a_numBytes); } - [[deprecated]] void* BufRealloc(void* a_old, std::int32_t a_oldNumBytes, std::int32_t& a_reqNumBytesInOut) override // 05 + void* BufRealloc(void* a_old, std::int32_t a_oldNumBytes, std::int32_t& a_reqNumBytesInOut) override // 05 { using func_t = decltype(&hkLifoAllocator::BufRealloc); REL::Relocation func{ REL::ID(1296646) }; @@ -57,7 +57,7 @@ namespace RE [[maybe_unused]] const void* a_obj, std::int32_t a_numBytes) const override { return a_numBytes; } // 09 - [[deprecated]] void Init( + void Init( hkMemoryAllocator* a_slabAllocator, hkMemoryAllocator* a_largeAllocator, hkMemoryAllocator* a_internalAllocator) @@ -67,7 +67,7 @@ namespace RE return func(this, a_slabAllocator, a_largeAllocator, a_internalAllocator); } - [[deprecated]] void Quit(hkMemoryAllocator** a_allocators) + void Quit(hkMemoryAllocator** a_allocators) { using func_t = decltype(&hkLifoAllocator::Quit); REL::Relocation func{ REL::ID(1058127) }; diff --git a/CommonLibF4/include/RE/Havok/hkMemoryRouter.h b/CommonLibF4/include/RE/Havok/hkMemoryRouter.h index 86d349fb..67842c56 100644 --- a/CommonLibF4/include/RE/Havok/hkMemoryRouter.h +++ b/CommonLibF4/include/RE/Havok/hkMemoryRouter.h @@ -17,13 +17,13 @@ namespace RE return *GetInstancePtr(); } - [[deprecated]] [[nodiscard]] static hkMemoryRouter* GetInstancePtr() + [[nodiscard]] static hkMemoryRouter* GetInstancePtr() { REL::Relocation slot{ REL::ID(878080) }; return static_cast(WinAPI::TlsGetValue(*slot)); } - [[deprecated]] static void ReplaceInstance(hkMemoryRouter* a_router) + static void ReplaceInstance(hkMemoryRouter* a_router) { REL::Relocation slot{ REL::ID(878080) }; WinAPI::TlsSetValue(*slot, a_router); diff --git a/CommonLibF4/include/RE/Havok/hknpClosestHitCollector.h b/CommonLibF4/include/RE/Havok/hknpClosestHitCollector.h index 58bebc32..c64f5399 100644 --- a/CommonLibF4/include/RE/Havok/hknpClosestHitCollector.h +++ b/CommonLibF4/include/RE/Havok/hknpClosestHitCollector.h @@ -13,7 +13,7 @@ namespace RE static constexpr auto RTTI{ RTTI::hknpClosestHitCollector }; static constexpr auto VTABLE{ VTABLE::hknpClosestHitCollector }; - [[deprecated]] hknpClosestHitCollector() + hknpClosestHitCollector() { typedef hknpClosestHitCollector* func_t(hknpClosestHitCollector*); REL::Relocation func{ REL::ID(951692), 0x10 }; diff --git a/CommonLibF4/include/RE/NetImmerse/NiAlphaProperty.h b/CommonLibF4/include/RE/NetImmerse/NiAlphaProperty.h index b9b9d265..dffb75c2 100644 --- a/CommonLibF4/include/RE/NetImmerse/NiAlphaProperty.h +++ b/CommonLibF4/include/RE/NetImmerse/NiAlphaProperty.h @@ -57,35 +57,35 @@ namespace RE F4_HEAP_REDEFINE_ALIGNED_NEW(NiAlphaProperty); - [[deprecated]] void SetDestBlendMode(AlphaFunction f) + void SetDestBlendMode(AlphaFunction f) { using func_t = decltype(&NiAlphaProperty::SetDestBlendMode); REL::Relocation func{ REL::ID(725249) }; return func(this, f); } - [[deprecated]] void SetSrcBlendMode(AlphaFunction f) + void SetSrcBlendMode(AlphaFunction f) { using func_t = decltype(&NiAlphaProperty::SetSrcBlendMode); REL::Relocation func{ REL::ID(976961) }; return func(this, f); } - [[deprecated]] void SetTestMode(TestFunction f) + void SetTestMode(TestFunction f) { using func_t = decltype(&NiAlphaProperty::SetTestMode); REL::Relocation func{ REL::ID(976961), 0x20 }; return func(this, f); } - [[deprecated]] void SetAlphaBlending(bool b) + void SetAlphaBlending(bool b) { using func_t = decltype(&NiAlphaProperty::SetAlphaBlending); REL::Relocation func{ REL::ID(645586) }; return func(this, b); } - [[deprecated]] void SetAlphaTesting(bool b) + void SetAlphaTesting(bool b) { using func_t = decltype(&NiAlphaProperty::SetAlphaTesting); REL::Relocation func{ REL::ID(645586), 0x20 }; diff --git a/CommonLibF4/include/RE/NetImmerse/NiController.h b/CommonLibF4/include/RE/NetImmerse/NiController.h index 417cd5ed..99a58226 100644 --- a/CommonLibF4/include/RE/NetImmerse/NiController.h +++ b/CommonLibF4/include/RE/NetImmerse/NiController.h @@ -22,14 +22,14 @@ namespace RE static constexpr auto VTABLE{ VTABLE::NiControllerManager }; static constexpr auto Ni_RTTI{ Ni_RTTI::NiControllerManager }; - [[deprecated]] [[nodiscard]] static NiControllerManager* GetNiControllerManager(const NiObjectNET* a_object) + [[nodiscard]] static NiControllerManager* GetNiControllerManager(const NiObjectNET* a_object) { using func_t = decltype(&NiControllerManager::GetNiControllerManager); REL::Relocation func{ REL::ID(1013515) }; return func(a_object); } - [[deprecated]] [[nodiscard]] NiControllerSequence* GetSequenceByName(const BSFixedString& a_name) + [[nodiscard]] NiControllerSequence* GetSequenceByName(const BSFixedString& a_name) { using func_t = decltype(&NiControllerManager::GetSequenceByName); REL::Relocation func{ REL::ID(846648) }; @@ -74,7 +74,7 @@ namespace RE class IDTag; class InterpArrayItem; - [[deprecated]] bool Activate(std::uint8_t a_priority, bool a_startOver, float a_weight, float a_easeInTime, NiControllerSequence* a_timeSyncSeq, bool a_transition) + bool Activate(std::uint8_t a_priority, bool a_startOver, float a_weight, float a_easeInTime, NiControllerSequence* a_timeSyncSeq, bool a_transition) { using func_t = decltype(&NiControllerSequence::Activate); REL::Relocation func{ REL::ID(829033) }; diff --git a/CommonLibF4/include/RE/NetImmerse/NiNode.h b/CommonLibF4/include/RE/NetImmerse/NiNode.h index 8fd73632..74ed08eb 100644 --- a/CommonLibF4/include/RE/NetImmerse/NiNode.h +++ b/CommonLibF4/include/RE/NetImmerse/NiNode.h @@ -20,7 +20,7 @@ namespace RE NiNode(0) {} - [[deprecated]] explicit NiNode(std::uint32_t a_numChildren) : + explicit NiNode(std::uint32_t a_numChildren) : children(a_numChildren) { stl::emplace_vtable(this); diff --git a/CommonLibF4/include/RE/NetImmerse/NiRefObject.h b/CommonLibF4/include/RE/NetImmerse/NiRefObject.h index aff67994..54048230 100644 --- a/CommonLibF4/include/RE/NetImmerse/NiRefObject.h +++ b/CommonLibF4/include/RE/NetImmerse/NiRefObject.h @@ -10,7 +10,7 @@ namespace RE static constexpr auto RTTI{ RTTI::NiRefObject }; static constexpr auto VTABLE{ VTABLE::NiRefObject }; - [[deprecated]] NiRefObject() + NiRefObject() { stl::emplace_vtable(this); REL::Relocation objects{ REL::ID(1161724) }; @@ -18,7 +18,7 @@ namespace RE ++myObjects; } - [[deprecated]] virtual ~NiRefObject() // 00 + virtual ~NiRefObject() // 00 { REL::Relocation objects{ REL::ID(1161724) }; stl::atomic_ref myObjects{ *objects }; diff --git a/CommonLibF4/include/RE/NetImmerse/NiTCollection.h b/CommonLibF4/include/RE/NetImmerse/NiTCollection.h index cd9330ce..f478a70f 100644 --- a/CommonLibF4/include/RE/NetImmerse/NiTCollection.h +++ b/CommonLibF4/include/RE/NetImmerse/NiTCollection.h @@ -2,14 +2,14 @@ namespace RE { - [[deprecated]] inline void* NiMalloc(std::size_t a_num) + inline void* NiMalloc(std::size_t a_num) { using func_t = decltype(&NiMalloc); REL::Relocation func{ REL::ID(974443) }; return func(a_num); } - [[deprecated]] inline void NiFree(void* a_ptr) + inline void NiFree(void* a_ptr) { using func_t = decltype(&NiFree); REL::Relocation func{ REL::ID(242362) }; diff --git a/CommonLibF4/include/RE/NetImmerse/NiTexture.h b/CommonLibF4/include/RE/NetImmerse/NiTexture.h index f023922d..9a06fd55 100644 --- a/CommonLibF4/include/RE/NetImmerse/NiTexture.h +++ b/CommonLibF4/include/RE/NetImmerse/NiTexture.h @@ -33,7 +33,7 @@ namespace RE // add virtual BSTextureArray::Texture* IsBSTextureArray() { return nullptr; } // 28 - [[deprecated]] static void SetAllowDegrade(bool a_allow) + static void SetAllowDegrade(bool a_allow) { using func_t = decltype(&NiTexture::SetAllowDegrade); REL::Relocation func{ REL::ID(948181) }; diff --git a/CommonLibF4/include/RE/RTTI.h b/CommonLibF4/include/RE/RTTI.h index 82c704d6..4f0ae77b 100644 --- a/CommonLibF4/include/RE/RTTI.h +++ b/CommonLibF4/include/RE/RTTI.h @@ -110,7 +110,7 @@ namespace RE static_assert(sizeof(CompleteObjectLocator) == 0x14); } - [[deprecated]] inline void* RTDynamicCast(void* a_inptr, std::int32_t a_vfDelta, void* a_srcType, void* a_targetType, std::int32_t a_isReference) + inline void* RTDynamicCast(void* a_inptr, std::int32_t a_vfDelta, void* a_srcType, void* a_targetType, std::int32_t a_isReference) { using func_t = decltype(&RTDynamicCast); REL::Relocation func{ REL::ID(84112) }; diff --git a/CommonLibF4/include/RE/Scaleform/GFx/GFx_ASString.h b/CommonLibF4/include/RE/Scaleform/GFx/GFx_ASString.h index 017a71b9..43bc0c1c 100644 --- a/CommonLibF4/include/RE/Scaleform/GFx/GFx_ASString.h +++ b/CommonLibF4/include/RE/Scaleform/GFx/GFx_ASString.h @@ -10,7 +10,7 @@ namespace RE::Scaleform::GFx public RefCountBase // 00 { public: - [[deprecated]] [[nodiscard]] ASStringNode* CreateStringNode(const char* a_str) + [[nodiscard]] ASStringNode* CreateStringNode(const char* a_str) { using func_t = decltype(&ASStringManager::CreateStringNode); REL::Relocation func{ REL::ID(419974) }; diff --git a/CommonLibF4/include/RE/Scaleform/GFx/GFx_Loader.h b/CommonLibF4/include/RE/Scaleform/GFx/GFx_Loader.h index 64bb441d..a6411755 100644 --- a/CommonLibF4/include/RE/Scaleform/GFx/GFx_Loader.h +++ b/CommonLibF4/include/RE/Scaleform/GFx/GFx_Loader.h @@ -175,7 +175,7 @@ namespace RE::Scaleform::GFx // add virtual bool CheckTagLoader(std::int32_t a_tagType) const; // 04 - [[deprecated]] [[nodiscard]] MovieDef* CreateMovie(const char* a_filename, LoadConstants a_loadConstants = LoadConstants::kAll, std::size_t a_memoryArena = 0) + [[nodiscard]] MovieDef* CreateMovie(const char* a_filename, LoadConstants a_loadConstants = LoadConstants::kAll, std::size_t a_memoryArena = 0) { using func_t = decltype(&Loader::CreateMovie); REL::Relocation func{ REL::ID(912291) }; diff --git a/CommonLibF4/include/RE/Scaleform/GFx/GFx_Player.h b/CommonLibF4/include/RE/Scaleform/GFx/GFx_Player.h index db0a7700..1168c00d 100644 --- a/CommonLibF4/include/RE/Scaleform/GFx/GFx_Player.h +++ b/CommonLibF4/include/RE/Scaleform/GFx/GFx_Player.h @@ -309,70 +309,70 @@ namespace RE::Scaleform::GFx virtual ~ObjectInterface() = default; // 00 - [[deprecated]] void ObjectAddRef(Value* a_val, void* a_obj) + void ObjectAddRef(Value* a_val, void* a_obj) { using func_t = decltype(&ObjectInterface::ObjectRelease); REL::Relocation func{ REL::ID(244786) }; return func(this, a_val, a_obj); } - [[deprecated]] void ObjectRelease(Value* a_val, void* a_obj) + void ObjectRelease(Value* a_val, void* a_obj) { using func_t = decltype(&ObjectInterface::ObjectRelease); REL::Relocation func{ REL::ID(856221) }; return func(this, a_val, a_obj); } - [[deprecated]] bool HasMember(void* a_data, const char* a_name, bool a_isdobj) const + bool HasMember(void* a_data, const char* a_name, bool a_isdobj) const { using func_t = decltype(&ObjectInterface::HasMember); REL::Relocation func{ REL::ID(788691) }; return func(this, a_data, a_name, a_isdobj); } - [[deprecated]] std::uint32_t GetArraySize(void* a_data) const + std::uint32_t GetArraySize(void* a_data) const { using func_t = decltype(&ObjectInterface::GetArraySize); REL::Relocation func{ REL::ID(254218) }; return func(this, a_data); } - [[deprecated]] bool GetMember(void* a_data, const char* a_name, Value* a_val, bool a_isdobj) const + bool GetMember(void* a_data, const char* a_name, Value* a_val, bool a_isdobj) const { using func_t = decltype(&ObjectInterface::GetMember); REL::Relocation func{ REL::ID(1517430) }; return func(this, a_data, a_name, a_val, a_isdobj); } - [[deprecated]] bool SetMember(void* a_data, const char* a_name, const Value& a_value, bool a_isdobj) + bool SetMember(void* a_data, const char* a_name, const Value& a_value, bool a_isdobj) { using func_t = decltype(&ObjectInterface::SetMember); REL::Relocation func{ REL::ID(1360149) }; return func(this, a_data, a_name, a_value, a_isdobj); } - [[deprecated]] bool Invoke(void* a_data, Value* a_result, const char* a_name, const Value* a_args, std::size_t a_numArgs, bool a_isdobj) + bool Invoke(void* a_data, Value* a_result, const char* a_name, const Value* a_args, std::size_t a_numArgs, bool a_isdobj) { using func_t = decltype(&ObjectInterface::Invoke); REL::Relocation func{ REL::ID(655847) }; return func(this, a_data, a_result, a_name, a_args, a_numArgs, a_isdobj); } - [[deprecated]] bool PushBack(void* a_data, const Value& a_value) + bool PushBack(void* a_data, const Value& a_value) { using func_t = decltype(&ObjectInterface::PushBack); REL::Relocation func{ REL::ID(1330475) }; return func(this, a_data, a_value); } - [[deprecated]] bool RemoveElements(void* a_data, std::uint32_t a_idx, std::int32_t a_count) + bool RemoveElements(void* a_data, std::uint32_t a_idx, std::int32_t a_count) { using func_t = decltype(&ObjectInterface::RemoveElements); REL::Relocation func{ REL::ID(1286586) }; return func(this, a_data, a_idx, a_count); } - [[deprecated]] void VisitMembers(void* a_data, ObjVisitor* a_visitor, bool a_isDObj) const + void VisitMembers(void* a_data, ObjVisitor* a_visitor, bool a_isDObj) const { using func_t = decltype(&ObjectInterface::VisitMembers); REL::Relocation func{ REL::ID(1276961) }; @@ -953,7 +953,7 @@ namespace RE::Scaleform::GFx bool Invoke(const char* a_methodName, Value* a_result, const Value* a_args, std::uint32_t a_numArgs); bool InvokeArgs(const char* a_methodName, Value* a_result, const char* a_argFmt, std::va_list a_args); - [[deprecated]] void Release() + void Release() { using func_t = decltype(&Movie::Release); REL::Relocation func{ REL::ID(404814) }; diff --git a/CommonLibF4/include/RE/Scaleform/Kernel/SF_Memory.h b/CommonLibF4/include/RE/Scaleform/Kernel/SF_Memory.h index 155b19ad..c6e9d1ac 100644 --- a/CommonLibF4/include/RE/Scaleform/Kernel/SF_Memory.h +++ b/CommonLibF4/include/RE/Scaleform/Kernel/SF_Memory.h @@ -9,13 +9,13 @@ namespace RE::Scaleform class Memory { public: - [[deprecated]] static void SetGlobalHeap(MemoryHeap* a_heap) + static void SetGlobalHeap(MemoryHeap* a_heap) { REL::Relocation heap{ REL::ID(939898) }; *heap = a_heap; } - [[deprecated]] [[nodiscard]] static MemoryHeap* GetGlobalHeap() + [[nodiscard]] static MemoryHeap* GetGlobalHeap() { REL::Relocation heap{ REL::ID(939898) }; return *heap; diff --git a/CommonLibF4/include/RE/Scaleform/Kernel/SF_SysAlloc.h b/CommonLibF4/include/RE/Scaleform/Kernel/SF_SysAlloc.h index 4ed829b9..4f05ce84 100644 --- a/CommonLibF4/include/RE/Scaleform/Kernel/SF_SysAlloc.h +++ b/CommonLibF4/include/RE/Scaleform/Kernel/SF_SysAlloc.h @@ -34,14 +34,14 @@ namespace RE::Scaleform static constexpr auto VTABLE{ VTABLE::Scaleform__SysAlloc }; // override (SysAllocBase) - [[deprecated]] bool InitHeapEngine(const void* a_heapDesc) override // 01 + bool InitHeapEngine(const void* a_heapDesc) override // 01 { using func_t = decltype(&SysAlloc::InitHeapEngine); REL::Relocation func{ REL::ID(1047970) }; return func(this, a_heapDesc); } - [[deprecated]] bool ShutdownHeapEngine() override // 02 + bool ShutdownHeapEngine() override // 02 { using func_t = decltype(&SysAlloc::ShutdownHeapEngine); REL::Relocation func{ REL::ID(1207169) }; diff --git a/CommonLibF4/include/RE/msvc/typeinfo.h b/CommonLibF4/include/RE/msvc/typeinfo.h index ce78a021..aa659914 100644 --- a/CommonLibF4/include/RE/msvc/typeinfo.h +++ b/CommonLibF4/include/RE/msvc/typeinfo.h @@ -9,7 +9,7 @@ namespace RE::msvc public: virtual ~type_info(); // 00 - [[deprecated]] [[nodiscard]] const char* name() const noexcept + [[nodiscard]] const char* name() const noexcept { using func_t = const char* (*)(const type_info*, __type_info_node*) noexcept; REL::Relocation func{ REL::ID(1419793) }; @@ -19,7 +19,7 @@ namespace RE::msvc [[nodiscard]] const char* mangled_name() const noexcept { return _name; } private: - [[deprecated]] [[nodiscard]] static __type_info_node& get_root_node() noexcept + [[nodiscard]] static __type_info_node& get_root_node() noexcept { REL::Relocation<__type_info_node*> root{ REL::ID(161235) }; return *root; diff --git a/CommonLibF4/src/RE/Bethesda/BSResource.cpp b/CommonLibF4/src/RE/Bethesda/BSResource.cpp index 3daa9abd..bf6cd29e 100644 --- a/CommonLibF4/src/RE/Bethesda/BSResource.cpp +++ b/CommonLibF4/src/RE/Bethesda/BSResource.cpp @@ -4,11 +4,11 @@ namespace RE { namespace BSResource { - [[deprecated]] ErrorCode GetOrCreateStream(const char* a_fileName, BSTSmartPointer& a_result, bool a_writable, Location* a_optionalStart) + ErrorCode GetOrCreateStream(const char* a_fileName, BSTSmartPointer& a_result, bool a_writable, Location* a_optionalStart) { using func_t = decltype(&GetOrCreateStream); REL::Relocation func{ REL::ID(1143155) }; return func(a_fileName, a_result, a_writable, a_optionalStart); } } -} +} \ No newline at end of file diff --git a/CommonLibF4/src/RE/Bethesda/BSResourceNiBinaryStream.cpp b/CommonLibF4/src/RE/Bethesda/BSResourceNiBinaryStream.cpp index 77f76f6a..d8f98210 100644 --- a/CommonLibF4/src/RE/Bethesda/BSResourceNiBinaryStream.cpp +++ b/CommonLibF4/src/RE/Bethesda/BSResourceNiBinaryStream.cpp @@ -28,50 +28,49 @@ namespace RE { dtor(); } - - [[deprecated]] void BSResourceNiBinaryStream::Seek(std::ptrdiff_t a_numBytes) + void BSResourceNiBinaryStream::Seek(std::ptrdiff_t a_numBytes) { using func_t = decltype(&BSResourceNiBinaryStream::Seek); REL::Relocation func{ REL::ID(358512) }; // rel id ?141B93B30 return func(this, a_numBytes); } - [[deprecated]] std::size_t BSResourceNiBinaryStream::DoRead(void* a_buf, std::size_t a_toRead) + std::size_t BSResourceNiBinaryStream::DoRead(void* a_buf, std::size_t a_toRead) { using func_t = decltype(&BSResourceNiBinaryStream::DoRead); REL::Relocation func{ REL::ID(424286) }; // rel id ?141B93D00 return func(this, a_buf, a_toRead); } - [[deprecated]] std::size_t BSResourceNiBinaryStream::DoWrite(const void* a_buf, std::size_t a_toWrite) + std::size_t BSResourceNiBinaryStream::DoWrite(const void* a_buf, std::size_t a_toWrite) { using func_t = decltype(&BSResourceNiBinaryStream::DoWrite); REL::Relocation func{ REL::ID(1208863) }; // rel id ?141B93D90 return func(this, a_buf, a_toWrite); } - [[deprecated]] void BSResourceNiBinaryStream::GetBufferInfo([[maybe_unused]] BufferInfo& a_buf) + void BSResourceNiBinaryStream::GetBufferInfo([[maybe_unused]] BufferInfo& a_buf) { using func_t = decltype(&BSResourceNiBinaryStream::GetBufferInfo); REL::Relocation func{ REL::ID(265501) }; // rel id ?141B93BA0 return func(this, a_buf); } - [[deprecated]] BSResourceNiBinaryStream* BSResourceNiBinaryStream::ctor(const char* a_name, bool a_writeable, BSResource::Location* a_optionalStart, bool a_fullReadHint) + BSResourceNiBinaryStream* BSResourceNiBinaryStream::ctor(const char* a_name, bool a_writeable, BSResource::Location* a_optionalStart, bool a_fullReadHint) { using func_t = decltype(&BSResourceNiBinaryStream::ctor); REL::Relocation func{ REL::ID(1198116) }; //1B93740 return func(this, a_name, a_writeable, a_optionalStart, a_fullReadHint); } - [[deprecated]] void BSResourceNiBinaryStream::dtor() + void BSResourceNiBinaryStream::dtor() { using func_t = decltype(&BSResourceNiBinaryStream::dtor); REL::Relocation func{ REL::ID(1516202) }; //1B93A00 return func(this); } - [[deprecated]] [[nodiscard]] BSResourceNiBinaryStream* BSResourceNiBinaryStream::BinaryStreamWithRescan(const char* a_fileName) + [[nodiscard]] BSResourceNiBinaryStream* BSResourceNiBinaryStream::BinaryStreamWithRescan(const char* a_fileName) { using func_t = decltype(&BSResourceNiBinaryStream::BinaryStreamWithRescan); REL::Relocation func{ REL::ID(543595) }; diff --git a/CommonLibF4/src/RE/Bethesda/BSScaleformManager.cpp b/CommonLibF4/src/RE/Bethesda/BSScaleformManager.cpp index 6f98c807..69d221a3 100644 --- a/CommonLibF4/src/RE/Bethesda/BSScaleformManager.cpp +++ b/CommonLibF4/src/RE/Bethesda/BSScaleformManager.cpp @@ -8,7 +8,7 @@ namespace RE { - [[deprecated]] bool BSScaleformManager::LoadMovieEx( + bool BSScaleformManager::LoadMovieEx( IMenu& a_menu, stl::zstring a_filePath, stl::zstring a_menuObjPath, diff --git a/CommonLibF4/src/RE/Bethesda/BSScript/ObjectTypeInfo.cpp b/CommonLibF4/src/RE/Bethesda/BSScript/ObjectTypeInfo.cpp index b704f302..252c377c 100644 --- a/CommonLibF4/src/RE/Bethesda/BSScript/ObjectTypeInfo.cpp +++ b/CommonLibF4/src/RE/Bethesda/BSScript/ObjectTypeInfo.cpp @@ -165,19 +165,16 @@ namespace RE } return static_cast(-1); } - constexpr bool ObjectTypeInfo::HasPropertyGroups() const { return propertyGroups.size(); } - auto ObjectTypeInfo::GetInitialState() const -> const BSFixedString* { BSFixedString thing = "hello"; return reinterpret_cast(GetNamedStateIter() + GetNumNamedStates()); } - - [[deprecated]] void ObjectTypeInfo::Dtor() + void ObjectTypeInfo::Dtor() { using func_t = decltype(&ObjectTypeInfo::Dtor); REL::Relocation func{ REL::ID(1047917) }; diff --git a/CommonLibF4/src/RE/Bethesda/MenuCursor.cpp b/CommonLibF4/src/RE/Bethesda/MenuCursor.cpp index a6e7cacc..05cba7ad 100644 --- a/CommonLibF4/src/RE/Bethesda/MenuCursor.cpp +++ b/CommonLibF4/src/RE/Bethesda/MenuCursor.cpp @@ -4,7 +4,7 @@ namespace RE { - [[deprecated]] void MenuCursor::ConstrainForPipboy() + void MenuCursor::ConstrainForPipboy() { REL::Relocation tlx{ REL::ID(60674) }; REL::Relocation tly{ REL::ID(719279) }; @@ -17,7 +17,7 @@ namespace RE height->GetUInt()); } - [[deprecated]] void MenuCursor::ConstrainForPipboyPA() + void MenuCursor::ConstrainForPipboyPA() { REL::Relocation tlx{ REL::ID(1110986) }; REL::Relocation tly{ REL::ID(187113) }; diff --git a/CommonLibF4/src/RE/Bethesda/TESForms.cpp b/CommonLibF4/src/RE/Bethesda/TESForms.cpp index b031e7e1..37ae1e26 100644 --- a/CommonLibF4/src/RE/Bethesda/TESForms.cpp +++ b/CommonLibF4/src/RE/Bethesda/TESForms.cpp @@ -29,7 +29,7 @@ namespace RE return false; } - [[deprecated]] TESWaterForm* TESObjectCELL::GetWaterType() const noexcept + TESWaterForm* TESObjectCELL::GetWaterType() const noexcept { const auto xWater = extraList ? extraList->GetByType() : nullptr; auto water = xWater ? xWater->water : nullptr; diff --git a/CommonLibF4/src/RE/NetImmerse/NiPoint3.cpp b/CommonLibF4/src/RE/NetImmerse/NiPoint3.cpp index 11ec324a..8ddd3e55 100644 --- a/CommonLibF4/src/RE/NetImmerse/NiPoint3.cpp +++ b/CommonLibF4/src/RE/NetImmerse/NiPoint3.cpp @@ -142,7 +142,7 @@ namespace RE return cross; } - [[deprecated]] float NiPoint3::GetZAngleFromVector() + float NiPoint3::GetZAngleFromVector() { using func_t = decltype(&NiPoint3::GetZAngleFromVector); REL::Relocation func{ REL::ID(1450064) };