Skip to content

Commit

Permalink
chore: ID updates. (#10)
Browse files Browse the repository at this point in the history
* feat: Scaleform IDs updated.

* feat: NiController ID update.

* feat: Actor IDs updated.
  • Loading branch information
FlenarnTemp authored Jul 10, 2024
1 parent 739a2ed commit 89b88cf
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions CommonLibF4/include/RE/Bethesda/Actor.h
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ namespace RE
void KnockExplosion(Actor* a_actor, const NiPoint3& a_location, float a_magnitude)
{
using func_t = decltype(&AIProcess::KnockExplosion);
static REL::Relocation<func_t> func{ REL::ID(533106) };
static REL::Relocation<func_t> func{ REL::ID(2232384) };
return func(this, a_actor, a_location, a_magnitude);
}

Expand All @@ -556,7 +556,7 @@ namespace RE
bool RequestLoadAnimationsForWeaponChange(Actor& a_actor)
{
using func_t = decltype(&AIProcess::RequestLoadAnimationsForWeaponChange);
static REL::Relocation<func_t> func{ REL::ID(666002) };
static REL::Relocation<func_t> func{ REL::ID(2231758) };
return func(this, a_actor);
}

Expand Down
4 changes: 2 additions & 2 deletions CommonLibF4/include/RE/NetImmerse/NiController.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ namespace RE
[[nodiscard]] static NiControllerManager* GetNiControllerManager(const NiObjectNET* a_object)
{
using func_t = decltype(&NiControllerManager::GetNiControllerManager);
static REL::Relocation<func_t> func{ REL::ID(1013515) };
static REL::Relocation<func_t> func{ REL::ID(2271798) };
return func(a_object);
}

Expand Down Expand Up @@ -77,7 +77,7 @@ namespace RE
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);
static REL::Relocation<func_t> func{ REL::ID(829033) };
static REL::Relocation<func_t> func{ REL::ID(2271861) };
return func(this, a_priority, a_startOver, a_weight, a_easeInTime, a_timeSyncSeq, a_transition);
}

Expand Down
2 changes: 1 addition & 1 deletion CommonLibF4/include/RE/Scaleform/GFx/GFx_ASString.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ namespace RE::Scaleform::GFx
[[nodiscard]] ASStringNode* CreateStringNode(const char* a_str)
{
using func_t = decltype(&ASStringManager::CreateStringNode);
static REL::Relocation<func_t> func{ REL::ID(419974) };
static REL::Relocation<func_t> func{ REL::ID(2290014) };
return func(this, a_str);
}

Expand Down
2 changes: 1 addition & 1 deletion CommonLibF4/include/RE/Scaleform/GFx/GFx_Loader.h
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ namespace RE::Scaleform::GFx
[[nodiscard]] MovieDef* CreateMovie(const char* a_filename, Flags<LoadConstants> a_loadConstants = LoadConstants::kAll, std::size_t a_memoryArena = 0)
{
using func_t = decltype(&Loader::CreateMovie);
static REL::Relocation<func_t> func{ REL::ID(912291) };
static REL::Relocation<func_t> func{ REL::ID(2284723) };
return func(this, a_filename, a_loadConstants, a_memoryArena);
}

Expand Down
2 changes: 1 addition & 1 deletion CommonLibF4/include/RE/Scaleform/GFx/GFx_Player.h
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ namespace RE::Scaleform::GFx
bool HasMember(void* a_data, const char* a_name, bool a_isdobj) const
{
using func_t = decltype(&ObjectInterface::HasMember);
static REL::Relocation<func_t> func{ REL::ID(788691) };
static REL::Relocation<func_t> func{ REL::ID(2286078) };
return func(this, a_data, a_name, a_isdobj);
}

Expand Down
4 changes: 2 additions & 2 deletions CommonLibF4/include/RE/Scaleform/Kernel/SF_SysAlloc.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@ namespace RE::Scaleform
bool InitHeapEngine(const void* a_heapDesc) override // 01
{
using func_t = decltype(&SysAlloc::InitHeapEngine);
static REL::Relocation<func_t> func{ REL::ID(1047970) };
static REL::Relocation<func_t> func{ REL::ID(2284532) };
return func(this, a_heapDesc);
}

bool ShutdownHeapEngine() override // 02
{
using func_t = decltype(&SysAlloc::ShutdownHeapEngine);
static REL::Relocation<func_t> func{ REL::ID(1207169) };
static REL::Relocation<func_t> func{ REL::ID(2284536) };
return func(this);
}

Expand Down

0 comments on commit 89b88cf

Please sign in to comment.