diff options
author | BobTheBob9 <for.oliver.kirkham@gmail.com> | 2022-07-07 21:31:41 +0100 |
---|---|---|
committer | BobTheBob9 <for.oliver.kirkham@gmail.com> | 2022-07-07 21:31:41 +0100 |
commit | 2ae34b67e36b8ba05132d481876eb4ed7a826283 (patch) | |
tree | 63f44c8e2dcdc959d7a5317a3a7b36efedbd7d38 /NorthstarDLL/r2server.h | |
parent | 3406de7aaaf52cbef20b1549f2d7da0255d30f51 (diff) | |
download | NorthstarLauncher-2ae34b67e36b8ba05132d481876eb4ed7a826283.tar.gz NorthstarLauncher-2ae34b67e36b8ba05132d481876eb4ed7a826283.zip |
almost fully replaced hooking lib
Diffstat (limited to 'NorthstarDLL/r2server.h')
-rw-r--r-- | NorthstarDLL/r2server.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/NorthstarDLL/r2server.h b/NorthstarDLL/r2server.h index 6e09d0d1..816adc82 100644 --- a/NorthstarDLL/r2server.h +++ b/NorthstarDLL/r2server.h @@ -1,19 +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; +#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 |