Skip to content

Commit

Permalink
More IDs. (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
FlenarnTemp authored May 7, 2024
1 parent 8bf5fec commit 5f43c22
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CommonLibF4/include/RE/Bethesda/ProcessLists.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ namespace RE
[[nodiscard]] bool IsActorTargetingREFinPackage(const TESObjectREFR* a_actor, PTYPE a_type, bool a_onlyHigh)
{
using func_t = decltype(&ProcessLists::IsActorTargetingREFinPackage);
REL::Relocation<func_t> func{ REL::ID(559542) };
REL::Relocation<func_t> func{ REL::ID(2234033) };
return func(this, a_actor, a_type, a_onlyHigh);
}

Expand Down
4 changes: 2 additions & 2 deletions CommonLibF4/include/RE/Bethesda/TESCondition.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,14 @@ namespace RE
[[nodiscard]] float GetComparisonValue()
{
using func_t = decltype(&TESConditionItem::GetComparisonValue);
REL::Relocation<func_t> func{ REL::ID(1373349) };
REL::Relocation<func_t> func{ REL::ID(2212007) };
return func(this);
}

[[nodiscard]] bool IsTrue(TESObjectREFR* a_actionRef, TESObjectREFR* a_targetRef)
{
using func_t = decltype(&TESConditionItem::IsTrue);
REL::Relocation<func_t> func{ REL::ID(1453240) };
REL::Relocation<func_t> func{ REL::ID(2212008) };
return func(this, a_actionRef, a_targetRef);
}

Expand Down
6 changes: 3 additions & 3 deletions CommonLibF4/include/RE/Bethesda/TESDataHandler.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,14 @@ namespace RE
[[nodiscard]] bool AddFormToDataHandler(TESForm* a_form)
{
using func_t = decltype(&TESDataHandler::AddFormToDataHandler);
REL::Relocation<func_t> func{ REL::ID(350112) };
REL::Relocation<func_t> func{ REL::ID(2192271) };
return func(this, a_form);
}

[[nodiscard]] bool CheckModsLoaded(bool a_everModded)
{
using func_t = decltype(&TESDataHandler::CheckModsLoaded);
REL::Relocation<func_t> func{ REL::ID(1432894) };
REL::Relocation<func_t> func{ REL::ID(2192323) };
return func(this, a_everModded);
}

Expand Down Expand Up @@ -205,7 +205,7 @@ namespace RE
bool IsFormIDInuse(std::uint32_t a_formID)
{
using func_t = decltype(&TESDataHandler::IsFormIDInuse);
REL::Relocation<func_t> func{ REL::ID(1448838) };
REL::Relocation<func_t> func{ REL::ID(2192351) };
return func(this, a_formID);
}

Expand Down

0 comments on commit 5f43c22

Please sign in to comment.