完善客户端协议

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
@@ -0,0 +1,59 @@
syntax = "proto3";
package proto;
option go_package = "./;proto";
import "define.proto";
message RegionalPlayVar {
uint32 type = 15;
float max_value = 11;
float value = 3;
float base_value = 10;
}
message RegionalPlayInfoNotify {
enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 6276;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
}
repeated RegionalPlayVar var_list = 5;
string play_name = 9;
bool is_enabled = 15;
uint32 play_type = 7;
bool is_in_region = 4;
}
message DeathZoneInfo {
bool is_open = 9;
uint32 id = 14;
}
message DeathZoneInfoNotify {
enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 6268;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
}
repeated DeathZoneInfo death_zone_info_list = 8;
}
message PlayerDeathZoneNotify {
enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 6275;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
}
uint32 cur_death_zone_id = 8;
}