diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-10-19 02:18:24 +0100 |
---|---|---|
committer | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-10-19 02:18:24 +0100 |
commit | ed7e4fed4ddedaf9d4c181052ca552a0914d57bb (patch) | |
tree | 0d451e40d82b0513c4f2acd42ea750638b1d4c88 /NorthstarDedicatedTest/gameutils.cpp | |
parent | 9b8a6d155a7a2cf1bfb4e8d98980bfb0b6e94d92 (diff) | |
download | NorthstarLauncher-ed7e4fed4ddedaf9d4c181052ca552a0914d57bb.tar.gz NorthstarLauncher-ed7e4fed4ddedaf9d4c181052ca552a0914d57bb.zip |
add masterserver mod list support and fix some squirrel issues
Diffstat (limited to 'NorthstarDedicatedTest/gameutils.cpp')
-rw-r--r-- | NorthstarDedicatedTest/gameutils.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/NorthstarDedicatedTest/gameutils.cpp b/NorthstarDedicatedTest/gameutils.cpp index f940ff1b..984bc28a 100644 --- a/NorthstarDedicatedTest/gameutils.cpp +++ b/NorthstarDedicatedTest/gameutils.cpp @@ -23,6 +23,9 @@ SetCurrentPlaylistType SetCurrentPlaylist; SetPlaylistVarOverrideType SetPlaylistVarOverride; GetCurrentPlaylistVarType GetCurrentPlaylistVar; +// server entity stuff +Server_GetEntityByIndexType Server_GetEntityByIndex; + // uid char* g_LocalPlayerUserID; @@ -44,3 +47,8 @@ void InitialiseEngineGameUtilFunctions(HMODULE baseAddress) g_LocalPlayerUserID = (char*)baseAddress + 0x13F8E688; } + +void InitialiseServerGameUtilFunctions(HMODULE baseAddress) +{ + Server_GetEntityByIndex = (Server_GetEntityByIndexType)((char*)baseAddress + 0xFB820); +}
\ No newline at end of file |