完善客户端协议

This commit is contained in:
flswld
2023-01-19 19:29:52 +08:00
parent a00bee14d0
commit 2983c16272
3254 changed files with 57101 additions and 93258 deletions

View File

@@ -0,0 +1,9 @@
syntax = "proto3";
package proto_log;
enum ClientActionType {
CLIENT_ACTION_NONE = 0;
CLIENT_ACTION_LOGIN = 1;
CLIENT_ACTION_PING = 2;
}

View File

@@ -0,0 +1,24 @@
syntax = "proto3";
package proto_log;
message ClientLogBodyLogin {
string action_type = 1;
string action_result = 2;
uint32 action_time = 3;
string xg = 4;
uint32 signal_level = 5;
string dns = 6;
}
message ClientLogBodyPing {
string xg = 1;
uint32 signal_level = 2;
uint32 ping = 3;
string servertype = 4;
string serverip = 5;
string serverport = 6;
uint32 pcount = 7;
uint32 plost = 8;
string dns = 9;
}

View File

@@ -0,0 +1,20 @@
syntax = "proto3";
package proto_log;
message ClientLogHead {
string event_time = 1;
string log_serial_number = 2;
uint32 action_id = 3;
string action_name = 4;
string upload_ip = 5;
string product_id = 6;
string channel_id = 7;
string region_name = 8;
string game_version = 9;
string device_type = 10;
string device_uuid = 11;
string mac_addr = 12;
string account_name = 13;
string account_uuid = 14;
}