aboutsummaryrefslogtreecommitdiff
path: root/NetConsole/sv_rcon.proto
diff options
context:
space:
mode:
Diffstat (limited to 'NetConsole/sv_rcon.proto')
-rw-r--r--NetConsole/sv_rcon.proto21
1 files changed, 21 insertions, 0 deletions
diff --git a/NetConsole/sv_rcon.proto b/NetConsole/sv_rcon.proto
new file mode 100644
index 00000000..ce2e9e35
--- /dev/null
+++ b/NetConsole/sv_rcon.proto
@@ -0,0 +1,21 @@
+syntax = "proto3";
+package sv_rcon;
+option optimize_for = LITE_RUNTIME;
+
+enum response_t
+{
+ SERVERDATA_RESPONSE_VALUE = 0;
+ SERVERDATA_RESPONSE_UPDATE = 1;
+ SERVERDATA_RESPONSE_AUTH = 2;
+ SERVERDATA_RESPONSE_CONSOLE_LOG = 3;
+ SERVERDATA_RESPONSE_STRING = 4;
+ SERVERDATA_RESPONSE_REMOTEBUG = 5;
+}
+
+message response
+{
+ optional int32 responseID = 1;
+ optional response_t responseType = 2;
+ optional string responseBuf = 3;
+ optional string responseVal = 4;
+}