mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-03-01 00:35:36 +08:00
完善客户端协议
This commit is contained in:
25
protocol/proto_hk4e/cmd/cmd_share_cd.proto
Normal file
25
protocol/proto_hk4e/cmd/cmd_share_cd.proto
Normal file
@@ -0,0 +1,25 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package proto;
|
||||
|
||||
option go_package = "./;proto";
|
||||
|
||||
import "define.proto";
|
||||
|
||||
message ShareCDInfo {
|
||||
uint32 index = 2;
|
||||
uint64 cd_start_time = 14;
|
||||
uint32 share_cd_id = 12;
|
||||
}
|
||||
|
||||
message AllShareCDDataNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
CMD_ID = 9072;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
}
|
||||
|
||||
map<uint32, ShareCDInfo> share_cd_info_map = 2;
|
||||
}
|
||||
Reference in New Issue
Block a user