diff options
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 |