aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/gameutils.cpp
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-11-07 22:06:19 +0000
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-11-07 22:06:19 +0000
commitae09e612ea33cb105a47996c4ae3bf8651119042 (patch)
tree91c46140555d3a85c0e6bceb1da3d1c031ae40be /NorthstarDedicatedTest/gameutils.cpp
parent916f4f53ad839d6f8e565e50bb310429a3e115f3 (diff)
downloadNorthstarLauncher-ae09e612ea33cb105a47996c4ae3bf8651119042.tar.gz
NorthstarLauncher-ae09e612ea33cb105a47996c4ae3bf8651119042.zip
beginning work on new auth
Diffstat (limited to 'NorthstarDedicatedTest/gameutils.cpp')
-rw-r--r--NorthstarDedicatedTest/gameutils.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/NorthstarDedicatedTest/gameutils.cpp b/NorthstarDedicatedTest/gameutils.cpp
index 984bc28a..adf13be7 100644
--- a/NorthstarDedicatedTest/gameutils.cpp
+++ b/NorthstarDedicatedTest/gameutils.cpp
@@ -26,8 +26,9 @@ GetCurrentPlaylistVarType GetCurrentPlaylistVar;
// server entity stuff
Server_GetEntityByIndexType Server_GetEntityByIndex;
-// uid
+// auth
char* g_LocalPlayerUserID;
+char* g_LocalPlayerOriginToken;
void InitialiseEngineGameUtilFunctions(HMODULE baseAddress)
{
@@ -46,6 +47,7 @@ void InitialiseEngineGameUtilFunctions(HMODULE baseAddress)
GetCurrentPlaylistVar = (GetCurrentPlaylistVarType)((char*)baseAddress + 0x18C680);
g_LocalPlayerUserID = (char*)baseAddress + 0x13F8E688;
+ g_LocalPlayerOriginToken = (char*)baseAddress + 0x13979C80;
}
void InitialiseServerGameUtilFunctions(HMODULE baseAddress)