From 513705e33f59273c5b463c0da874a0066e8d0589 Mon Sep 17 00:00:00 2001 From: F1F7Y <64418963+F1F7Y@users.noreply.github.com> Date: Fri, 7 Jul 2023 12:28:35 +0200 Subject: Memory class renaming (#469) - Renames `MemoryAddress` to `CMemoryAddress` - Renames `CMemoryAddress::As` to `CMemoryAddress::RCast` --- NorthstarDLL/client/r2client.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'NorthstarDLL/client/r2client.cpp') diff --git a/NorthstarDLL/client/r2client.cpp b/NorthstarDLL/client/r2client.cpp index fabc0dc6..fea97d8e 100644 --- a/NorthstarDLL/client/r2client.cpp +++ b/NorthstarDLL/client/r2client.cpp @@ -12,8 +12,8 @@ namespace R2 ON_DLL_LOAD("engine.dll", R2EngineClient, (CModule module)) { - g_pLocalPlayerUserID = module.Offset(0x13F8E688).As(); - g_pLocalPlayerOriginToken = module.Offset(0x13979C80).As(); + g_pLocalPlayerUserID = module.Offset(0x13F8E688).RCast(); + g_pLocalPlayerOriginToken = module.Offset(0x13979C80).RCast(); - GetBaseLocalClient = module.Offset(0x78200).As(); + GetBaseLocalClient = module.Offset(0x78200).RCast(); } -- cgit v1.2.3