diff options
author | Amos <48657826+Mauler125@users.noreply.github.com> | 2022-03-04 01:55:44 +0100 |
---|---|---|
committer | Amos <48657826+Mauler125@users.noreply.github.com> | 2022-03-04 01:55:44 +0100 |
commit | 4b8bdb0077f95d344df27d5c22e42637958384c5 (patch) | |
tree | e45f44a117a5d9e77b9bafec76c7b47560fd31f1 | |
parent | f573cbcfb8cb675469210df9dbd9dc8178a7ca0d (diff) | |
download | NorthstarLauncher-4b8bdb0077f95d344df27d5c22e42637958384c5.tar.gz NorthstarLauncher-4b8bdb0077f95d344df27d5c22e42637958384c5.zip |
Add proto compiler source files
-rw-r--r-- | NetConsole/cl_rcon.proto | 21 | ||||
-rw-r--r-- | NetConsole/sv_rcon.proto | 21 |
2 files changed, 42 insertions, 0 deletions
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; +} 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; +} |