From 4b8bdb0077f95d344df27d5c22e42637958384c5 Mon Sep 17 00:00:00 2001 From: Amos <48657826+Mauler125@users.noreply.github.com> Date: Fri, 4 Mar 2022 01:55:44 +0100 Subject: Add proto compiler source files --- NetConsole/cl_rcon.proto | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 NetConsole/cl_rcon.proto (limited to 'NetConsole/cl_rcon.proto') diff --git a/NetConsole/cl_rcon.proto b/NetConsole/cl_rcon.proto new file mode 100644 index 00000000..c8ba8dbf --- /dev/null +++ b/NetConsole/cl_rcon.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; +package cl_rcon; +option optimize_for = LITE_RUNTIME; + +enum request_t +{ + SERVERDATA_REQUEST_VALUE = 0; + SERVERDATA_REQUEST_SETVALUE = 1; + SERVERDATA_REQUEST_EXECCOMMAND = 2; + SERVERDATA_REQUEST_AUTH = 3; + SERVERDATA_REQUEST_SEND_CONSOLE_LOG = 4; + SERVERDATA_REQUEST_SEND_REMOTEBUG = 5; +} + +message request +{ + optional int32 requestID = 1; + optional request_t requestType = 2; + optional string requestBuf = 3; + optional string requestVal = 4; +} -- cgit v1.2.3