mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-03-01 00:35:36 +08:00
完善客户端协议
This commit is contained in:
9
protocol/proto_hk4e/log/client/client_action_type.proto
Normal file
9
protocol/proto_hk4e/log/client/client_action_type.proto
Normal file
@@ -0,0 +1,9 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package proto_log;
|
||||
|
||||
enum ClientActionType {
|
||||
CLIENT_ACTION_NONE = 0;
|
||||
CLIENT_ACTION_LOGIN = 1;
|
||||
CLIENT_ACTION_PING = 2;
|
||||
}
|
||||
24
protocol/proto_hk4e/log/client/client_body_common.proto
Normal file
24
protocol/proto_hk4e/log/client/client_body_common.proto
Normal 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;
|
||||
}
|
||||
20
protocol/proto_hk4e/log/client/client_head.proto
Normal file
20
protocol/proto_hk4e/log/client/client_head.proto
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user