diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-09-30 21:12:54 +0100 |
---|---|---|
committer | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-09-30 21:12:54 +0100 |
commit | 8b93a09f5b12ce7967df5824794ed24b3ff31cdc (patch) | |
tree | 1ce680cb9134273870373134f845633e2c390bde /NorthstarDedicatedTest/gameutils.cpp | |
parent | 2497b700379205ea01c1aa0c55a19be523233be1 (diff) | |
download | NorthstarLauncher-8b93a09f5b12ce7967df5824794ed24b3ff31cdc.tar.gz NorthstarLauncher-8b93a09f5b12ce7967df5824794ed24b3ff31cdc.zip |
add maxplayers to dedi window title
Diffstat (limited to 'NorthstarDedicatedTest/gameutils.cpp')
-rw-r--r-- | NorthstarDedicatedTest/gameutils.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/NorthstarDedicatedTest/gameutils.cpp b/NorthstarDedicatedTest/gameutils.cpp index 013ae61a..f940ff1b 100644 --- a/NorthstarDedicatedTest/gameutils.cpp +++ b/NorthstarDedicatedTest/gameutils.cpp @@ -21,6 +21,7 @@ ConVar* Cvar_hostport; GetCurrentPlaylistType GetCurrentPlaylistName; SetCurrentPlaylistType SetCurrentPlaylist; SetPlaylistVarOverrideType SetPlaylistVarOverride; +GetCurrentPlaylistVarType GetCurrentPlaylistVar; // uid char* g_LocalPlayerUserID; @@ -39,6 +40,7 @@ void InitialiseEngineGameUtilFunctions(HMODULE baseAddress) GetCurrentPlaylistName = (GetCurrentPlaylistType)((char*)baseAddress + 0x18C640); SetCurrentPlaylist = (SetCurrentPlaylistType)((char*)baseAddress + 0x18EB20); SetPlaylistVarOverride = (SetPlaylistVarOverrideType)((char*)baseAddress + 0x18ED17); + GetCurrentPlaylistVar = (GetCurrentPlaylistVarType)((char*)baseAddress + 0x18C680); g_LocalPlayerUserID = (char*)baseAddress + 0x13F8E688; } |