aboutsummaryrefslogtreecommitdiff
path: root/NetConsole/cl_rcon.proto
blob: c8ba8dbfa5b09a6d0aee5d481dabc089ba61b68e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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;
}