aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/gameutils.cpp
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-09-30 20:48:53 +0100
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-09-30 20:48:53 +0100
commit2497b700379205ea01c1aa0c55a19be523233be1 (patch)
treee1951f2e526663c6290e318cbcf807a0c018bb64 /NorthstarDedicatedTest/gameutils.cpp
parent06a59c70c1239de114e9bc0ce5c4ee8deabd1b6b (diff)
downloadNorthstarLauncher-2497b700379205ea01c1aa0c55a19be523233be1.tar.gz
NorthstarLauncher-2497b700379205ea01c1aa0c55a19be523233be1.zip
add spewfunc, setplaylistvaroverride, dedicated changes
Diffstat (limited to 'NorthstarDedicatedTest/gameutils.cpp')
-rw-r--r--NorthstarDedicatedTest/gameutils.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/NorthstarDedicatedTest/gameutils.cpp b/NorthstarDedicatedTest/gameutils.cpp
index e63c8786..013ae61a 100644
--- a/NorthstarDedicatedTest/gameutils.cpp
+++ b/NorthstarDedicatedTest/gameutils.cpp
@@ -20,6 +20,7 @@ ConVar* Cvar_hostport;
// playlist stuff
GetCurrentPlaylistType GetCurrentPlaylistName;
SetCurrentPlaylistType SetCurrentPlaylist;
+SetPlaylistVarOverrideType SetPlaylistVarOverride;
// uid
char* g_LocalPlayerUserID;
@@ -37,6 +38,7 @@ void InitialiseEngineGameUtilFunctions(HMODULE baseAddress)
GetCurrentPlaylistName = (GetCurrentPlaylistType)((char*)baseAddress + 0x18C640);
SetCurrentPlaylist = (SetCurrentPlaylistType)((char*)baseAddress + 0x18EB20);
+ SetPlaylistVarOverride = (SetPlaylistVarOverrideType)((char*)baseAddress + 0x18ED17);
g_LocalPlayerUserID = (char*)baseAddress + 0x13F8E688;
}