aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/r2server.h
diff options
context:
space:
mode:
Diffstat (limited to 'NorthstarDLL/r2server.h')
-rw-r--r--NorthstarDLL/r2server.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/NorthstarDLL/r2server.h b/NorthstarDLL/r2server.h
new file mode 100644
index 00000000..fdfae156
--- /dev/null
+++ b/NorthstarDLL/r2server.h
@@ -0,0 +1,12 @@
+#pragma once
+
+// use the R2 namespace for game funcs
+namespace R2
+{
+ // server entity stuff
+ class CBaseEntity;
+ extern CBaseEntity* (*Server_GetEntityByIndex)(int index);
+
+ class CBasePlayer;
+ extern CBasePlayer*(__fastcall* UTIL_PlayerByIndex)(int playerIndex);
+} // namespace R2