diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2022-05-27 01:13:14 +0100 |
---|---|---|
committer | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2022-05-27 01:13:14 +0100 |
commit | 0de847bb4832c201233c87fa37867b9d89f0e8c8 (patch) | |
tree | f05add722b788d32aae40663e7748234452a3443 /NorthstarDLL/r2server.h | |
parent | 2171d95e1221442081bade7929c05b82ca0f2a08 (diff) | |
download | NorthstarLauncher-0de847bb4832c201233c87fa37867b9d89f0e8c8.tar.gz NorthstarLauncher-0de847bb4832c201233c87fa37867b9d89f0e8c8.zip |
rename project folder (:tf: commit log)
Diffstat (limited to 'NorthstarDLL/r2server.h')
-rw-r--r-- | NorthstarDLL/r2server.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/NorthstarDLL/r2server.h b/NorthstarDLL/r2server.h new file mode 100644 index 00000000..6e09d0d1 --- /dev/null +++ b/NorthstarDLL/r2server.h @@ -0,0 +1,19 @@ +#pragma once + +// use the R2 namespace for game funcs +namespace R2 +{ + enum server_state_t + { + ss_dead = 0, // Dead + ss_loading, // Spawning + ss_active, // Running + ss_paused, // Running, but paused + }; + + extern server_state_t* g_pServerState; + + // server entity stuff + typedef void* (*Server_GetEntityByIndexType)(int index); + extern Server_GetEntityByIndexType Server_GetEntityByIndex; +} // namespace R2
\ No newline at end of file |