Skip to content

Commit

Permalink
updated IDs for BakaMaxPapyrusOps
Browse files Browse the repository at this point in the history
  • Loading branch information
shad0wshayd3 committed May 4, 2024
1 parent 99a4082 commit bacb321
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions CommonLibF4/include/RE/Bethesda/BSLock.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ namespace RE
void lock(const char* a_id = nullptr)
{
using func_t = decltype(&BSSpinLock::lock);
REL::Relocation<func_t> func{ REL::ID(1425657) };
REL::Relocation<func_t> func{ REL::ID(2192245) };
return func(this, a_id);
}

[[nodiscard]] bool try_lock()
{
using func_t = decltype(&BSSpinLock::try_lock);
REL::Relocation<func_t> func{ REL::ID(267930) };
REL::Relocation<func_t> func{ REL::ID(2267902) };
return func(this);
}

Expand Down
10 changes: 5 additions & 5 deletions CommonLibF4/include/RE/Bethesda/GameScript.h
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ namespace RE
void DropSaveLoadRemapData()
{
using func_t = decltype(&HandlePolicy::DropSaveLoadRemapData);
REL::Relocation<func_t> func{ REL::ID(647657) };
REL::Relocation<func_t> func{ REL::ID(2249995) };
return func(this);
}

Expand All @@ -273,7 +273,7 @@ namespace RE
void UpdatePersistence()
{
using func_t = decltype(&HandlePolicy::UpdatePersistence);
REL::Relocation<func_t> func{ REL::ID(11020) };
REL::Relocation<func_t> func{ REL::ID(2249991) };
return func(this);
}

Expand Down Expand Up @@ -322,7 +322,7 @@ namespace RE
void EndSaveLoad()
{
using func_t = decltype(&ObjectBindPolicy::EndSaveLoad);
REL::Relocation<func_t> func{ REL::ID(1558837) };
REL::Relocation<func_t> func{ REL::ID(2250482) };
return func(this);
}

Expand Down Expand Up @@ -494,7 +494,7 @@ namespace RE

[[nodiscard]] static GameVM* GetSingleton()
{
REL::Relocation<GameVM**> singleton{ REL::ID(996227) };
REL::Relocation<GameVM**> singleton{ REL::ID(2689134) };
return *singleton;
}

Expand All @@ -510,7 +510,7 @@ namespace RE
void RegisterForAllGameEvents()
{
using func_t = decltype(&GameVM::RegisterForAllGameEvents);
REL::Relocation<func_t> func{ REL::ID(680454) };
REL::Relocation<func_t> func{ REL::ID(2251353) };
return func(this);
}

Expand Down
2 changes: 1 addition & 1 deletion CommonLibF4/include/RE/Bethesda/Script.h
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ namespace RE
static bool GetProcessScripts()
{
using func_t = decltype(&Script::GetProcessScripts);
REL::Relocation<func_t> func{ REL::ID(44950) };
REL::Relocation<func_t> func{ REL::ID(2192245) };
return func();
}

Expand Down

0 comments on commit bacb321

Please sign in to comment.