-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathproto_lua.proto
More file actions
41 lines (35 loc) · 773 Bytes
/
proto_lua.proto
File metadata and controls
41 lines (35 loc) · 773 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
syntax = "proto3";
package avant;
option go_package = "/proto_res";
enum ProtoLuaVMMsgType
{
PROTO_LUA_VM_MSG_TYPE_NONE = 0;
PROTO_LUA_VM_MSG_TYPE_CLIENT = 1;
PROTO_LUA_VM_MSG_TYPE_IPC = 2;
PROTO_LUA_VM_MSG_TYPE_UDP = 3;
}
message ProtoLuaTestInner
{
double double_val = 1;
float float_val = 2;
int32 int32_val = 3;
int64 int64_val = 4;
uint32 uint32_val = 5;
uint64 uint64_val = 6;
bool bool_val = 7;
string str_val = 8;
}
message ProtoLuaTestData
{
string str = 1;
repeated string strarray = 2;
repeated ProtoLuaTestInner inner_array = 3;
ProtoLuaTestInner inner = 4;
}
// PROTO_CMD_LUA_TEST
message ProtoLuaTest
{
int32 num = 1;
repeated int32 int32array = 2;
ProtoLuaTestData data = 3;
}