格式化代码

This commit is contained in:
flswld
2023-05-22 00:39:02 +08:00
parent f851ad1692
commit 3100e8b147
115 changed files with 38550 additions and 38546 deletions
+8 -7
View File
@@ -1,19 +1,20 @@
syntax = "proto3"; syntax = "proto3";
package gs.api; package gs.api;
option go_package = "hk4e/gs/api;api"; option go_package = "hk4e/gs/api;api";
// GM 服务 // GM 服务
service GM { service GM {
rpc Cmd (CmdRequest) returns (CmdReply) {} rpc Cmd (CmdRequest) returns (CmdReply) {}
} }
message CmdRequest { message CmdRequest {
string func_name = 1; string func_name = 1;
repeated string param_list = 2; repeated string param_list = 2;
} }
message CmdReply { message CmdReply {
int32 code = 1; // 0 表示成功 int32 code = 1; // 0 表示成功
string message = 2; string message = 2;
} }
+43 -42
View File
@@ -1,92 +1,93 @@
syntax = "proto3"; syntax = "proto3";
package node.api; package node.api;
option go_package = "hk4e/node/api;api"; option go_package = "hk4e/node/api;api";
// 节点服务器注册发现服务 // 节点服务器注册发现服务
service Discovery { service Discovery {
// 服务器启动注册获取appid // 服务器启动注册获取appid
rpc RegisterServer (RegisterServerReq) returns (RegisterServerRsp) {} rpc RegisterServer (RegisterServerReq) returns (RegisterServerRsp) {}
// 服务器关闭取消注册 // 服务器关闭取消注册
rpc CancelServer (CancelServerReq) returns (NullMsg) {} rpc CancelServer (CancelServerReq) returns (NullMsg) {}
// 服务器在线心跳保持 // 服务器在线心跳保持
rpc KeepaliveServer (KeepaliveServerReq) returns (NullMsg) {} rpc KeepaliveServer (KeepaliveServerReq) returns (NullMsg) {}
// 获取负载最小的服务器的appid // 获取负载最小的服务器的appid
rpc GetServerAppId (GetServerAppIdReq) returns (GetServerAppIdRsp) {} rpc GetServerAppId (GetServerAppIdReq) returns (GetServerAppIdRsp) {}
// 获取区服密钥信息 // 获取区服密钥信息
rpc GetRegionEc2b (NullMsg) returns (RegionEc2b) {} rpc GetRegionEc2b (NullMsg) returns (RegionEc2b) {}
// 获取负载最小的网关服务器的地址和端口 // 获取负载最小的网关服务器的地址和端口
rpc GetGateServerAddr (GetGateServerAddrReq) returns (GateServerAddr) {} rpc GetGateServerAddr (GetGateServerAddrReq) returns (GateServerAddr) {}
// 获取全部网关服务器信息列表 // 获取全部网关服务器信息列表
rpc GetAllGateServerInfoList (NullMsg) returns (GateServerInfoList) {} rpc GetAllGateServerInfoList (NullMsg) returns (GateServerInfoList) {}
// 获取主游戏服务器的appid // 获取主游戏服务器的appid
rpc GetMainGameServerAppId (NullMsg) returns (GetMainGameServerAppIdRsp) {} rpc GetMainGameServerAppId (NullMsg) returns (GetMainGameServerAppIdRsp) {}
// 获取全服玩家GS在线列表 // 获取全服玩家GS在线列表
rpc GetGlobalGsOnlineMap (NullMsg) returns (GetGlobalGsOnlineMapRsp) {} rpc GetGlobalGsOnlineMap (NullMsg) returns (GetGlobalGsOnlineMapRsp) {}
} }
message NullMsg { message NullMsg {
} }
message GetServerAppIdReq { message GetServerAppIdReq {
string server_type = 1; string server_type = 1;
} }
message GetServerAppIdRsp { message GetServerAppIdRsp {
string app_id = 1; string app_id = 1;
} }
message RegisterServerReq { message RegisterServerReq {
string server_type = 1; string server_type = 1;
GateServerAddr gate_server_addr = 2; GateServerAddr gate_server_addr = 2;
repeated string version = 3; repeated string version = 3;
} }
message RegisterServerRsp { message RegisterServerRsp {
string app_id = 1; string app_id = 1;
uint32 gs_id = 2; uint32 gs_id = 2;
} }
message CancelServerReq { message CancelServerReq {
string server_type = 1; string server_type = 1;
string app_id = 2; string app_id = 2;
} }
message KeepaliveServerReq { message KeepaliveServerReq {
string server_type = 1; string server_type = 1;
string app_id = 2; string app_id = 2;
uint32 load_count = 3; uint32 load_count = 3;
} }
message GetGateServerAddrReq { message GetGateServerAddrReq {
string version = 1; string version = 1;
} }
message GetMainGameServerAppIdRsp { message GetMainGameServerAppIdRsp {
string app_id = 1; string app_id = 1;
} }
message RegionEc2b { message RegionEc2b {
bytes data = 1; bytes data = 1;
} }
message GateServerAddr { message GateServerAddr {
string kcp_addr = 1; string kcp_addr = 1;
uint32 kcp_port = 2; uint32 kcp_port = 2;
string mq_addr = 3; string mq_addr = 3;
uint32 mq_port = 4; uint32 mq_port = 4;
} }
message GateServerInfo { message GateServerInfo {
string app_id = 1; string app_id = 1;
string mq_addr = 2; string mq_addr = 2;
uint32 mq_port = 3; uint32 mq_port = 3;
} }
message GateServerInfoList { message GateServerInfoList {
repeated GateServerInfo gate_server_info_list = 1; repeated GateServerInfo gate_server_info_list = 1;
} }
message GetGlobalGsOnlineMapRsp { message GetGlobalGsOnlineMapRsp {
map<uint32, string> GlobalGsOnlineMap = 1; map<uint32, string> GlobalGsOnlineMap = 1;
} }
File diff suppressed because it is too large Load Diff
+69 -69
View File
@@ -2,100 +2,100 @@ syntax = "proto3";
package proto; package proto;
option go_package = "./;proto";
import "define.proto"; import "define.proto";
message Achievement { option go_package = "./;proto";
enum Status {
INVALID = 0;
UNFINISHED = 1;
FINISHED = 2;
REWARD_TAKEN = 3;
}
uint32 finish_timestamp = 11; message Achievement {
Status status = 13; enum Status {
uint32 cur_progress = 12; INVALID = 0;
uint32 id = 14; UNFINISHED = 1;
uint32 total_progress = 8; FINISHED = 2;
REWARD_TAKEN = 3;
}
uint32 finish_timestamp = 11;
Status status = 13;
uint32 cur_progress = 12;
uint32 id = 14;
uint32 total_progress = 8;
} }
message AchievementAllDataNotify { message AchievementAllDataNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2676; CMD_ID = 2676;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
repeated Achievement achievement_list = 4; repeated Achievement achievement_list = 4;
repeated uint32 reward_taken_goal_id_list = 2; repeated uint32 reward_taken_goal_id_list = 2;
} }
message AchievementUpdateNotify { message AchievementUpdateNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2668; CMD_ID = 2668;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
repeated Achievement achievement_list = 14; repeated Achievement achievement_list = 14;
} }
message TakeAchievementRewardReq { message TakeAchievementRewardReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2675; CMD_ID = 2675;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
repeated uint32 id_list = 13; repeated uint32 id_list = 13;
} }
message TakeAchievementRewardRsp { message TakeAchievementRewardRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2657; CMD_ID = 2657;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
repeated uint32 id_list = 7; repeated uint32 id_list = 7;
repeated ItemParam item_list = 10; repeated ItemParam item_list = 10;
int32 retcode = 1; int32 retcode = 1;
} }
message TakeAchievementGoalRewardReq { message TakeAchievementGoalRewardReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2652; CMD_ID = 2652;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
repeated uint32 id_list = 5; repeated uint32 id_list = 5;
} }
message TakeAchievementGoalRewardRsp { message TakeAchievementGoalRewardRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2681; CMD_ID = 2681;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 15; int32 retcode = 15;
repeated uint32 id_list = 12; repeated uint32 id_list = 12;
repeated ItemParam item_list = 5; repeated ItemParam item_list = 5;
} }
File diff suppressed because it is too large Load Diff
@@ -2,67 +2,67 @@ syntax = "proto3";
package proto; package proto;
option go_package = "./;proto";
import "define.proto"; import "define.proto";
option go_package = "./;proto";
message AranaraCollectionSuite { message AranaraCollectionSuite {
map<uint32, AranaraCollectionState> collection_id_state_map = 6; map<uint32, AranaraCollectionState> collection_id_state_map = 6;
uint32 collection_type = 12; uint32 collection_type = 12;
} }
message AranaraCollectionDataNotify { message AranaraCollectionDataNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 6376; CMD_ID = 6376;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
repeated AranaraCollectionSuite collection_suite_list = 14; repeated AranaraCollectionSuite collection_suite_list = 14;
} }
message AddAranaraCollectionNotify { message AddAranaraCollectionNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 6368; CMD_ID = 6368;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 collection_type = 7; uint32 collection_type = 7;
AranaraCollectionState target_state = 12; AranaraCollectionState target_state = 12;
AranaraCollectionState from_state = 15; AranaraCollectionState from_state = 15;
uint32 collection_id = 8; uint32 collection_id = 8;
} }
message CataLogGlobalWatcherFinishedData { message CataLogGlobalWatcherFinishedData {
repeated uint32 finished_global_watcher_list = 8; repeated uint32 finished_global_watcher_list = 8;
uint32 catalog_type = 13; uint32 catalog_type = 13;
} }
message CataLogFinishedGlobalWatcherAllDataNotify { message CataLogFinishedGlobalWatcherAllDataNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 6370; CMD_ID = 6370;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
repeated CataLogGlobalWatcherFinishedData finished_global_watcher_data_list = 13; repeated CataLogGlobalWatcherFinishedData finished_global_watcher_data_list = 13;
} }
message CataLogNewFinishedGlobalWatcherNotify { message CataLogNewFinishedGlobalWatcherNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 6395; CMD_ID = 6395;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
repeated CataLogGlobalWatcherFinishedData new_finished_global_watcher_data_list = 2; repeated CataLogGlobalWatcherFinishedData new_finished_global_watcher_data_list = 2;
} }
File diff suppressed because it is too large Load Diff
+181 -181
View File
@@ -2,267 +2,267 @@ syntax = "proto3";
package proto; package proto;
option go_package = "./;proto";
import "define.proto"; import "define.proto";
option go_package = "./;proto";
enum BattlePassUnlockStatus { enum BattlePassUnlockStatus {
BATTLE_PASS_UNLOCK_INVALID = 0; BATTLE_PASS_UNLOCK_INVALID = 0;
BATTLE_PASS_UNLOCK_FREE = 1; BATTLE_PASS_UNLOCK_FREE = 1;
BATTLE_PASS_UNLOCK_PAID = 2; BATTLE_PASS_UNLOCK_PAID = 2;
} }
message BattlePassCycle { message BattlePassCycle {
uint32 cycle_idx = 3; uint32 cycle_idx = 3;
uint32 end_time = 10; uint32 end_time = 10;
uint32 begin_time = 13; uint32 begin_time = 13;
} }
message BattlePassMission { message BattlePassMission {
enum MissionStatus { enum MissionStatus {
MISSION_INVALID = 0; MISSION_INVALID = 0;
MISSION_UNFINISHED = 1; MISSION_UNFINISHED = 1;
MISSION_FINISHED = 2; MISSION_FINISHED = 2;
MISSION_POINT_TAKEN = 3; MISSION_POINT_TAKEN = 3;
} }
uint32 cur_progress = 13; uint32 cur_progress = 13;
MissionStatus mission_status = 15; MissionStatus mission_status = 15;
uint32 mission_id = 11; uint32 mission_id = 11;
uint32 reward_battle_pass_point = 3; uint32 reward_battle_pass_point = 3;
uint32 mission_type = 12; uint32 mission_type = 12;
uint32 total_progress = 6; uint32 total_progress = 6;
} }
message BattlePassRewardTag { message BattlePassRewardTag {
uint32 level = 4; uint32 level = 4;
BattlePassUnlockStatus unlock_status = 2; BattlePassUnlockStatus unlock_status = 2;
uint32 reward_id = 7; uint32 reward_id = 7;
} }
message BattlePassProduct { message BattlePassProduct {
string normal_product_id = 13; string normal_product_id = 13;
string extra_product_id = 10; string extra_product_id = 10;
string upgrade_product_id = 6; string upgrade_product_id = 6;
} }
message BattlePassSchedule { message BattlePassSchedule {
uint32 level = 14; uint32 level = 14;
uint32 begin_time = 2; uint32 begin_time = 2;
uint32 end_time = 15; uint32 end_time = 15;
uint32 point = 1; uint32 point = 1;
BattlePassCycle cur_cycle = 4; BattlePassCycle cur_cycle = 4;
BattlePassUnlockStatus unlock_status = 7; BattlePassUnlockStatus unlock_status = 7;
repeated BattlePassRewardTag reward_taken_list = 11; repeated BattlePassRewardTag reward_taken_list = 11;
uint32 cur_cycle_points = 10; uint32 cur_cycle_points = 10;
uint32 paid_platform_flags = 12; uint32 paid_platform_flags = 12;
BattlePassProduct product_info = 13; BattlePassProduct product_info = 13;
bool is_extra_paid_reward_taken = 6; bool is_extra_paid_reward_taken = 6;
bool is_viewed = 3; bool is_viewed = 3;
uint32 schedule_id = 9; uint32 schedule_id = 9;
} }
message BattlePassAllDataNotify { message BattlePassAllDataNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2626; CMD_ID = 2626;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
bool have_cur_schedule = 2; bool have_cur_schedule = 2;
repeated BattlePassMission mission_list = 4; repeated BattlePassMission mission_list = 4;
BattlePassSchedule cur_schedule = 1; BattlePassSchedule cur_schedule = 1;
} }
message BattlePassMissionUpdateNotify { message BattlePassMissionUpdateNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2618; CMD_ID = 2618;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
repeated BattlePassMission mission_list = 1; repeated BattlePassMission mission_list = 1;
} }
message BattlePassMissionDelNotify { message BattlePassMissionDelNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2625; CMD_ID = 2625;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
repeated uint32 del_mission_id_list = 10; repeated uint32 del_mission_id_list = 10;
} }
message BattlePassCurScheduleUpdateNotify { message BattlePassCurScheduleUpdateNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2607; CMD_ID = 2607;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
bool have_cur_schedule = 11; bool have_cur_schedule = 11;
BattlePassSchedule cur_schedule = 1; BattlePassSchedule cur_schedule = 1;
} }
message BattlePassRewardTakeOption { message BattlePassRewardTakeOption {
BattlePassRewardTag tag = 10; BattlePassRewardTag tag = 10;
uint32 option_idx = 14; uint32 option_idx = 14;
} }
message TakeBattlePassRewardReq { message TakeBattlePassRewardReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2602; CMD_ID = 2602;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
repeated BattlePassRewardTakeOption take_option_list = 12; repeated BattlePassRewardTakeOption take_option_list = 12;
} }
message TakeBattlePassRewardRsp { message TakeBattlePassRewardRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2631; CMD_ID = 2631;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
repeated ItemParam item_list = 7; repeated ItemParam item_list = 7;
int32 retcode = 13; int32 retcode = 13;
repeated BattlePassRewardTakeOption take_option_list = 9; repeated BattlePassRewardTakeOption take_option_list = 9;
} }
message TakeBattlePassMissionPointReq { message TakeBattlePassMissionPointReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2629; CMD_ID = 2629;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
repeated uint32 mission_id_list = 5; repeated uint32 mission_id_list = 5;
} }
message TakeBattlePassMissionPointRsp { message TakeBattlePassMissionPointRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2622; CMD_ID = 2622;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 4; int32 retcode = 4;
repeated uint32 mission_id_list = 11; repeated uint32 mission_id_list = 11;
} }
message GetBattlePassProductReq { message GetBattlePassProductReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2644; CMD_ID = 2644;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 battle_pass_product_play_type = 10; uint32 battle_pass_product_play_type = 10;
} }
message GetBattlePassProductRsp { message GetBattlePassProductRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2649; CMD_ID = 2649;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 14; int32 retcode = 14;
string price_tier = 6; string price_tier = 6;
uint32 battle_pass_product_play_type = 2; uint32 battle_pass_product_play_type = 2;
string product_id = 1; string product_id = 1;
uint32 cur_schedule_id = 11; uint32 cur_schedule_id = 11;
} }
message SetBattlePassViewedReq { message SetBattlePassViewedReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2641; CMD_ID = 2641;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 schedule_id = 6; uint32 schedule_id = 6;
} }
message SetBattlePassViewedRsp { message SetBattlePassViewedRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2642; CMD_ID = 2642;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 schedule_id = 2; uint32 schedule_id = 2;
int32 retcode = 3; int32 retcode = 3;
} }
message BattlePassBuySuccNotify { message BattlePassBuySuccNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2614; CMD_ID = 2614;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 schedule_id = 4; uint32 schedule_id = 4;
uint32 product_play_type = 11; uint32 product_play_type = 11;
uint32 add_point = 12; uint32 add_point = 12;
repeated ItemParam item_list = 9; repeated ItemParam item_list = 9;
} }
message BuyBattlePassLevelReq { message BuyBattlePassLevelReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2647; CMD_ID = 2647;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 buy_level = 8; uint32 buy_level = 8;
} }
message BuyBattlePassLevelRsp { message BuyBattlePassLevelRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2637; CMD_ID = 2637;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 5; int32 retcode = 5;
uint32 buy_level = 13; uint32 buy_level = 13;
} }
+88 -88
View File
@@ -2,129 +2,129 @@ syntax = "proto3";
package proto; package proto;
option go_package = "./;proto";
import "define.proto"; import "define.proto";
option go_package = "./;proto";
enum BlossomScheduleState { enum BlossomScheduleState {
BLOSSOM_SCHEDULE_NONE = 0; BLOSSOM_SCHEDULE_NONE = 0;
BLOSSOM_SCHEDULE_INIT = 1; BLOSSOM_SCHEDULE_INIT = 1;
BLOSSOM_SCHEDULE_IN_PROGRESS = 2; BLOSSOM_SCHEDULE_IN_PROGRESS = 2;
BLOSSOM_SCHEDULE_REWARD = 3; BLOSSOM_SCHEDULE_REWARD = 3;
} }
message BlossomBriefInfo { message BlossomBriefInfo {
uint32 refresh_id = 13; uint32 refresh_id = 13;
uint32 reward_id = 5; uint32 reward_id = 5;
uint32 city_id = 10; uint32 city_id = 10;
uint32 resin = 11; uint32 resin = 11;
uint32 state = 7; uint32 state = 7;
bool is_guide_opened = 1; bool is_guide_opened = 1;
uint32 monster_level = 8; uint32 monster_level = 8;
uint32 circle_camp_id = 15; uint32 circle_camp_id = 15;
Vector pos = 12; Vector pos = 12;
uint32 scene_id = 9; uint32 scene_id = 9;
} }
message GetBlossomBriefInfoListReq { message GetBlossomBriefInfoListReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2772; CMD_ID = 2772;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
repeated uint32 city_id_list = 4; repeated uint32 city_id_list = 4;
} }
message GetBlossomBriefInfoListRsp { message GetBlossomBriefInfoListRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2798; CMD_ID = 2798;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
int32 retcode = 12; int32 retcode = 12;
repeated BlossomBriefInfo brief_info_list = 11; repeated BlossomBriefInfo brief_info_list = 11;
} }
message BlossomBriefInfoNotify { message BlossomBriefInfoNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2712; CMD_ID = 2712;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
repeated BlossomBriefInfo brief_info_list = 4; repeated BlossomBriefInfo brief_info_list = 4;
} }
message WorldOwnerBlossomBriefInfoNotify { message WorldOwnerBlossomBriefInfoNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2735; CMD_ID = 2735;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
repeated BlossomBriefInfo brief_info_list = 13; repeated BlossomBriefInfo brief_info_list = 13;
} }
message BlossomScheduleInfo { message BlossomScheduleInfo {
uint32 progress = 13; uint32 progress = 13;
uint32 state = 10; uint32 state = 10;
uint32 round = 4; uint32 round = 4;
uint32 circle_camp_id = 15; uint32 circle_camp_id = 15;
uint32 refresh_id = 6; uint32 refresh_id = 6;
uint32 finish_progress = 14; uint32 finish_progress = 14;
} }
message WorldOwnerBlossomScheduleInfoNotify { message WorldOwnerBlossomScheduleInfoNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2707; CMD_ID = 2707;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
BlossomScheduleInfo schedule_info = 3; BlossomScheduleInfo schedule_info = 3;
} }
message BlossomChestCreateNotify { message BlossomChestCreateNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2721; CMD_ID = 2721;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 refresh_id = 1; uint32 refresh_id = 1;
uint32 circle_camp_id = 10; uint32 circle_camp_id = 10;
} }
message OpenBlossomCircleCampGuideNotify { message OpenBlossomCircleCampGuideNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2703; CMD_ID = 2703;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 refresh_id = 7; uint32 refresh_id = 7;
repeated uint32 circle_camp_id_list = 11; repeated uint32 circle_camp_id_list = 11;
} }
+128 -128
View File
@@ -2,187 +2,187 @@ syntax = "proto3";
package proto; package proto;
import "cmd/cmd_scene.proto";
import "define.proto";
option go_package = "./;proto"; option go_package = "./;proto";
import "define.proto";
import "cmd/cmd_scene.proto";
message PrivateChatReq { message PrivateChatReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5022; CMD_ID = 5022;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 target_uid = 7; uint32 target_uid = 7;
oneof content { oneof content {
string text = 3; string text = 3;
uint32 icon = 4; uint32 icon = 4;
} }
} }
message PrivateChatRsp { message PrivateChatRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5048; CMD_ID = 5048;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 chat_forbidden_endtime = 12; uint32 chat_forbidden_endtime = 12;
int32 retcode = 14; int32 retcode = 14;
} }
message PrivateChatNotify { message PrivateChatNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4962; CMD_ID = 4962;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
ChatInfo chat_info = 7; ChatInfo chat_info = 7;
} }
message PullPrivateChatReq { message PullPrivateChatReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4971; CMD_ID = 4971;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 target_uid = 5; uint32 target_uid = 5;
uint32 pull_num = 7; uint32 pull_num = 7;
uint32 from_sequence = 12; uint32 from_sequence = 12;
} }
message PullPrivateChatRsp { message PullPrivateChatRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4953; CMD_ID = 4953;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
repeated ChatInfo chat_info = 15; repeated ChatInfo chat_info = 15;
int32 retcode = 11; int32 retcode = 11;
} }
message PullRecentChatReq { message PullRecentChatReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5040; CMD_ID = 5040;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 pull_num = 6; uint32 pull_num = 6;
uint32 begin_sequence = 15; uint32 begin_sequence = 15;
} }
message PullRecentChatRsp { message PullRecentChatRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5023; CMD_ID = 5023;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
repeated ChatInfo chat_info = 15; repeated ChatInfo chat_info = 15;
int32 retcode = 3; int32 retcode = 3;
} }
message ReadPrivateChatReq { message ReadPrivateChatReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5049; CMD_ID = 5049;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 target_uid = 1; uint32 target_uid = 1;
} }
message ReadPrivateChatRsp { message ReadPrivateChatRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4981; CMD_ID = 4981;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 1; int32 retcode = 1;
} }
message ChatChannelUpdateNotify { message ChatChannelUpdateNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5025; CMD_ID = 5025;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 channel_id = 3; uint32 channel_id = 3;
bool is_create = 15; bool is_create = 15;
ChatChannelInfo channel_info = 14; ChatChannelInfo channel_info = 14;
} }
message ChatChannelInfo { message ChatChannelInfo {
bool is_shield = 15; bool is_shield = 15;
uint32 channel_id = 8; uint32 channel_id = 8;
} }
message ChatChannelDataNotify { message ChatChannelDataNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4998; CMD_ID = 4998;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
repeated uint32 channel_list = 3; repeated uint32 channel_list = 3;
repeated ChatChannelInfo channel_info_list = 7; repeated ChatChannelInfo channel_info_list = 7;
} }
message ChatChannelShieldNotify { message ChatChannelShieldNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5047; CMD_ID = 5047;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
bool is_shield = 5; bool is_shield = 5;
uint32 channel_id = 14; uint32 channel_id = 14;
} }
message ChatChannelInfoNotify { message ChatChannelInfoNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5031; CMD_ID = 5031;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
ChatChannelInfo channel_info = 2; ChatChannelInfo channel_info = 2;
} }
+88 -88
View File
@@ -2,127 +2,127 @@ syntax = "proto3";
package proto; package proto;
option go_package = "./;proto";
import "define.proto"; import "define.proto";
option go_package = "./;proto";
message CodexTypeData { message CodexTypeData {
repeated uint32 codex_id_list = 14; repeated uint32 codex_id_list = 14;
map<uint32, uint32> weapon_max_promote_level_map = 4; map<uint32, uint32> weapon_max_promote_level_map = 4;
CodexType type = 13; CodexType type = 13;
repeated bool have_viewed_list = 5; repeated bool have_viewed_list = 5;
} }
message CodexDataFullNotify { message CodexDataFullNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4205; CMD_ID = 4205;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 last_read_pushtips_codex_id = 4; uint32 last_read_pushtips_codex_id = 4;
repeated uint32 recent_viewed_pushtips_list = 2; repeated uint32 recent_viewed_pushtips_list = 2;
uint32 last_read_pushtips_type_id = 3; uint32 last_read_pushtips_type_id = 3;
repeated CodexTypeData type_data_list = 6; repeated CodexTypeData type_data_list = 6;
} }
message CodexDataUpdateNotify { message CodexDataUpdateNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4207; CMD_ID = 4207;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 id = 8; uint32 id = 8;
uint32 weapon_max_promote_level = 15; uint32 weapon_max_promote_level = 15;
CodexType type = 11; CodexType type = 11;
} }
message QueryCodexMonsterBeKilledNumReq { message QueryCodexMonsterBeKilledNumReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4203; CMD_ID = 4203;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
repeated uint32 codex_id_list = 14; repeated uint32 codex_id_list = 14;
} }
message QueryCodexMonsterBeKilledNumRsp { message QueryCodexMonsterBeKilledNumRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4209; CMD_ID = 4209;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
repeated uint32 codex_id_list = 4; repeated uint32 codex_id_list = 4;
repeated uint32 be_captured_num_list = 6; repeated uint32 be_captured_num_list = 6;
repeated uint32 be_killed_num_list = 12; repeated uint32 be_killed_num_list = 12;
int32 retcode = 5; int32 retcode = 5;
} }
message ViewCodexReq { message ViewCodexReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4202; CMD_ID = 4202;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
repeated CodexTypeData type_data_list = 10; repeated CodexTypeData type_data_list = 10;
} }
message ViewCodexRsp { message ViewCodexRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4201; CMD_ID = 4201;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 12; int32 retcode = 12;
repeated uint32 push_tips_reward_list = 10; repeated uint32 push_tips_reward_list = 10;
repeated uint32 recent_viewed_pushtips_list = 3; repeated uint32 recent_viewed_pushtips_list = 3;
repeated CodexTypeData type_data_list = 9; repeated CodexTypeData type_data_list = 9;
repeated uint32 push_tips_read_list = 15; repeated uint32 push_tips_read_list = 15;
} }
message SetCodexPushtipsReadReq { message SetCodexPushtipsReadReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4208; CMD_ID = 4208;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 type_id = 2; uint32 type_id = 2;
uint32 codex_id = 14; uint32 codex_id = 14;
} }
message SetCodexPushtipsReadRsp { message SetCodexPushtipsReadRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4206; CMD_ID = 4206;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 10; int32 retcode = 10;
uint32 type_id = 5; uint32 type_id = 5;
uint32 codex_id = 14; uint32 codex_id = 14;
} }
+285 -285
View File
@@ -5,409 +5,409 @@ package proto;
option go_package = "./;proto"; option go_package = "./;proto";
message MainCoop { message MainCoop {
enum Status { enum Status {
INVALID = 0; INVALID = 0;
RUNNING = 1; RUNNING = 1;
FINISHED = 2; FINISHED = 2;
} }
map<uint32, uint32> seen_ending_map = 13; map<uint32, uint32> seen_ending_map = 13;
map<uint32, int32> normal_var_map = 4; map<uint32, int32> normal_var_map = 4;
uint32 self_confidence = 5; uint32 self_confidence = 5;
repeated uint32 save_point_id_list = 1; repeated uint32 save_point_id_list = 1;
Status status = 6; Status status = 6;
map<uint32, int32> temp_var_map = 11; map<uint32, int32> temp_var_map = 11;
uint32 id = 9; uint32 id = 9;
} }
message AllCoopInfoNotify { message AllCoopInfoNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1976; CMD_ID = 1976;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
repeated MainCoop main_coop_list = 14; repeated MainCoop main_coop_list = 14;
} }
message MainCoopUpdateNotify { message MainCoopUpdateNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1968; CMD_ID = 1968;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
repeated MainCoop main_coop_list = 5; repeated MainCoop main_coop_list = 5;
} }
message SaveMainCoopReq { message SaveMainCoopReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1975; CMD_ID = 1975;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
map<uint32, int32> normal_var_map = 15; map<uint32, int32> normal_var_map = 15;
uint32 self_confidence = 2; uint32 self_confidence = 2;
uint32 save_point_id = 1; uint32 save_point_id = 1;
map<uint32, int32> temp_var_map = 8; map<uint32, int32> temp_var_map = 8;
uint32 id = 3; uint32 id = 3;
} }
message SaveMainCoopRsp { message SaveMainCoopRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1957; CMD_ID = 1957;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 2; int32 retcode = 2;
repeated uint32 save_point_id_list = 15; repeated uint32 save_point_id_list = 15;
uint32 id = 14; uint32 id = 14;
} }
message FinishMainCoopReq { message FinishMainCoopReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1952; CMD_ID = 1952;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 id = 10; uint32 id = 10;
uint32 ending_save_point_id = 1; uint32 ending_save_point_id = 1;
} }
message FinishMainCoopRsp { message FinishMainCoopRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1981; CMD_ID = 1981;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 id = 2; uint32 id = 2;
uint32 ending_save_point_id = 6; uint32 ending_save_point_id = 6;
int32 retcode = 4; int32 retcode = 4;
} }
message CoopPoint { message CoopPoint {
enum State { enum State {
STATE_UNSTARTED = 0; STATE_UNSTARTED = 0;
STATE_STARTED = 1; STATE_STARTED = 1;
STATE_FINISHED = 2; STATE_FINISHED = 2;
} }
uint32 self_confidence = 15; uint32 self_confidence = 15;
State state = 10; State state = 10;
uint32 id = 14; uint32 id = 14;
} }
message CoopReward { message CoopReward {
enum State { enum State {
STATE_UNLOCK = 0; STATE_UNLOCK = 0;
STATE_LOCK = 1; STATE_LOCK = 1;
STATE_TAKEN = 2; STATE_TAKEN = 2;
} }
uint32 id = 5; uint32 id = 5;
State state = 6; State state = 6;
} }
message CoopCg { message CoopCg {
bool is_unlock = 14; bool is_unlock = 14;
uint32 id = 8; uint32 id = 8;
} }
message CoopChapter { message CoopChapter {
enum State { enum State {
STATE_CLOSE = 0; STATE_CLOSE = 0;
STATE_COND_NOT_MEET = 1; STATE_COND_NOT_MEET = 1;
STATE_COND_MEET = 2; STATE_COND_MEET = 2;
STATE_ACCEPT = 3; STATE_ACCEPT = 3;
} }
repeated CoopCg coop_cg_list = 1; repeated CoopCg coop_cg_list = 1;
uint32 id = 2; uint32 id = 2;
repeated CoopPoint coop_point_list = 11; repeated CoopPoint coop_point_list = 11;
repeated uint32 finish_dialog_list = 10; repeated uint32 finish_dialog_list = 10;
uint32 finished_end_count = 14; uint32 finished_end_count = 14;
uint32 total_end_count = 7; uint32 total_end_count = 7;
repeated CoopReward coop_reward_list = 5; repeated CoopReward coop_reward_list = 5;
repeated uint32 lock_reason_list = 12; repeated uint32 lock_reason_list = 12;
State state = 4; State state = 4;
map<uint32, uint32> seen_ending_map = 9; map<uint32, uint32> seen_ending_map = 9;
} }
message CoopDataNotify { message CoopDataNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1979; CMD_ID = 1979;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
repeated CoopChapter chapter_list = 15; repeated CoopChapter chapter_list = 15;
repeated uint32 viewed_chapter_list = 7; repeated uint32 viewed_chapter_list = 7;
bool is_have_progress = 10; bool is_have_progress = 10;
uint32 cur_coop_point = 5; uint32 cur_coop_point = 5;
} }
message CoopChapterUpdateNotify { message CoopChapterUpdateNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1972; CMD_ID = 1972;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
repeated CoopChapter chapter_list = 14; repeated CoopChapter chapter_list = 14;
} }
message CoopCgUpdateNotify { message CoopCgUpdateNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1994; CMD_ID = 1994;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
repeated uint32 cg_list = 13; repeated uint32 cg_list = 13;
} }
message CoopRewardUpdateNotify { message CoopRewardUpdateNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1999; CMD_ID = 1999;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
repeated CoopReward reward_list = 7; repeated CoopReward reward_list = 7;
} }
message UnlockCoopChapterReq { message UnlockCoopChapterReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1970; CMD_ID = 1970;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 chapter_id = 3; uint32 chapter_id = 3;
} }
message UnlockCoopChapterRsp { message UnlockCoopChapterRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1995; CMD_ID = 1995;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 chapter_id = 4; uint32 chapter_id = 4;
int32 retcode = 6; int32 retcode = 6;
} }
message CoopPointUpdateNotify { message CoopPointUpdateNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1991; CMD_ID = 1991;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
CoopPoint coop_point = 13; CoopPoint coop_point = 13;
} }
message StartCoopPointReq { message StartCoopPointReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1992; CMD_ID = 1992;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 coop_point = 7; uint32 coop_point = 7;
} }
message StartCoopPointRsp { message StartCoopPointRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1964; CMD_ID = 1964;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
bool is_start = 9; bool is_start = 9;
MainCoop start_main_coop = 15; MainCoop start_main_coop = 15;
uint32 coop_point = 13; uint32 coop_point = 13;
int32 retcode = 8; int32 retcode = 8;
} }
message CancelCoopTaskReq { message CancelCoopTaskReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1997; CMD_ID = 1997;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 chapter_id = 13; uint32 chapter_id = 13;
} }
message CancelCoopTaskRsp { message CancelCoopTaskRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1987; CMD_ID = 1987;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 chapter_id = 1; uint32 chapter_id = 1;
int32 retcode = 5; int32 retcode = 5;
} }
message TakeCoopRewardReq { message TakeCoopRewardReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1973; CMD_ID = 1973;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 reward_config_id = 6; uint32 reward_config_id = 6;
} }
message TakeCoopRewardRsp { message TakeCoopRewardRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1985; CMD_ID = 1985;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 9; int32 retcode = 9;
uint32 reward_config_id = 1; uint32 reward_config_id = 1;
} }
message CoopProgressUpdateNotify { message CoopProgressUpdateNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1998; CMD_ID = 1998;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 cur_coop_point = 11; uint32 cur_coop_point = 11;
bool is_have_progress = 12; bool is_have_progress = 12;
} }
message SaveCoopDialogReq { message SaveCoopDialogReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2000; CMD_ID = 2000;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 main_coop_id = 11; uint32 main_coop_id = 11;
uint32 dialog_id = 6; uint32 dialog_id = 6;
} }
message SaveCoopDialogRsp { message SaveCoopDialogRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1962; CMD_ID = 1962;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 dialog_id = 8; uint32 dialog_id = 8;
uint32 main_coop_id = 10; uint32 main_coop_id = 10;
int32 retcode = 7; int32 retcode = 7;
} }
message CoopCgShowNotify { message CoopCgShowNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1983; CMD_ID = 1983;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
repeated uint32 cg_list = 10; repeated uint32 cg_list = 10;
} }
message SetCoopChapterViewedReq { message SetCoopChapterViewedReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1965; CMD_ID = 1965;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 chapter_id = 2; uint32 chapter_id = 2;
} }
message SetCoopChapterViewedRsp { message SetCoopChapterViewedRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1963; CMD_ID = 1963;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 chapter_id = 11; uint32 chapter_id = 11;
int32 retcode = 2; int32 retcode = 2;
} }
message MainCoopFailNotify { message MainCoopFailNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1951; CMD_ID = 1951;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
string textmap_id = 7; string textmap_id = 7;
uint32 chapter_id = 15; uint32 chapter_id = 15;
} }
+399 -399
View File
@@ -2,584 +2,584 @@ syntax = "proto3";
package proto; package proto;
import "cmd/cmd_social.proto";
import "define.proto";
option go_package = "./;proto"; option go_package = "./;proto";
import "define.proto";
import "cmd/cmd_social.proto";
enum EnterCustomDungeonType { enum EnterCustomDungeonType {
ENTER_CUSTOM_DUNGEON_NONE = 0; ENTER_CUSTOM_DUNGEON_NONE = 0;
ENTER_CUSTOM_DUNGEON_EDIT = 1; ENTER_CUSTOM_DUNGEON_EDIT = 1;
ENTER_CUSTOM_DUNGEON_PLAY = 2; ENTER_CUSTOM_DUNGEON_PLAY = 2;
ENTER_CUSTOM_DUNGEON_OFFICIAL = 3; ENTER_CUSTOM_DUNGEON_OFFICIAL = 3;
} }
enum CustomDungeonState { enum CustomDungeonState {
CUSTOM_DUNGEON_STATE_EDIT = 0; CUSTOM_DUNGEON_STATE_EDIT = 0;
CUSTOM_DUNGEON_STATE_SELF_PASS = 1; CUSTOM_DUNGEON_STATE_SELF_PASS = 1;
CUSTOM_DUNGEON_STATE_PUBLISHED = 2; CUSTOM_DUNGEON_STATE_PUBLISHED = 2;
} }
enum CustomDungeonBanType { enum CustomDungeonBanType {
CUSTOM_DUNGEON_BAN_TYPE_NONE = 0; CUSTOM_DUNGEON_BAN_TYPE_NONE = 0;
CUSTOM_DUNGEON_BAN_TYPE_LAYOUT = 1; CUSTOM_DUNGEON_BAN_TYPE_LAYOUT = 1;
} }
enum TryCustomDungeonType { enum TryCustomDungeonType {
TRY_CUSTOM_DUNGEON_NONE = 0; TRY_CUSTOM_DUNGEON_NONE = 0;
TRY_CUSTOM_DUNGEON_ROOM = 1; TRY_CUSTOM_DUNGEON_ROOM = 1;
TRY_CUSTOM_DUNGEON_ALL = 2; TRY_CUSTOM_DUNGEON_ALL = 2;
TRY_CUSTOM_DUNGEON_OFFICIAL_PLAY = 3; TRY_CUSTOM_DUNGEON_OFFICIAL_PLAY = 3;
} }
message CustomDungeonBlock { message CustomDungeonBlock {
uint32 block_id = 8; uint32 block_id = 8;
Vector rot = 12; Vector rot = 12;
uint32 guid = 4; uint32 guid = 4;
Vector pos = 1; Vector pos = 1;
} }
message CustomDungeonRoom { message CustomDungeonRoom {
uint32 room_id = 15; uint32 room_id = 15;
repeated CustomDungeonBlock block_list = 4; repeated CustomDungeonBlock block_list = 4;
} }
message CustomDungeonSetting { message CustomDungeonSetting {
repeated uint32 open_room_list = 1; repeated uint32 open_room_list = 1;
bool is_arrive_finish = 14; bool is_arrive_finish = 14;
uint32 life_num = 6; uint32 life_num = 6;
uint32 start_room_id = 4; uint32 start_room_id = 4;
bool is_forbid_skill = 3; bool is_forbid_skill = 3;
uint32 coin_limit = 10; uint32 coin_limit = 10;
uint32 time_limit = 9; uint32 time_limit = 9;
} }
message CustomDungeon { message CustomDungeon {
CustomDungeonSetting setting = 1; CustomDungeonSetting setting = 1;
repeated CustomDungeonRoom room_list = 15; repeated CustomDungeonRoom room_list = 15;
uint32 dungeon_id = 3; uint32 dungeon_id = 3;
uint64 dungeon_guid = 10; uint64 dungeon_guid = 10;
} }
message EnterCustomDungeonReq { message EnterCustomDungeonReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 6226; CMD_ID = 6226;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint64 dungeon_guid = 11; uint64 dungeon_guid = 11;
uint32 dungeon_id = 12; uint32 dungeon_id = 12;
EnterCustomDungeonType enter_type = 10; EnterCustomDungeonType enter_type = 10;
} }
message EnterCustomDungeonRsp { message EnterCustomDungeonRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 6218; CMD_ID = 6218;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
CustomDungeon custom_dungeon = 14; CustomDungeon custom_dungeon = 14;
EnterCustomDungeonType enter_type = 2; EnterCustomDungeonType enter_type = 2;
int32 retcode = 10; int32 retcode = 10;
map<uint32, uint32> room_cost_map = 6; map<uint32, uint32> room_cost_map = 6;
} }
message SaveCustomDungeonRoomReq { message SaveCustomDungeonRoomReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 6225; CMD_ID = 6225;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
CustomDungeonRoom custom_dungeon_room = 5; CustomDungeonRoom custom_dungeon_room = 5;
bool is_update_setting = 7; bool is_update_setting = 7;
CustomDungeonSetting setting = 13; CustomDungeonSetting setting = 13;
} }
message SaveCustomDungeonRoomRsp { message SaveCustomDungeonRoomRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 6207; CMD_ID = 6207;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 room_id = 14; uint32 room_id = 14;
repeated CustomDungeonBlock error_block_list = 9; repeated CustomDungeonBlock error_block_list = 9;
int32 retcode = 12; int32 retcode = 12;
} }
message CustomDungeonAbstract { message CustomDungeonAbstract {
map<uint32, uint32> brick_statistics_map = 12; map<uint32, uint32> brick_statistics_map = 12;
uint32 first_publish_time = 3; uint32 first_publish_time = 3;
uint32 total_coin_num = 15; uint32 total_coin_num = 15;
uint32 last_publish_time = 6; uint32 last_publish_time = 6;
uint32 finish_room_id = 7; uint32 finish_room_id = 7;
} }
message CustomDungeonSocial { message CustomDungeonSocial {
uint32 win_num = 4; uint32 win_num = 4;
uint32 like_num = 12; uint32 like_num = 12;
uint32 play_num = 7; uint32 play_num = 7;
uint32 store_num = 2; uint32 store_num = 2;
} }
message CustomDungeonBrief { message CustomDungeonBrief {
CustomDungeonSetting setting = 2; CustomDungeonSetting setting = 2;
bool is_psn_platform = 13; bool is_psn_platform = 13;
CustomDungeonSocial social = 7; CustomDungeonSocial social = 7;
uint64 dungeon_guid = 10; uint64 dungeon_guid = 10;
uint32 last_save_time = 14; uint32 last_save_time = 14;
repeated uint32 tag_list = 15; repeated uint32 tag_list = 15;
uint32 dungeon_id = 5; uint32 dungeon_id = 5;
uint32 battle_min_cost_time = 12; uint32 battle_min_cost_time = 12;
CustomDungeonState state = 1; CustomDungeonState state = 1;
CustomDungeonAbstract abstract = 4; CustomDungeonAbstract abstract = 4;
} }
message OtherCustomDungeonBrief { message OtherCustomDungeonBrief {
SocialDetail creator_detail = 4; SocialDetail creator_detail = 4;
uint32 battle_min_cost_time = 15; uint32 battle_min_cost_time = 15;
CustomDungeonAbstract abstract = 2; CustomDungeonAbstract abstract = 2;
uint64 dungeon_guid = 14; uint64 dungeon_guid = 14;
CustomDungeonSetting setting = 10; CustomDungeonSetting setting = 10;
uint32 dungeon_id = 6; uint32 dungeon_id = 6;
repeated uint32 tag_list = 1; repeated uint32 tag_list = 1;
bool is_adventure_dungeon = 11; bool is_adventure_dungeon = 11;
bool is_psn_platform = 9; bool is_psn_platform = 9;
bool is_stored = 3; bool is_stored = 3;
CustomDungeonSocial social = 12; CustomDungeonSocial social = 12;
} }
message CustomDungeonBanInfo { message CustomDungeonBanInfo {
CustomDungeonBanType ban_type = 11; CustomDungeonBanType ban_type = 11;
uint32 expire_time = 6; uint32 expire_time = 6;
uint64 dungeon_guid = 5; uint64 dungeon_guid = 5;
} }
message ChangeCustomDungeonRoomReq { message ChangeCustomDungeonRoomReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 6222; CMD_ID = 6222;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 room_id = 4; uint32 room_id = 4;
} }
message ChangeCustomDungeonRoomRsp { message ChangeCustomDungeonRoomRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 6244; CMD_ID = 6244;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 1; int32 retcode = 1;
uint32 room_id = 13; uint32 room_id = 13;
} }
message RemoveCustomDungeonReq { message RemoveCustomDungeonReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 6249; CMD_ID = 6249;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint64 dungeon_guid = 14; uint64 dungeon_guid = 14;
} }
message RemoveCustomDungeonRsp { message RemoveCustomDungeonRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 6220; CMD_ID = 6220;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 14; int32 retcode = 14;
uint64 dungeon_guid = 11; uint64 dungeon_guid = 11;
} }
message TryCustomDungeonReq { message TryCustomDungeonReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 6245; CMD_ID = 6245;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 room_id = 13; uint32 room_id = 13;
} }
message TryCustomDungeonRsp { message TryCustomDungeonRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 6241; CMD_ID = 6241;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 room_id = 4; uint32 room_id = 4;
int32 retcode = 1; int32 retcode = 1;
} }
message PublishCustomDungeonReq { message PublishCustomDungeonReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 6242; CMD_ID = 6242;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
repeated uint32 tag_list = 1; repeated uint32 tag_list = 1;
uint64 dungeon_guid = 5; uint64 dungeon_guid = 5;
} }
message PublishCustomDungeonRsp { message PublishCustomDungeonRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 6214; CMD_ID = 6214;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 2; int32 retcode = 2;
} }
message ExitCustomDungeonTryReq { message ExitCustomDungeonTryReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 6247; CMD_ID = 6247;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
} }
message ExitCustomDungeonTryRsp { message ExitCustomDungeonTryRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 6237; CMD_ID = 6237;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 3; int32 retcode = 3;
} }
message CustomDungeonUpdateNotify { message CustomDungeonUpdateNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 6223; CMD_ID = 6223;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
CustomDungeonBrief dungeon_brief = 12; CustomDungeonBrief dungeon_brief = 12;
} }
message GetRecommendCustomDungeonReq { message GetRecommendCustomDungeonReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 6235; CMD_ID = 6235;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
bool is_refresh = 13; bool is_refresh = 13;
} }
message GetRecommendCustomDungeonRsp { message GetRecommendCustomDungeonRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 6248; CMD_ID = 6248;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
repeated OtherCustomDungeonBrief custom_dungeon_list = 8; repeated OtherCustomDungeonBrief custom_dungeon_list = 8;
int32 retcode = 14; int32 retcode = 14;
} }
message GetStoreCustomDungeonReq { message GetStoreCustomDungeonReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 6250; CMD_ID = 6250;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
} }
message GetStoreCustomDungeonRsp { message GetStoreCustomDungeonRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 6212; CMD_ID = 6212;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 13; int32 retcode = 13;
repeated OtherCustomDungeonBrief custom_dungeon_list = 7; repeated OtherCustomDungeonBrief custom_dungeon_list = 7;
} }
message SearchCustomDungeonReq { message SearchCustomDungeonReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 6233; CMD_ID = 6233;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
string dungeon_code = 6; string dungeon_code = 6;
} }
message SearchCustomDungeonRsp { message SearchCustomDungeonRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 6215; CMD_ID = 6215;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 15; int32 retcode = 15;
OtherCustomDungeonBrief custom_dungeon_brief = 14; OtherCustomDungeonBrief custom_dungeon_brief = 14;
} }
message StoreCustomDungeonReq { message StoreCustomDungeonReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 6213; CMD_ID = 6213;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
bool is_cancel_store = 9; bool is_cancel_store = 9;
uint64 dungeon_guid = 11; uint64 dungeon_guid = 11;
} }
message StoreCustomDungeonRsp { message StoreCustomDungeonRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 6201; CMD_ID = 6201;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 12; int32 retcode = 12;
} }
message LikeCustomDungeonReq { message LikeCustomDungeonReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 6210; CMD_ID = 6210;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
bool is_cancel_like = 5; bool is_cancel_like = 5;
uint64 dungeon_guid = 10; uint64 dungeon_guid = 10;
} }
message LikeCustomDungeonRsp { message LikeCustomDungeonRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 6219; CMD_ID = 6219;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 3; int32 retcode = 3;
} }
message GetCustomDungeonReq { message GetCustomDungeonReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 6209; CMD_ID = 6209;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
} }
message GetCustomDungeonRsp { message GetCustomDungeonRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 6227; CMD_ID = 6227;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 10; int32 retcode = 10;
CustomDungeonBanInfo ban_info = 14; CustomDungeonBanInfo ban_info = 14;
repeated CustomDungeonBrief brief_list = 5; repeated CustomDungeonBrief brief_list = 5;
} }
message CustomDungeonRecoverNotify { message CustomDungeonRecoverNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 6217; CMD_ID = 6217;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
EnterCustomDungeonType enter_type = 14; EnterCustomDungeonType enter_type = 14;
TryCustomDungeonType try_type = 3; TryCustomDungeonType try_type = 3;
CustomDungeon custom_dungeon = 10; CustomDungeon custom_dungeon = 10;
repeated uint32 official_black_coin_list = 12; repeated uint32 official_black_coin_list = 12;
} }
message BackPlayCustomDungeonOfficialReq { message BackPlayCustomDungeonOfficialReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 6203; CMD_ID = 6203;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 room_id = 2; uint32 room_id = 2;
} }
message BackPlayCustomDungeonOfficialRsp { message BackPlayCustomDungeonOfficialRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 6204; CMD_ID = 6204;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 12; int32 retcode = 12;
} }
message CustomDungeonOfficialNotify { message CustomDungeonOfficialNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 6221; CMD_ID = 6221;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
TryCustomDungeonType try_type = 9; TryCustomDungeonType try_type = 9;
repeated uint32 official_black_coin_list = 14; repeated uint32 official_black_coin_list = 14;
EnterCustomDungeonType enter_type = 15; EnterCustomDungeonType enter_type = 15;
} }
message CustomDungeonVerify { message CustomDungeonVerify {
uint64 dungeon_guid = 3; uint64 dungeon_guid = 3;
uint32 uid = 15; uint32 uid = 15;
uint32 timestamp = 4; uint32 timestamp = 4;
string region = 11; string region = 11;
uint32 lang = 13; uint32 lang = 13;
} }
message ReplayCustomDungeonReq { message ReplayCustomDungeonReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 6243; CMD_ID = 6243;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
} }
message ReplayCustomDungeonRsp { message ReplayCustomDungeonRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 6240; CMD_ID = 6240;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
int32 retcode = 15; int32 retcode = 15;
} }
message CustomDungeonBattleRecordNotify { message CustomDungeonBattleRecordNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 6236; CMD_ID = 6236;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 min_cost_time = 13; uint32 min_cost_time = 13;
uint64 dungeon_guid = 12; uint64 dungeon_guid = 12;
} }
message OutStuckCustomDungeonReq { message OutStuckCustomDungeonReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 6211; CMD_ID = 6211;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
} }
message OutStuckCustomDungeonRsp { message OutStuckCustomDungeonRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 6234; CMD_ID = 6234;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
int32 retcode = 15; int32 retcode = 15;
} }
+127 -127
View File
@@ -2,185 +2,185 @@ syntax = "proto3";
package proto; package proto;
option go_package = "./;proto";
import "define.proto"; import "define.proto";
option go_package = "./;proto";
enum DraftInviteFailReason { enum DraftInviteFailReason {
DRAFT_FAIL_UNKNOWN = 0; DRAFT_FAIL_UNKNOWN = 0;
DRAFT_ACTIVITY_NOT_OPEN = 1; DRAFT_ACTIVITY_NOT_OPEN = 1;
DRAFT_ACTIVITY_PLAY_NOT_OPEN = 2; DRAFT_ACTIVITY_PLAY_NOT_OPEN = 2;
DRAFT_SCENE_NOT_MEET = 3; DRAFT_SCENE_NOT_MEET = 3;
DRAFT_WORLD_NOT_MEET = 4; DRAFT_WORLD_NOT_MEET = 4;
DRAFT_PLAY_LIMIT_NOT_MEET = 5; DRAFT_PLAY_LIMIT_NOT_MEET = 5;
} }
message DraftOwnerStartInviteReq { message DraftOwnerStartInviteReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5412; CMD_ID = 5412;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 draft_id = 14; uint32 draft_id = 14;
} }
message DraftInviteFailInfo { message DraftInviteFailInfo {
uint32 uid = 8; uint32 uid = 8;
DraftInviteFailReason reason = 5; DraftInviteFailReason reason = 5;
} }
message DraftOwnerStartInviteRsp { message DraftOwnerStartInviteRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5435; CMD_ID = 5435;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
repeated DraftInviteFailInfo invite_fail_info_list = 15; repeated DraftInviteFailInfo invite_fail_info_list = 15;
int32 retcode = 9; int32 retcode = 9;
uint32 wrong_uid = 3; uint32 wrong_uid = 3;
uint32 draft_id = 14; uint32 draft_id = 14;
} }
message DraftOwnerInviteNotify { message DraftOwnerInviteNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5407; CMD_ID = 5407;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 draft_id = 4; uint32 draft_id = 4;
uint32 invite_deadline_time = 15; uint32 invite_deadline_time = 15;
} }
message DraftGuestReplyInviteReq { message DraftGuestReplyInviteReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5421; CMD_ID = 5421;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 draft_id = 10; uint32 draft_id = 10;
bool is_agree = 3; bool is_agree = 3;
} }
message DraftGuestReplyInviteRsp { message DraftGuestReplyInviteRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5403; CMD_ID = 5403;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 draft_id = 3; uint32 draft_id = 3;
int32 retcode = 1; int32 retcode = 1;
bool is_agree = 10; bool is_agree = 10;
} }
message DraftGuestReplyInviteNotify { message DraftGuestReplyInviteNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5490; CMD_ID = 5490;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 draft_id = 5; uint32 draft_id = 5;
bool is_agree = 9; bool is_agree = 9;
uint32 guest_uid = 10; uint32 guest_uid = 10;
} }
message DraftInviteResultNotify { message DraftInviteResultNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5473; CMD_ID = 5473;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
bool is_all_argee = 9; bool is_all_argee = 9;
uint32 draft_id = 13; uint32 draft_id = 13;
} }
message DraftOwnerTwiceConfirmNotify { message DraftOwnerTwiceConfirmNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5499; CMD_ID = 5499;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 twice_confirm_deadline_time = 15; uint32 twice_confirm_deadline_time = 15;
uint32 draft_id = 14; uint32 draft_id = 14;
} }
message DraftGuestReplyTwiceConfirmReq { message DraftGuestReplyTwiceConfirmReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5431; CMD_ID = 5431;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
bool is_agree = 15; bool is_agree = 15;
uint32 draft_id = 14; uint32 draft_id = 14;
} }
message DraftGuestReplyTwiceConfirmRsp { message DraftGuestReplyTwiceConfirmRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5475; CMD_ID = 5475;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 draft_id = 5; uint32 draft_id = 5;
bool is_agree = 13; bool is_agree = 13;
int32 retcode = 3; int32 retcode = 3;
} }
message DraftTwiceConfirmResultNotify { message DraftTwiceConfirmResultNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5448; CMD_ID = 5448;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
bool is_all_argee = 7; bool is_all_argee = 7;
uint32 draft_id = 1; uint32 draft_id = 1;
} }
message DraftGuestReplyTwiceConfirmNotify { message DraftGuestReplyTwiceConfirmNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5497; CMD_ID = 5497;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
bool is_agree = 14; bool is_agree = 14;
uint32 draft_id = 15; uint32 draft_id = 15;
uint32 guest_uid = 7; uint32 guest_uid = 7;
} }
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+201 -201
View File
@@ -2,289 +2,289 @@ syntax = "proto3";
package proto; package proto;
option go_package = "./;proto";
import "define.proto"; import "define.proto";
option go_package = "./;proto";
enum FishEscapeReason { enum FishEscapeReason {
FISN_ESCAPE_NONE = 0; FISN_ESCAPE_NONE = 0;
FISH_ESCAPE_SHOCKED = 1; FISH_ESCAPE_SHOCKED = 1;
FISH_ESCAPE_UNHOOK = 2; FISH_ESCAPE_UNHOOK = 2;
} }
enum FishBattleResult { enum FishBattleResult {
FISH_BATTLE_RESULT_NONE = 0; FISH_BATTLE_RESULT_NONE = 0;
FISH_BATTLE_RESULT_SUCC = 1; FISH_BATTLE_RESULT_SUCC = 1;
FISH_BATTLE_RESULT_FAIL = 2; FISH_BATTLE_RESULT_FAIL = 2;
FISH_BATTLE_RESULT_TIMEOUT = 3; FISH_BATTLE_RESULT_TIMEOUT = 3;
FISH_BATTLE_RESULT_CANCEL = 4; FISH_BATTLE_RESULT_CANCEL = 4;
FISH_BATTLE_RESULT_EXIT = 5; FISH_BATTLE_RESULT_EXIT = 5;
} }
message EnterFishingReq { message EnterFishingReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5826; CMD_ID = 5826;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 fish_pool_id = 3; uint32 fish_pool_id = 3;
} }
message EnterFishingRsp { message EnterFishingRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5818; CMD_ID = 5818;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 7; int32 retcode = 7;
uint32 fish_pool_id = 9; uint32 fish_pool_id = 9;
} }
message StartFishingReq { message StartFishingReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5825; CMD_ID = 5825;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 rod_entity_id = 5; uint32 rod_entity_id = 5;
uint32 fish_pool_id = 15; uint32 fish_pool_id = 15;
} }
message StartFishingRsp { message StartFishingRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5807; CMD_ID = 5807;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 1; int32 retcode = 1;
uint32 fish_pool_id = 14; uint32 fish_pool_id = 14;
} }
message FishCastRodReq { message FishCastRodReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5802; CMD_ID = 5802;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 bait_id = 14; uint32 bait_id = 14;
uint32 rod_id = 4; uint32 rod_id = 4;
uint32 rod_entity_id = 7; uint32 rod_entity_id = 7;
Vector pos = 12; Vector pos = 12;
} }
message FishCastRodRsp { message FishCastRodRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5831; CMD_ID = 5831;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 12; int32 retcode = 12;
} }
message FishChosenNotify { message FishChosenNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5829; CMD_ID = 5829;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 fish_id = 12; uint32 fish_id = 12;
} }
message FishEscapeNotify { message FishEscapeNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5822; CMD_ID = 5822;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
FishEscapeReason reason = 4; FishEscapeReason reason = 4;
Vector pos = 7; Vector pos = 7;
uint32 uid = 14; uint32 uid = 14;
repeated uint32 fish_id_list = 6; repeated uint32 fish_id_list = 6;
} }
message FishBiteReq { message FishBiteReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5844; CMD_ID = 5844;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
} }
message FishBiteRsp { message FishBiteRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5849; CMD_ID = 5849;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 9; int32 retcode = 9;
} }
message FishBattleBeginReq { message FishBattleBeginReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5820; CMD_ID = 5820;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
} }
message FishBattleBeginRsp { message FishBattleBeginRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5845; CMD_ID = 5845;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 10; int32 retcode = 10;
} }
message FishBattleEndReq { message FishBattleEndReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5841; CMD_ID = 5841;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 max_bonus_time = 3; uint32 max_bonus_time = 3;
FishBattleResult battle_result = 10; FishBattleResult battle_result = 10;
bool is_always_bonus = 11; bool is_always_bonus = 11;
} }
message FishBattleEndRsp { message FishBattleEndRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5842; CMD_ID = 5842;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
enum FishNoRewardReason { enum FishNoRewardReason {
FISH_NO_REWARD_NONE = 0; FISH_NO_REWARD_NONE = 0;
FISH_NO_REWARD_ACTIVITY_LIMIT = 1; FISH_NO_REWARD_ACTIVITY_LIMIT = 1;
FISH_NO_REWARD_BAG_LIMIT = 2; FISH_NO_REWARD_BAG_LIMIT = 2;
FISH_NO_REWARD_POOL_LIMIT = 3; FISH_NO_REWARD_POOL_LIMIT = 3;
} }
bool is_got_reward = 10; bool is_got_reward = 10;
repeated ItemParam reward_item_list = 11; repeated ItemParam reward_item_list = 11;
repeated ItemParam talent_item_list = 13; repeated ItemParam talent_item_list = 13;
repeated ItemParam drop_item_list = 9; repeated ItemParam drop_item_list = 9;
int32 retcode = 7; int32 retcode = 7;
FishNoRewardReason no_reward_reason = 14; FishNoRewardReason no_reward_reason = 14;
FishBattleResult battle_result = 6; FishBattleResult battle_result = 6;
} }
message ExitFishingReq { message ExitFishingReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5814; CMD_ID = 5814;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
} }
message ExitFishingRsp { message ExitFishingRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5847; CMD_ID = 5847;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 9; int32 retcode = 9;
} }
message FishAttractNotify { message FishAttractNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5837; CMD_ID = 5837;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
repeated uint32 fish_id_list = 3; repeated uint32 fish_id_list = 3;
Vector pos = 9; Vector pos = 9;
uint32 uid = 2; uint32 uid = 2;
} }
message FishBaitGoneNotify { message FishBaitGoneNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5823; CMD_ID = 5823;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 uid = 8; uint32 uid = 8;
} }
message PlayerFishingDataNotify { message PlayerFishingDataNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5835; CMD_ID = 5835;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 last_fish_rod_id = 8; uint32 last_fish_rod_id = 8;
} }
message FishPoolDataNotify { message FishPoolDataNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5848; CMD_ID = 5848;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 entity_id = 6; uint32 entity_id = 6;
uint32 today_fish_num = 2; uint32 today_fish_num = 2;
} }
+139 -139
View File
@@ -2,186 +2,186 @@ syntax = "proto3";
package proto; package proto;
option go_package = "./;proto";
import "define.proto"; import "define.proto";
option go_package = "./;proto";
message GetGachaInfoReq { message GetGachaInfoReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1572; CMD_ID = 1572;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
} }
message GachaUpInfo { message GachaUpInfo {
uint32 item_parent_type = 7; uint32 item_parent_type = 7;
repeated uint32 item_id_list = 15; repeated uint32 item_id_list = 15;
} }
message GachaInfo { message GachaInfo {
uint32 ten_cost_item_id = 2; uint32 ten_cost_item_id = 2;
uint32 end_time = 14; uint32 end_time = 14;
repeated uint32 display_up4_item_list = 1875; repeated uint32 display_up4_item_list = 1875;
uint32 cur_schedule_daily_gacha_times = 469; uint32 cur_schedule_daily_gacha_times = 469;
repeated GachaUpInfo gacha_up_info_list = 1233; repeated GachaUpInfo gacha_up_info_list = 1233;
string gacha_prob_url = 8; string gacha_prob_url = 8;
string gacha_prefab_path = 15; string gacha_prefab_path = 15;
uint32 wish_item_id = 1637; uint32 wish_item_id = 1637;
uint32 begin_time = 1; uint32 begin_time = 1;
uint32 wish_max_progress = 1222; uint32 wish_max_progress = 1222;
uint32 schedule_id = 10; uint32 schedule_id = 10;
string gacha_prob_url_oversea = 1481; string gacha_prob_url_oversea = 1481;
uint32 gacha_type = 13; uint32 gacha_type = 13;
uint32 left_gacha_times = 5; uint32 left_gacha_times = 5;
repeated uint32 display_up5_item_list = 2006; repeated uint32 display_up5_item_list = 2006;
uint32 gacha_times_limit = 11; uint32 gacha_times_limit = 11;
uint32 cost_item_num = 3; uint32 cost_item_num = 3;
bool is_new_wish = 733; bool is_new_wish = 733;
uint32 cost_item_id = 9; uint32 cost_item_id = 9;
uint32 ten_cost_item_num = 6; uint32 ten_cost_item_num = 6;
string gacha_preview_prefab_path = 4; string gacha_preview_prefab_path = 4;
uint32 wish_progress = 1819; uint32 wish_progress = 1819;
string title_textmap = 736; string title_textmap = 736;
string gacha_record_url_oversea = 1854; string gacha_record_url_oversea = 1854;
uint32 gacha_sort_id = 7; uint32 gacha_sort_id = 7;
string gacha_record_url = 12; string gacha_record_url = 12;
} }
message GetGachaInfoRsp { message GetGachaInfoRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1598; CMD_ID = 1598;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
bool is_under_general_restrict = 6; bool is_under_general_restrict = 6;
uint32 gacha_random = 9; uint32 gacha_random = 9;
int32 retcode = 10; int32 retcode = 10;
bool is_under_minors_restrict = 2; bool is_under_minors_restrict = 2;
uint32 daily_gacha_times = 5; uint32 daily_gacha_times = 5;
repeated GachaInfo gacha_info_list = 13; repeated GachaInfo gacha_info_list = 13;
} }
message DoGachaReq { message DoGachaReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1512; CMD_ID = 1512;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 gacha_times = 10; uint32 gacha_times = 10;
uint32 gacha_schedule_id = 7; uint32 gacha_schedule_id = 7;
uint32 gacha_type = 14; uint32 gacha_type = 14;
uint32 gacha_random = 13; uint32 gacha_random = 13;
string gacha_tag = 4; string gacha_tag = 4;
} }
message GachaTransferItem { message GachaTransferItem {
ItemParam item = 3; ItemParam item = 3;
bool is_transfer_item_new = 1; bool is_transfer_item_new = 1;
} }
message GachaItem { message GachaItem {
ItemParam gacha_item = 7; ItemParam gacha_item = 7;
bool is_gacha_item_new = 6; bool is_gacha_item_new = 6;
bool is_flash_card = 8; bool is_flash_card = 8;
repeated ItemParam token_item_list = 9; repeated ItemParam token_item_list = 9;
repeated GachaTransferItem transfer_items = 12; repeated GachaTransferItem transfer_items = 12;
} }
message DoGachaRsp { message DoGachaRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1535; CMD_ID = 1535;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 cur_schedule_daily_gacha_times = 155; uint32 cur_schedule_daily_gacha_times = 155;
uint32 cost_item_num = 10; uint32 cost_item_num = 10;
uint32 wish_max_progress = 9; uint32 wish_max_progress = 9;
uint32 wish_item_id = 8; uint32 wish_item_id = 8;
int32 retcode = 13; int32 retcode = 13;
uint32 ten_cost_item_num = 3; uint32 ten_cost_item_num = 3;
uint32 wish_progress = 2; uint32 wish_progress = 2;
repeated GachaItem gacha_item_list = 15; repeated GachaItem gacha_item_list = 15;
uint32 ten_cost_item_id = 7; uint32 ten_cost_item_id = 7;
uint32 gacha_times = 4; uint32 gacha_times = 4;
bool is_under_minors_restrict = 1435; bool is_under_minors_restrict = 1435;
bool is_under_general_restrict = 1868; bool is_under_general_restrict = 1868;
uint32 gacha_type = 12; uint32 gacha_type = 12;
uint32 gacha_times_limit = 1; uint32 gacha_times_limit = 1;
uint32 cost_item_id = 14; uint32 cost_item_id = 14;
uint32 daily_gacha_times = 1240; uint32 daily_gacha_times = 1240;
uint32 left_gacha_times = 6; uint32 left_gacha_times = 6;
uint32 new_gacha_random = 11; uint32 new_gacha_random = 11;
uint32 gacha_schedule_id = 5; uint32 gacha_schedule_id = 5;
} }
message GachaWishReq { message GachaWishReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1507; CMD_ID = 1507;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 gacha_schedule_id = 14; uint32 gacha_schedule_id = 14;
uint32 gacha_type = 13; uint32 gacha_type = 13;
uint32 item_id = 4; uint32 item_id = 4;
} }
message GachaWishRsp { message GachaWishRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1521; CMD_ID = 1521;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 gacha_type = 8; uint32 gacha_type = 8;
uint32 gacha_schedule_id = 7; uint32 gacha_schedule_id = 7;
uint32 wish_max_progress = 2; uint32 wish_max_progress = 2;
uint32 wish_progress = 5; uint32 wish_progress = 5;
uint32 wish_item_id = 3; uint32 wish_item_id = 3;
int32 retcode = 14; int32 retcode = 14;
} }
message GachaOpenWishNotify { message GachaOpenWishNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1503; CMD_ID = 1503;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 gacha_type = 2; uint32 gacha_type = 2;
uint32 gacha_schedule_id = 9; uint32 gacha_schedule_id = 9;
} }
message GachaSimpleInfoNotify { message GachaSimpleInfoNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1590; CMD_ID = 1590;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
bool is_new = 5; bool is_new = 5;
} }
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+121 -121
View File
@@ -5,167 +5,167 @@ package proto;
option go_package = "./;proto"; option go_package = "./;proto";
enum GCGActionType { enum GCGActionType {
GCG_ACTION_NONE = 0; GCG_ACTION_NONE = 0;
GCG_ACTION_SPECIAL_PHASE = 1; GCG_ACTION_SPECIAL_PHASE = 1;
GCG_ACTION_NEXT_PHASE = 2; GCG_ACTION_NEXT_PHASE = 2;
GCG_ACTION_DRAW = 3; GCG_ACTION_DRAW = 3;
GCG_ACTION_REDRAW = 4; GCG_ACTION_REDRAW = 4;
GCG_ACTION_SELECT_ONSTAGE = 5; GCG_ACTION_SELECT_ONSTAGE = 5;
GCG_ACTION_ROLL = 6; GCG_ACTION_ROLL = 6;
GCG_ACTION_REROLL = 7; GCG_ACTION_REROLL = 7;
GCG_ACTION_ATTACK = 8; GCG_ACTION_ATTACK = 8;
GCG_ACTION_PLAY_CARD = 9; GCG_ACTION_PLAY_CARD = 9;
GCG_ACTION_PASS = 10; GCG_ACTION_PASS = 10;
GCG_ACTION_REBOOT = 11; GCG_ACTION_REBOOT = 11;
GCG_ACTION_GAME_OVER = 12; GCG_ACTION_GAME_OVER = 12;
GCG_ACTION_TRIGGER = 13; GCG_ACTION_TRIGGER = 13;
GCG_ACTION_PHASE_EXIT = 14; GCG_ACTION_PHASE_EXIT = 14;
GCG_ACTION_CUSTOM = 15; GCG_ACTION_CUSTOM = 15;
GCG_ACTION_NOTIFY_COST = 16; GCG_ACTION_NOTIFY_COST = 16;
GCG_ACTION_AFTER_OPERATION = 17; GCG_ACTION_AFTER_OPERATION = 17;
GCG_ACTION_USE_SKILL = 18; GCG_ACTION_USE_SKILL = 18;
GCG_ACTION_NOTIFY_SKILL_PREVIEW = 19; GCG_ACTION_NOTIFY_SKILL_PREVIEW = 19;
GCG_ACTION_PREVIEW_ATTACK = 20; GCG_ACTION_PREVIEW_ATTACK = 20;
GCG_ACTION_PREVIEW_AFTER_ATTACK = 21; GCG_ACTION_PREVIEW_AFTER_ATTACK = 21;
GCG_ACTION_SEND_MESSAGE = 22; GCG_ACTION_SEND_MESSAGE = 22;
GCG_ACTION_WAITING_CHARACTER = 23; GCG_ACTION_WAITING_CHARACTER = 23;
GCG_ACTION_TRIGGER_SKILL = 24; GCG_ACTION_TRIGGER_SKILL = 24;
GCG_ACTION_BEFORE_NEXT_OPERATION = 25; GCG_ACTION_BEFORE_NEXT_OPERATION = 25;
} }
enum GCGControllerValue { enum GCGControllerValue {
GCG_CONTROLLER_NONE = 0; GCG_CONTROLLER_NONE = 0;
GCG_CONTROLLER_A = 1; GCG_CONTROLLER_A = 1;
GCG_CONTROLLER_B = 2; GCG_CONTROLLER_B = 2;
} }
enum GCGDiceSideType { enum GCGDiceSideType {
GCG_DICE_SIDE_INVALID = 0; GCG_DICE_SIDE_INVALID = 0;
GCG_DICE_SIDE_CRYO = 1; GCG_DICE_SIDE_CRYO = 1;
GCG_DICE_SIDE_HYDRO = 2; GCG_DICE_SIDE_HYDRO = 2;
GCG_DICE_SIDE_PYRO = 3; GCG_DICE_SIDE_PYRO = 3;
GCG_DICE_SIDE_ELECTRO = 4; GCG_DICE_SIDE_ELECTRO = 4;
GCG_DICE_SIDE_GEO = 5; GCG_DICE_SIDE_GEO = 5;
GCG_DICE_SIDE_DENDRO = 6; GCG_DICE_SIDE_DENDRO = 6;
GCG_DICE_SIDE_ANEMO = 7; GCG_DICE_SIDE_ANEMO = 7;
GCG_DICE_SIDE_PAIMON = 8; GCG_DICE_SIDE_PAIMON = 8;
} }
enum GCGZoneType { enum GCGZoneType {
GCG_ZONE_INVALID = 0; GCG_ZONE_INVALID = 0;
GCG_ZONE_DECK = 1; GCG_ZONE_DECK = 1;
GCG_ZONE_HAND = 2; GCG_ZONE_HAND = 2;
GCG_ZONE_CHARACTER = 3; GCG_ZONE_CHARACTER = 3;
GCG_ZONE_MODIFY = 4; GCG_ZONE_MODIFY = 4;
GCG_ZONE_SUMMON = 5; GCG_ZONE_SUMMON = 5;
GCG_ZONE_ASSIST = 7; GCG_ZONE_ASSIST = 7;
GCG_ZONE_ONSTAGE = 8; GCG_ZONE_ONSTAGE = 8;
GCG_ZONE_RULE = 9; GCG_ZONE_RULE = 9;
} }
enum GCGPhaseType { enum GCGPhaseType {
GCG_PHASE_INVALID = 0; GCG_PHASE_INVALID = 0;
GCG_PHASE_START = 1; GCG_PHASE_START = 1;
GCG_PHASE_DRAW = 2; GCG_PHASE_DRAW = 2;
GCG_PHASE_ON_STAGE = 3; GCG_PHASE_ON_STAGE = 3;
GCG_PHASE_DICE = 4; GCG_PHASE_DICE = 4;
GCG_PHASE_MAIN = 5; GCG_PHASE_MAIN = 5;
GCG_PHASE_END = 6; GCG_PHASE_END = 6;
GCG_PHASE_DIE = 7; GCG_PHASE_DIE = 7;
GCG_PHASE_FIN = 8; GCG_PHASE_FIN = 8;
GCG_PHASE_PRE_MAIN = 9; GCG_PHASE_PRE_MAIN = 9;
GCG_PHASE_REROLL = 10; GCG_PHASE_REROLL = 10;
} }
enum GCGTargetType { enum GCGTargetType {
GCG_TARGET_NONE = 0; GCG_TARGET_NONE = 0;
GCG_TARGET_CARD = 1; GCG_TARGET_CARD = 1;
GCG_TARGET_DICE = 2; GCG_TARGET_DICE = 2;
} }
enum GCGCardState { enum GCGCardState {
GCG_CARD_STATE_HIDE = 0; GCG_CARD_STATE_HIDE = 0;
GCG_CARD_STATE_SELF = 1; GCG_CARD_STATE_SELF = 1;
GCG_CARD_STATE_SHOW = 2; GCG_CARD_STATE_SHOW = 2;
} }
enum GCGReason { enum GCGReason {
GCG_REASON_DEFAULT = 0; GCG_REASON_DEFAULT = 0;
GCG_REASON_EFFECT = 1; GCG_REASON_EFFECT = 1;
GCG_REASON_COST = 2; GCG_REASON_COST = 2;
GCG_REASON_GM = 3; GCG_REASON_GM = 3;
GCG_REASON_ATTACK = 4; GCG_REASON_ATTACK = 4;
GCG_REASON_REBOOT = 5; GCG_REASON_REBOOT = 5;
GCG_REASON_PLAY_CARD = 6; GCG_REASON_PLAY_CARD = 6;
GCG_REASON_QUICKLY_ONSTAGE = 7; GCG_REASON_QUICKLY_ONSTAGE = 7;
GCG_REASON_REMOVE_AFTER_DIE = 8; GCG_REASON_REMOVE_AFTER_DIE = 8;
GCG_REASON_INIT = 9; GCG_REASON_INIT = 9;
GCG_REASON_EFFECT_DAMAGE = 10; GCG_REASON_EFFECT_DAMAGE = 10;
GCG_REASON_EFFECT_HEAL = 11; GCG_REASON_EFFECT_HEAL = 11;
GCG_REASON_EFFECT_REVIVE = 12; GCG_REASON_EFFECT_REVIVE = 12;
} }
enum GCGClientPerformType { enum GCGClientPerformType {
GCG_PERFORM_INVALID = 0; GCG_PERFORM_INVALID = 0;
GCG_PERFORM_CARD_EXCHANGE = 1; GCG_PERFORM_CARD_EXCHANGE = 1;
GCG_PERFORM_FIRST_HAND = 2; GCG_PERFORM_FIRST_HAND = 2;
GCG_PERFORM_REROLL = 3; GCG_PERFORM_REROLL = 3;
} }
enum GCGEndReason { enum GCGEndReason {
GCG_END_REASON_DEFAULT = 0; GCG_END_REASON_DEFAULT = 0;
GCG_END_REASON_DIE = 1; GCG_END_REASON_DIE = 1;
GCG_END_REASON_SURRENDER = 2; GCG_END_REASON_SURRENDER = 2;
GCG_END_REASON_DISCONNECTED = 3; GCG_END_REASON_DISCONNECTED = 3;
GCG_END_REASON_ROUND_LIMIT = 4; GCG_END_REASON_ROUND_LIMIT = 4;
GCG_END_REASON_GM = 5; GCG_END_REASON_GM = 5;
GCG_END_REASON_NO_PLAYER = 6; GCG_END_REASON_NO_PLAYER = 6;
GCG_END_REASON_GIVE_UP = 7; GCG_END_REASON_GIVE_UP = 7;
GCG_END_REASON_INIT_TIMEOUT = 8; GCG_END_REASON_INIT_TIMEOUT = 8;
GCG_END_REASON_EFFECT = 9; GCG_END_REASON_EFFECT = 9;
} }
enum GCGTavernNPCState { enum GCGTavernNPCState {
GCG_TRAVERN_NPC_STATE_NONE = 0; GCG_TRAVERN_NPC_STATE_NONE = 0;
GCG_TRAVERN_NPC_STATE_DUEL = 1; GCG_TRAVERN_NPC_STATE_DUEL = 1;
GCG_TRAVERN_NPC_STATE_STAND = 2; GCG_TRAVERN_NPC_STATE_STAND = 2;
} }
enum GCGGameBusinessType { enum GCGGameBusinessType {
GCG_GAME_NONE = 0; GCG_GAME_NONE = 0;
GCG_GAME_GM = 1; GCG_GAME_GM = 1;
GCG_GAME_MATCH = 2; GCG_GAME_MATCH = 2;
GCG_GAME_PVP = 3; GCG_GAME_PVP = 3;
GCG_GAME_TAVERN_CHALLENGE = 4; GCG_GAME_TAVERN_CHALLENGE = 4;
GCG_GAME_CONST_CHALLENGE = 5; GCG_GAME_CONST_CHALLENGE = 5;
GCG_GAME_WORLD_CHALLENGE = 6; GCG_GAME_WORLD_CHALLENGE = 6;
GCG_GAME_BOSS_CHALLENGE = 7; GCG_GAME_BOSS_CHALLENGE = 7;
GCG_GAME_WEEK_CHALLENGE = 8; GCG_GAME_WEEK_CHALLENGE = 8;
GCG_GAME_BREAK_CHALLENGE = 9; GCG_GAME_BREAK_CHALLENGE = 9;
GCG_GAME_QUEST = 10; GCG_GAME_QUEST = 10;
GCG_GAME_GUIDE_GROUP = 11; GCG_GAME_GUIDE_GROUP = 11;
} }
enum GCGChallengeType { enum GCGChallengeType {
GCG_CHALLENGE_NONE = 0; GCG_CHALLENGE_NONE = 0;
GCG_CHALLENGE_CONST = 1; GCG_CHALLENGE_CONST = 1;
GCG_CHALLENGE_WEEK = 2; GCG_CHALLENGE_WEEK = 2;
GCG_CHALLENGE_WORLD = 3; GCG_CHALLENGE_WORLD = 3;
} }
enum GCGLevelType { enum GCGLevelType {
GCG_LEVEL_NONE = 0; GCG_LEVEL_NONE = 0;
GCG_LEVEL_CONST = 1; GCG_LEVEL_CONST = 1;
GCG_LEVEL_WEEK = 2; GCG_LEVEL_WEEK = 2;
GCG_LEVEL_WORLD = 3; GCG_LEVEL_WORLD = 3;
GCG_LEVEL_BOSS = 4; GCG_LEVEL_BOSS = 4;
GCG_LEVEL_CHARACTER = 5; GCG_LEVEL_CHARACTER = 5;
GCG_LEVEL_BREAK = 6; GCG_LEVEL_BREAK = 6;
GCG_LEVEL_QUEST = 7; GCG_LEVEL_QUEST = 7;
GCG_LEVEL_GUIDE_GROUP = 8; GCG_LEVEL_GUIDE_GROUP = 8;
} }
enum GCGIntentionChangeType { enum GCGIntentionChangeType {
GCG_INTENTION_CHANGE_NONE = 0; GCG_INTENTION_CHANGE_NONE = 0;
GCG_INTENTION_CHANGE_RM = 1; GCG_INTENTION_CHANGE_RM = 1;
} }
+40 -40
View File
@@ -2,63 +2,63 @@ syntax = "proto3";
package proto; package proto;
option go_package = "./;proto";
import "define.proto"; import "define.proto";
option go_package = "./;proto";
message GroupLinkBundle { message GroupLinkBundle {
Vector center = 4; Vector center = 4;
bool is_activated = 12; bool is_activated = 12;
uint32 bundle_id = 3; uint32 bundle_id = 3;
bool is_show_mark = 14; bool is_show_mark = 14;
uint32 scene_id = 5; uint32 scene_id = 5;
uint32 radius = 1; uint32 radius = 1;
} }
message GroupLinkAllNotify { message GroupLinkAllNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5776; CMD_ID = 5776;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
repeated GroupLinkBundle bundle_list = 5; repeated GroupLinkBundle bundle_list = 5;
} }
message GroupLinkChangeNotify { message GroupLinkChangeNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5768; CMD_ID = 5768;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
GroupLinkBundle bundle = 8; GroupLinkBundle bundle = 8;
} }
message GroupLinkDeleteNotify { message GroupLinkDeleteNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5775; CMD_ID = 5775;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 bundle_id = 12; uint32 bundle_id = 12;
} }
message GroupLinkMarkUpdateNotify { message GroupLinkMarkUpdateNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5757; CMD_ID = 5757;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
GroupLinkBundle bundle = 11; GroupLinkBundle bundle = 11;
} }
+51 -51
View File
@@ -5,74 +5,74 @@ package proto;
option go_package = "./;proto"; option go_package = "./;proto";
message H5ActivityInfo { message H5ActivityInfo {
uint32 h5_activity_id = 3; uint32 h5_activity_id = 3;
string url = 4; string url = 4;
bool is_entrance_open = 7; bool is_entrance_open = 7;
uint32 h5_schedule_id = 8; uint32 h5_schedule_id = 8;
uint32 end_time = 10; uint32 end_time = 10;
string prefab_path = 11; string prefab_path = 11;
uint32 content_close_time = 2; uint32 content_close_time = 2;
uint32 begin_time = 13; uint32 begin_time = 13;
} }
message GetAllH5ActivityInfoReq { message GetAllH5ActivityInfoReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5668; CMD_ID = 5668;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
} }
message GetAllH5ActivityInfoRsp { message GetAllH5ActivityInfoRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5676; CMD_ID = 5676;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
repeated H5ActivityInfo h5_activity_info_list = 15; repeated H5ActivityInfo h5_activity_info_list = 15;
int32 retcode = 5; int32 retcode = 5;
uint32 client_red_dot_timestamp = 12; uint32 client_red_dot_timestamp = 12;
} }
message H5ActivityIdsNotify { message H5ActivityIdsNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5675; CMD_ID = 5675;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 client_red_dot_timestamp = 1; uint32 client_red_dot_timestamp = 1;
map<uint32, uint32> h5_activity_map = 12; map<uint32, uint32> h5_activity_map = 12;
} }
message SetH5ActivityRedDotTimestampReq { message SetH5ActivityRedDotTimestampReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5657; CMD_ID = 5657;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 client_red_dot_timestamp = 13; uint32 client_red_dot_timestamp = 13;
} }
message SetH5ActivityRedDotTimestampRsp { message SetH5ActivityRedDotTimestampRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5652; CMD_ID = 5652;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 4; int32 retcode = 4;
} }
File diff suppressed because it is too large Load Diff
+148 -148
View File
@@ -2,214 +2,214 @@ syntax = "proto3";
package proto; package proto;
option go_package = "./;proto";
import "define.proto"; import "define.proto";
option go_package = "./;proto";
message HuntingPair { message HuntingPair {
uint32 refresh_id = 9; uint32 refresh_id = 9;
uint32 monster_config_id = 4; uint32 monster_config_id = 4;
} }
message TakeHuntingOfferReq { message TakeHuntingOfferReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4326; CMD_ID = 4326;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
HuntingPair hunting_pair = 14; HuntingPair hunting_pair = 14;
uint32 city_id = 4; uint32 city_id = 4;
} }
message TakeHuntingOfferRsp { message TakeHuntingOfferRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4318; CMD_ID = 4318;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
HuntingPair hunting_pair = 13; HuntingPair hunting_pair = 13;
uint32 city_id = 14; uint32 city_id = 14;
int32 retcode = 3; int32 retcode = 3;
} }
message HuntingOfferData { message HuntingOfferData {
HuntingPair hunting_pair = 4; HuntingPair hunting_pair = 4;
uint32 city_id = 8; uint32 city_id = 8;
HuntingOfferState state = 1; HuntingOfferState state = 1;
} }
message GetCityHuntingOfferReq { message GetCityHuntingOfferReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4325; CMD_ID = 4325;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 city_id = 9; uint32 city_id = 9;
} }
message GetCityHuntingOfferRsp { message GetCityHuntingOfferRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4307; CMD_ID = 4307;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 9; int32 retcode = 9;
repeated HuntingOfferData hunting_offer_list = 13; repeated HuntingOfferData hunting_offer_list = 13;
uint32 city_id = 2; uint32 city_id = 2;
HuntingPair ongoing_hunting_pair = 8; HuntingPair ongoing_hunting_pair = 8;
uint32 cur_week_finished_count = 1; uint32 cur_week_finished_count = 1;
uint32 next_refresh_time = 4; uint32 next_refresh_time = 4;
} }
message GetHuntingOfferRewardReq { message GetHuntingOfferRewardReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4302; CMD_ID = 4302;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 city_id = 6; uint32 city_id = 6;
HuntingPair hunting_pair = 4; HuntingPair hunting_pair = 4;
} }
message GetHuntingOfferRewardRsp { message GetHuntingOfferRewardRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4331; CMD_ID = 4331;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
HuntingPair hunting_pair = 14; HuntingPair hunting_pair = 14;
uint32 city_id = 3; uint32 city_id = 3;
int32 retcode = 12; int32 retcode = 12;
} }
message HuntingStartNotify { message HuntingStartNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4329; CMD_ID = 4329;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
Vector clue_position = 4; Vector clue_position = 4;
uint32 fail_time = 15; uint32 fail_time = 15;
HuntingPair hunting_pair = 3; HuntingPair hunting_pair = 3;
bool is_final = 8; bool is_final = 8;
} }
message HuntingRevealClueNotify { message HuntingRevealClueNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4322; CMD_ID = 4322;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 finish_clue_count = 5; uint32 finish_clue_count = 5;
Vector clue_position = 4; Vector clue_position = 4;
HuntingPair hunting_pair = 12; HuntingPair hunting_pair = 12;
uint32 finished_group_id = 7; uint32 finished_group_id = 7;
} }
message HuntingRevealFinalNotify { message HuntingRevealFinalNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4344; CMD_ID = 4344;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 finished_group_id = 5; uint32 finished_group_id = 5;
HuntingPair hunting_pair = 11; HuntingPair hunting_pair = 11;
Vector final_position = 2; Vector final_position = 2;
} }
message HuntingSuccessNotify { message HuntingSuccessNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4349; CMD_ID = 4349;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
HuntingPair hunting_pair = 4; HuntingPair hunting_pair = 4;
} }
message HuntingFailNotify { message HuntingFailNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4320; CMD_ID = 4320;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
HuntingPair hunting_pair = 12; HuntingPair hunting_pair = 12;
} }
message HuntingOngoingNotify { message HuntingOngoingNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4345; CMD_ID = 4345;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
HuntingPair hunting_pair = 15; HuntingPair hunting_pair = 15;
bool is_started = 8; bool is_started = 8;
Vector next_position = 3; Vector next_position = 3;
uint32 finish_clue_count = 10; uint32 finish_clue_count = 10;
bool is_final = 14; bool is_final = 14;
uint32 fail_time = 7; uint32 fail_time = 7;
} }
message HuntingGiveUpReq { message HuntingGiveUpReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4341; CMD_ID = 4341;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
HuntingPair hunting_pair = 1; HuntingPair hunting_pair = 1;
} }
message HuntingGiveUpRsp { message HuntingGiveUpRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4342; CMD_ID = 4342;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 3; int32 retcode = 3;
HuntingPair hunting_pair = 4; HuntingPair hunting_pair = 4;
} }
+162 -162
View File
@@ -2,227 +2,227 @@ syntax = "proto3";
package proto; package proto;
option go_package = "./;proto";
import "define.proto"; import "define.proto";
message Investigation { option go_package = "./;proto";
enum State {
INVALID = 0;
IN_PROGRESS = 1;
COMPLETE = 2;
REWARD_TAKEN = 3;
}
uint32 total_progress = 5; message Investigation {
State state = 2; enum State {
uint32 progress = 13; INVALID = 0;
uint32 id = 9; IN_PROGRESS = 1;
COMPLETE = 2;
REWARD_TAKEN = 3;
}
uint32 total_progress = 5;
State state = 2;
uint32 progress = 13;
uint32 id = 9;
} }
message InvestigationTarget { message InvestigationTarget {
enum State { enum State {
INVALID = 0; INVALID = 0;
IN_PROGRESS = 1; IN_PROGRESS = 1;
COMPLETE = 2; COMPLETE = 2;
REWARD_TAKEN = 3; REWARD_TAKEN = 3;
} }
uint32 quest_id = 15; uint32 quest_id = 15;
State state = 2; State state = 2;
uint32 progress = 8; uint32 progress = 8;
uint32 total_progress = 7; uint32 total_progress = 7;
uint32 investigation_id = 3; uint32 investigation_id = 3;
} }
message PlayerInvestigationAllInfoNotify { message PlayerInvestigationAllInfoNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1928; CMD_ID = 1928;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
repeated Investigation investigation_list = 15; repeated Investigation investigation_list = 15;
repeated InvestigationTarget investigation_target_list = 12; repeated InvestigationTarget investigation_target_list = 12;
} }
message TakeInvestigationRewardReq { message TakeInvestigationRewardReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1912; CMD_ID = 1912;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 id = 5; uint32 id = 5;
} }
message TakeInvestigationRewardRsp { message TakeInvestigationRewardRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1922; CMD_ID = 1922;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 4; int32 retcode = 4;
uint32 id = 12; uint32 id = 12;
} }
message TakeInvestigationTargetRewardReq { message TakeInvestigationTargetRewardReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1918; CMD_ID = 1918;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 quest_id = 11; uint32 quest_id = 11;
} }
message TakeInvestigationTargetRewardRsp { message TakeInvestigationTargetRewardRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1916; CMD_ID = 1916;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 1; int32 retcode = 1;
uint32 quest_id = 2; uint32 quest_id = 2;
} }
message GetInvestigationMonsterReq { message GetInvestigationMonsterReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1901; CMD_ID = 1901;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
repeated uint32 city_id_list = 3; repeated uint32 city_id_list = 3;
bool is_for_mark = 4; bool is_for_mark = 4;
} }
message InvestigationMonster { message InvestigationMonster {
enum LockState { enum LockState {
LOCK_NONE = 0; LOCK_NONE = 0;
LOCK_QUEST = 1; LOCK_QUEST = 1;
} }
bool is_alive = 9; bool is_alive = 9;
uint32 refresh_interval = 3; uint32 refresh_interval = 3;
uint32 id = 13; uint32 id = 13;
uint32 level = 5; uint32 level = 5;
uint32 boss_chest_num = 1; uint32 boss_chest_num = 1;
WeeklyBossResinDiscountInfo weekly_boss_resin_discount_info = 12; WeeklyBossResinDiscountInfo weekly_boss_resin_discount_info = 12;
uint32 monster_id = 301; uint32 monster_id = 301;
Vector pos = 14; Vector pos = 14;
uint32 resin = 8; uint32 resin = 8;
uint32 max_boss_chest_num = 4; uint32 max_boss_chest_num = 4;
uint32 next_refresh_time = 11; uint32 next_refresh_time = 11;
uint32 group_id = 285; uint32 group_id = 285;
uint32 scene_id = 10; uint32 scene_id = 10;
bool is_area_locked = 15; bool is_area_locked = 15;
LockState lock_state = 2; LockState lock_state = 2;
uint32 next_boss_chest_refresh_time = 7; uint32 next_boss_chest_refresh_time = 7;
uint32 city_id = 6; uint32 city_id = 6;
} }
message GetInvestigationMonsterRsp { message GetInvestigationMonsterRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1910; CMD_ID = 1910;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
repeated InvestigationMonster monster_list = 10; repeated InvestigationMonster monster_list = 10;
int32 retcode = 1; int32 retcode = 1;
bool is_for_mark = 2; bool is_for_mark = 2;
} }
message PlayerInvestigationNotify { message PlayerInvestigationNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1911; CMD_ID = 1911;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
repeated Investigation investigation_list = 1; repeated Investigation investigation_list = 1;
} }
message PlayerInvestigationTargetNotify { message PlayerInvestigationTargetNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1929; CMD_ID = 1929;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
repeated InvestigationTarget investigation_target_list = 1; repeated InvestigationTarget investigation_target_list = 1;
} }
message MarkTargetInvestigationMonsterNotify { message MarkTargetInvestigationMonsterNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1915; CMD_ID = 1915;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 scene_id = 11; uint32 scene_id = 11;
uint32 monster_id = 4; uint32 monster_id = 4;
uint32 group_id = 5; uint32 group_id = 5;
uint32 investigation_monster_id = 12; uint32 investigation_monster_id = 12;
} }
message InvestigationMonsterUpdateNotify { message InvestigationMonsterUpdateNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1906; CMD_ID = 1906;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
InvestigationMonster investigation_monster = 5; InvestigationMonster investigation_monster = 5;
} }
message InvestigationQuestDailyNotify { message InvestigationQuestDailyNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1921; CMD_ID = 1921;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
} }
message InvestigationReadQuestDailyNotify { message InvestigationReadQuestDailyNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1902; CMD_ID = 1902;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
} }
File diff suppressed because it is too large Load Diff
+145 -145
View File
@@ -2,208 +2,208 @@ syntax = "proto3";
package proto; package proto;
option go_package = "./;proto";
import "define.proto"; import "define.proto";
option go_package = "./;proto";
enum AuthkeySignType { enum AuthkeySignType {
AUTHKEY_SIGN_TYPE_NONE = 0; AUTHKEY_SIGN_TYPE_NONE = 0;
AUTHKEY_SIGN_TYPE_DEFAULT = 1; AUTHKEY_SIGN_TYPE_DEFAULT = 1;
AUTHKEY_SIGN_TYPE_RSA = 2; AUTHKEY_SIGN_TYPE_RSA = 2;
} }
message MailChangeNotify { message MailChangeNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1498; CMD_ID = 1498;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
repeated MailData mail_list = 14; repeated MailData mail_list = 14;
repeated uint32 del_mail_id_list = 8; repeated uint32 del_mail_id_list = 8;
} }
message ReadMailNotify { message ReadMailNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1412; CMD_ID = 1412;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
repeated uint32 mail_id_list = 2; repeated uint32 mail_id_list = 2;
} }
message GetMailItemReq { message GetMailItemReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1435; CMD_ID = 1435;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
repeated uint32 mail_id_list = 6; repeated uint32 mail_id_list = 6;
} }
message GetMailItemRsp { message GetMailItemRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1407; CMD_ID = 1407;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 7; int32 retcode = 7;
repeated uint32 mail_id_list = 3; repeated uint32 mail_id_list = 3;
repeated EquipParam item_list = 2; repeated EquipParam item_list = 2;
} }
message DelMailReq { message DelMailReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1421; CMD_ID = 1421;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
repeated uint32 mail_id_list = 12; repeated uint32 mail_id_list = 12;
} }
message DelMailRsp { message DelMailRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1403; CMD_ID = 1403;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 11; int32 retcode = 11;
repeated uint32 mail_id_list = 5; repeated uint32 mail_id_list = 5;
} }
message GetAuthkeyReq { message GetAuthkeyReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1490; CMD_ID = 1490;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
string auth_appid = 14; string auth_appid = 14;
uint32 sign_type = 7; uint32 sign_type = 7;
uint32 authkey_ver = 13; uint32 authkey_ver = 13;
} }
message GetAuthkeyRsp { message GetAuthkeyRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1473; CMD_ID = 1473;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
string auth_appid = 4; string auth_appid = 4;
uint32 sign_type = 15; uint32 sign_type = 15;
int32 retcode = 6; int32 retcode = 6;
uint32 authkey_ver = 9; uint32 authkey_ver = 9;
string game_biz = 11; string game_biz = 11;
string authkey = 3; string authkey = 3;
} }
message ClientNewMailNotify { message ClientNewMailNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1499; CMD_ID = 1499;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 not_read_num = 7; uint32 not_read_num = 7;
uint32 not_got_attachment_num = 2; uint32 not_got_attachment_num = 2;
} }
message GetAllMailReq { message GetAllMailReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1431; CMD_ID = 1431;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
bool is_collected = 7; bool is_collected = 7;
} }
message GetAllMailRsp { message GetAllMailRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1475; CMD_ID = 1475;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 8; int32 retcode = 8;
repeated MailData mail_list = 14; repeated MailData mail_list = 14;
bool is_collected = 1; bool is_collected = 1;
bool is_truncated = 2; bool is_truncated = 2;
} }
message ChangeMailStarNotify { message ChangeMailStarNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1448; CMD_ID = 1448;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
bool is_star = 14; bool is_star = 14;
repeated uint32 mail_id_list = 2; repeated uint32 mail_id_list = 2;
} }
message GetAllMailNotify { message GetAllMailNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1497; CMD_ID = 1497;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
bool is_collected = 13; bool is_collected = 13;
} }
message GetAllMailResultNotify { message GetAllMailResultNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1481; CMD_ID = 1481;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
string transaction = 9; string transaction = 9;
repeated MailData mail_list = 5; repeated MailData mail_list = 5;
uint32 page_index = 11; uint32 page_index = 11;
uint32 total_page_count = 4; uint32 total_page_count = 4;
bool is_collected = 7; bool is_collected = 7;
int32 retcode = 14; int32 retcode = 14;
} }
+218 -218
View File
@@ -2,306 +2,306 @@ syntax = "proto3";
package proto; package proto;
option go_package = "./;proto";
import "define.proto"; import "define.proto";
message PlayerStartMatchReq { option go_package = "./;proto";
enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 4176;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1;
}
MatchType match_type = 3; message PlayerStartMatchReq {
uint32 mechanicus_difficult_level = 12; enum CmdId {
repeated uint32 match_param_list = 11; option allow_alias = true;
uint32 dungeon_id = 1; NONE = 0;
uint32 mp_play_id = 15; CMD_ID = 4176;
uint32 match_id = 6; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1;
}
MatchType match_type = 3;
uint32 mechanicus_difficult_level = 12;
repeated uint32 match_param_list = 11;
uint32 dungeon_id = 1;
uint32 mp_play_id = 15;
uint32 match_id = 6;
} }
message PlayerStartMatchRsp { message PlayerStartMatchRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4168; CMD_ID = 4168;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 1; int32 retcode = 1;
uint32 punish_end_time = 5; uint32 punish_end_time = 5;
uint32 param = 4; uint32 param = 4;
uint32 mp_play_id = 13; uint32 mp_play_id = 13;
uint32 mechanicus_difficult_level = 2; uint32 mechanicus_difficult_level = 2;
uint32 dungeon_id = 3; uint32 dungeon_id = 3;
uint32 match_id = 8; uint32 match_id = 8;
MatchType match_type = 7; MatchType match_type = 7;
} }
message PlayerMatchInfoNotify { message PlayerMatchInfoNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4175; CMD_ID = 4175;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 match_id = 8; uint32 match_id = 8;
uint32 match_begin_time = 4; uint32 match_begin_time = 4;
uint32 dungeon_id = 10; uint32 dungeon_id = 10;
MatchType match_type = 11; MatchType match_type = 11;
uint32 mechanicus_difficult_level = 12; uint32 mechanicus_difficult_level = 12;
repeated uint32 match_param_list = 6; repeated uint32 match_param_list = 6;
uint32 estimate_match_cost_time = 3; uint32 estimate_match_cost_time = 3;
uint32 mp_play_id = 5; uint32 mp_play_id = 5;
uint32 host_uid = 13; uint32 host_uid = 13;
} }
message PlayerCancelMatchReq { message PlayerCancelMatchReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4157; CMD_ID = 4157;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
MatchType match_type = 11; MatchType match_type = 11;
} }
message PlayerCancelMatchRsp { message PlayerCancelMatchRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4152; CMD_ID = 4152;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 6; int32 retcode = 6;
MatchType match_type = 7; MatchType match_type = 7;
} }
message PlayerMatchStopNotify { message PlayerMatchStopNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4181; CMD_ID = 4181;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
MatchReason reason = 1; MatchReason reason = 1;
uint32 host_uid = 12; uint32 host_uid = 12;
} }
message MatchPlayerInfo { message MatchPlayerInfo {
bool is_agreed = 9; bool is_agreed = 9;
OnlinePlayerInfo player_info = 2; OnlinePlayerInfo player_info = 2;
} }
message GeneralMatchInfo { message GeneralMatchInfo {
uint32 match_param = 1; uint32 match_param = 1;
uint32 match_id = 9; uint32 match_id = 9;
repeated MatchPlayerInfo player_list = 5; repeated MatchPlayerInfo player_list = 5;
} }
message GCGMatchInfo { message GCGMatchInfo {
repeated MatchPlayerInfo player_list = 13; repeated MatchPlayerInfo player_list = 13;
} }
message PlayerMatchSuccNotify { message PlayerMatchSuccNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4179; CMD_ID = 4179;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
GeneralMatchInfo general_match_info = 7; GeneralMatchInfo general_match_info = 7;
uint32 mp_play_id = 15; uint32 mp_play_id = 15;
uint32 host_uid = 3; uint32 host_uid = 3;
MatchType match_type = 5; MatchType match_type = 5;
GCGMatchInfo gcg_match_info = 11; GCGMatchInfo gcg_match_info = 11;
uint32 confirm_end_time = 2; uint32 confirm_end_time = 2;
uint32 dungeon_id = 6; uint32 dungeon_id = 6;
uint32 mechanicus_difficult_level = 1; uint32 mechanicus_difficult_level = 1;
} }
message PlayerConfirmMatchReq { message PlayerConfirmMatchReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4172; CMD_ID = 4172;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
MatchType match_type = 12; MatchType match_type = 12;
bool is_agreed = 10; bool is_agreed = 10;
} }
message PlayerConfirmMatchRsp { message PlayerConfirmMatchRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4194; CMD_ID = 4194;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
MatchType match_type = 9; MatchType match_type = 9;
uint32 match_id = 4; uint32 match_id = 4;
bool is_agreed = 11; bool is_agreed = 11;
int32 retcode = 10; int32 retcode = 10;
} }
message PlayerAllowEnterMpAfterAgreeMatchNotify { message PlayerAllowEnterMpAfterAgreeMatchNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4199; CMD_ID = 4199;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 target_uid = 1; uint32 target_uid = 1;
} }
message PlayerMatchAgreedResultNotify { message PlayerMatchAgreedResultNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4170; CMD_ID = 4170;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
enum Reason { enum Reason {
SUCC = 0; SUCC = 0;
TARGET_SCENE_CANNOT_ENTER = 1; TARGET_SCENE_CANNOT_ENTER = 1;
SELF_MP_UNAVAILABLE = 2; SELF_MP_UNAVAILABLE = 2;
OTHER_DATA_VERSION_NOT_LATEST = 3; OTHER_DATA_VERSION_NOT_LATEST = 3;
DATA_VERSION_NOT_LATEST = 4; DATA_VERSION_NOT_LATEST = 4;
} }
uint32 target_uid = 14; uint32 target_uid = 14;
MatchType match_type = 3; MatchType match_type = 3;
Reason reason = 8; Reason reason = 8;
} }
message PlayerApplyEnterMpAfterMatchAgreedNotify { message PlayerApplyEnterMpAfterMatchAgreedNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4195; CMD_ID = 4195;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
OnlinePlayerInfo src_player_info = 11; OnlinePlayerInfo src_player_info = 11;
uint32 matchserver_id = 10; uint32 matchserver_id = 10;
MatchType match_type = 3; MatchType match_type = 3;
} }
message PlayerGeneralMatchDismissNotify { message PlayerGeneralMatchDismissNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4191; CMD_ID = 4191;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
repeated uint32 uid_list = 3; repeated uint32 uid_list = 3;
MatchReason reason = 13; MatchReason reason = 13;
uint32 match_id = 1; uint32 match_id = 1;
} }
message PlayerGeneralMatchConfirmNotify { message PlayerGeneralMatchConfirmNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4192; CMD_ID = 4192;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 match_id = 8; uint32 match_id = 8;
bool is_agree = 13; bool is_agree = 13;
uint32 uid = 14; uint32 uid = 14;
} }
message PlayerGetForceQuitBanInfoReq { message PlayerGetForceQuitBanInfoReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4164; CMD_ID = 4164;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
} }
message PlayerGetForceQuitBanInfoRsp { message PlayerGetForceQuitBanInfoRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4197; CMD_ID = 4197;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 4; int32 retcode = 4;
uint32 match_id = 8; uint32 match_id = 8;
uint32 expire_time = 13; uint32 expire_time = 13;
} }
message ServerTryCancelGeneralMatchNotify { message ServerTryCancelGeneralMatchNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4187; CMD_ID = 4187;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 match_id = 9; uint32 match_id = 9;
} }
message PlayerGCGMatchDismissNotify { message PlayerGCGMatchDismissNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4173; CMD_ID = 4173;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 match_id = 11; uint32 match_id = 11;
MatchReason reason = 5; MatchReason reason = 5;
repeated uint32 uid_list = 7; repeated uint32 uid_list = 7;
} }
message PlayerGCGMatchConfirmNotify { message PlayerGCGMatchConfirmNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4185; CMD_ID = 4185;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 uid = 10; uint32 uid = 10;
bool is_agree = 5; bool is_agree = 5;
uint32 match_id = 14; uint32 match_id = 14;
} }
+140 -140
View File
@@ -2,202 +2,202 @@ syntax = "proto3";
package proto; package proto;
option go_package = "./;proto";
import "define.proto"; import "define.proto";
option go_package = "./;proto";
message MechanicusInfo { message MechanicusInfo {
repeated Uint32Pair gear_level_pair_list = 14; repeated Uint32Pair gear_level_pair_list = 14;
repeated uint32 open_sequence_id_list = 7; repeated uint32 open_sequence_id_list = 7;
uint32 coin = 8; uint32 coin = 8;
uint32 punish_over_time = 12; uint32 punish_over_time = 12;
uint32 mechanicus_id = 10; uint32 mechanicus_id = 10;
repeated uint32 finish_difficult_level_list = 13; repeated uint32 finish_difficult_level_list = 13;
bool is_finish_teach_dungeon = 4; bool is_finish_teach_dungeon = 4;
} }
message GetMechanicusInfoReq { message GetMechanicusInfoReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 3972; CMD_ID = 3972;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
} }
message GetMechanicusInfoRsp { message GetMechanicusInfoRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 3998; CMD_ID = 3998;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 14; int32 retcode = 14;
MechanicusInfo mechanicus_info = 15; MechanicusInfo mechanicus_info = 15;
} }
message MechanicusSequenceOpenNotify { message MechanicusSequenceOpenNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 3912; CMD_ID = 3912;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 mechanicus_id = 8; uint32 mechanicus_id = 8;
uint32 sequence_id = 7; uint32 sequence_id = 7;
} }
message MechanicusCoinNotify { message MechanicusCoinNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 3935; CMD_ID = 3935;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 mechanicus_id = 7; uint32 mechanicus_id = 7;
uint32 coin = 4; uint32 coin = 4;
} }
message MechanicusOpenNotify { message MechanicusOpenNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 3907; CMD_ID = 3907;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 mechanicus_id = 2; uint32 mechanicus_id = 2;
} }
message MechanicusCloseNotify { message MechanicusCloseNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 3921; CMD_ID = 3921;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 mechanicus_id = 6; uint32 mechanicus_id = 6;
} }
message MechanicusUnlockGearReq { message MechanicusUnlockGearReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 3903; CMD_ID = 3903;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 mechanicus_id = 7; uint32 mechanicus_id = 7;
uint32 gear_id = 6; uint32 gear_id = 6;
} }
message MechanicusUnlockGearRsp { message MechanicusUnlockGearRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 3990; CMD_ID = 3990;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 3; int32 retcode = 3;
uint32 mechanicus_id = 8; uint32 mechanicus_id = 8;
uint32 gear_id = 14; uint32 gear_id = 14;
} }
message MechanicusLevelupGearReq { message MechanicusLevelupGearReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 3973; CMD_ID = 3973;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 gear_id = 14; uint32 gear_id = 14;
uint32 mechanicus_id = 12; uint32 mechanicus_id = 12;
} }
message MechanicusLevelupGearRsp { message MechanicusLevelupGearRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 3999; CMD_ID = 3999;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 gear_id = 7; uint32 gear_id = 7;
uint32 mechanicus_id = 2; uint32 mechanicus_id = 2;
uint32 after_gear_level = 12; uint32 after_gear_level = 12;
int32 retcode = 8; int32 retcode = 8;
} }
message EnterMechanicusDungeonReq { message EnterMechanicusDungeonReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 3931; CMD_ID = 3931;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 difficult_level = 7; uint32 difficult_level = 7;
} }
message EnterMechanicusDungeonRsp { message EnterMechanicusDungeonRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 3975; CMD_ID = 3975;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 wrong_uid = 12; uint32 wrong_uid = 12;
uint32 difficult_level = 13; uint32 difficult_level = 13;
int32 retcode = 6; int32 retcode = 6;
uint32 dungeon_id = 11; uint32 dungeon_id = 11;
} }
message MechanicusCandidateTeamCreateReq { message MechanicusCandidateTeamCreateReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 3981; CMD_ID = 3981;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 difficult_level = 6; uint32 difficult_level = 6;
} }
message MechanicusCandidateTeamCreateRsp { message MechanicusCandidateTeamCreateRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 3905; CMD_ID = 3905;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 dungeon_id = 1; uint32 dungeon_id = 1;
int32 retcode = 7; int32 retcode = 7;
uint32 difficult_level = 10; uint32 difficult_level = 10;
} }
+100 -100
View File
@@ -2,141 +2,141 @@ syntax = "proto3";
package proto; package proto;
import "cmd/cmd_gadget.proto";
import "define.proto";
option go_package = "./;proto"; option go_package = "./;proto";
import "define.proto";
import "cmd/cmd_gadget.proto";
message UseMiracleRingReq { message UseMiracleRingReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5226; CMD_ID = 5226;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
enum MiracleRingOpType { enum MiracleRingOpType {
MIRACLE_RING_OP_NONE = 0; MIRACLE_RING_OP_NONE = 0;
MIRACLE_RING_OP_PLACE = 1; MIRACLE_RING_OP_PLACE = 1;
MIRACLE_RING_OP_RETRACT = 2; MIRACLE_RING_OP_RETRACT = 2;
} }
uint32 miracle_ring_op_type = 13; uint32 miracle_ring_op_type = 13;
Vector pos = 8; Vector pos = 8;
Vector rot = 7; Vector rot = 7;
} }
message UseMiracleRingRsp { message UseMiracleRingRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5218; CMD_ID = 5218;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 11; int32 retcode = 11;
uint32 miracle_ring_op_type = 7; uint32 miracle_ring_op_type = 7;
} }
message MiracleRingDataNotify { message MiracleRingDataNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5225; CMD_ID = 5225;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
bool is_gadget_created = 8; bool is_gadget_created = 8;
uint32 last_take_reward_time = 14; uint32 last_take_reward_time = 14;
uint32 gadget_entity_id = 12; uint32 gadget_entity_id = 12;
uint32 last_deliver_item_time = 10; uint32 last_deliver_item_time = 10;
uint32 miracle_ring_cd = 7; uint32 miracle_ring_cd = 7;
} }
message MiracleRingTakeRewardReq { message MiracleRingTakeRewardReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5207; CMD_ID = 5207;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 gadget_id = 11; uint32 gadget_id = 11;
uint32 gadget_entity_id = 7; uint32 gadget_entity_id = 7;
} }
message MiracleRingTakeRewardRsp { message MiracleRingTakeRewardRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5202; CMD_ID = 5202;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 14; int32 retcode = 14;
} }
message MiracleRingDropResultNotify { message MiracleRingDropResultNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5231; CMD_ID = 5231;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 last_take_reward_time = 5; int32 last_take_reward_time = 5;
int32 drop_result = 9; int32 drop_result = 9;
} }
message MiracleRingDeliverItemReq { message MiracleRingDeliverItemReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5229; CMD_ID = 5229;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
InterOpType op_type = 9; InterOpType op_type = 9;
repeated ItemParam item_param_list = 1; repeated ItemParam item_param_list = 1;
repeated uint64 food_weapon_guid_list = 4; repeated uint64 food_weapon_guid_list = 4;
uint32 gadget_id = 14; uint32 gadget_id = 14;
uint32 gadget_entity_id = 5; uint32 gadget_entity_id = 5;
} }
message MiracleRingDeliverItemRsp { message MiracleRingDeliverItemRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5222; CMD_ID = 5222;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
InteractType interact_type = 15; InteractType interact_type = 15;
int32 retcode = 11; int32 retcode = 11;
InterOpType op_type = 14; InterOpType op_type = 14;
uint32 gadget_id = 4; uint32 gadget_id = 4;
uint32 gadget_entity_id = 9; uint32 gadget_entity_id = 9;
} }
message MiracleRingDestroyNotify { message MiracleRingDestroyNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5244; CMD_ID = 5244;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 entity_id = 7; uint32 entity_id = 7;
} }
+269 -269
View File
@@ -2,397 +2,397 @@ syntax = "proto3";
package proto; package proto;
import "cmd/cmd_social.proto";
import "define.proto";
option go_package = "./;proto"; option go_package = "./;proto";
import "define.proto";
import "cmd/cmd_social.proto";
enum SvrMsgId { enum SvrMsgId {
MSG_UNKNOWN = 0; MSG_UNKNOWN = 0;
MSG_BLOCK_REFRESH_COUNTDOWN = 1; MSG_BLOCK_REFRESH_COUNTDOWN = 1;
MSG_AVATAR_REVIVE_BY_STATUE = 2; MSG_AVATAR_REVIVE_BY_STATUE = 2;
MSG_DAILY_TASK_REWARD_MAX_NUM = 3; MSG_DAILY_TASK_REWARD_MAX_NUM = 3;
MSG_ROUTINE_TYPE_NOT_OPEN = 4; MSG_ROUTINE_TYPE_NOT_OPEN = 4;
MSG_ROUTINE_TYPE_REWARD_MAX_NUM = 5; MSG_ROUTINE_TYPE_REWARD_MAX_NUM = 5;
MSG_MECHANICUS_COIN_LIMIT = 6; MSG_MECHANICUS_COIN_LIMIT = 6;
} }
enum ServerLogType { enum ServerLogType {
SERVER_LOG_NONE = 0; SERVER_LOG_NONE = 0;
SERVER_LOG_ABILITY = 1; SERVER_LOG_ABILITY = 1;
SERVER_LOG_LEVEL = 2; SERVER_LOG_LEVEL = 2;
SERVER_LOG_ENTITY = 3; SERVER_LOG_ENTITY = 3;
SERVER_LOG_LUA = 4; SERVER_LOG_LUA = 4;
} }
enum ServerLogLevel { enum ServerLogLevel {
LOG_LEVEL_NONE = 0; LOG_LEVEL_NONE = 0;
LOG_LEVEL_DEBUG = 1; LOG_LEVEL_DEBUG = 1;
LOG_LEVEL_INFO = 2; LOG_LEVEL_INFO = 2;
LOG_LEVEL_WARNING = 3; LOG_LEVEL_WARNING = 3;
LOG_LEVEL_ERROR = 4; LOG_LEVEL_ERROR = 4;
} }
enum ClientReconnectReason { enum ClientReconnectReason {
CLIENT_RECONNNECT_NONE = 0; CLIENT_RECONNNECT_NONE = 0;
CLIENT_RECONNNECT_QUIT_MP = 1; CLIENT_RECONNNECT_QUIT_MP = 1;
} }
message KeepAliveNotify { message KeepAliveNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 72; CMD_ID = 72;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
} }
message GmTalkReq { message GmTalkReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 98; CMD_ID = 98;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
string msg = 13; string msg = 13;
} }
message GmTalkRsp { message GmTalkRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 12; CMD_ID = 12;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 15; int32 retcode = 15;
string retmsg = 3; string retmsg = 3;
string msg = 13; string msg = 13;
} }
message MsgParam { message MsgParam {
oneof param { oneof param {
uint32 int_param = 9; uint32 int_param = 9;
float flt_param = 7; float flt_param = 7;
string str_param = 4; string str_param = 4;
} }
} }
message ShowMessageNotify { message ShowMessageNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 35; CMD_ID = 35;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
SvrMsgId msg_id = 14; SvrMsgId msg_id = 14;
repeated MsgParam params = 13; repeated MsgParam params = 13;
} }
message PingReq { message PingReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 7; CMD_ID = 7;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 client_time = 12; uint32 client_time = 12;
float ue_time = 14; float ue_time = 14;
double total_tick_time = 6; double total_tick_time = 6;
bytes sc_data = 10; bytes sc_data = 10;
uint32 seq = 3; uint32 seq = 3;
} }
message PingRsp { message PingRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 21; CMD_ID = 21;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 client_time = 15; uint32 client_time = 15;
int32 retcode = 6; int32 retcode = 6;
uint32 seq = 13; uint32 seq = 13;
} }
message GetOnlinePlayerListReq { message GetOnlinePlayerListReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 90; CMD_ID = 90;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
} }
message GetOnlinePlayerListRsp { message GetOnlinePlayerListRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 73; CMD_ID = 73;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 7; int32 retcode = 7;
uint32 param = 11; uint32 param = 11;
repeated OnlinePlayerInfo player_info_list = 5; repeated OnlinePlayerInfo player_info_list = 5;
} }
message ServerTimeNotify { message ServerTimeNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 99; CMD_ID = 99;
ENET_CHANNEL_ID = 1; ENET_CHANNEL_ID = 1;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint64 server_time = 5; uint64 server_time = 5;
} }
message ServerLogNotify { message ServerLogNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 31; CMD_ID = 31;
ENET_CHANNEL_ID = 1; ENET_CHANNEL_ID = 1;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
string server_log = 7; string server_log = 7;
ServerLogType log_type = 9; ServerLogType log_type = 9;
ServerLogLevel log_level = 15; ServerLogLevel log_level = 15;
} }
message ClientReconnectNotify { message ClientReconnectNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 75; CMD_ID = 75;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
ClientReconnectReason reason = 6; ClientReconnectReason reason = 6;
} }
message RobotPushPlayerDataNotify { message RobotPushPlayerDataNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 97; CMD_ID = 97;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
bytes bin = 6; bytes bin = 6;
} }
message ClientReportNotify { message ClientReportNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 81; CMD_ID = 81;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
string report_type = 1; string report_type = 1;
string report_value = 4; string report_value = 4;
} }
message UnionCmd { message UnionCmd {
bytes body = 14; bytes body = 14;
uint32 message_id = 8; uint32 message_id = 8;
} }
message UnionCmdNotify { message UnionCmdNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5; CMD_ID = 5;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
repeated UnionCmd cmd_list = 1; repeated UnionCmd cmd_list = 1;
} }
message GetOnlinePlayerInfoReq { message GetOnlinePlayerInfoReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 82; CMD_ID = 82;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
bool is_online_id = 15; bool is_online_id = 15;
oneof player_id { oneof player_id {
uint32 target_uid = 9; uint32 target_uid = 9;
string online_id = 7; string online_id = 7;
string psn_id = 2; string psn_id = 2;
} }
} }
message GetOnlinePlayerInfoRsp { message GetOnlinePlayerInfoRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 47; CMD_ID = 47;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 11; int32 retcode = 11;
uint32 target_uid = 7; uint32 target_uid = 7;
uint32 param = 4; uint32 param = 4;
OnlinePlayerInfo target_player_info = 14; OnlinePlayerInfo target_player_info = 14;
} }
message SegmentInfo { message SegmentInfo {
uint32 offset = 3; uint32 offset = 3;
uint32 module = 7; uint32 module = 7;
uint32 size = 8; uint32 size = 8;
} }
message SegmentCRCInfo { message SegmentCRCInfo {
uint32 module = 13; uint32 module = 13;
int32 retcode = 5; int32 retcode = 5;
uint32 size = 10; uint32 size = 10;
string crc = 3; string crc = 3;
uint32 offset = 11; uint32 offset = 11;
} }
message CheckSegmentCRCNotify { message CheckSegmentCRCNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 39; CMD_ID = 39;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
repeated SegmentInfo info_list = 6; repeated SegmentInfo info_list = 6;
} }
message CheckSegmentCRCReq { message CheckSegmentCRCReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 53; CMD_ID = 53;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
repeated SegmentCRCInfo info_list = 1; repeated SegmentCRCInfo info_list = 1;
} }
message PlayerRTTInfo { message PlayerRTTInfo {
uint32 rtt = 2; uint32 rtt = 2;
uint32 uid = 1; uint32 uid = 1;
} }
message WorldPlayerRTTNotify { message WorldPlayerRTTNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 22; CMD_ID = 22;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
repeated PlayerRTTInfo player_rtt_list = 1; repeated PlayerRTTInfo player_rtt_list = 1;
} }
message EchoNotify { message EchoNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 65; CMD_ID = 65;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 seq_id = 4; uint32 seq_id = 4;
string content = 9; string content = 9;
} }
message UpdateRedPointNotify { message UpdateRedPointNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 93; CMD_ID = 93;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
repeated RedPointData red_point_list = 12; repeated RedPointData red_point_list = 12;
} }
message ClientBulletCreateNotify { message ClientBulletCreateNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4; CMD_ID = 4;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 param = 6; uint32 param = 6;
} }
message ChangeServerGlobalValueNotify { message ChangeServerGlobalValueNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 27; CMD_ID = 27;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 entity_id = 4; uint32 entity_id = 4;
} }
message GmTalkNotify { message GmTalkNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 94; CMD_ID = 94;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
string msg = 5; string msg = 5;
} }
message LastPacketPrintNotify { message LastPacketPrintNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 88; CMD_ID = 88;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
} }
+9 -9
View File
@@ -5,14 +5,14 @@ package proto;
option go_package = "./;proto"; option go_package = "./;proto";
message MonsterSummonTagNotify { message MonsterSummonTagNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1372; CMD_ID = 1372;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
map<uint32, uint32> summon_tag_map = 1; map<uint32, uint32> summon_tag_map = 1;
uint32 monster_entity_id = 8; uint32 monster_entity_id = 8;
} }
+285 -285
View File
@@ -2,394 +2,394 @@ syntax = "proto3";
package proto; package proto;
option go_package = "./;proto";
import "define.proto"; import "define.proto";
message PlayerApplyEnterMpNotify { option go_package = "./;proto";
enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 1826;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
}
uint32 src_thread_index = 5; message PlayerApplyEnterMpNotify {
uint32 src_app_id = 6; enum CmdId {
OnlinePlayerInfo src_player_info = 2; option allow_alias = true;
NONE = 0;
CMD_ID = 1826;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
}
uint32 src_thread_index = 5;
uint32 src_app_id = 6;
OnlinePlayerInfo src_player_info = 2;
} }
message PlayerApplyEnterMpReq { message PlayerApplyEnterMpReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1818; CMD_ID = 1818;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 target_uid = 4; uint32 target_uid = 4;
} }
message PlayerApplyEnterMpRsp { message PlayerApplyEnterMpRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1825; CMD_ID = 1825;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 5; int32 retcode = 5;
uint32 target_uid = 3; uint32 target_uid = 3;
uint32 param = 4; uint32 param = 4;
} }
message PlayerApplyEnterMpResultNotify { message PlayerApplyEnterMpResultNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1807; CMD_ID = 1807;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
enum Reason { enum Reason {
PLAYER_JUDGE = 0; PLAYER_JUDGE = 0;
SCENE_CANNOT_ENTER = 1; SCENE_CANNOT_ENTER = 1;
PLAYER_CANNOT_ENTER_MP = 2; PLAYER_CANNOT_ENTER_MP = 2;
SYSTEM_JUDGE = 3; SYSTEM_JUDGE = 3;
ALLOW_ENTER_PLAYER_FULL = 4; ALLOW_ENTER_PLAYER_FULL = 4;
WORLD_LEVEL_LOWER_THAN_HOST = 5; WORLD_LEVEL_LOWER_THAN_HOST = 5;
HOST_IN_MATCH = 6; HOST_IN_MATCH = 6;
PLAYER_IN_BLACKLIST = 7; PLAYER_IN_BLACKLIST = 7;
PS_PLAYER_NOT_ACCEPT_OTHERS = 8; PS_PLAYER_NOT_ACCEPT_OTHERS = 8;
HOST_IS_BLOCKED = 9; HOST_IS_BLOCKED = 9;
OTHER_DATA_VERSION_NOT_LATEST = 10; OTHER_DATA_VERSION_NOT_LATEST = 10;
DATA_VERSION_NOT_LATEST = 11; DATA_VERSION_NOT_LATEST = 11;
PLAYER_NOT_IN_PLAYER_WORLD = 12; PLAYER_NOT_IN_PLAYER_WORLD = 12;
MAX_PLAYER = 13; MAX_PLAYER = 13;
} }
bool is_agreed = 2; bool is_agreed = 2;
string target_nickname = 12; string target_nickname = 12;
Reason reason = 13; Reason reason = 13;
uint32 target_uid = 1; uint32 target_uid = 1;
} }
message PlayerApplyEnterMpResultReq { message PlayerApplyEnterMpResultReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1802; CMD_ID = 1802;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 apply_uid = 2; uint32 apply_uid = 2;
bool is_agreed = 12; bool is_agreed = 12;
} }
message PlayerApplyEnterMpResultRsp { message PlayerApplyEnterMpResultRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1831; CMD_ID = 1831;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 1; int32 retcode = 1;
bool is_agreed = 3; bool is_agreed = 3;
uint32 apply_uid = 10; uint32 apply_uid = 10;
uint32 param = 12; uint32 param = 12;
} }
message PlayerQuitFromMpNotify { message PlayerQuitFromMpNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1829; CMD_ID = 1829;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
enum QuitReason { enum QuitReason {
INVALID = 0; INVALID = 0;
HOST_NO_OTHER_PLAYER = 1; HOST_NO_OTHER_PLAYER = 1;
KICK_BY_HOST = 2; KICK_BY_HOST = 2;
BACK_TO_MY_WORLD = 3; BACK_TO_MY_WORLD = 3;
KICK_BY_HOST_LOGOUT = 4; KICK_BY_HOST_LOGOUT = 4;
KICK_BY_HOST_BLOCK = 5; KICK_BY_HOST_BLOCK = 5;
BE_BLOCKED = 6; BE_BLOCKED = 6;
KICK_BY_HOST_ENTER_HOME = 7; KICK_BY_HOST_ENTER_HOME = 7;
HOST_SCENE_INVALID = 8; HOST_SCENE_INVALID = 8;
KICK_BY_PLAY = 9; KICK_BY_PLAY = 9;
KICK_BY_ISLAND_PARTY_GALLERY_START_FAILED = 10; KICK_BY_ISLAND_PARTY_GALLERY_START_FAILED = 10;
} }
QuitReason reason = 11; QuitReason reason = 11;
} }
message PlayerPreEnterMpNotify { message PlayerPreEnterMpNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1822; CMD_ID = 1822;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
enum State { enum State {
INVALID = 0; INVALID = 0;
START = 1; START = 1;
TIMEOUT = 2; TIMEOUT = 2;
} }
State state = 2; State state = 2;
uint32 uid = 14; uint32 uid = 14;
string nickname = 6; string nickname = 6;
} }
message GetPlayerMpModeAvailabilityReq { message GetPlayerMpModeAvailabilityReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1844; CMD_ID = 1844;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
} }
message GetPlayerMpModeAvailabilityRsp { message GetPlayerMpModeAvailabilityRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1849; CMD_ID = 1849;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 mp_ret = 15; int32 mp_ret = 15;
int32 retcode = 2; int32 retcode = 2;
repeated uint32 param_list = 8; repeated uint32 param_list = 8;
} }
message PlayerSetOnlyMPWithPSPlayerReq { message PlayerSetOnlyMPWithPSPlayerReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1820; CMD_ID = 1820;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
bool is_only = 13; bool is_only = 13;
} }
message PlayerSetOnlyMPWithPSPlayerRsp { message PlayerSetOnlyMPWithPSPlayerRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1845; CMD_ID = 1845;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 5; int32 retcode = 5;
bool is_only = 8; bool is_only = 8;
} }
message PSPlayerApplyEnterMpReq { message PSPlayerApplyEnterMpReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1841; CMD_ID = 1841;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
string target_psn_id = 5; string target_psn_id = 5;
} }
message PSPlayerApplyEnterMpRsp { message PSPlayerApplyEnterMpRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1842; CMD_ID = 1842;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
string target_psn_id = 2; string target_psn_id = 2;
int32 retcode = 6; int32 retcode = 6;
uint32 param = 10; uint32 param = 10;
} }
message MpPlayOwnerCheckReq { message MpPlayOwnerCheckReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1814; CMD_ID = 1814;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 mp_play_id = 9; uint32 mp_play_id = 9;
bool is_skip_match = 3; bool is_skip_match = 3;
} }
message MpPlayOwnerCheckRsp { message MpPlayOwnerCheckRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1847; CMD_ID = 1847;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 wrong_uid = 4; uint32 wrong_uid = 4;
bool is_skip_match = 15; bool is_skip_match = 15;
uint32 mp_play_id = 10; uint32 mp_play_id = 10;
int32 retcode = 12; int32 retcode = 12;
} }
message MpPlayOwnerStartInviteReq { message MpPlayOwnerStartInviteReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1837; CMD_ID = 1837;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 mp_play_id = 3; uint32 mp_play_id = 3;
bool is_skip_match = 6; bool is_skip_match = 6;
} }
message MpPlayOwnerStartInviteRsp { message MpPlayOwnerStartInviteRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1823; CMD_ID = 1823;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 14; int32 retcode = 14;
uint32 mp_play_id = 3; uint32 mp_play_id = 3;
bool is_skip_match = 9; bool is_skip_match = 9;
} }
message MpPlayOwnerInviteNotify { message MpPlayOwnerInviteNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1835; CMD_ID = 1835;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 cd = 12; uint32 cd = 12;
uint32 mp_play_id = 13; uint32 mp_play_id = 13;
bool is_remain_reward = 10; bool is_remain_reward = 10;
} }
message MpPlayGuestReplyInviteReq { message MpPlayGuestReplyInviteReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1848; CMD_ID = 1848;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 mp_play_id = 3; uint32 mp_play_id = 3;
bool is_agree = 15; bool is_agree = 15;
} }
message MpPlayGuestReplyInviteRsp { message MpPlayGuestReplyInviteRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1850; CMD_ID = 1850;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 4; int32 retcode = 4;
uint32 mp_play_id = 10; uint32 mp_play_id = 10;
} }
message MpPlayGuestReplyNotify { message MpPlayGuestReplyNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1812; CMD_ID = 1812;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 uid = 7; uint32 uid = 7;
bool is_agree = 4; bool is_agree = 4;
uint32 mp_play_id = 14; uint32 mp_play_id = 14;
} }
message MpPlayPrepareNotify { message MpPlayPrepareNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1833; CMD_ID = 1833;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 mp_play_id = 9; uint32 mp_play_id = 9;
uint32 prepare_end_time = 11; uint32 prepare_end_time = 11;
} }
message MpPlayInviteResultNotify { message MpPlayInviteResultNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1815; CMD_ID = 1815;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 mp_play_id = 11; uint32 mp_play_id = 11;
bool all_argee = 10; bool all_argee = 10;
} }
message MpPlayPrepareInterruptNotify { message MpPlayPrepareInterruptNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1813; CMD_ID = 1813;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 mp_play_id = 12; uint32 mp_play_id = 12;
} }
message MpBlockNotify { message MpBlockNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1801; CMD_ID = 1801;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 end_time = 13; uint32 end_time = 13;
} }
File diff suppressed because it is too large Load Diff
+79 -79
View File
@@ -2,114 +2,114 @@ syntax = "proto3";
package proto; package proto;
option go_package = "./;proto";
import "define.proto"; import "define.proto";
message NpcTalkReq { option go_package = "./;proto";
enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 572;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1;
}
uint32 entity_id = 8; message NpcTalkReq {
uint32 npc_entity_id = 9; enum CmdId {
uint32 talk_id = 7; option allow_alias = true;
NONE = 0;
CMD_ID = 572;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1;
}
uint32 entity_id = 8;
uint32 npc_entity_id = 9;
uint32 talk_id = 7;
} }
message NpcTalkRsp { message NpcTalkRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 598; CMD_ID = 598;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 cur_talk_id = 9; uint32 cur_talk_id = 9;
uint32 npc_entity_id = 6; uint32 npc_entity_id = 6;
int32 retcode = 3; int32 retcode = 3;
uint32 entity_id = 13; uint32 entity_id = 13;
} }
message GetSceneNpcPositionReq { message GetSceneNpcPositionReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 535; CMD_ID = 535;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
repeated uint32 npc_id_list = 6; repeated uint32 npc_id_list = 6;
uint32 scene_id = 8; uint32 scene_id = 8;
} }
message GetSceneNpcPositionRsp { message GetSceneNpcPositionRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 507; CMD_ID = 507;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 10; int32 retcode = 10;
repeated NpcPositionInfo npc_info_list = 14; repeated NpcPositionInfo npc_info_list = 14;
uint32 scene_id = 4; uint32 scene_id = 4;
} }
message MetNpcIdListNotify { message MetNpcIdListNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 521; CMD_ID = 521;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
repeated uint32 npc_first_met_id_list = 9; repeated uint32 npc_first_met_id_list = 9;
} }
message MeetNpcReq { message MeetNpcReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 503; CMD_ID = 503;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 npc_id = 4; uint32 npc_id = 4;
} }
message MeetNpcRsp { message MeetNpcRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 590; CMD_ID = 590;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 14; int32 retcode = 14;
uint32 npc_first_met_id = 8; uint32 npc_first_met_id = 8;
} }
message FinishedTalkIdListNotify { message FinishedTalkIdListNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 573; CMD_ID = 573;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
repeated uint32 finished_talk_id_list = 1; repeated uint32 finished_talk_id_list = 1;
} }
+73 -73
View File
@@ -2,108 +2,108 @@ syntax = "proto3";
package proto; package proto;
option go_package = "./;proto";
import "define.proto"; import "define.proto";
option go_package = "./;proto";
message PlayerOfferingData { message PlayerOfferingData {
uint32 offering_id = 1; uint32 offering_id = 1;
bool is_first_interact = 15; bool is_first_interact = 15;
uint32 level = 12; uint32 level = 12;
repeated uint32 taken_level_reward_list = 8; repeated uint32 taken_level_reward_list = 8;
bool is_new_max_level = 6; bool is_new_max_level = 6;
} }
message PlayerOfferingDataNotify { message PlayerOfferingDataNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2923; CMD_ID = 2923;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
repeated PlayerOfferingData offering_data_list = 2; repeated PlayerOfferingData offering_data_list = 2;
} }
message PlayerOfferingReq { message PlayerOfferingReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2907; CMD_ID = 2907;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 offering_id = 6; uint32 offering_id = 6;
} }
message PlayerOfferingRsp { message PlayerOfferingRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2917; CMD_ID = 2917;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
repeated ItemParam item_list = 7; repeated ItemParam item_list = 7;
int32 retcode = 4; int32 retcode = 4;
PlayerOfferingData offering_data = 10; PlayerOfferingData offering_data = 10;
} }
message TakeOfferingLevelRewardReq { message TakeOfferingLevelRewardReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2919; CMD_ID = 2919;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 level = 6; uint32 level = 6;
uint32 offering_id = 11; uint32 offering_id = 11;
} }
message TakeOfferingLevelRewardRsp { message TakeOfferingLevelRewardRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2911; CMD_ID = 2911;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 offering_id = 3; uint32 offering_id = 3;
uint32 take_level = 4; uint32 take_level = 4;
int32 retcode = 8; int32 retcode = 8;
repeated ItemParam item_list = 2; repeated ItemParam item_list = 2;
} }
message OfferingInteractReq { message OfferingInteractReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2918; CMD_ID = 2918;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 offering_id = 9; uint32 offering_id = 9;
} }
message OfferingInteractRsp { message OfferingInteractRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2908; CMD_ID = 2908;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
PlayerOfferingData offering_data = 11; PlayerOfferingData offering_data = 11;
int32 retcode = 12; int32 retcode = 12;
} }
+42 -42
View File
@@ -5,64 +5,64 @@ package proto;
option go_package = "./;proto"; option go_package = "./;proto";
message OpActivityInfo { message OpActivityInfo {
uint32 activity_id = 2; uint32 activity_id = 2;
uint32 end_time = 6; uint32 end_time = 6;
uint32 begin_time = 5; uint32 begin_time = 5;
bool is_has_change = 1; bool is_has_change = 1;
uint32 schedule_id = 13; uint32 schedule_id = 13;
oneof detail { oneof detail {
BonusOpActivityInfo bonus_info = 12; BonusOpActivityInfo bonus_info = 12;
} }
} }
message BonusOpActivityInfo { message BonusOpActivityInfo {
uint32 left_bonus_count = 11; uint32 left_bonus_count = 11;
} }
message GetOpActivityInfoReq { message GetOpActivityInfoReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5172; CMD_ID = 5172;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
} }
message GetOpActivityInfoRsp { message GetOpActivityInfoRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5198; CMD_ID = 5198;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 10; int32 retcode = 10;
repeated OpActivityInfo op_activity_info_list = 7; repeated OpActivityInfo op_activity_info_list = 7;
} }
message OpActivityDataNotify { message OpActivityDataNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5112; CMD_ID = 5112;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
repeated OpActivityInfo op_activity_info_list = 15; repeated OpActivityInfo op_activity_info_list = 15;
} }
message OpActivityUpdateNotify { message OpActivityUpdateNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5135; CMD_ID = 5135;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
OpActivityInfo op_activity_info = 6; OpActivityInfo op_activity_info = 6;
} }
+162 -162
View File
@@ -2,231 +2,231 @@ syntax = "proto3";
package proto; package proto;
option go_package = "./;proto";
import "define.proto"; import "define.proto";
option go_package = "./;proto";
message QueryFilter { message QueryFilter {
int32 type_id = 9; int32 type_id = 9;
int32 area_mask = 13; int32 area_mask = 13;
} }
message QueryPathReq { message QueryPathReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2372; CMD_ID = 2372;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
enum OptionType { enum OptionType {
OPTION_NONE = 0; OPTION_NONE = 0;
OPTION_NORMAL = 1; OPTION_NORMAL = 1;
OPTION_FIRST_CAN_GO = 2; OPTION_FIRST_CAN_GO = 2;
} }
OptionType query_type = 13; OptionType query_type = 13;
Vector3Int source_extend = 6; Vector3Int source_extend = 6;
Vector source_pos = 2; Vector source_pos = 2;
QueryFilter filter = 12; QueryFilter filter = 12;
int32 query_id = 15; int32 query_id = 15;
Vector3Int destination_extend = 4; Vector3Int destination_extend = 4;
repeated Vector destination_pos = 10; repeated Vector destination_pos = 10;
uint32 scene_id = 11; uint32 scene_id = 11;
} }
message QueryPathRsp { message QueryPathRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2398; CMD_ID = 2398;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
enum PathStatusType { enum PathStatusType {
STATUS_FAIL = 0; STATUS_FAIL = 0;
STATUS_SUCC = 1; STATUS_SUCC = 1;
STATUS_PARTIAL = 2; STATUS_PARTIAL = 2;
} }
int32 query_id = 12; int32 query_id = 12;
repeated Vector corners = 6; repeated Vector corners = 6;
PathStatusType query_status = 8; PathStatusType query_status = 8;
int32 retcode = 1; int32 retcode = 1;
} }
message ObstacleInfo { message ObstacleInfo {
enum ShapeType { enum ShapeType {
OBSTACLE_SHAPE_CAPSULE = 0; OBSTACLE_SHAPE_CAPSULE = 0;
OBSTACLE_SHAPE_BOX = 1; OBSTACLE_SHAPE_BOX = 1;
} }
MathQuaternion rotation = 4; MathQuaternion rotation = 4;
int32 obstacle_id = 2; int32 obstacle_id = 2;
Vector center = 14; Vector center = 14;
ShapeType shape = 6; ShapeType shape = 6;
Vector3Int extents = 12; Vector3Int extents = 12;
} }
message ObstacleModifyNotify { message ObstacleModifyNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2312; CMD_ID = 2312;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
repeated int32 remove_obstacle_ids = 9; repeated int32 remove_obstacle_ids = 9;
repeated ObstacleInfo add_obstacles = 6; repeated ObstacleInfo add_obstacles = 6;
uint32 scene_id = 5; uint32 scene_id = 5;
} }
message PathfindingPingNotify { message PathfindingPingNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2335; CMD_ID = 2335;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
} }
message PathfindingEnterSceneReq { message PathfindingEnterSceneReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2307; CMD_ID = 2307;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 scene_id = 12; uint32 scene_id = 12;
repeated uint32 activity_id = 14; repeated uint32 activity_id = 14;
uint32 scene_tag_hash = 15; uint32 scene_tag_hash = 15;
uint32 version = 6; uint32 version = 6;
bool is_editor = 11; bool is_editor = 11;
repeated ObstacleInfo obstacles = 13; repeated ObstacleInfo obstacles = 13;
uint32 polygon_id = 4; uint32 polygon_id = 4;
} }
message PathfindingEnterSceneRsp { message PathfindingEnterSceneRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2321; CMD_ID = 2321;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 9; int32 retcode = 9;
} }
message GMShowObstacleReq { message GMShowObstacleReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2361; CMD_ID = 2361;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
} }
message GMObstacleInfo { message GMObstacleInfo {
enum ShapeType { enum ShapeType {
OBSTACLE_SHAPE_CAPSULE = 0; OBSTACLE_SHAPE_CAPSULE = 0;
OBSTACLE_SHAPE_BOX = 1; OBSTACLE_SHAPE_BOX = 1;
} }
int64 timestamp = 14; int64 timestamp = 14;
ShapeType shape = 2; ShapeType shape = 2;
int32 obstacle_id = 13; int32 obstacle_id = 13;
MathQuaternion rotation = 3; MathQuaternion rotation = 3;
Vector center = 8; Vector center = 8;
Vector3Int extents = 15; Vector3Int extents = 15;
} }
message GMShowObstacleRsp { message GMShowObstacleRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2329; CMD_ID = 2329;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 5; int32 retcode = 5;
repeated GMObstacleInfo obstacles = 6; repeated GMObstacleInfo obstacles = 6;
} }
message GMShowNavMeshReq { message GMShowNavMeshReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2357; CMD_ID = 2357;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
Vector center = 1; Vector center = 1;
Vector extent = 5; Vector extent = 5;
} }
message PBNavMeshPoly { message PBNavMeshPoly {
enum EdgeType { enum EdgeType {
INNER = 0; INNER = 0;
TILE_BOUND = 1; TILE_BOUND = 1;
TILE_BOUND_UNCONNECT = 2; TILE_BOUND_UNCONNECT = 2;
TILE_BOUND_OVERIDE = 3; TILE_BOUND_OVERIDE = 3;
} }
repeated EdgeType edge_types = 10; repeated EdgeType edge_types = 10;
int32 area = 6; int32 area = 6;
repeated int32 vects = 7; repeated int32 vects = 7;
} }
message PBNavMeshTile { message PBNavMeshTile {
repeated Vector vecs = 4; repeated Vector vecs = 4;
repeated PBNavMeshPoly polys = 8; repeated PBNavMeshPoly polys = 8;
} }
message GMShowNavMeshRsp { message GMShowNavMeshRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2400; CMD_ID = 2400;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
repeated PBNavMeshTile tiles = 11; repeated PBNavMeshTile tiles = 11;
int32 retcode = 5; int32 retcode = 5;
} }
message PbNavMeshStatsInfo { message PbNavMeshStatsInfo {
int32 authority_ai_in_combat = 10; int32 authority_ai_in_combat = 10;
int32 no_authority_ai_in_combat = 11; int32 no_authority_ai_in_combat = 11;
int32 total_authority_ai = 8; int32 total_authority_ai = 8;
int32 total_no_authority_ai = 13; int32 total_no_authority_ai = 13;
} }
message NavMeshStatsNotify { message NavMeshStatsNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2316; CMD_ID = 2316;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
repeated PbNavMeshStatsInfo infos = 4; repeated PbNavMeshStatsInfo infos = 4;
} }
File diff suppressed because it is too large Load Diff
+149 -149
View File
@@ -2,210 +2,210 @@ syntax = "proto3";
package proto; package proto;
option go_package = "./;proto";
import "define.proto"; import "define.proto";
option go_package = "./;proto";
enum PropChangeReason { enum PropChangeReason {
PROP_CHANGE_NONE = 0; PROP_CHANGE_NONE = 0;
PROP_CHANGE_STATUE_RECOVER = 1; PROP_CHANGE_STATUE_RECOVER = 1;
PROP_CHANGE_ENERGY_BALL = 2; PROP_CHANGE_ENERGY_BALL = 2;
PROP_CHANGE_ABILITY = 3; PROP_CHANGE_ABILITY = 3;
PROP_CHANGE_LEVELUP = 4; PROP_CHANGE_LEVELUP = 4;
PROP_CHANGE_ITEM = 5; PROP_CHANGE_ITEM = 5;
PROP_CHANGE_AVATAR_CARD = 6; PROP_CHANGE_AVATAR_CARD = 6;
PROP_CHANGE_CITY_LEVELUP = 7; PROP_CHANGE_CITY_LEVELUP = 7;
PROP_CHANGE_AVATAR_UPGRADE = 8; PROP_CHANGE_AVATAR_UPGRADE = 8;
PROP_CHANGE_AVATAR_PROMOTE = 9; PROP_CHANGE_AVATAR_PROMOTE = 9;
PROP_CHANGE_PLAYER_ADD_EXP = 10; PROP_CHANGE_PLAYER_ADD_EXP = 10;
PROP_CHANGE_FINISH_QUEST = 11; PROP_CHANGE_FINISH_QUEST = 11;
PROP_CHANGE_GM = 12; PROP_CHANGE_GM = 12;
PROP_CHANGE_MANUAL_ADJUST_WORLD_LEVEL = 13; PROP_CHANGE_MANUAL_ADJUST_WORLD_LEVEL = 13;
} }
enum ChangeEnergyReason { enum ChangeEnergyReason {
CHANGE_ENERGY_NONE = 0; CHANGE_ENERGY_NONE = 0;
CHANGE_ENERGY_SKILL_START = 1; CHANGE_ENERGY_SKILL_START = 1;
} }
enum MarkNewType { enum MarkNewType {
MARK_NEW_TYPE_NONE = 0; MARK_NEW_TYPE_NONE = 0;
MARK_NEW_TYPE_COMBINE = 1; MARK_NEW_TYPE_COMBINE = 1;
MARK_NEW_TYPE_FORGE = 2; MARK_NEW_TYPE_FORGE = 2;
} }
message EntityPropNotify { message EntityPropNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1272; CMD_ID = 1272;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
map<uint32, PropValue> prop_map = 1; map<uint32, PropValue> prop_map = 1;
uint32 entity_id = 14; uint32 entity_id = 14;
} }
message LifeStateChangeNotify { message LifeStateChangeNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1298; CMD_ID = 1298;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 entity_id = 4; uint32 entity_id = 4;
repeated ServerBuff server_buff_list = 6; repeated ServerBuff server_buff_list = 6;
string attack_tag = 7; string attack_tag = 7;
uint32 move_reliable_seq = 15; uint32 move_reliable_seq = 15;
PlayerDieType die_type = 14; PlayerDieType die_type = 14;
uint32 life_state = 5; uint32 life_state = 5;
uint32 source_entity_id = 1; uint32 source_entity_id = 1;
} }
message EntityFightPropNotify { message EntityFightPropNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1212; CMD_ID = 1212;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 entity_id = 4; uint32 entity_id = 4;
map<uint32, float> fight_prop_map = 8; map<uint32, float> fight_prop_map = 8;
} }
message EntityFightPropUpdateNotify { message EntityFightPropUpdateNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1235; CMD_ID = 1235;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
map<uint32, float> fight_prop_map = 15; map<uint32, float> fight_prop_map = 15;
uint32 entity_id = 13; uint32 entity_id = 13;
} }
message AvatarFightPropNotify { message AvatarFightPropNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1207; CMD_ID = 1207;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
map<uint32, float> fight_prop_map = 8; map<uint32, float> fight_prop_map = 8;
uint64 avatar_guid = 4; uint64 avatar_guid = 4;
} }
message AvatarFightPropUpdateNotify { message AvatarFightPropUpdateNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1221; CMD_ID = 1221;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
map<uint32, float> fight_prop_map = 15; map<uint32, float> fight_prop_map = 15;
uint64 avatar_guid = 13; uint64 avatar_guid = 13;
} }
message EntityFightPropChangeReasonNotify { message EntityFightPropChangeReasonNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1203; CMD_ID = 1203;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
repeated uint32 param_list = 10; repeated uint32 param_list = 10;
float prop_delta = 1; float prop_delta = 1;
ChangHpReason change_hp_reason = 14; ChangHpReason change_hp_reason = 14;
PropChangeReason reason = 6; PropChangeReason reason = 6;
uint32 entity_id = 5; uint32 entity_id = 5;
ChangeEnergyReason change_energy_reson = 15; ChangeEnergyReason change_energy_reson = 15;
uint32 prop_type = 13; uint32 prop_type = 13;
} }
message AvatarLifeStateChangeNotify { message AvatarLifeStateChangeNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1290; CMD_ID = 1290;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 life_state = 13; uint32 life_state = 13;
string attack_tag = 10; string attack_tag = 10;
PlayerDieType die_type = 2; PlayerDieType die_type = 2;
repeated ServerBuff server_buff_list = 12; repeated ServerBuff server_buff_list = 12;
uint32 move_reliable_seq = 5; uint32 move_reliable_seq = 5;
uint32 source_entity_id = 3; uint32 source_entity_id = 3;
uint64 avatar_guid = 11; uint64 avatar_guid = 11;
} }
message AvatarPropChangeReasonNotify { message AvatarPropChangeReasonNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1273; CMD_ID = 1273;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
float old_value = 11; float old_value = 11;
PropChangeReason reason = 5; PropChangeReason reason = 5;
uint32 prop_type = 1; uint32 prop_type = 1;
uint64 avatar_guid = 8; uint64 avatar_guid = 8;
float cur_value = 15; float cur_value = 15;
} }
message PlayerPropChangeReasonNotify { message PlayerPropChangeReasonNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1299; CMD_ID = 1299;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 prop_type = 6; uint32 prop_type = 6;
float old_value = 12; float old_value = 12;
PropChangeReason reason = 1; PropChangeReason reason = 1;
float cur_value = 11; float cur_value = 11;
} }
message AvatarPropNotify { message AvatarPropNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1231; CMD_ID = 1231;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
map<uint32, int64> prop_map = 14; map<uint32, int64> prop_map = 14;
uint64 avatar_guid = 15; uint64 avatar_guid = 15;
} }
message MarkNewNotify { message MarkNewNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1275; CMD_ID = 1275;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
repeated uint32 id_list = 7; repeated uint32 id_list = 7;
uint32 mark_new_type = 11; uint32 mark_new_type = 11;
} }
File diff suppressed because it is too large Load Diff
+112 -112
View File
@@ -2,161 +2,161 @@ syntax = "proto3";
package proto; package proto;
option go_package = "./;proto";
import "define.proto"; import "define.proto";
message RechargeReq { option go_package = "./;proto";
enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 4126;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1;
}
PlayProduct play_product = 10; message RechargeReq {
ShopCardProduct card_product = 8; enum CmdId {
ShopMcoinProduct mcoin_product = 14; option allow_alias = true;
ShopConcertProduct concert_product = 7; NONE = 0;
CMD_ID = 4126;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1;
}
PlayProduct play_product = 10;
ShopCardProduct card_product = 8;
ShopMcoinProduct mcoin_product = 14;
ShopConcertProduct concert_product = 7;
} }
message RechargeRsp { message RechargeRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4118; CMD_ID = 4118;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 12; int32 retcode = 12;
bool is_show_minors_hint = 6; bool is_show_minors_hint = 6;
string product_id = 2; string product_id = 2;
} }
message OrderFinishNotify { message OrderFinishNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4125; CMD_ID = 4125;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 order_id = 3; uint32 order_id = 3;
uint32 card_product_remain_days = 15; uint32 card_product_remain_days = 15;
repeated ItemParam item_list = 9; repeated ItemParam item_list = 9;
uint32 add_mcoin = 7; uint32 add_mcoin = 7;
string product_id = 6; string product_id = 6;
} }
message CardProductRewardNotify { message CardProductRewardNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4107; CMD_ID = 4107;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 hcoin = 6; uint32 hcoin = 6;
string product_id = 14; string product_id = 14;
uint32 remain_days = 1; uint32 remain_days = 1;
} }
message ProductPriceTier { message ProductPriceTier {
string product_id = 6; string product_id = 6;
string price_tier = 12; string price_tier = 12;
} }
message ResinCardData { message ResinCardData {
uint32 remain_reward_days = 3; uint32 remain_reward_days = 3;
uint32 expire_time = 12; uint32 expire_time = 12;
uint32 last_daily_reward_time = 2; uint32 last_daily_reward_time = 2;
uint32 config_id = 7; uint32 config_id = 7;
} }
message PlayerRechargeDataNotify { message PlayerRechargeDataNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4102; CMD_ID = 4102;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 card_product_remain_days = 12; uint32 card_product_remain_days = 12;
repeated ProductPriceTier product_price_tier_list = 11; repeated ProductPriceTier product_price_tier_list = 11;
} }
message OrderDisplayNotify { message OrderDisplayNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4131; CMD_ID = 4131;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 order_id = 1; uint32 order_id = 1;
} }
message ReportTrackingIOInfoNotify { message ReportTrackingIOInfoNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4129; CMD_ID = 4129;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
string rydevicetype = 12; string rydevicetype = 12;
string deviceid = 1; string deviceid = 1;
string client_tz = 13; string client_tz = 13;
string appid = 14; string appid = 14;
string mac = 15; string mac = 15;
} }
message TakeResinCardDailyRewardReq { message TakeResinCardDailyRewardReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4122; CMD_ID = 4122;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 product_config_id = 14; uint32 product_config_id = 14;
} }
message TakeResinCardDailyRewardRsp { message TakeResinCardDailyRewardRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4144; CMD_ID = 4144;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
repeated ItemParam item_vec = 6; repeated ItemParam item_vec = 6;
int32 retcode = 4; int32 retcode = 4;
uint32 product_config_id = 12; uint32 product_config_id = 12;
} }
message ResinCardDataUpdateNotify { message ResinCardDataUpdateNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4149; CMD_ID = 4149;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 today_start_time = 6; uint32 today_start_time = 6;
repeated ResinCardData card_data_list = 2; repeated ResinCardData card_data_list = 2;
} }
+61 -61
View File
@@ -2,91 +2,91 @@ syntax = "proto3";
package proto; package proto;
option go_package = "./;proto";
import "define.proto"; import "define.proto";
option go_package = "./;proto";
message RegionSearch { message RegionSearch {
bool is_entered = 13; bool is_entered = 13;
uint32 progress = 5; uint32 progress = 5;
RegionSearchState state = 2; RegionSearchState state = 2;
uint32 region_search_id = 8; uint32 region_search_id = 8;
} }
message RegionSearchInfo { message RegionSearchInfo {
uint32 id = 5; uint32 id = 5;
repeated RegionSearch region_search_list = 1; repeated RegionSearch region_search_list = 1;
bool is_entered = 7; bool is_entered = 7;
} }
message RegionSearchNotify { message RegionSearchNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5626; CMD_ID = 5626;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
repeated RegionSearchInfo region_search_list = 1; repeated RegionSearchInfo region_search_list = 1;
uint32 uid = 8; uint32 uid = 8;
} }
message RegionSearchChangeRegionNotify { message RegionSearchChangeRegionNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5618; CMD_ID = 5618;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
enum RegionEvent { enum RegionEvent {
REGION_EVENT_NONE = 0; REGION_EVENT_NONE = 0;
REGION_EVENT_ENTER = 1; REGION_EVENT_ENTER = 1;
REGION_EVENT_LEAVE = 2; REGION_EVENT_LEAVE = 2;
} }
RegionEvent event = 1; RegionEvent event = 1;
uint32 region_id = 10; uint32 region_id = 10;
} }
message TakeRegionSearchRewardReq { message TakeRegionSearchRewardReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5625; CMD_ID = 5625;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 search_id = 3; uint32 search_id = 3;
uint32 id = 15; uint32 id = 15;
} }
message TakeRegionSearchRewardRsp { message TakeRegionSearchRewardRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5607; CMD_ID = 5607;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 search_id = 14; uint32 search_id = 14;
uint32 id = 1; uint32 id = 1;
int32 retcode = 5; int32 retcode = 5;
} }
message GetRegionSearchReq { message GetRegionSearchReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5602; CMD_ID = 5602;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
} }
+36 -36
View File
@@ -2,58 +2,58 @@ syntax = "proto3";
package proto; package proto;
option go_package = "./;proto";
import "define.proto"; import "define.proto";
option go_package = "./;proto";
message RegionalPlayVar { message RegionalPlayVar {
uint32 type = 15; uint32 type = 15;
float max_value = 11; float max_value = 11;
float value = 3; float value = 3;
float base_value = 10; float base_value = 10;
} }
message RegionalPlayInfoNotify { message RegionalPlayInfoNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 6276; CMD_ID = 6276;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
repeated RegionalPlayVar var_list = 5; repeated RegionalPlayVar var_list = 5;
string play_name = 9; string play_name = 9;
bool is_enabled = 15; bool is_enabled = 15;
uint32 play_type = 7; uint32 play_type = 7;
bool is_in_region = 4; bool is_in_region = 4;
} }
message DeathZoneInfo { message DeathZoneInfo {
bool is_open = 9; bool is_open = 9;
uint32 id = 14; uint32 id = 14;
} }
message DeathZoneInfoNotify { message DeathZoneInfoNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 6268; CMD_ID = 6268;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
repeated DeathZoneInfo death_zone_info_list = 8; repeated DeathZoneInfo death_zone_info_list = 8;
} }
message PlayerDeathZoneNotify { message PlayerDeathZoneNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 6275; CMD_ID = 6275;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 cur_death_zone_id = 8; uint32 cur_death_zone_id = 8;
} }
+22 -22
View File
@@ -2,33 +2,33 @@ syntax = "proto3";
package proto; package proto;
option go_package = "./;proto";
import "define.proto"; import "define.proto";
message NormalUidOpNotify { option go_package = "./;proto";
enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 5726;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
}
uint32 duration = 6; message NormalUidOpNotify {
repeated uint32 param_list = 4; enum CmdId {
repeated uint32 param_uid_list = 5; option allow_alias = true;
uint32 param_index = 8; NONE = 0;
CMD_ID = 5726;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
}
uint32 duration = 6;
repeated uint32 param_list = 4;
repeated uint32 param_uid_list = 5;
uint32 param_index = 8;
} }
message ServerMessageNotify { message ServerMessageNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5718; CMD_ID = 5718;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 index = 1; uint32 index = 1;
} }
+189 -189
View File
@@ -2,275 +2,275 @@ syntax = "proto3";
package proto; package proto;
option go_package = "./;proto";
import "define.proto"; import "define.proto";
option go_package = "./;proto";
message CityReputationQuestInfo { message CityReputationQuestInfo {
bool is_open = 2; bool is_open = 2;
repeated uint32 taken_parent_quest_reward_list = 12; repeated uint32 taken_parent_quest_reward_list = 12;
repeated uint32 finished_parent_quest_list = 7; repeated uint32 finished_parent_quest_list = 7;
} }
message CityReputationRequestInfo { message CityReputationRequestInfo {
message RequestInfo { message RequestInfo {
uint32 request_id = 3; uint32 request_id = 3;
uint32 quest_id = 9; uint32 quest_id = 9;
bool is_taken_reward = 6; bool is_taken_reward = 6;
} }
bool is_open = 2; bool is_open = 2;
repeated RequestInfo request_info_list = 1; repeated RequestInfo request_info_list = 1;
} }
message CityReputationExploreInfo { message CityReputationExploreInfo {
repeated uint32 taken_explore_reward_list = 2; repeated uint32 taken_explore_reward_list = 2;
uint32 explore_percent = 14; uint32 explore_percent = 14;
bool is_open = 15; bool is_open = 15;
} }
message CityReputationHuntInfo { message CityReputationHuntInfo {
bool is_open = 6; bool is_open = 6;
uint32 cur_week_finish_num = 15; uint32 cur_week_finish_num = 15;
bool has_reward = 5; bool has_reward = 5;
} }
message CityReputationInfo { message CityReputationInfo {
uint32 level = 4; uint32 level = 4;
uint32 next_refresh_time = 3; uint32 next_refresh_time = 3;
CityReputationHuntInfo hunt_info = 11; CityReputationHuntInfo hunt_info = 11;
repeated uint32 taken_level_reward_list = 2; repeated uint32 taken_level_reward_list = 2;
uint32 total_accept_request_num = 6; uint32 total_accept_request_num = 6;
CityReputationRequestInfo request_info = 5; CityReputationRequestInfo request_info = 5;
CityReputationQuestInfo quest_info = 9; CityReputationQuestInfo quest_info = 9;
uint32 exp = 13; uint32 exp = 13;
CityReputationExploreInfo explore_info = 10; CityReputationExploreInfo explore_info = 10;
} }
message GetCityReputationInfoReq { message GetCityReputationInfoReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2872; CMD_ID = 2872;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 city_id = 7; uint32 city_id = 7;
} }
message GetCityReputationInfoRsp { message GetCityReputationInfoRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2898; CMD_ID = 2898;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 city_id = 1; uint32 city_id = 1;
int32 retcode = 4; int32 retcode = 4;
CityReputationInfo city_reputation_info = 9; CityReputationInfo city_reputation_info = 9;
} }
message TakeCityReputationLevelRewardReq { message TakeCityReputationLevelRewardReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2812; CMD_ID = 2812;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 level = 11; uint32 level = 11;
uint32 city_id = 1; uint32 city_id = 1;
} }
message TakeCityReputationLevelRewardRsp { message TakeCityReputationLevelRewardRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2835; CMD_ID = 2835;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 city_id = 15; uint32 city_id = 15;
int32 retcode = 11; int32 retcode = 11;
repeated ItemParam item_list = 13; repeated ItemParam item_list = 13;
uint32 level = 9; uint32 level = 9;
} }
message CityReputationLevelupNotify { message CityReputationLevelupNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2807; CMD_ID = 2807;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 city_id = 12; uint32 city_id = 12;
uint32 level = 15; uint32 level = 15;
} }
message TakeCityReputationParentQuestReq { message TakeCityReputationParentQuestReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2821; CMD_ID = 2821;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 city_id = 1; uint32 city_id = 1;
repeated uint32 parent_quest_list = 6; repeated uint32 parent_quest_list = 6;
} }
message TakeCityReputationParentQuestRsp { message TakeCityReputationParentQuestRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2803; CMD_ID = 2803;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
int32 retcode = 7; int32 retcode = 7;
uint32 city_id = 14; uint32 city_id = 14;
repeated uint32 parent_quest_list = 9; repeated uint32 parent_quest_list = 9;
repeated ItemParam item_list = 13; repeated ItemParam item_list = 13;
} }
message AcceptCityReputationRequestReq { message AcceptCityReputationRequestReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2890; CMD_ID = 2890;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 city_id = 14; uint32 city_id = 14;
uint32 request_id = 5; uint32 request_id = 5;
} }
message AcceptCityReputationRequestRsp { message AcceptCityReputationRequestRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2873; CMD_ID = 2873;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 request_id = 5; uint32 request_id = 5;
uint32 city_id = 13; uint32 city_id = 13;
int32 retcode = 2; int32 retcode = 2;
} }
message CancelCityReputationRequestReq { message CancelCityReputationRequestReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2899; CMD_ID = 2899;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 request_id = 10; uint32 request_id = 10;
uint32 city_id = 6; uint32 city_id = 6;
} }
message CancelCityReputationRequestRsp { message CancelCityReputationRequestRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2831; CMD_ID = 2831;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 city_id = 3; uint32 city_id = 3;
int32 retcode = 2; int32 retcode = 2;
uint32 request_id = 12; uint32 request_id = 12;
} }
message GetCityReputationMapInfoReq { message GetCityReputationMapInfoReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2875; CMD_ID = 2875;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
} }
message GetCityReputationMapInfoRsp { message GetCityReputationMapInfoRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2848; CMD_ID = 2848;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 11; int32 retcode = 11;
bool is_new_hunting = 10; bool is_new_hunting = 10;
bool is_new_request = 2; bool is_new_request = 2;
repeated uint32 unlock_hunting_city_list = 9; repeated uint32 unlock_hunting_city_list = 9;
repeated uint32 reward_city_list = 3; repeated uint32 reward_city_list = 3;
} }
message TakeCityReputationExploreRewardReq { message TakeCityReputationExploreRewardReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2897; CMD_ID = 2897;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 city_id = 15; uint32 city_id = 15;
repeated uint32 explore_id_list = 12; repeated uint32 explore_id_list = 12;
} }
message TakeCityReputationExploreRewardRsp { message TakeCityReputationExploreRewardRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2881; CMD_ID = 2881;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
repeated uint32 explore_id_list = 8; repeated uint32 explore_id_list = 8;
repeated ItemParam item_list = 12; repeated ItemParam item_list = 12;
int32 retcode = 6; int32 retcode = 6;
uint32 city_id = 13; uint32 city_id = 13;
} }
message CityReputationSimpleInfo { message CityReputationSimpleInfo {
uint32 level = 15; uint32 level = 15;
uint32 city_id = 9; uint32 city_id = 9;
} }
message CityReputationDataNotify { message CityReputationDataNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2805; CMD_ID = 2805;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
repeated CityReputationSimpleInfo simple_info_list = 7; repeated CityReputationSimpleInfo simple_info_list = 7;
} }
+224 -224
View File
@@ -5,321 +5,321 @@ package proto;
option go_package = "./;proto"; option go_package = "./;proto";
message ReunionSignInInfo { message ReunionSignInInfo {
uint32 sign_in_count = 6; uint32 sign_in_count = 6;
repeated uint32 reward_day_list = 8; repeated uint32 reward_day_list = 8;
uint32 config_id = 12; uint32 config_id = 12;
uint32 last_sign_in_time = 11; uint32 last_sign_in_time = 11;
} }
message ReunionWatcherInfo { message ReunionWatcherInfo {
uint32 reward_unlock_time = 12; uint32 reward_unlock_time = 12;
uint32 watcher_id = 3; uint32 watcher_id = 3;
uint32 total_progress = 4; uint32 total_progress = 4;
uint32 cur_progress = 11; uint32 cur_progress = 11;
bool is_taken_reward = 14; bool is_taken_reward = 14;
} }
message ReunionMissionInfo { message ReunionMissionInfo {
repeated ReunionWatcherInfo cur_day_watcher_list = 3; repeated ReunionWatcherInfo cur_day_watcher_list = 3;
uint32 cur_score = 11; uint32 cur_score = 11;
bool is_taken_reward = 8; bool is_taken_reward = 8;
repeated bool is_taken_reward_list = 6; repeated bool is_taken_reward_list = 6;
uint32 next_refresh_time = 5; uint32 next_refresh_time = 5;
bool is_finished = 9; bool is_finished = 9;
uint32 mission_id = 12; uint32 mission_id = 12;
repeated ReunionWatcherInfo watcher_list = 2; repeated ReunionWatcherInfo watcher_list = 2;
} }
message ReunionPrivilegeInfo { message ReunionPrivilegeInfo {
uint32 cur_day_count = 7; uint32 cur_day_count = 7;
uint32 total_count = 10; uint32 total_count = 10;
uint32 privilege_id = 4; uint32 privilege_id = 4;
} }
message ReunionBriefInfo { message ReunionBriefInfo {
uint32 first_gift_reward_id = 15; uint32 first_gift_reward_id = 15;
uint32 privilege_id = 5; uint32 privilege_id = 5;
uint32 mission_id = 10; uint32 mission_id = 10;
uint32 first_day_start_time = 3; uint32 first_day_start_time = 3;
bool sign_in_has_reward = 2; bool sign_in_has_reward = 2;
uint32 start_time = 7; uint32 start_time = 7;
bool is_taken_first_gift = 8; bool is_taken_first_gift = 8;
uint32 finish_time = 12; uint32 finish_time = 12;
bool mission_has_reward = 9; bool mission_has_reward = 9;
ReunionPrivilegeInfo privilege_info = 14; ReunionPrivilegeInfo privilege_info = 14;
string version = 13; string version = 13;
uint32 sign_in_config_id = 6; uint32 sign_in_config_id = 6;
} }
message ReunionBriefInfoReq { message ReunionBriefInfoReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5076; CMD_ID = 5076;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
} }
message ReunionBriefInfoRsp { message ReunionBriefInfoRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5068; CMD_ID = 5068;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
bool is_activate = 13; bool is_activate = 13;
int32 retcode = 14; int32 retcode = 14;
ReunionBriefInfo reunion_brief_info = 5; ReunionBriefInfo reunion_brief_info = 5;
} }
message TakeReunionFirstGiftRewardReq { message TakeReunionFirstGiftRewardReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5075; CMD_ID = 5075;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
} }
message TakeReunionFirstGiftRewardRsp { message TakeReunionFirstGiftRewardRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5057; CMD_ID = 5057;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 reward_id = 9; int32 reward_id = 9;
int32 retcode = 15; int32 retcode = 15;
} }
message GetReunionSignInInfoReq { message GetReunionSignInInfoReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5052; CMD_ID = 5052;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 sign_in_config_id = 10; uint32 sign_in_config_id = 10;
} }
message GetReunionSignInInfoRsp { message GetReunionSignInInfoRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5081; CMD_ID = 5081;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
ReunionSignInInfo sign_in_info = 5; ReunionSignInInfo sign_in_info = 5;
int32 retcode = 15; int32 retcode = 15;
} }
message TakeReunionSignInRewardReq { message TakeReunionSignInRewardReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5079; CMD_ID = 5079;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 reward_day = 12; uint32 reward_day = 12;
uint32 config_id = 14; uint32 config_id = 14;
} }
message TakeReunionSignInRewardRsp { message TakeReunionSignInRewardRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5072; CMD_ID = 5072;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
ReunionSignInInfo sign_in_info = 10; ReunionSignInInfo sign_in_info = 10;
int32 retcode = 5; int32 retcode = 5;
} }
message GetReunionMissionInfoReq { message GetReunionMissionInfoReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5094; CMD_ID = 5094;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 mission_id = 14; uint32 mission_id = 14;
} }
message GetReunionMissionInfoRsp { message GetReunionMissionInfoRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5099; CMD_ID = 5099;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 9; int32 retcode = 9;
ReunionMissionInfo mission_info = 14; ReunionMissionInfo mission_info = 14;
} }
message TakeReunionWatcherRewardReq { message TakeReunionWatcherRewardReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5070; CMD_ID = 5070;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 watcher_id = 12; uint32 watcher_id = 12;
uint32 mission_id = 15; uint32 mission_id = 15;
} }
message TakeReunionWatcherRewardRsp { message TakeReunionWatcherRewardRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5095; CMD_ID = 5095;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 mission_id = 15; uint32 mission_id = 15;
uint32 watcher_id = 9; uint32 watcher_id = 9;
int32 retcode = 10; int32 retcode = 10;
} }
message UpdateReunionWatcherNotify { message UpdateReunionWatcherNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5091; CMD_ID = 5091;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 mission_id = 3; uint32 mission_id = 3;
ReunionWatcherInfo watcher_info = 10; ReunionWatcherInfo watcher_info = 10;
} }
message TakeReunionMissionRewardReq { message TakeReunionMissionRewardReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5092; CMD_ID = 5092;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 reward_id = 7; uint32 reward_id = 7;
uint32 reward_index = 4; uint32 reward_index = 4;
uint32 mission_id = 12; uint32 mission_id = 12;
} }
message TakeReunionMissionRewardRsp { message TakeReunionMissionRewardRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5064; CMD_ID = 5064;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 reward_index = 12; uint32 reward_index = 12;
int32 retcode = 2; int32 retcode = 2;
ReunionMissionInfo mission_info = 9; ReunionMissionInfo mission_info = 9;
uint32 reward_id = 3; uint32 reward_id = 3;
} }
message GetReunionPrivilegeInfoReq { message GetReunionPrivilegeInfoReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5097; CMD_ID = 5097;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 privilege_id = 10; uint32 privilege_id = 10;
} }
message GetReunionPrivilegeInfoRsp { message GetReunionPrivilegeInfoRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5087; CMD_ID = 5087;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 3; int32 retcode = 3;
ReunionPrivilegeInfo privilege_info = 1; ReunionPrivilegeInfo privilege_info = 1;
} }
message ReunionSettleNotify { message ReunionSettleNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5073; CMD_ID = 5073;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
} }
message ReunionActivateNotify { message ReunionActivateNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5085; CMD_ID = 5085;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
bool is_activate = 9; bool is_activate = 9;
ReunionBriefInfo reunion_brief_info = 13; ReunionBriefInfo reunion_brief_info = 13;
} }
message ReunionPrivilegeChangeNotify { message ReunionPrivilegeChangeNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5098; CMD_ID = 5098;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
ReunionPrivilegeInfo privilege_info = 13; ReunionPrivilegeInfo privilege_info = 13;
} }
message ReunionDailyRefreshNotify { message ReunionDailyRefreshNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 5100; CMD_ID = 5100;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
ReunionBriefInfo reunion_brief_info = 4; ReunionBriefInfo reunion_brief_info = 4;
} }
+52 -52
View File
@@ -2,85 +2,85 @@ syntax = "proto3";
package proto; package proto;
option go_package = "./;proto";
import "define.proto"; import "define.proto";
option go_package = "./;proto";
message PlayerRoutineInfo { message PlayerRoutineInfo {
uint32 routine_type = 8; uint32 routine_type = 8;
uint32 finished_num = 15; uint32 finished_num = 15;
} }
message PlayerRoutineDataNotify { message PlayerRoutineDataNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 3526; CMD_ID = 3526;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
repeated PlayerRoutineInfo routine_info_list = 11; repeated PlayerRoutineInfo routine_info_list = 11;
} }
message WorldRoutineInfo { message WorldRoutineInfo {
uint32 progress = 4; uint32 progress = 4;
bool is_finished = 14; bool is_finished = 14;
uint32 finish_progress = 3; uint32 finish_progress = 3;
uint32 routine_id = 11; uint32 routine_id = 11;
} }
message WorldRoutineTypeInfo { message WorldRoutineTypeInfo {
uint32 routine_type = 13; uint32 routine_type = 13;
uint32 next_refresh_time = 12; uint32 next_refresh_time = 12;
repeated WorldRoutineInfo world_routine_info_list = 3; repeated WorldRoutineInfo world_routine_info_list = 3;
} }
message WorldAllRoutineTypeNotify { message WorldAllRoutineTypeNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 3518; CMD_ID = 3518;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
repeated WorldRoutineTypeInfo world_routine_type_list = 12; repeated WorldRoutineTypeInfo world_routine_type_list = 12;
} }
message WorldRoutineTypeRefreshNotify { message WorldRoutineTypeRefreshNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 3525; CMD_ID = 3525;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
WorldRoutineTypeInfo world_routine_type = 7; WorldRoutineTypeInfo world_routine_type = 7;
} }
message WorldRoutineChangeNotify { message WorldRoutineChangeNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 3507; CMD_ID = 3507;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
WorldRoutineInfo routine_info = 3; WorldRoutineInfo routine_info = 3;
uint32 routine_type = 11; uint32 routine_type = 11;
} }
message WorldRoutineTypeCloseNotify { message WorldRoutineTypeCloseNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 3502; CMD_ID = 3502;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 routine_type = 7; uint32 routine_type = 7;
} }
File diff suppressed because it is too large Load Diff
+197 -197
View File
@@ -2,280 +2,280 @@ syntax = "proto3";
package proto; package proto;
option go_package = "./;proto";
import "define.proto"; import "define.proto";
option go_package = "./;proto";
enum ScenePlayBattleState { enum ScenePlayBattleState {
SCENE_PLAY_BATTLE_NONE = 0; SCENE_PLAY_BATTLE_NONE = 0;
SCENE_PLAY_BATTLE_INIT = 1; SCENE_PLAY_BATTLE_INIT = 1;
SCENE_PLAY_BATTLE_PREPARE = 2; SCENE_PLAY_BATTLE_PREPARE = 2;
SCENE_PLAY_BATTLE_READY = 3; SCENE_PLAY_BATTLE_READY = 3;
SCENE_PLAY_BATTLE_PRESTART = 4; SCENE_PLAY_BATTLE_PRESTART = 4;
SCENE_PLAY_BATTLE_START = 5; SCENE_PLAY_BATTLE_START = 5;
SCENE_PLAY_BATTLE_STOP = 6; SCENE_PLAY_BATTLE_STOP = 6;
} }
message ScenePlayBattleInfo { message ScenePlayBattleInfo {
uint32 mode = 4; uint32 mode = 4;
repeated uint32 progress_stage_list = 3; repeated uint32 progress_stage_list = 3;
uint32 start_time = 10; uint32 start_time = 10;
uint32 duration = 14; uint32 duration = 14;
uint32 play_type = 12; uint32 play_type = 12;
uint32 play_id = 1; uint32 play_id = 1;
uint32 prepare_end_time = 7; uint32 prepare_end_time = 7;
uint32 progress = 11; uint32 progress = 11;
uint32 state = 8; uint32 state = 8;
uint32 type = 9; uint32 type = 9;
} }
message ScenePlayBattleInfoNotify { message ScenePlayBattleInfoNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4422; CMD_ID = 4422;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
ScenePlayBattleInfo battle_info = 11; ScenePlayBattleInfo battle_info = 11;
} }
message ScenePlayOwnerCheckReq { message ScenePlayOwnerCheckReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4448; CMD_ID = 4448;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 play_id = 9; uint32 play_id = 9;
bool is_skip_match = 6; bool is_skip_match = 6;
} }
message ScenePlayOwnerCheckRsp { message ScenePlayOwnerCheckRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4362; CMD_ID = 4362;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
repeated uint32 param_list = 8; repeated uint32 param_list = 8;
bool is_skip_match = 1; bool is_skip_match = 1;
uint32 play_id = 9; uint32 play_id = 9;
uint32 wrong_uid = 5; uint32 wrong_uid = 5;
int32 retcode = 3; int32 retcode = 3;
} }
message ScenePlayOwnerStartInviteReq { message ScenePlayOwnerStartInviteReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4385; CMD_ID = 4385;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
bool is_skip_match = 8; bool is_skip_match = 8;
uint32 play_id = 13; uint32 play_id = 13;
} }
message ScenePlayOwnerStartInviteRsp { message ScenePlayOwnerStartInviteRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4357; CMD_ID = 4357;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
bool is_skip_match = 7; bool is_skip_match = 7;
int32 retcode = 15; int32 retcode = 15;
uint32 play_id = 11; uint32 play_id = 11;
} }
message ScenePlayOwnerInviteNotify { message ScenePlayOwnerInviteNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4371; CMD_ID = 4371;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 invite_cd = 14; uint32 invite_cd = 14;
uint32 play_id = 5; uint32 play_id = 5;
bool is_remain_reward = 15; bool is_remain_reward = 15;
} }
message ScenePlayGuestReplyInviteReq { message ScenePlayGuestReplyInviteReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4353; CMD_ID = 4353;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
bool is_agree = 15; bool is_agree = 15;
uint32 play_id = 6; uint32 play_id = 6;
} }
message ScenePlayGuestReplyInviteRsp { message ScenePlayGuestReplyInviteRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4440; CMD_ID = 4440;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 6; int32 retcode = 6;
bool is_agree = 2; bool is_agree = 2;
uint32 play_id = 8; uint32 play_id = 8;
} }
message ScenePlayGuestReplyNotify { message ScenePlayGuestReplyNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4423; CMD_ID = 4423;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 play_id = 13; uint32 play_id = 13;
uint32 guest_uid = 12; uint32 guest_uid = 12;
bool is_agree = 3; bool is_agree = 3;
} }
message ScenePlayInviteResultNotify { message ScenePlayInviteResultNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4449; CMD_ID = 4449;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
bool is_all_argee = 11; bool is_all_argee = 11;
uint32 play_id = 15; uint32 play_id = 15;
} }
message ScenePlayInfo { message ScenePlayInfo {
uint32 entry_id = 15; uint32 entry_id = 15;
uint32 play_id = 11; uint32 play_id = 11;
uint32 play_type = 3; uint32 play_type = 3;
bool is_open = 9; bool is_open = 9;
} }
message ScenePlayInfoListNotify { message ScenePlayInfoListNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4381; CMD_ID = 4381;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
repeated ScenePlayInfo play_info_list = 6; repeated ScenePlayInfo play_info_list = 6;
} }
message ScenePlayBattleInterruptNotify { message ScenePlayBattleInterruptNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4425; CMD_ID = 4425;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 interrupt_state = 6; uint32 interrupt_state = 6;
uint32 play_id = 5; uint32 play_id = 5;
uint32 play_type = 1; uint32 play_type = 1;
} }
message ScenePlayBattleSettlePlayerInfo { message ScenePlayBattleSettlePlayerInfo {
repeated ExhibitionDisplayInfo card_list = 14; repeated ExhibitionDisplayInfo card_list = 14;
ProfilePicture profile_picture = 10; ProfilePicture profile_picture = 10;
uint32 head_image = 11; uint32 head_image = 11;
uint32 statistic_id = 4; uint32 statistic_id = 4;
uint32 uid = 1; uint32 uid = 1;
int64 param = 5; int64 param = 5;
string online_id = 12; string online_id = 12;
string nickname = 15; string nickname = 15;
} }
message ScenePlayBattleSettleRewardInfo { message ScenePlayBattleSettleRewardInfo {
repeated ItemParam reward_item_list = 4; repeated ItemParam reward_item_list = 4;
uint32 uid = 3; uint32 uid = 3;
} }
message ScenePlayBattleResultNotify { message ScenePlayBattleResultNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4398; CMD_ID = 4398;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
bool is_win = 1; bool is_win = 1;
uint32 cost_time = 7; uint32 cost_time = 7;
uint32 play_type = 15; uint32 play_type = 15;
uint32 play_id = 11; uint32 play_id = 11;
repeated ScenePlayBattleSettlePlayerInfo settle_player_info_list = 4; repeated ScenePlayBattleSettlePlayerInfo settle_player_info_list = 4;
repeated ScenePlayBattleSettleRewardInfo settle_reward_info_list = 14; repeated ScenePlayBattleSettleRewardInfo settle_reward_info_list = 14;
} }
message ScenePlayBattleUidOpNotify { message ScenePlayBattleUidOpNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4447; CMD_ID = 4447;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 op = 7; uint32 op = 7;
repeated uint32 param_target_list = 9; repeated uint32 param_target_list = 9;
uint32 entity_id = 2; uint32 entity_id = 2;
string param_str = 3; string param_str = 3;
repeated uint32 uid_list = 6; repeated uint32 uid_list = 6;
uint32 param_index = 11; uint32 param_index = 11;
uint32 play_type = 8; uint32 play_type = 8;
uint32 param_duration = 12; uint32 param_duration = 12;
repeated uint32 param_list = 15; repeated uint32 param_list = 15;
uint32 play_id = 5; uint32 play_id = 5;
} }
message ScenePlayBattleInfoListNotify { message ScenePlayBattleInfoListNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4431; CMD_ID = 4431;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
repeated ScenePlayBattleInfo battle_info_list = 12; repeated ScenePlayBattleInfo battle_info_list = 12;
} }
message ScenePlayOutofRegionNotify { message ScenePlayOutofRegionNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 4355; CMD_ID = 4355;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 play_id = 13; uint32 play_id = 13;
} }
+13 -13
View File
@@ -2,24 +2,24 @@ syntax = "proto3";
package proto; package proto;
option go_package = "./;proto";
import "define.proto"; import "define.proto";
option go_package = "./;proto";
message ShareCDInfo { message ShareCDInfo {
uint32 index = 2; uint32 index = 2;
uint64 cd_start_time = 14; uint64 cd_start_time = 14;
uint32 share_cd_id = 12; uint32 share_cd_id = 12;
} }
message AllShareCDDataNotify { message AllShareCDDataNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 9072; CMD_ID = 9072;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
map<uint32, ShareCDInfo> share_cd_info_map = 2; map<uint32, ShareCDInfo> share_cd_info_map = 2;
} }
+142 -142
View File
@@ -2,200 +2,200 @@ syntax = "proto3";
package proto; package proto;
option go_package = "./;proto";
import "define.proto"; import "define.proto";
option go_package = "./;proto";
enum ShopGoodsDisableType { enum ShopGoodsDisableType {
SHOP_GOODS_DISABLE_NONE = 0; SHOP_GOODS_DISABLE_NONE = 0;
SHOP_GOODS_DISABLE_TALENT_FULL = 1; SHOP_GOODS_DISABLE_TALENT_FULL = 1;
SHOP_GOODS_DISABLE_FURNITURE_FORMULA_UNLOCKED = 2; SHOP_GOODS_DISABLE_FURNITURE_FORMULA_UNLOCKED = 2;
SHOP_GOODS_DISABLE_COSTUME_UNLOCKED = 3; SHOP_GOODS_DISABLE_COSTUME_UNLOCKED = 3;
SHOP_GOODS_DISABLE_BGM_UNLOCKED = 4; SHOP_GOODS_DISABLE_BGM_UNLOCKED = 4;
SHOP_GOODS_DISABLE_GCG_CARD_EXCEED = 5; SHOP_GOODS_DISABLE_GCG_CARD_EXCEED = 5;
SHOP_GOODS_DISABLE_GCG_CARD_FACE_UNLOCKED = 6; SHOP_GOODS_DISABLE_GCG_CARD_FACE_UNLOCKED = 6;
SHOP_GOODS_DISABLE_GCG_CARD_BACK_UNLOCKED = 7; SHOP_GOODS_DISABLE_GCG_CARD_BACK_UNLOCKED = 7;
SHOP_GOODS_DISABLE_GCG_FIELD_UNLOCKED = 8; SHOP_GOODS_DISABLE_GCG_FIELD_UNLOCKED = 8;
} }
message ShopGoods { message ShopGoods {
uint32 discount_end_time = 258; uint32 discount_end_time = 258;
uint32 min_level = 8; uint32 min_level = 8;
uint32 end_time = 11; uint32 end_time = 11;
repeated ItemParam cost_item_list = 3; repeated ItemParam cost_item_list = 3;
uint32 secondary_sheet_id = 318; uint32 secondary_sheet_id = 318;
uint32 hcoin = 1; uint32 hcoin = 1;
uint32 mcoin = 14; uint32 mcoin = 14;
uint32 discount_id = 1998; uint32 discount_id = 1998;
uint32 single_limit = 247; uint32 single_limit = 247;
uint32 goods_id = 13; uint32 goods_id = 13;
uint32 next_refresh_time = 7; uint32 next_refresh_time = 7;
uint32 max_level = 4; uint32 max_level = 4;
uint32 disable_type = 6; uint32 disable_type = 6;
uint32 discount_begin_time = 574; uint32 discount_begin_time = 574;
repeated uint32 pre_goods_id_list = 2; repeated uint32 pre_goods_id_list = 2;
uint32 begin_time = 5; uint32 begin_time = 5;
uint32 scoin = 15; uint32 scoin = 15;
uint32 bought_num = 10; uint32 bought_num = 10;
uint32 buy_limit = 12; uint32 buy_limit = 12;
ItemParam goods_item = 9; ItemParam goods_item = 9;
} }
message Shop { message Shop {
repeated ShopConcertProduct concert_product_list = 3; repeated ShopConcertProduct concert_product_list = 3;
repeated ShopGoods goods_list = 15; repeated ShopGoods goods_list = 15;
uint32 city_reputation_level = 2; uint32 city_reputation_level = 2;
repeated ShopCardProduct card_product_list = 14; repeated ShopCardProduct card_product_list = 14;
repeated ShopMcoinProduct mcoin_product_list = 7; repeated ShopMcoinProduct mcoin_product_list = 7;
uint32 next_refresh_time = 11; uint32 next_refresh_time = 11;
uint32 city_id = 10; uint32 city_id = 10;
uint32 shop_type = 13; uint32 shop_type = 13;
} }
message GetShopReq { message GetShopReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 772; CMD_ID = 772;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 shop_type = 13; uint32 shop_type = 13;
} }
message GetShopRsp { message GetShopRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 798; CMD_ID = 798;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
Shop shop = 11; Shop shop = 11;
int32 retcode = 2; int32 retcode = 2;
} }
message BuyGoodsReq { message BuyGoodsReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 712; CMD_ID = 712;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 buy_count = 14; uint32 buy_count = 14;
ShopGoods goods = 15; ShopGoods goods = 15;
uint32 shop_type = 7; uint32 shop_type = 7;
} }
message BuyGoodsRsp { message BuyGoodsRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 735; CMD_ID = 735;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 buy_count = 14; uint32 buy_count = 14;
ShopGoods goods = 12; ShopGoods goods = 12;
uint32 shop_type = 11; uint32 shop_type = 11;
int32 retcode = 2; int32 retcode = 2;
repeated ShopGoods goods_list = 5; repeated ShopGoods goods_list = 5;
} }
message GetShopmallDataReq { message GetShopmallDataReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 707; CMD_ID = 707;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
} }
message GetShopmallDataRsp { message GetShopmallDataRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 721; CMD_ID = 721;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
repeated uint32 shop_type_list = 15; repeated uint32 shop_type_list = 15;
int32 retcode = 3; int32 retcode = 3;
} }
message ActivityShopSheetInfo { message ActivityShopSheetInfo {
uint32 end_time = 1; uint32 end_time = 1;
uint32 begin_time = 12; uint32 begin_time = 12;
uint32 sheet_id = 2; uint32 sheet_id = 2;
} }
message GetActivityShopSheetInfoReq { message GetActivityShopSheetInfoReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 703; CMD_ID = 703;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 shop_type = 7; uint32 shop_type = 7;
} }
message GetActivityShopSheetInfoRsp { message GetActivityShopSheetInfoRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 790; CMD_ID = 790;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
repeated ActivityShopSheetInfo sheet_info_list = 6; repeated ActivityShopSheetInfo sheet_info_list = 6;
uint32 shop_type = 8; uint32 shop_type = 8;
int32 retcode = 13; int32 retcode = 13;
} }
message BuyGoodsParam { message BuyGoodsParam {
uint32 buy_count = 12; uint32 buy_count = 12;
ShopGoods goods = 13; ShopGoods goods = 13;
} }
message BatchBuyGoodsReq { message BatchBuyGoodsReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 773; CMD_ID = 773;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 shop_type = 7; uint32 shop_type = 7;
repeated BuyGoodsParam buy_goods_list = 2; repeated BuyGoodsParam buy_goods_list = 2;
} }
message BatchBuyGoodsRsp { message BatchBuyGoodsRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 799; CMD_ID = 799;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
repeated ShopGoods goods_list = 9; repeated ShopGoods goods_list = 9;
int32 retcode = 1; int32 retcode = 1;
repeated BuyGoodsParam buy_goods_list = 5; repeated BuyGoodsParam buy_goods_list = 5;
uint32 shop_type = 14; uint32 shop_type = 14;
} }
+106 -106
View File
@@ -2,160 +2,160 @@ syntax = "proto3";
package proto; package proto;
option go_package = "./;proto";
import "define.proto"; import "define.proto";
option go_package = "./;proto";
message OpActivityTagBriefInfo { message OpActivityTagBriefInfo {
uint32 config_id = 2; uint32 config_id = 2;
bool has_reward = 3; bool has_reward = 3;
uint32 op_activity_type = 11; uint32 op_activity_type = 11;
} }
message OpActivityStateNotify { message OpActivityStateNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2572; CMD_ID = 2572;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
repeated uint32 finished_bonus_activity_id_list = 14; repeated uint32 finished_bonus_activity_id_list = 14;
repeated OpActivityTagBriefInfo opened_op_activity_info_list = 13; repeated OpActivityTagBriefInfo opened_op_activity_info_list = 13;
} }
message SignInData { message SignInData {
uint32 day_count = 14; uint32 day_count = 14;
repeated ItemParam reward_item_list = 5; repeated ItemParam reward_item_list = 5;
} }
message SignInInfo { message SignInInfo {
bool is_cond_satisfied = 7; bool is_cond_satisfied = 7;
repeated uint32 reward_day_list = 15; repeated uint32 reward_day_list = 15;
repeated SignInData signin_data_list = 12; repeated SignInData signin_data_list = 12;
uint32 config_id = 8; uint32 config_id = 8;
uint32 sign_in_count = 2; uint32 sign_in_count = 2;
uint32 schedule_id = 3; uint32 schedule_id = 3;
uint32 end_time = 13; uint32 end_time = 13;
uint32 last_sign_in_time = 6; uint32 last_sign_in_time = 6;
uint32 begin_time = 5; uint32 begin_time = 5;
} }
message SignInInfoReq { message SignInInfoReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2512; CMD_ID = 2512;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
} }
message SignInInfoRsp { message SignInInfoRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2535; CMD_ID = 2535;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
repeated SignInInfo sign_in_info_list = 1; repeated SignInInfo sign_in_info_list = 1;
int32 retcode = 11; int32 retcode = 11;
} }
message GetSignInRewardReq { message GetSignInRewardReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2507; CMD_ID = 2507;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 schedule_id = 10; uint32 schedule_id = 10;
uint32 reward_day = 3; uint32 reward_day = 3;
} }
message GetSignInRewardRsp { message GetSignInRewardRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2521; CMD_ID = 2521;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 1; int32 retcode = 1;
SignInInfo sign_in_info = 14; SignInInfo sign_in_info = 14;
} }
message BonusActivityInfo { message BonusActivityInfo {
uint32 bonus_activity_id = 6; uint32 bonus_activity_id = 6;
uint32 state = 3; uint32 state = 3;
} }
message BonusActivityUpdateNotify { message BonusActivityUpdateNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2575; CMD_ID = 2575;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
repeated BonusActivityInfo bonus_activity_info_list = 8; repeated BonusActivityInfo bonus_activity_info_list = 8;
} }
message BonusActivityInfoReq { message BonusActivityInfoReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2548; CMD_ID = 2548;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
} }
message BonusActivityInfoRsp { message BonusActivityInfoRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2597; CMD_ID = 2597;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
repeated BonusActivityInfo bonus_activity_info_list = 2; repeated BonusActivityInfo bonus_activity_info_list = 2;
int32 retcode = 7; int32 retcode = 7;
} }
message GetBonusActivityRewardReq { message GetBonusActivityRewardReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2581; CMD_ID = 2581;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 bonus_activity_id = 14; uint32 bonus_activity_id = 14;
} }
message GetBonusActivityRewardRsp { message GetBonusActivityRewardRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2505; CMD_ID = 2505;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
BonusActivityInfo bonus_activity_info_list = 4; BonusActivityInfo bonus_activity_info_list = 4;
int32 retcode = 13; int32 retcode = 13;
} }
+186 -186
View File
@@ -2,260 +2,260 @@ syntax = "proto3";
package proto; package proto;
option go_package = "./;proto";
import "define.proto"; import "define.proto";
message UnlockAvatarTalentReq { option go_package = "./;proto";
enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 1072;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1;
}
uint32 talent_id = 13; message UnlockAvatarTalentReq {
uint64 avatar_guid = 3; enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 1072;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1;
}
uint32 talent_id = 13;
uint64 avatar_guid = 3;
} }
message UnlockAvatarTalentRsp { message UnlockAvatarTalentRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1098; CMD_ID = 1098;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 talent_id = 2; uint32 talent_id = 2;
int32 retcode = 3; int32 retcode = 3;
uint64 avatar_guid = 10; uint64 avatar_guid = 10;
} }
message AvatarUnlockTalentNotify { message AvatarUnlockTalentNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1012; CMD_ID = 1012;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 entity_id = 14; uint32 entity_id = 14;
uint64 avatar_guid = 13; uint64 avatar_guid = 13;
uint32 talent_id = 10; uint32 talent_id = 10;
uint32 skill_depot_id = 1; uint32 skill_depot_id = 1;
} }
message AvatarSkillDepotChangeNotify { message AvatarSkillDepotChangeNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1035; CMD_ID = 1035;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 skill_depot_id = 15; uint32 skill_depot_id = 15;
map<uint32, uint32> proud_skill_extra_level_map = 14; map<uint32, uint32> proud_skill_extra_level_map = 14;
repeated uint32 talent_id_list = 9; repeated uint32 talent_id_list = 9;
repeated uint32 proud_skill_list = 4; repeated uint32 proud_skill_list = 4;
uint32 core_proud_skill_level = 2; uint32 core_proud_skill_level = 2;
uint32 entity_id = 7; uint32 entity_id = 7;
uint64 avatar_guid = 12; uint64 avatar_guid = 12;
map<uint32, uint32> skill_level_map = 3; map<uint32, uint32> skill_level_map = 3;
} }
message BigTalentPointConvertReq { message BigTalentPointConvertReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1007; CMD_ID = 1007;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
repeated uint64 item_guid_list = 6; repeated uint64 item_guid_list = 6;
uint64 avatar_guid = 3; uint64 avatar_guid = 3;
} }
message BigTalentPointConvertRsp { message BigTalentPointConvertRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1021; CMD_ID = 1021;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 1; int32 retcode = 1;
uint64 avatar_guid = 8; uint64 avatar_guid = 8;
} }
message AvatarSkillMaxChargeCountNotify { message AvatarSkillMaxChargeCountNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1003; CMD_ID = 1003;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 skill_id = 6; uint32 skill_id = 6;
uint32 max_charge_count = 11; uint32 max_charge_count = 11;
uint64 avatar_guid = 7; uint64 avatar_guid = 7;
} }
message AvatarSkillInfoNotify { message AvatarSkillInfoNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1090; CMD_ID = 1090;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
map<uint32, AvatarSkillInfo> skill_map = 11; map<uint32, AvatarSkillInfo> skill_map = 11;
uint64 guid = 4; uint64 guid = 4;
} }
message ProudSkillUpgradeReq { message ProudSkillUpgradeReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1073; CMD_ID = 1073;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint64 avatar_guid = 5; uint64 avatar_guid = 5;
uint32 old_proud_skill_level = 4; uint32 old_proud_skill_level = 4;
uint32 proud_skill_id = 14; uint32 proud_skill_id = 14;
} }
message ProudSkillUpgradeRsp { message ProudSkillUpgradeRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1099; CMD_ID = 1099;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint64 avatar_guid = 6; uint64 avatar_guid = 6;
uint32 proud_skill_id = 10; uint32 proud_skill_id = 10;
int32 retcode = 15; int32 retcode = 15;
} }
message ProudSkillChangeNotify { message ProudSkillChangeNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1031; CMD_ID = 1031;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint64 avatar_guid = 11; uint64 avatar_guid = 11;
uint32 entity_id = 4; uint32 entity_id = 4;
uint32 skill_depot_id = 8; uint32 skill_depot_id = 8;
repeated uint32 proud_skill_list = 12; repeated uint32 proud_skill_list = 12;
} }
message AvatarSkillUpgradeReq { message AvatarSkillUpgradeReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1075; CMD_ID = 1075;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint64 avatar_guid = 7; uint64 avatar_guid = 7;
uint32 old_level = 3; uint32 old_level = 3;
uint32 avatar_skill_id = 4; uint32 avatar_skill_id = 4;
} }
message AvatarSkillUpgradeRsp { message AvatarSkillUpgradeRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1048; CMD_ID = 1048;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint64 avatar_guid = 11; uint64 avatar_guid = 11;
uint32 cur_level = 14; uint32 cur_level = 14;
uint32 avatar_skill_id = 9; uint32 avatar_skill_id = 9;
uint32 old_level = 3; uint32 old_level = 3;
int32 retcode = 4; int32 retcode = 4;
} }
message AvatarSkillChangeNotify { message AvatarSkillChangeNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1097; CMD_ID = 1097;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 cur_level = 11; uint32 cur_level = 11;
uint64 avatar_guid = 2; uint64 avatar_guid = 2;
uint32 entity_id = 7; uint32 entity_id = 7;
uint32 skill_depot_id = 13; uint32 skill_depot_id = 13;
uint32 old_level = 1; uint32 old_level = 1;
uint32 avatar_skill_id = 6; uint32 avatar_skill_id = 6;
} }
message ProudSkillExtraLevelNotify { message ProudSkillExtraLevelNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1081; CMD_ID = 1081;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 talent_type = 11; uint32 talent_type = 11;
uint32 talent_index = 8; uint32 talent_index = 8;
uint64 avatar_guid = 15; uint64 avatar_guid = 15;
uint32 extra_level = 3; uint32 extra_level = 3;
} }
message CanUseSkillNotify { message CanUseSkillNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1005; CMD_ID = 1005;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
bool is_can_use_skill = 2; bool is_can_use_skill = 2;
} }
message AvatarTeamResonanceInfo { message AvatarTeamResonanceInfo {
repeated uint32 add_team_resonance_id_list = 5; repeated uint32 add_team_resonance_id_list = 5;
uint32 entity_id = 11; uint32 entity_id = 11;
uint64 avatar_guid = 3; uint64 avatar_guid = 3;
repeated uint32 del_team_resonance_id_list = 14; repeated uint32 del_team_resonance_id_list = 14;
} }
message TeamResonanceChangeNotify { message TeamResonanceChangeNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 1082; CMD_ID = 1082;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
repeated AvatarTeamResonanceInfo info_list = 1; repeated AvatarTeamResonanceInfo info_list = 1;
} }
File diff suppressed because it is too large Load Diff
+20 -20
View File
@@ -2,33 +2,33 @@ syntax = "proto3";
package proto; package proto;
option go_package = "./;proto";
import "define.proto"; import "define.proto";
option go_package = "./;proto";
message AISnapshotEntitySkillCycle { message AISnapshotEntitySkillCycle {
bool failed = 12; bool failed = 12;
bool trydoskill = 8; bool trydoskill = 8;
bool success = 9; bool success = 9;
bool selected = 1; bool selected = 1;
uint32 skill_id = 2; uint32 skill_id = 2;
} }
message AISnapshotEntityData { message AISnapshotEntityData {
float tick_time = 5; float tick_time = 5;
uint32 tactic = 2; uint32 tactic = 2;
repeated AISnapshotEntitySkillCycle finished_skill_cycles = 9; repeated AISnapshotEntitySkillCycle finished_skill_cycles = 9;
float moved_distance = 4; float moved_distance = 4;
uint32 ai_target_id = 13; uint32 ai_target_id = 13;
uint32 threat_target_id = 3; uint32 threat_target_id = 3;
uint32 threat_list_size = 1; uint32 threat_list_size = 1;
uint32 entity_id = 15; uint32 entity_id = 15;
map<uint32, uint32> hitting_avatars = 7; map<uint32, uint32> hitting_avatars = 7;
float distance_to_player = 11; float distance_to_player = 11;
uint32 attack_target_id = 10; uint32 attack_target_id = 10;
float real_time = 14; float real_time = 14;
} }
message AISnapshotInfo { message AISnapshotInfo {
repeated AISnapshotEntityData ai_snapshots = 13; repeated AISnapshotEntityData ai_snapshots = 13;
} }
+153 -153
View File
@@ -2,214 +2,214 @@ syntax = "proto3";
package proto; package proto;
option go_package = "./;proto";
import "define.proto"; import "define.proto";
option go_package = "./;proto";
message ToTheMoonQueryPathReq { message ToTheMoonQueryPathReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 6172; CMD_ID = 6172;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
enum OptionType { enum OptionType {
OPTION_NONE = 0; OPTION_NONE = 0;
OPTION_NORMAL = 1; OPTION_NORMAL = 1;
} }
enum AStarMethod { enum AStarMethod {
Classic = 0; Classic = 0;
Tendency = 1; Tendency = 1;
Adaptive = 2; Adaptive = 2;
Inflection = 3; Inflection = 3;
} }
enum FilterType { enum FilterType {
All = 0; All = 0;
Air = 1; Air = 1;
Water = 2; Water = 2;
} }
Vector destination_pos = 9; Vector destination_pos = 9;
int32 fuzzy_range = 15; int32 fuzzy_range = 15;
OptionType query_type = 8; OptionType query_type = 8;
AStarMethod astar_method = 1; AStarMethod astar_method = 1;
uint32 scene_id = 6; uint32 scene_id = 6;
int32 query_id = 11; int32 query_id = 11;
FilterType filter_type = 3; FilterType filter_type = 3;
bool refined = 13; bool refined = 13;
bool use_full_neighbor = 5; bool use_full_neighbor = 5;
Vector source_pos = 10; Vector source_pos = 10;
} }
message ToTheMoonQueryPathRsp { message ToTheMoonQueryPathRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 6198; CMD_ID = 6198;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
enum PathStatusType { enum PathStatusType {
STATUS_FAIL = 0; STATUS_FAIL = 0;
STATUS_SUCC = 1; STATUS_SUCC = 1;
STATUS_PARTIAL = 2; STATUS_PARTIAL = 2;
} }
PathStatusType query_status = 7; PathStatusType query_status = 7;
repeated int64 index = 3; repeated int64 index = 3;
repeated Vector corners = 14; repeated Vector corners = 14;
repeated int32 level = 1; repeated int32 level = 1;
int32 retcode = 8; int32 retcode = 8;
int32 query_id = 9; int32 query_id = 9;
} }
message ToTheMoonPingNotify { message ToTheMoonPingNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 6112; CMD_ID = 6112;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
} }
message ToTheMoonEnterSceneReq { message ToTheMoonEnterSceneReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 6135; CMD_ID = 6135;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 version = 14; uint32 version = 14;
uint32 scene_id = 15; uint32 scene_id = 15;
} }
message ToTheMoonEnterSceneRsp { message ToTheMoonEnterSceneRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 6107; CMD_ID = 6107;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 7; int32 retcode = 7;
} }
message ToTheMoonObstacleInfo { message ToTheMoonObstacleInfo {
enum ShapeType { enum ShapeType {
OBSTACLE_SHAPE_CAPSULE = 0; OBSTACLE_SHAPE_CAPSULE = 0;
OBSTACLE_SHAPE_BOX = 1; OBSTACLE_SHAPE_BOX = 1;
} }
ShapeType type = 2; ShapeType type = 2;
int32 handle_id = 11; int32 handle_id = 11;
MathQuaternion rotation = 7; MathQuaternion rotation = 7;
Vector center = 13; Vector center = 13;
Vector half_extents = 14; Vector half_extents = 14;
} }
message ToTheMoonAddObstacleReq { message ToTheMoonAddObstacleReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 6121; CMD_ID = 6121;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
bool use_edge = 12; bool use_edge = 12;
ToTheMoonObstacleInfo obstacle = 13; ToTheMoonObstacleInfo obstacle = 13;
int32 query_id = 9; int32 query_id = 9;
uint32 scene_id = 3; uint32 scene_id = 3;
} }
message DynamicSVONode { message DynamicSVONode {
int64 index = 8; int64 index = 8;
int32 area = 5; int32 area = 5;
Vector refer_pos = 1; Vector refer_pos = 1;
} }
message DynamicLayerNodes { message DynamicLayerNodes {
int32 level = 10; int32 level = 10;
repeated DynamicSVONode nodes = 6; repeated DynamicSVONode nodes = 6;
} }
message DynamicNodes { message DynamicNodes {
repeated DynamicLayerNodes nodes = 3; repeated DynamicLayerNodes nodes = 3;
} }
message ToTheMoonAddObstacleRsp { message ToTheMoonAddObstacleRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 6103; CMD_ID = 6103;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
DynamicNodes dynamic_nodes = 2; DynamicNodes dynamic_nodes = 2;
int32 query_id = 13; int32 query_id = 13;
int32 retcode = 11; int32 retcode = 11;
} }
message ToTheMoonRemoveObstacleReq { message ToTheMoonRemoveObstacleReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 6190; CMD_ID = 6190;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
enum ObstacleType { enum ObstacleType {
Box = 0; Box = 0;
Capsule = 1; Capsule = 1;
} }
int32 handle = 12; int32 handle = 12;
uint32 scene_id = 10; uint32 scene_id = 10;
int32 query_id = 11; int32 query_id = 11;
} }
message ToTheMoonRemoveObstacleRsp { message ToTheMoonRemoveObstacleRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 6173; CMD_ID = 6173;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 query_id = 3; int32 query_id = 3;
int32 retcode = 14; int32 retcode = 14;
DynamicNodes dynamic_nodes = 8; DynamicNodes dynamic_nodes = 8;
} }
message ToTheMoonObstaclesModifyNotify { message ToTheMoonObstaclesModifyNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 6199; CMD_ID = 6199;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
repeated ToTheMoonObstacleInfo add_obstacles = 4; repeated ToTheMoonObstacleInfo add_obstacles = 4;
repeated int32 remove_obstacle_ids = 13; repeated int32 remove_obstacle_ids = 13;
uint32 scene_id = 15; uint32 scene_id = 15;
bool use_edge = 1; bool use_edge = 1;
} }
+248 -248
View File
@@ -2,361 +2,361 @@ syntax = "proto3";
package proto; package proto;
option go_package = "./;proto";
import "define.proto"; import "define.proto";
option go_package = "./;proto";
message TowerTeam { message TowerTeam {
uint32 tower_team_id = 3; uint32 tower_team_id = 3;
repeated uint64 avatar_guid_list = 14; repeated uint64 avatar_guid_list = 14;
} }
message TowerLevelRecord { message TowerLevelRecord {
repeated uint32 satisfied_cond_list = 13; repeated uint32 satisfied_cond_list = 13;
uint32 level_id = 10; uint32 level_id = 10;
} }
message TowerFloorRecord { message TowerFloorRecord {
uint32 floor_star_reward_progress = 15; uint32 floor_star_reward_progress = 15;
map<uint32, uint32> passed_level_map = 8; map<uint32, uint32> passed_level_map = 8;
uint32 floor_id = 12; uint32 floor_id = 12;
repeated TowerLevelRecord passed_level_record_list = 2; repeated TowerLevelRecord passed_level_record_list = 2;
} }
message TowerCurLevelRecord { message TowerCurLevelRecord {
repeated TowerTeam tower_team_list = 8; repeated TowerTeam tower_team_list = 8;
bool is_empty = 6; bool is_empty = 6;
repeated uint32 buff_id_list = 4; repeated uint32 buff_id_list = 4;
bool is_upper_part = 2; bool is_upper_part = 2;
uint32 cur_level_index = 1; uint32 cur_level_index = 1;
uint32 cur_floor_id = 15; uint32 cur_floor_id = 15;
} }
message TowerBriefDataNotify { message TowerBriefDataNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2472; CMD_ID = 2472;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 total_star_num = 11; uint32 total_star_num = 11;
uint32 last_floor_index = 8; uint32 last_floor_index = 8;
uint32 schedule_start_time = 15; uint32 schedule_start_time = 15;
uint32 next_schedule_change_time = 6; uint32 next_schedule_change_time = 6;
bool is_finished_entrance_floor = 14; bool is_finished_entrance_floor = 14;
uint32 last_level_index = 4; uint32 last_level_index = 4;
uint32 tower_schedule_id = 5; uint32 tower_schedule_id = 5;
} }
message TowerFloorRecordChangeNotify { message TowerFloorRecordChangeNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2498; CMD_ID = 2498;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
bool is_finished_entrance_floor = 11; bool is_finished_entrance_floor = 11;
repeated TowerFloorRecord tower_floor_record_list = 8; repeated TowerFloorRecord tower_floor_record_list = 8;
} }
message TowerCurLevelRecordChangeNotify { message TowerCurLevelRecordChangeNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2412; CMD_ID = 2412;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
TowerCurLevelRecord cur_level_record = 10; TowerCurLevelRecord cur_level_record = 10;
} }
message TowerDailyRewardProgressChangeNotify { message TowerDailyRewardProgressChangeNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2435; CMD_ID = 2435;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 daily_floor_id = 15; uint32 daily_floor_id = 15;
uint32 daily_level_index = 9; uint32 daily_level_index = 9;
} }
message TowerTeamSelectReq { message TowerTeamSelectReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2421; CMD_ID = 2421;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
repeated TowerTeam tower_team_list = 11; repeated TowerTeam tower_team_list = 11;
uint32 floor_id = 10; uint32 floor_id = 10;
} }
message TowerTeamSelectRsp { message TowerTeamSelectRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2403; CMD_ID = 2403;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 8; int32 retcode = 8;
} }
message TowerAllDataReq { message TowerAllDataReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2490; CMD_ID = 2490;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
bool is_interact = 2; bool is_interact = 2;
} }
message TowerMonthlyBrief { message TowerMonthlyBrief {
uint32 tower_schedule_id = 15; uint32 tower_schedule_id = 15;
uint32 best_floor_index = 6; uint32 best_floor_index = 6;
uint32 best_level_index = 3; uint32 best_level_index = 3;
uint32 total_star_count = 12; uint32 total_star_count = 12;
} }
message TowerAllDataRsp { message TowerAllDataRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2473; CMD_ID = 2473;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 tower_schedule_id = 10; uint32 tower_schedule_id = 10;
uint32 daily_level_index = 9; uint32 daily_level_index = 9;
map<uint32, uint32> skip_floor_granted_reward_item_map = 12; map<uint32, uint32> skip_floor_granted_reward_item_map = 12;
bool is_first_interact = 3; bool is_first_interact = 3;
bool is_finished_entrance_floor = 1; bool is_finished_entrance_floor = 1;
repeated TowerFloorRecord tower_floor_record_list = 5; repeated TowerFloorRecord tower_floor_record_list = 5;
uint32 daily_floor_id = 11; uint32 daily_floor_id = 11;
uint32 commemorative_reward_id = 13; uint32 commemorative_reward_id = 13;
TowerMonthlyBrief last_schedule_monthly_brief = 1222; TowerMonthlyBrief last_schedule_monthly_brief = 1222;
uint32 next_schedule_change_time = 6; uint32 next_schedule_change_time = 6;
uint32 valid_tower_record_num = 7; uint32 valid_tower_record_num = 7;
uint32 skip_to_floor_index = 2; uint32 skip_to_floor_index = 2;
map<uint32, uint32> floor_open_time_map = 4; map<uint32, uint32> floor_open_time_map = 4;
TowerCurLevelRecord cur_level_record = 15; TowerCurLevelRecord cur_level_record = 15;
int32 retcode = 8; int32 retcode = 8;
uint32 schedule_start_time = 914; uint32 schedule_start_time = 914;
TowerMonthlyBrief monthly_brief = 14; TowerMonthlyBrief monthly_brief = 14;
} }
message TowerEnterLevelReq { message TowerEnterLevelReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2431; CMD_ID = 2431;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 enter_point_id = 3; uint32 enter_point_id = 3;
} }
message TowerEnterLevelRsp { message TowerEnterLevelRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2475; CMD_ID = 2475;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
repeated uint32 tower_buff_id_list = 10; repeated uint32 tower_buff_id_list = 10;
int32 retcode = 1; int32 retcode = 1;
uint32 level_index = 14; uint32 level_index = 14;
uint32 floor_id = 5; uint32 floor_id = 5;
} }
message TowerBuffSelectReq { message TowerBuffSelectReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2448; CMD_ID = 2448;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 tower_buff_id = 5; uint32 tower_buff_id = 5;
} }
message TowerBuffSelectRsp { message TowerBuffSelectRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2497; CMD_ID = 2497;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 11; int32 retcode = 11;
uint32 tower_buff_id = 13; uint32 tower_buff_id = 13;
} }
message TowerSurrenderReq { message TowerSurrenderReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2422; CMD_ID = 2422;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
} }
message TowerSurrenderRsp { message TowerSurrenderRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2465; CMD_ID = 2465;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 9; int32 retcode = 9;
} }
message TowerGetFloorStarRewardReq { message TowerGetFloorStarRewardReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2404; CMD_ID = 2404;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 floor_id = 15; uint32 floor_id = 15;
} }
message TowerGetFloorStarRewardRsp { message TowerGetFloorStarRewardRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2493; CMD_ID = 2493;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 11; int32 retcode = 11;
uint32 floor_id = 9; uint32 floor_id = 9;
} }
message TowerLevelEndNotify { message TowerLevelEndNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2495; CMD_ID = 2495;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
enum ContinueStateType { enum ContinueStateType {
CONTINUE_STATE_CAN_NOT_CONTINUE = 0; CONTINUE_STATE_CAN_NOT_CONTINUE = 0;
CONTINUE_STATE_CAN_ENTER_NEXT_LEVEL = 1; CONTINUE_STATE_CAN_ENTER_NEXT_LEVEL = 1;
CONTINUE_STATE_CAN_ENTER_NEXT_FLOOR = 2; CONTINUE_STATE_CAN_ENTER_NEXT_FLOOR = 2;
} }
uint32 next_floor_id = 4; uint32 next_floor_id = 4;
repeated ItemParam reward_item_list = 12; repeated ItemParam reward_item_list = 12;
uint32 continue_state = 15; uint32 continue_state = 15;
bool is_success = 5; bool is_success = 5;
repeated uint32 finished_star_cond_list = 6; repeated uint32 finished_star_cond_list = 6;
} }
message TowerLevelStarCondData { message TowerLevelStarCondData {
bool is_fail = 15; bool is_fail = 15;
uint32 cond_value = 9; uint32 cond_value = 9;
bool is_pause = 13; bool is_pause = 13;
uint32 star_cond_index = 6; uint32 star_cond_index = 6;
} }
message TowerLevelStarCondNotify { message TowerLevelStarCondNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2406; CMD_ID = 2406;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 level_index = 14; uint32 level_index = 14;
uint32 floor_id = 11; uint32 floor_id = 11;
repeated TowerLevelStarCondData cond_data_list = 9; repeated TowerLevelStarCondData cond_data_list = 9;
} }
message TowerMiddleLevelChangeTeamNotify { message TowerMiddleLevelChangeTeamNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2434; CMD_ID = 2434;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
} }
message TowerFightRecordPair { message TowerFightRecordPair {
uint32 avatar_id = 1; uint32 avatar_id = 1;
uint32 data = 3; uint32 data = 3;
} }
message TowerMonthlyCombatRecord { message TowerMonthlyCombatRecord {
TowerFightRecordPair most_kill_avatar_pair = 14; TowerFightRecordPair most_kill_avatar_pair = 14;
TowerFightRecordPair most_cast_normal_skill_avatar_pair = 8; TowerFightRecordPair most_cast_normal_skill_avatar_pair = 8;
repeated TowerFightRecordPair most_reveal_avatar_list = 6; repeated TowerFightRecordPair most_reveal_avatar_list = 6;
TowerFightRecordPair most_cast_energy_skill_avatar_pair = 4; TowerFightRecordPair most_cast_energy_skill_avatar_pair = 4;
TowerFightRecordPair highest_dps_avatr_pair = 12; TowerFightRecordPair highest_dps_avatr_pair = 12;
TowerFightRecordPair most_take_damage_avatar_pair = 9; TowerFightRecordPair most_take_damage_avatar_pair = 9;
} }
message TowerMonthlyDetail { message TowerMonthlyDetail {
TowerMonthlyCombatRecord monthly_combat_record = 2; TowerMonthlyCombatRecord monthly_combat_record = 2;
TowerMonthlyBrief monthly_brief = 12; TowerMonthlyBrief monthly_brief = 12;
} }
message TowerRecordHandbookReq { message TowerRecordHandbookReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2450; CMD_ID = 2450;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
} }
message TowerRecordHandbookRsp { message TowerRecordHandbookRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2443; CMD_ID = 2443;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 7; int32 retcode = 7;
repeated TowerMonthlyDetail monthly_detail_list = 14; repeated TowerMonthlyDetail monthly_detail_list = 14;
} }
+181 -181
View File
@@ -2,257 +2,257 @@ syntax = "proto3";
package proto; package proto;
import "cmd/cmd_social.proto";
import "define.proto";
option go_package = "./;proto"; option go_package = "./;proto";
import "define.proto";
import "cmd/cmd_social.proto";
enum UgcType { enum UgcType {
UGC_TYPE_NONE = 0; UGC_TYPE_NONE = 0;
UGC_TYPE_MUSIC_GAME = 1; UGC_TYPE_MUSIC_GAME = 1;
} }
enum GetUgcType { enum GetUgcType {
GET_UGC_NONE = 0; GET_UGC_NONE = 0;
GET_UGC_TYPE_MINE = 1; GET_UGC_TYPE_MINE = 1;
GET_UGC_TYPE_PUBLISH = 2; GET_UGC_TYPE_PUBLISH = 2;
} }
enum RecordUsage { enum RecordUsage {
UGC_RECORD_USAGE_NONE = 0; UGC_RECORD_USAGE_NONE = 0;
UGC_RECORD_USAGE_IMPORT = 1; UGC_RECORD_USAGE_IMPORT = 1;
UGC_RECORD_USAGE_PLAY = 2; UGC_RECORD_USAGE_PLAY = 2;
UGC_RECORD_USAGE_TRIAL = 3; UGC_RECORD_USAGE_TRIAL = 3;
UGC_RECORD_USAGE_COMPARE = 4; UGC_RECORD_USAGE_COMPARE = 4;
} }
message UgcMusicNote { message UgcMusicNote {
uint32 start_time = 12; uint32 start_time = 12;
uint32 end_time = 5; uint32 end_time = 5;
} }
message UgcMusicTrack { message UgcMusicTrack {
repeated UgcMusicNote music_note_list = 6; repeated UgcMusicNote music_note_list = 6;
} }
message UgcMusicRecord { message UgcMusicRecord {
repeated UgcMusicTrack music_track_list = 4; repeated UgcMusicTrack music_track_list = 4;
uint32 music_id = 13; uint32 music_id = 13;
} }
message UgcMusicBriefInfo { message UgcMusicBriefInfo {
uint64 import_from_ugc_guid = 5; uint64 import_from_ugc_guid = 5;
bool is_published = 8; bool is_published = 8;
bool is_played = 1; bool is_played = 1;
uint32 music_id = 2; uint32 music_id = 2;
uint32 save_page_type = 1182; uint32 save_page_type = 1182;
uint32 save_idx = 12; uint32 save_idx = 12;
string creator_nickname = 10; string creator_nickname = 10;
uint32 version = 15; uint32 version = 15;
uint32 save_time = 3; uint32 save_time = 3;
repeated uint32 after_note_list = 1002; repeated uint32 after_note_list = 1002;
repeated uint32 before_note_list = 982; repeated uint32 before_note_list = 982;
bool is_psn_platform = 9; bool is_psn_platform = 9;
uint32 time_line_edit_time = 1822; uint32 time_line_edit_time = 1822;
bool is_changed_after_publish = 11; bool is_changed_after_publish = 11;
uint32 publish_time = 13; uint32 publish_time = 13;
uint32 max_score = 14; uint32 max_score = 14;
uint32 real_time_edit_time = 576; uint32 real_time_edit_time = 576;
uint32 note_count = 7; uint32 note_count = 7;
uint64 ugc_guid = 4; uint64 ugc_guid = 4;
uint32 self_max_score = 6; uint32 self_max_score = 6;
} }
message GetUgcReq { message GetUgcReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 6326; CMD_ID = 6326;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
UgcType ugc_type = 8; UgcType ugc_type = 8;
uint64 ugc_guid = 5; uint64 ugc_guid = 5;
RecordUsage ugc_record_usage = 6; RecordUsage ugc_record_usage = 6;
bool is_require_brief = 11; bool is_require_brief = 11;
GetUgcType get_ugc_type = 13; GetUgcType get_ugc_type = 13;
} }
message GetUgcRsp { message GetUgcRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 6318; CMD_ID = 6318;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint64 ugc_guid = 15; uint64 ugc_guid = 15;
UgcType ugc_type = 10; UgcType ugc_type = 10;
int32 retcode = 2; int32 retcode = 2;
RecordUsage ugc_record_usage = 14; RecordUsage ugc_record_usage = 14;
oneof record { oneof record {
UgcMusicRecord music_record = 4; UgcMusicRecord music_record = 4;
} }
oneof brief { oneof brief {
UgcMusicBriefInfo music_brief_info = 1819; UgcMusicBriefInfo music_brief_info = 1819;
} }
} }
message GetUgcBriefInfoReq { message GetUgcBriefInfoReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 6325; CMD_ID = 6325;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint64 ugc_guid = 7; uint64 ugc_guid = 7;
UgcType ugc_type = 10; UgcType ugc_type = 10;
} }
message GetUgcBriefInfoRsp { message GetUgcBriefInfoRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 6307; CMD_ID = 6307;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint64 ugc_guid = 3; uint64 ugc_guid = 3;
UgcType ugc_type = 11; UgcType ugc_type = 11;
int32 retcode = 4; int32 retcode = 4;
oneof brief { oneof brief {
UgcMusicBriefInfo music_brief_info = 2; UgcMusicBriefInfo music_brief_info = 2;
} }
} }
message SaveUgcReq { message SaveUgcReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 6329; CMD_ID = 6329;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
UgcType ugc_type = 11; UgcType ugc_type = 11;
oneof record { oneof record {
UgcMusicRecord music_record = 2; UgcMusicRecord music_record = 2;
} }
oneof brief { oneof brief {
UgcMusicBriefInfo music_brief_info = 1488; UgcMusicBriefInfo music_brief_info = 1488;
} }
} }
message SaveUgcRsp { message SaveUgcRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 6322; CMD_ID = 6322;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 15; int32 retcode = 15;
uint64 ugc_guid = 8; uint64 ugc_guid = 8;
UgcType ugc_type = 1; UgcType ugc_type = 1;
} }
message PublishUgcReq { message PublishUgcReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 6344; CMD_ID = 6344;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
UgcType ugc_type = 7; UgcType ugc_type = 7;
uint64 ugc_guid = 12; uint64 ugc_guid = 12;
} }
message PublishUgcRsp { message PublishUgcRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 6349; CMD_ID = 6349;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint64 ugc_guid = 14; uint64 ugc_guid = 14;
int32 retcode = 15; int32 retcode = 15;
UgcType ugc_type = 13; UgcType ugc_type = 13;
} }
message CheckUgcUpdateReq { message CheckUgcUpdateReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 6320; CMD_ID = 6320;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
UgcType ugc_type = 13; UgcType ugc_type = 13;
} }
message CheckUgcUpdateRsp { message CheckUgcUpdateRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 6345; CMD_ID = 6345;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
repeated uint64 update_ugc_guid_list = 15; repeated uint64 update_ugc_guid_list = 15;
int32 retcode = 10; int32 retcode = 10;
UgcType ugc_type = 12; UgcType ugc_type = 12;
} }
message UgcNotify { message UgcNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 6341; CMD_ID = 6341;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
bool is_ugc_publish_ban = 12; bool is_ugc_publish_ban = 12;
bool is_ugc_publish_feature_closed = 8; bool is_ugc_publish_feature_closed = 8;
bool is_ugc_feature_closed = 15; bool is_ugc_feature_closed = 15;
} }
message CheckUgcStateReq { message CheckUgcStateReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 6342; CMD_ID = 6342;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
} }
message CheckUgcStateRsp { message CheckUgcStateRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 6314; CMD_ID = 6314;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 7; int32 retcode = 7;
} }
+107 -107
View File
@@ -5,158 +5,158 @@ package proto;
option go_package = "./;proto"; option go_package = "./;proto";
enum PushTipsState { enum PushTipsState {
PUSH_TIPS_STATE_NONE = 0; PUSH_TIPS_STATE_NONE = 0;
PUSH_TIPS_STATE_START = 1; PUSH_TIPS_STATE_START = 1;
PUSH_TIPS_STATE_READ = 2; PUSH_TIPS_STATE_READ = 2;
PUSH_TIPS_STATE_FINISH = 3; PUSH_TIPS_STATE_FINISH = 3;
} }
message WatcherAllDataNotify { message WatcherAllDataNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2272; CMD_ID = 2272;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
repeated uint32 watcher_list = 4; repeated uint32 watcher_list = 4;
} }
message WatcherChangeNotify { message WatcherChangeNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2298; CMD_ID = 2298;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
repeated uint32 removed_watcher_list = 2; repeated uint32 removed_watcher_list = 2;
repeated uint32 new_watcher_list = 15; repeated uint32 new_watcher_list = 15;
} }
message WatcherEventNotify { message WatcherEventNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2212; CMD_ID = 2212;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 add_progress = 6; uint32 add_progress = 6;
uint32 watcher_id = 9; uint32 watcher_id = 9;
} }
message WatcherEventTypeNotify { message WatcherEventTypeNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2235; CMD_ID = 2235;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
repeated uint32 param_list = 14; repeated uint32 param_list = 14;
uint32 add_progress = 15; uint32 add_progress = 15;
uint32 watcher_trigger_type = 11; uint32 watcher_trigger_type = 11;
} }
message WatcherEventStageNotify { message WatcherEventStageNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2207; CMD_ID = 2207;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 add_progress = 4; uint32 add_progress = 4;
uint32 stage = 2; uint32 stage = 2;
uint32 watcher_id = 12; uint32 watcher_id = 12;
} }
message PushTipsData { message PushTipsData {
uint32 push_tips_id = 13; uint32 push_tips_id = 13;
uint32 state = 4; uint32 state = 4;
} }
message PushTipsAllDataNotify { message PushTipsAllDataNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2222; CMD_ID = 2222;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
repeated PushTipsData push_tips_list = 4; repeated PushTipsData push_tips_list = 4;
} }
message PushTipsChangeNotify { message PushTipsChangeNotify {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2265; CMD_ID = 2265;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
repeated PushTipsData push_tips_list = 9; repeated PushTipsData push_tips_list = 9;
} }
message PushTipsReadFinishReq { message PushTipsReadFinishReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2204; CMD_ID = 2204;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
uint32 push_tips_id = 11; uint32 push_tips_id = 11;
} }
message PushTipsReadFinishRsp { message PushTipsReadFinishRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2293; CMD_ID = 2293;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
uint32 push_tips_id = 3; uint32 push_tips_id = 3;
int32 retcode = 9; int32 retcode = 9;
} }
message GetPushTipsRewardReq { message GetPushTipsRewardReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2227; CMD_ID = 2227;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1; IS_ALLOW_CLIENT = 1;
} }
repeated uint32 push_tips_id_list = 4; repeated uint32 push_tips_id_list = 4;
} }
message GetPushTipsRewardRsp { message GetPushTipsRewardRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 2294; CMD_ID = 2294;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 10; int32 retcode = 10;
repeated uint32 push_tips_id_list = 9; repeated uint32 push_tips_id_list = 9;
} }
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+15 -15
View File
@@ -5,25 +5,25 @@ package proto;
option go_package = "./;proto"; option go_package = "./;proto";
enum SceneSurfaceMaterial { enum SceneSurfaceMaterial {
Invalid = 0; Invalid = 0;
Grass = 1; Grass = 1;
Dirt = 2; Dirt = 2;
Rock = 3; Rock = 3;
Snow = 4; Snow = 4;
Water = 5; Water = 5;
Tile = 6; Tile = 6;
Sand = 7; Sand = 7;
} }
message MapInfo { message MapInfo {
int32 minx = 1; int32 minx = 1;
int32 maxx = 2; int32 maxx = 2;
int32 minz = 3; int32 minz = 3;
int32 maxz = 4; int32 maxz = 4;
repeated CellInfo cells = 5; repeated CellInfo cells = 5;
} }
message CellInfo { message CellInfo {
SceneSurfaceMaterial type = 1; SceneSurfaceMaterial type = 1;
int32 y = 2; int32 y = 2;
} }
@@ -3,7 +3,7 @@ syntax = "proto3";
package proto_log; package proto_log;
enum ClientActionType { enum ClientActionType {
CLIENT_ACTION_NONE = 0; CLIENT_ACTION_NONE = 0;
CLIENT_ACTION_LOGIN = 1; CLIENT_ACTION_LOGIN = 1;
CLIENT_ACTION_PING = 2; CLIENT_ACTION_PING = 2;
} }
@@ -3,22 +3,22 @@ syntax = "proto3";
package proto_log; package proto_log;
message ClientLogBodyLogin { message ClientLogBodyLogin {
string action_type = 1; string action_type = 1;
string action_result = 2; string action_result = 2;
uint32 action_time = 3; uint32 action_time = 3;
string xg = 4; string xg = 4;
uint32 signal_level = 5; uint32 signal_level = 5;
string dns = 6; string dns = 6;
} }
message ClientLogBodyPing { message ClientLogBodyPing {
string xg = 1; string xg = 1;
uint32 signal_level = 2; uint32 signal_level = 2;
uint32 ping = 3; uint32 ping = 3;
string servertype = 4; string servertype = 4;
string serverip = 5; string serverip = 5;
string serverport = 6; string serverport = 6;
uint32 pcount = 7; uint32 pcount = 7;
uint32 plost = 8; uint32 plost = 8;
string dns = 9; string dns = 9;
} }
@@ -3,18 +3,18 @@ syntax = "proto3";
package proto_log; package proto_log;
message ClientLogHead { message ClientLogHead {
string event_time = 1; string event_time = 1;
string log_serial_number = 2; string log_serial_number = 2;
uint32 action_id = 3; uint32 action_id = 3;
string action_name = 4; string action_name = 4;
string upload_ip = 5; string upload_ip = 5;
string product_id = 6; string product_id = 6;
string channel_id = 7; string channel_id = 7;
string region_name = 8; string region_name = 8;
string game_version = 9; string game_version = 9;
string device_type = 10; string device_type = 10;
string device_uuid = 11; string device_uuid = 11;
string mac_addr = 12; string mac_addr = 12;
string account_name = 13; string account_name = 13;
string account_uuid = 14; string account_uuid = 14;
} }
+38 -38
View File
@@ -5,47 +5,47 @@ package proto;
option go_package = "./;proto"; option go_package = "./;proto";
message PacketHead { message PacketHead {
uint32 packet_id = 1; uint32 packet_id = 1;
uint32 rpc_id = 2; uint32 rpc_id = 2;
uint32 client_sequence_id = 3; uint32 client_sequence_id = 3;
uint32 enet_channel_id = 4; uint32 enet_channel_id = 4;
uint32 enet_is_reliable = 5; uint32 enet_is_reliable = 5;
uint64 sent_ms = 6; uint64 sent_ms = 6;
uint32 user_id = 11; uint32 user_id = 11;
uint32 user_ip = 12; uint32 user_ip = 12;
uint32 user_session_id = 13; uint32 user_session_id = 13;
uint32 home_user_id = 14; uint32 home_user_id = 14;
uint64 recv_time_ms = 21; uint64 recv_time_ms = 21;
uint32 rpc_begin_time_ms = 22; uint32 rpc_begin_time_ms = 22;
map<uint32, uint32> ext_map = 23; map<uint32, uint32> ext_map = 23;
uint32 sender_app_id = 24; uint32 sender_app_id = 24;
uint32 sender_load = 25; uint32 sender_load = 25;
bytes span_context_str = 26; bytes span_context_str = 26;
uint32 source_service = 31; uint32 source_service = 31;
uint32 target_service = 32; uint32 target_service = 32;
map<uint32, uint32> service_app_id_map = 33; map<uint32, uint32> service_app_id_map = 33;
bool is_set_game_thread = 34; bool is_set_game_thread = 34;
uint32 game_thread_index = 35; uint32 game_thread_index = 35;
bool is_set_multi_thread = 36; bool is_set_multi_thread = 36;
uint32 multi_thread_index = 37; uint32 multi_thread_index = 37;
} }
message DebugNotify { message DebugNotify {
enum Enum { enum Enum {
option allow_alias = true; option allow_alias = true;
ZERO = 0; ZERO = 0;
CMD_ID = 101; CMD_ID = 101;
TARGET_SERVICE = 101; TARGET_SERVICE = 101;
ENET_CHANNEL_ID = 2; ENET_CHANNEL_ID = 2;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
enum Retcode { enum Retcode {
SUCC = 0; SUCC = 0;
FAIL = 1; FAIL = 1;
} }
uint32 id = 1; uint32 id = 1;
string name = 2; string name = 2;
Retcode retcode = 3; Retcode retcode = 3;
} }
File diff suppressed because it is too large Load Diff
+30 -30
View File
@@ -5,55 +5,55 @@ package ToTheMoonProto;
option go_package = "./;proto"; option go_package = "./;proto";
message Pos { message Pos {
float x = 1; float x = 1;
float y = 2; float y = 2;
float z = 3; float z = 3;
} }
message SVONodeProto { message SVONodeProto {
int32 area = 1; int32 area = 1;
int64 mortonIndex = 2; int64 mortonIndex = 2;
int64 parent = 3; int64 parent = 3;
int64 children = 4; int64 children = 4;
int32 childNum = 5; int32 childNum = 5;
repeated int64 neighbors = 6; repeated int64 neighbors = 6;
repeated int32 neighborsLevel = 7; repeated int32 neighborsLevel = 7;
repeated int64 planarNeighbors = 8; repeated int64 planarNeighbors = 8;
repeated int32 planarNeighborsLevel = 9; repeated int32 planarNeighborsLevel = 9;
repeated int64 diagonalNeighbors = 10; repeated int64 diagonalNeighbors = 10;
repeated int32 diagonalNeighborsLevel = 11; repeated int32 diagonalNeighborsLevel = 11;
} }
message SVOLayerProto { message SVOLayerProto {
int32 level = 1; int32 level = 1;
repeated SVONodeProto nodeData = 2; repeated SVONodeProto nodeData = 2;
} }
message SVOStructureProto { message SVOStructureProto {
Pos basePos = 1; Pos basePos = 1;
repeated SVOLayerProto layerData = 2; repeated SVOLayerProto layerData = 2;
repeated int32 totalIndex = 3; repeated int32 totalIndex = 3;
} }
message SVOBlockProto { message SVOBlockProto {
SVOStructureProto svo = 1; SVOStructureProto svo = 1;
int32 sceneId = 2; int32 sceneId = 2;
repeated int32 blockIndex = 3; repeated int32 blockIndex = 3;
} }
message SVOWorldProto { message SVOWorldProto {
repeated SVOBlockProto blocks = 1; repeated SVOBlockProto blocks = 1;
float side_length = 2; float side_length = 2;
int32 sceneId = 3; int32 sceneId = 3;
} }
message SVONodeWrapperProto { message SVONodeWrapperProto {
SVONodeProto svoNode = 1; SVONodeProto svoNode = 1;
int32 level = 2; int32 level = 2;
} }
message SVONodePathProto { message SVONodePathProto {
Pos start = 1; Pos start = 1;
Pos end = 2; Pos end = 2;
repeated SVONodeWrapperProto svoNodes = 3; repeated SVONodeWrapperProto svoNodes = 3;
} }
+89 -89
View File
@@ -2,150 +2,150 @@ syntax = "proto3";
package proto; package proto;
option go_package = "./;proto";
import "server_only/bin_common.server.proto"; import "server_only/bin_common.server.proto";
option go_package = "./;proto";
message BlossomChestBin { message BlossomChestBin {
uint32 blossom_chest_id = 1; uint32 blossom_chest_id = 1;
uint32 drop_id = 2; uint32 drop_id = 2;
fixed32 dead_time = 3; fixed32 dead_time = 3;
repeated uint32 qualify_uid_list = 4; repeated uint32 qualify_uid_list = 4;
repeated uint32 remain_uid_list = 5; repeated uint32 remain_uid_list = 5;
uint32 item_limit_type = 6; uint32 item_limit_type = 6;
uint32 refresh_id = 7; uint32 refresh_id = 7;
} }
message GadgetPlatformBin { message GadgetPlatformBin {
uint32 route_id = 1; uint32 route_id = 1;
int32 point_index = 2; int32 point_index = 2;
bool is_started = 3; bool is_started = 3;
uint32 point_id = 4; uint32 point_id = 4;
uint32 moving_platform_type = 5; uint32 moving_platform_type = 5;
} }
message BossChestBin { message BossChestBin {
repeated uint32 remain_uid_list = 1; repeated uint32 remain_uid_list = 1;
fixed32 dead_time = 2; fixed32 dead_time = 2;
uint32 dead_level = 3; uint32 dead_level = 3;
repeated uint32 qualify_uid_list = 4; repeated uint32 qualify_uid_list = 4;
} }
message ChallengeRecordBin { message ChallengeRecordBin {
uint32 challenge_index = 1; uint32 challenge_index = 1;
uint32 challenge_id = 2; uint32 challenge_id = 2;
uint32 challenge_record_type = 3; uint32 challenge_record_type = 3;
uint32 best_value = 4; uint32 best_value = 4;
} }
message BossDieInfoBin { message BossDieInfoBin {
repeated uint32 surround_uid_list = 1; repeated uint32 surround_uid_list = 1;
fixed32 dead_time = 2; fixed32 dead_time = 2;
uint32 dead_level = 3; uint32 dead_level = 3;
} }
message GroupTriggerBin { message GroupTriggerBin {
uint32 trigger_count = 1; uint32 trigger_count = 1;
uint32 config_id = 2; uint32 config_id = 2;
} }
message GeneralRewardBin { message GeneralRewardBin {
uint32 drop_id = 1; uint32 drop_id = 1;
uint32 reward_id = 2; uint32 reward_id = 2;
uint32 drop_num = 3; uint32 drop_num = 3;
map<uint32, uint32> drop_map = 4; map<uint32, uint32> drop_map = 4;
} }
message GadgetGeneralRewardBin { message GadgetGeneralRewardBin {
uint32 resin = 2; uint32 resin = 2;
uint32 dead_time = 3; uint32 dead_time = 3;
repeated uint32 remain_uid_list = 5; repeated uint32 remain_uid_list = 5;
map<uint32, GeneralRewardBin> qualify_info_map = 7; map<uint32, GeneralRewardBin> qualify_info_map = 7;
uint32 destroy_cd = 8; uint32 destroy_cd = 8;
uint32 item_limit_type = 9; uint32 item_limit_type = 9;
ItemParamBin item_param = 10; ItemParamBin item_param = 10;
repeated uint32 open_state_list = 11; repeated uint32 open_state_list = 11;
} }
message FishStockBin { message FishStockBin {
uint32 stock_type = 1; uint32 stock_type = 1;
uint32 gen_fish_num = 2; uint32 gen_fish_num = 2;
uint32 max_num = 3; uint32 max_num = 3;
} }
message GadgetFishPoolBin { message GadgetFishPoolBin {
repeated FishStockBin fish_stock_list = 1; repeated FishStockBin fish_stock_list = 1;
uint32 today_fish_num = 2; uint32 today_fish_num = 2;
uint32 last_refresh_today_fish_time = 3; uint32 last_refresh_today_fish_time = 3;
map<uint32, uint32> cached_fish_map = 4; map<uint32, uint32> cached_fish_map = 4;
} }
message CustomGadgetNodeInfoBin { message CustomGadgetNodeInfoBin {
int32 parent_index = 1; int32 parent_index = 1;
uint32 config_id = 2; uint32 config_id = 2;
string slot_identifier = 3; string slot_identifier = 3;
} }
message CustomGadgetTreeInfoBin { message CustomGadgetTreeInfoBin {
repeated CustomGadgetNodeInfoBin node_list = 1; repeated CustomGadgetNodeInfoBin node_list = 1;
} }
message GadgetWorktopBin { message GadgetWorktopBin {
repeated uint32 option_list = 1; repeated uint32 option_list = 1;
} }
message GroupGadgetBin { message GroupGadgetBin {
uint32 gadget_state = 1; uint32 gadget_state = 1;
bool is_enable_interact = 2; bool is_enable_interact = 2;
uint32 gadget_talk_state = 3; uint32 gadget_talk_state = 3;
oneof component { oneof component {
GadgetPlatformBin platform = 101; GadgetPlatformBin platform = 101;
BossChestBin boss_chest = 102; BossChestBin boss_chest = 102;
BlossomChestBin blossom_chest = 103; BlossomChestBin blossom_chest = 103;
GadgetGeneralRewardBin general_reward = 104; GadgetGeneralRewardBin general_reward = 104;
GadgetFishPoolBin fish_pool = 105; GadgetFishPoolBin fish_pool = 105;
CustomGadgetTreeInfoBin custom_gadget_tree_info = 106; CustomGadgetTreeInfoBin custom_gadget_tree_info = 106;
GadgetWorktopBin worktop = 107; GadgetWorktopBin worktop = 107;
} }
} }
message GroupMonsterBin { message GroupMonsterBin {
uint32 dropped_hp_percent = 1; uint32 dropped_hp_percent = 1;
} }
message GroupGatherBin { message GroupGatherBin {
uint32 config_id = 1; uint32 config_id = 1;
fixed32 last_refresh_time = 2; fixed32 last_refresh_time = 2;
} }
message GroupRefreshTimeBin { message GroupRefreshTimeBin {
uint32 save_type = 1; uint32 save_type = 1;
fixed32 last_refresh_time = 2; fixed32 last_refresh_time = 2;
} }
message GroupBin { message GroupBin {
map<uint32, GroupMonsterBin> monster_map = 1; map<uint32, GroupMonsterBin> monster_map = 1;
repeated uint32 del_monster_list = 2; repeated uint32 del_monster_list = 2;
map<uint32, GroupGadgetBin> gadget_map = 3; map<uint32, GroupGadgetBin> gadget_map = 3;
repeated uint32 del_gadget_list = 4; repeated uint32 del_gadget_list = 4;
map<string, GroupTriggerBin> trigger_map = 5; map<string, GroupTriggerBin> trigger_map = 5;
map<string, GroupVariableBin> variable_map = 6; map<string, GroupVariableBin> variable_map = 6;
uint32 suite_index = 7; uint32 suite_index = 7;
repeated uint32 show_cutscene_chest_list = 8; repeated uint32 show_cutscene_chest_list = 8;
repeated ChallengeRecordBin challenge_record_list = 9; repeated ChallengeRecordBin challenge_record_list = 9;
uint32 revise_level = 10; uint32 revise_level = 10;
fixed32 last_refresh_time = 11; fixed32 last_refresh_time = 11;
uint32 target_suite_index = 12; uint32 target_suite_index = 12;
map<uint32, BossDieInfoBin> boss_die_info_map = 13; map<uint32, BossDieInfoBin> boss_die_info_map = 13;
repeated GroupGatherBin gather_refresh_time_list = 14; repeated GroupGatherBin gather_refresh_time_list = 14;
bool is_replaceable = 15; bool is_replaceable = 15;
uint32 replaceable_version = 16; uint32 replaceable_version = 16;
repeated GroupTriggerBin trigger_list = 17; repeated GroupTriggerBin trigger_list = 17;
repeated GroupRefreshTimeBin group_refresh_list = 18; repeated GroupRefreshTimeBin group_refresh_list = 18;
repeated GroupVariableConfigIdBin variable_config_id_bin_list = 19; repeated GroupVariableConfigIdBin variable_config_id_bin_list = 19;
} }
message BlockBin { message BlockBin {
map<uint32, bytes> group_map = 1; map<uint32, bytes> group_map = 1;
map<uint32, GroupProductBin> group_product_map = 2; map<uint32, GroupProductBin> group_product_map = 2;
} }
+170 -170
View File
@@ -2,321 +2,321 @@ syntax = "proto3";
package proto; package proto;
import "define.proto";
import "server_only/bin_common.server.proto";
option go_package = "./;proto"; option go_package = "./;proto";
import "server_only/bin_common.server.proto";
import "define.proto";
message HomeBasicCompBin { message HomeBasicCompBin {
uint64 trans_no_count = 1; uint64 trans_no_count = 1;
uint64 exp = 4; uint64 exp = 4;
uint32 level = 5; uint32 level = 5;
string owner_nick_name = 6; string owner_nick_name = 6;
uint32 total_home_time = 7; uint32 total_home_time = 7;
uint64 home_time_ms = 8; uint64 home_time_ms = 8;
} }
message HomeFurnitureBin { message HomeFurnitureBin {
uint32 furniture_id = 1; uint32 furniture_id = 1;
VectorBin spawn_pos = 3; VectorBin spawn_pos = 3;
VectorBin spawn_rot = 4; VectorBin spawn_rot = 4;
int32 parent_furniture_index = 7; int32 parent_furniture_index = 7;
uint32 guid = 8; uint32 guid = 8;
uint32 version = 9; uint32 version = 9;
} }
message HomeFurnitureSuiteBin { message HomeFurnitureSuiteBin {
uint32 suite_id = 1; uint32 suite_id = 1;
VectorBin spawn_pos = 2; VectorBin spawn_pos = 2;
repeated int32 included_furniture_index_list = 3; repeated int32 included_furniture_index_list = 3;
uint32 guid = 4; uint32 guid = 4;
bool is_allow_summon = 5; bool is_allow_summon = 5;
} }
message HomeNpcBin { message HomeNpcBin {
uint32 avatar_id = 1; uint32 avatar_id = 1;
VectorBin spawn_pos = 2; VectorBin spawn_pos = 2;
VectorBin spawn_rot = 3; VectorBin spawn_rot = 3;
uint32 costume_id = 4; uint32 costume_id = 4;
} }
message HomeAnimalBin { message HomeAnimalBin {
uint32 furniture_id = 1; uint32 furniture_id = 1;
VectorBin spawn_pos = 2; VectorBin spawn_pos = 2;
VectorBin spawn_rot = 3; VectorBin spawn_rot = 3;
} }
message HomeBlockSubFieldBin { message HomeBlockSubFieldBin {
VectorBin spawn_pos = 1; VectorBin spawn_pos = 1;
VectorBin spawn_rot = 2; VectorBin spawn_rot = 2;
} }
message HomeBlockFieldBin { message HomeBlockFieldBin {
uint32 guid = 1; uint32 guid = 1;
uint32 furniture_id = 2; uint32 furniture_id = 2;
VectorBin spawn_pos = 3; VectorBin spawn_pos = 3;
VectorBin spawn_rot = 4; VectorBin spawn_rot = 4;
repeated HomeBlockSubFieldBin sub_field_list = 5; repeated HomeBlockSubFieldBin sub_field_list = 5;
} }
message HomeFurnitureGroupBin { message HomeFurnitureGroupBin {
uint32 group_furniture_index = 1; uint32 group_furniture_index = 1;
repeated HomeFurnitureBin virtual_furniure_list = 2; repeated HomeFurnitureBin virtual_furniure_list = 2;
} }
message HomeFurnitureCustomSuiteBin { message HomeFurnitureCustomSuiteBin {
VectorBin spawn_pos = 1; VectorBin spawn_pos = 1;
repeated int32 included_furniture_index_list = 2; repeated int32 included_furniture_index_list = 2;
uint32 guid = 3; uint32 guid = 3;
} }
message HomeBlockBin { message HomeBlockBin {
uint32 block_id = 1; uint32 block_id = 1;
repeated HomeFurnitureBin persistent_furniture_list = 2; repeated HomeFurnitureBin persistent_furniture_list = 2;
repeated HomeFurnitureBin deploy_furniure_list = 3; repeated HomeFurnitureBin deploy_furniure_list = 3;
repeated HomeNpcBin deploy_npc_list = 4; repeated HomeNpcBin deploy_npc_list = 4;
repeated HomeFurnitureSuiteBin furniture_suite_list = 5; repeated HomeFurnitureSuiteBin furniture_suite_list = 5;
repeated HomeAnimalBin deploy_animal_list = 6; repeated HomeAnimalBin deploy_animal_list = 6;
bool is_unlocked = 7; bool is_unlocked = 7;
repeated HomeBlockFieldBin deploy_field_list = 8; repeated HomeBlockFieldBin deploy_field_list = 8;
repeated HomeFurnitureGroupBin deploy_furniture_group_list = 9; repeated HomeFurnitureGroupBin deploy_furniture_group_list = 9;
repeated HomeFurnitureCustomSuiteBin furniture_custom_suite_list = 10; repeated HomeFurnitureCustomSuiteBin furniture_custom_suite_list = 10;
} }
message HomeSceneBin { message HomeSceneBin {
uint32 scene_id = 1; uint32 scene_id = 1;
SceneBin scene_bin = 2; SceneBin scene_bin = 2;
repeated HomeBlockBin block_bin_list = 3; repeated HomeBlockBin block_bin_list = 3;
bool is_set_born_pos = 4; bool is_set_born_pos = 4;
VectorBin born_pos = 5; VectorBin born_pos = 5;
VectorBin born_rot = 6; VectorBin born_rot = 6;
repeated HomeFurnitureBin door_list = 7; repeated HomeFurnitureBin door_list = 7;
repeated HomeFurnitureBin stair_list = 8; repeated HomeFurnitureBin stair_list = 8;
HomeFurnitureBin main_house = 9; HomeFurnitureBin main_house = 9;
VectorBin djinn_pos = 10; VectorBin djinn_pos = 10;
uint32 tmp_version = 12; uint32 tmp_version = 12;
fixed32 save_time = 13; fixed32 save_time = 13;
uint32 bgm_id = 14; uint32 bgm_id = 14;
} }
message HomeModuleBin { message HomeModuleBin {
uint32 module_id = 1; uint32 module_id = 1;
uint32 cur_room_scene_id = 2; uint32 cur_room_scene_id = 2;
repeated HomeSceneBin scene_bin_list = 3; repeated HomeSceneBin scene_bin_list = 3;
} }
message HomeSceneCompBin { message HomeSceneCompBin {
uint32 cur_module_id = 1; uint32 cur_module_id = 1;
repeated HomeModuleBin module_bin_list = 2; repeated HomeModuleBin module_bin_list = 2;
} }
message HomeOfflineMsgExeBin { message HomeOfflineMsgExeBin {
HomeOfflineMsgBin msg = 1; HomeOfflineMsgBin msg = 1;
uint32 exe_times = 2; uint32 exe_times = 2;
} }
message HomeOfflineMsgCompBin { message HomeOfflineMsgCompBin {
uint32 index = 1; uint32 index = 1;
repeated HomeOfflineMsgExeBin next_offline_msg_list = 2; repeated HomeOfflineMsgExeBin next_offline_msg_list = 2;
} }
message HomeFurnitureMakeBin { message HomeFurnitureMakeBin {
repeated FurnitureMakeSlotsBin furniture_make_slots_bin_list = 1; repeated FurnitureMakeSlotsBin furniture_make_slots_bin_list = 1;
} }
message HomeLimitedShopPoolRecordBin { message HomeLimitedShopPoolRecordBin {
uint32 pool_id = 1; uint32 pool_id = 1;
repeated uint32 goods_id_list = 2; repeated uint32 goods_id_list = 2;
} }
message HomeLimitedShopGoodsInfoBin { message HomeLimitedShopGoodsInfoBin {
uint32 goods_id = 1; uint32 goods_id = 1;
uint32 buy_num = 2; uint32 buy_num = 2;
} }
message HomeLimitedShopNPCPosBin { message HomeLimitedShopNPCPosBin {
uint32 module_id = 1; uint32 module_id = 1;
uint32 scene_id = 4; uint32 scene_id = 4;
uint32 block_id = 5; uint32 block_id = 5;
uint32 index = 6; uint32 index = 6;
} }
message HomeLimitedShopBin { message HomeLimitedShopBin {
uint32 last_refresh_time = 1; uint32 last_refresh_time = 1;
repeated HomeLimitedShopPoolRecordBin pool_record_bin_list = 3; repeated HomeLimitedShopPoolRecordBin pool_record_bin_list = 3;
repeated HomeLimitedShopGoodsInfoBin goods_info_bin_list = 4; repeated HomeLimitedShopGoodsInfoBin goods_info_bin_list = 4;
repeated HomeLimitedShopNPCPosBin npc_pos_bin_list = 5; repeated HomeLimitedShopNPCPosBin npc_pos_bin_list = 5;
} }
message HomePlantSubFieldBin { message HomePlantSubFieldBin {
uint32 index = 1; uint32 index = 1;
uint32 seed_id = 2; uint32 seed_id = 2;
uint32 grow_time = 3; uint32 grow_time = 3;
uint32 last_update_time = 4; uint32 last_update_time = 4;
repeated uint32 gather_index_list = 5; repeated uint32 gather_index_list = 5;
uint32 home_gather_id = 6; uint32 home_gather_id = 6;
} }
message HomePlantFieldBin { message HomePlantFieldBin {
uint32 module_id = 1; uint32 module_id = 1;
uint32 scene_id = 2; uint32 scene_id = 2;
uint32 guid = 3; uint32 guid = 3;
uint32 furniture_id = 4; uint32 furniture_id = 4;
repeated HomePlantSubFieldBin sub_field_bin_list = 5; repeated HomePlantSubFieldBin sub_field_bin_list = 5;
} }
message HomePlantBin { message HomePlantBin {
repeated HomePlantFieldBin field_bin_list = 1; repeated HomePlantFieldBin field_bin_list = 1;
} }
message HomeFishpondFarmingBin { message HomeFishpondFarmingBin {
uint32 scene_id = 1; uint32 scene_id = 1;
uint32 fishpond_guid = 2; uint32 fishpond_guid = 2;
uint32 furniture_id = 3; uint32 furniture_id = 3;
repeated uint32 fish_id_list = 4; repeated uint32 fish_id_list = 4;
} }
message HomeScenePointFishFarmingBin { message HomeScenePointFishFarmingBin {
uint32 scene_id = 1; uint32 scene_id = 1;
uint32 local_entity_id = 2; uint32 local_entity_id = 2;
repeated uint32 fish_id_list = 4; repeated uint32 fish_id_list = 4;
} }
message HomeModuleFishFarmingBin { message HomeModuleFishFarmingBin {
uint32 module_id = 1; uint32 module_id = 1;
repeated HomeFishpondFarmingBin fishpond_farming_bin_list = 2; repeated HomeFishpondFarmingBin fishpond_farming_bin_list = 2;
repeated HomeScenePointFishFarmingBin scene_point_fish_farming_bin_list = 3; repeated HomeScenePointFishFarmingBin scene_point_fish_farming_bin_list = 3;
} }
message HomeFishFarmingBin { message HomeFishFarmingBin {
repeated HomeModuleFishFarmingBin module_fish_farming_bin_list = 1; repeated HomeModuleFishFarmingBin module_fish_farming_bin_list = 1;
} }
message HomeCustomFurnitureNodeInfoBin { message HomeCustomFurnitureNodeInfoBin {
int32 parent_index = 1; int32 parent_index = 1;
uint32 furniture_id = 2; uint32 furniture_id = 2;
string slot_identifier = 3; string slot_identifier = 3;
} }
message HomeOneCustomFurnitureBin { message HomeOneCustomFurnitureBin {
uint32 scene_id = 1; uint32 scene_id = 1;
uint32 guid = 2; uint32 guid = 2;
uint32 furniture_id = 3; uint32 furniture_id = 3;
repeated HomeCustomFurnitureNodeInfoBin sub_furniture_list = 4; repeated HomeCustomFurnitureNodeInfoBin sub_furniture_list = 4;
} }
message HomeModuleCustomFurnitureBin { message HomeModuleCustomFurnitureBin {
uint32 module_id = 1; uint32 module_id = 1;
repeated HomeOneCustomFurnitureBin custom_furniture_bin_list = 2; repeated HomeOneCustomFurnitureBin custom_furniture_bin_list = 2;
} }
message HomeCustomFurnitureBin { message HomeCustomFurnitureBin {
repeated HomeModuleCustomFurnitureBin module_custom_furniture_bin_list = 1; repeated HomeModuleCustomFurnitureBin module_custom_furniture_bin_list = 1;
} }
message HomeOnePictureFrameBin { message HomeOnePictureFrameBin {
uint32 scene_id = 1; uint32 scene_id = 1;
uint32 guid = 2; uint32 guid = 2;
uint32 furniture_id = 3; uint32 furniture_id = 3;
uint32 picture_id = 4; uint32 picture_id = 4;
} }
message HomeModulePictureFrameBin { message HomeModulePictureFrameBin {
uint32 module_id = 1; uint32 module_id = 1;
repeated HomeOnePictureFrameBin picture_frame_bin_list = 2; repeated HomeOnePictureFrameBin picture_frame_bin_list = 2;
} }
message HomePictureFrameBin { message HomePictureFrameBin {
repeated HomeModulePictureFrameBin module_picture_frame_bin_list = 1; repeated HomeModulePictureFrameBin module_picture_frame_bin_list = 1;
} }
message HomeGroupPlayerInfoBin { message HomeGroupPlayerInfoBin {
uint32 uid = 1; uint32 uid = 1;
string nickname = 2; string nickname = 2;
uint32 player_level = 3; uint32 player_level = 3;
ProfilePictureBin profile_picture = 4; ProfilePictureBin profile_picture = 4;
string online_id = 5; string online_id = 5;
string psn_id = 6; string psn_id = 6;
} }
message HomeRacingGalleryRecordBin { message HomeRacingGalleryRecordBin {
uint32 use_time = 1; uint32 use_time = 1;
HomeGroupPlayerInfoBin player_info = 2; HomeGroupPlayerInfoBin player_info = 2;
uint32 timestamp = 3; uint32 timestamp = 3;
} }
message HomeRacingRecordBin { message HomeRacingRecordBin {
repeated HomeRacingGalleryRecordBin record_list = 1; repeated HomeRacingGalleryRecordBin record_list = 1;
} }
message HomeBalloonGalleryRecordBin { message HomeBalloonGalleryRecordBin {
uint32 score = 1; uint32 score = 1;
uint32 hit_count = 2; uint32 hit_count = 2;
HomeGroupPlayerInfoBin player_info = 3; HomeGroupPlayerInfoBin player_info = 3;
uint32 timestamp = 4; uint32 timestamp = 4;
} }
message HomeBalloonRecordBin { message HomeBalloonRecordBin {
repeated HomeBalloonGalleryRecordBin record_list = 1; repeated HomeBalloonGalleryRecordBin record_list = 1;
} }
message HomeStakePlayRecordBin { message HomeStakePlayRecordBin {
uint32 timestamp = 1; uint32 timestamp = 1;
repeated HomeGroupPlayerInfoBin engaged_player_info_list = 2; repeated HomeGroupPlayerInfoBin engaged_player_info_list = 2;
} }
message HomeStakeRecordBin { message HomeStakeRecordBin {
repeated HomeStakePlayRecordBin record_list = 1; repeated HomeStakePlayRecordBin record_list = 1;
} }
message HomeSeekFurniturePlayerScoreBin { message HomeSeekFurniturePlayerScoreBin {
HomeGroupPlayerInfoBin player_info = 1; HomeGroupPlayerInfoBin player_info = 1;
uint32 score = 2; uint32 score = 2;
} }
message HomeSeekFurnitureOneRecordBin { message HomeSeekFurnitureOneRecordBin {
uint32 timestamp = 1; uint32 timestamp = 1;
repeated HomeSeekFurniturePlayerScoreBin engaged_player_score_list = 2; repeated HomeSeekFurniturePlayerScoreBin engaged_player_score_list = 2;
} }
message HomeSeekFurnitureAllRecordBin { message HomeSeekFurnitureAllRecordBin {
repeated HomeSeekFurnitureOneRecordBin record_list = 1; repeated HomeSeekFurnitureOneRecordBin record_list = 1;
} }
message HomeGroupRecordBin { message HomeGroupRecordBin {
oneof detail { oneof detail {
HomeRacingRecordBin racing_gallery_info_bin = 11; HomeRacingRecordBin racing_gallery_info_bin = 11;
HomeBalloonRecordBin balloon_gallery_info_bin = 12; HomeBalloonRecordBin balloon_gallery_info_bin = 12;
HomeStakeRecordBin stake_play_info_bin = 13; HomeStakeRecordBin stake_play_info_bin = 13;
HomeSeekFurnitureAllRecordBin seek_furniture_play_info_bin = 14; HomeSeekFurnitureAllRecordBin seek_furniture_play_info_bin = 14;
} }
} }
message HomeGroupRecordCompBin { message HomeGroupRecordCompBin {
map<uint32, HomeGroupRecordBin> group_record_map_bin = 1; map<uint32, HomeGroupRecordBin> group_record_map_bin = 1;
} }
message HomeBlueprintCompBin { message HomeBlueprintCompBin {
bool is_allow_friend_copy = 1; bool is_allow_friend_copy = 1;
} }
message HomeDataBin { message HomeDataBin {
HomeBasicCompBin basic_bin = 1; HomeBasicCompBin basic_bin = 1;
HomeSceneCompBin scene_bin = 2; HomeSceneCompBin scene_bin = 2;
HomeOfflineMsgCompBin offline_msg_bin = 3; HomeOfflineMsgCompBin offline_msg_bin = 3;
HomeFurnitureMakeBin furniture_make_bin = 4; HomeFurnitureMakeBin furniture_make_bin = 4;
HomeLimitedShopBin limited_shop_bin = 5; HomeLimitedShopBin limited_shop_bin = 5;
HomePlantBin plant_bin = 6; HomePlantBin plant_bin = 6;
HomeFishFarmingBin fish_farming_bin = 7; HomeFishFarmingBin fish_farming_bin = 7;
HomeCustomFurnitureBin custom_furniture_bin = 8; HomeCustomFurnitureBin custom_furniture_bin = 8;
HomePictureFrameBin picture_frame_bin = 9; HomePictureFrameBin picture_frame_bin = 9;
HomeGroupRecordCompBin group_record_bin = 10; HomeGroupRecordCompBin group_record_bin = 10;
HomeBlueprintCompBin blueprint_bin = 11; HomeBlueprintCompBin blueprint_bin = 11;
} }
message HomeData { message HomeData {
uint32 uid = 1; uint32 uid = 1;
uint32 data_version = 2; uint32 data_version = 2;
bytes bin_data = 3; bytes bin_data = 3;
int32 block_end_time = 4; int32 block_end_time = 4;
} }
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -5,125 +5,125 @@ package proto;
option go_package = "./;proto"; option go_package = "./;proto";
message SeaLampPlayerContributionNotify { message SeaLampPlayerContributionNotify {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10672; CMD_ID = 10672;
} }
uint32 total_contribution = 1; uint32 total_contribution = 1;
uint32 add_progress = 2; uint32 add_progress = 2;
} }
message SeaLampProgressNotify { message SeaLampProgressNotify {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10698; CMD_ID = 10698;
} }
uint32 schedule_id = 1; uint32 schedule_id = 1;
uint32 progress = 2; uint32 progress = 2;
bool is_finished = 3; bool is_finished = 3;
bool is_changed_by_muip = 4; bool is_changed_by_muip = 4;
} }
message SeaLampBroadcastNotify { message SeaLampBroadcastNotify {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10612; CMD_ID = 10612;
} }
uint32 schedule_id = 1; uint32 schedule_id = 1;
uint32 last_phase = 2; uint32 last_phase = 2;
uint32 phase = 3; uint32 phase = 3;
uint32 progress = 4; uint32 progress = 4;
bool is_changed_by_muip = 5; bool is_changed_by_muip = 5;
} }
message SeaLampSetProgressByMuipReq { message SeaLampSetProgressByMuipReq {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10635; CMD_ID = 10635;
} }
uint32 progress = 1; uint32 progress = 1;
} }
message SeaLampSetProgressByMuipRsp { message SeaLampSetProgressByMuipRsp {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10607; CMD_ID = 10607;
} }
int32 retcode = 1; int32 retcode = 1;
uint32 old_progress = 2; uint32 old_progress = 2;
uint32 new_progress = 3; uint32 new_progress = 3;
uint32 factor = 4; uint32 factor = 4;
} }
message SeaLampProgressImplementNotify { message SeaLampProgressImplementNotify {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10621; CMD_ID = 10621;
} }
SeaLampProgressNotify msg = 1; SeaLampProgressNotify msg = 1;
} }
message SeaLampClearProgressByGmNotify { message SeaLampClearProgressByGmNotify {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10603; CMD_ID = 10603;
} }
} }
message SeaLampAddProgressByMuipReq { message SeaLampAddProgressByMuipReq {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10690; CMD_ID = 10690;
} }
uint32 add_progress = 1; uint32 add_progress = 1;
} }
message SeaLampAddProgressByMuipRsp { message SeaLampAddProgressByMuipRsp {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10673; CMD_ID = 10673;
} }
int32 retcode = 1; int32 retcode = 1;
uint32 old_progress = 2; uint32 old_progress = 2;
uint32 new_progress = 3; uint32 new_progress = 3;
uint32 factor = 4; uint32 factor = 4;
} }
message SeaLampActivityDataMuip { message SeaLampActivityDataMuip {
uint32 progress = 1; uint32 progress = 1;
uint32 phase_id = 2; uint32 phase_id = 2;
uint32 factor = 3; uint32 factor = 3;
} }
message GetActivityDataByMuipReq { message GetActivityDataByMuipReq {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10699; CMD_ID = 10699;
} }
uint32 activity_id = 1; uint32 activity_id = 1;
} }
message GetActivityDataByMuipRsp { message GetActivityDataByMuipRsp {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10631; CMD_ID = 10631;
} }
int32 retcode = 1; int32 retcode = 1;
uint32 activity_id = 2; uint32 activity_id = 2;
uint32 schedule_id = 3; uint32 schedule_id = 3;
bool is_started = 4; bool is_started = 4;
bool is_finished = 5; bool is_finished = 5;
oneof detail { oneof detail {
SeaLampActivityDataMuip sea_lamp_data = 10; SeaLampActivityDataMuip sea_lamp_data = 10;
} }
} }
@@ -2,368 +2,368 @@ syntax = "proto3";
package proto; package proto;
option go_package = "./;proto";
import "define.proto";
import "cmd/cmd_gcg_common.proto";
import "cmd/cmd_gcg.proto"; import "cmd/cmd_gcg.proto";
import "cmd/cmd_gcg_common.proto";
import "define.proto";
import "server_only/cmd_match.server.proto"; import "server_only/cmd_match.server.proto";
option go_package = "./;proto";
enum GCGStatisticSpecifyItemType { enum GCGStatisticSpecifyItemType {
SPECIFY_INIT = 0; SPECIFY_INIT = 0;
DIE_CHARACTER_NUM = 1; DIE_CHARACTER_NUM = 1;
ALIVE_CHARACTER_HP_SUM = 2; ALIVE_CHARACTER_HP_SUM = 2;
BEING_DAMAGE_SUM = 3; BEING_DAMAGE_SUM = 3;
BEING_HEAL_SUM = 4; BEING_HEAL_SUM = 4;
SHIELD_REDUCE_SUM = 5; SHIELD_REDUCE_SUM = 5;
REST_ENERGY = 6; REST_ENERGY = 6;
REST_THINK_REST_VIRTUAL_DICE_SUM = 7; REST_THINK_REST_VIRTUAL_DICE_SUM = 7;
REST_DISCARD_INTENTION_SUM = 8; REST_DISCARD_INTENTION_SUM = 8;
REST_DISCARD_INTENTION_DAMAGE_SUM = 9; REST_DISCARD_INTENTION_DAMAGE_SUM = 9;
ELEMENT_REACTION_TIMES = 10; ELEMENT_REACTION_TIMES = 10;
ONE_HIT_DAMAGE_VEC = 11; ONE_HIT_DAMAGE_VEC = 11;
PLAY_CARD_TIMES = 12; PLAY_CARD_TIMES = 12;
SUMMON_TIMES = 13; SUMMON_TIMES = 13;
SKILL_TAG_Q_TIMES = 14; SKILL_TAG_Q_TIMES = 14;
ONE_OPERATION_KILL_COUNT_VEC = 15; ONE_OPERATION_KILL_COUNT_VEC = 15;
CHARACTER_DIE_TIMES = 16; CHARACTER_DIE_TIMES = 16;
BEING_DAMAGE_OVERFLOW_SUM = 17; BEING_DAMAGE_OVERFLOW_SUM = 17;
} }
enum GCGStatisticCommonItemType { enum GCGStatisticCommonItemType {
COMMON_INIT = 0; COMMON_INIT = 0;
CONTROLLER_A_WIN = 1; CONTROLLER_A_WIN = 1;
ROUND_NUM = 2; ROUND_NUM = 2;
WINNER_REST_DICE = 3; WINNER_REST_DICE = 3;
PHASE_MAIN_TIME_USE = 4; PHASE_MAIN_TIME_USE = 4;
} }
message ServerGCGVerify { message ServerGCGVerify {
uint32 game_uid = 1; uint32 game_uid = 1;
uint32 verify_code = 2; uint32 verify_code = 2;
uint32 app_id = 3; uint32 app_id = 3;
uint32 thread_index = 4; uint32 thread_index = 4;
} }
message ServerGCGOperationReq { message ServerGCGOperationReq {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12436; CMD_ID = 12436;
} }
uint32 uid = 1; uint32 uid = 1;
GCGOperation op = 2; GCGOperation op = 2;
uint32 op_seq = 3; uint32 op_seq = 3;
} }
message ServerGCGOperationRsp { message ServerGCGOperationRsp {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12407; CMD_ID = 12407;
} }
int32 retcode = 1; int32 retcode = 1;
uint32 op_seq = 2; uint32 op_seq = 2;
} }
message ServerGCGAskDuelReq { message ServerGCGAskDuelReq {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12457; CMD_ID = 12457;
} }
uint32 uid = 1; uint32 uid = 1;
} }
message ServerGCGNewGameInfoNotify { message ServerGCGNewGameInfoNotify {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12360; CMD_ID = 12360;
} }
uint32 app_id = 1; uint32 app_id = 1;
uint32 thread_index = 2; uint32 thread_index = 2;
GCGGameBriefData game_brief_data = 3; GCGGameBriefData game_brief_data = 3;
uint32 create_time = 4; uint32 create_time = 4;
uint32 try_create_time = 5; uint32 try_create_time = 5;
} }
message ServerGCGGMCommandReq { message ServerGCGGMCommandReq {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12373; CMD_ID = 12373;
} }
repeated string msg_list = 1; repeated string msg_list = 1;
} }
message ServerGCGGMCommandRsp { message ServerGCGGMCommandRsp {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12338; CMD_ID = 12338;
} }
int32 retcode = 1; int32 retcode = 1;
string ret_msg = 2; string ret_msg = 2;
string ret_extra_content = 3; string ret_extra_content = 3;
} }
message ServerGCGInitFinishReq { message ServerGCGInitFinishReq {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12334; CMD_ID = 12334;
} }
int32 retcode = 1; int32 retcode = 1;
} }
message ServerGCGSyncReq { message ServerGCGSyncReq {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12456; CMD_ID = 12456;
} }
uint32 game_uid = 1; uint32 game_uid = 1;
uint32 verify_code = 2; uint32 verify_code = 2;
bool is_login = 3; bool is_login = 3;
} }
message ServerGCGSyncRsp { message ServerGCGSyncRsp {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12328; CMD_ID = 12328;
} }
int32 retcode = 1; int32 retcode = 1;
uint32 game_uid = 2; uint32 game_uid = 2;
uint32 verify_code = 3; uint32 verify_code = 3;
uint32 app_id = 4; uint32 app_id = 4;
uint32 thread_index = 5; uint32 thread_index = 5;
bool is_login = 6; bool is_login = 6;
} }
message GCGPlayerData { message GCGPlayerData {
OnlinePlayerInfo player_info = 1; OnlinePlayerInfo player_info = 1;
GCGDuelExtra duel_extra = 2; GCGDuelExtra duel_extra = 2;
} }
message ServerGCGCreateSingleGameReq { message ServerGCGCreateSingleGameReq {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12489; CMD_ID = 12489;
} }
uint32 game_id = 1; uint32 game_id = 1;
GCGGameBusinessType business_type = 2; GCGGameBusinessType business_type = 2;
GCGPlayerData player_data = 3; GCGPlayerData player_data = 3;
repeated uint32 custom_param_list = 4; repeated uint32 custom_param_list = 4;
uint32 try_create_time = 5; uint32 try_create_time = 5;
} }
message ServerGCGCreateSingleGameRsp { message ServerGCGCreateSingleGameRsp {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12308; CMD_ID = 12308;
} }
int32 retcode = 1; int32 retcode = 1;
uint32 game_id = 2; uint32 game_id = 2;
} }
message ServerGCGGiveUpGameReq { message ServerGCGGiveUpGameReq {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12499; CMD_ID = 12499;
} }
uint32 game_uid = 1; uint32 game_uid = 1;
uint32 game_id = 2; uint32 game_id = 2;
uint32 verify_code = 3; uint32 verify_code = 3;
GCGGameBusinessType business_type = 4; GCGGameBusinessType business_type = 4;
} }
message ServerGCGGiveUpGameRsp { message ServerGCGGiveUpGameRsp {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12492; CMD_ID = 12492;
} }
int32 retcode = 1; int32 retcode = 1;
uint32 game_uid = 2; uint32 game_uid = 2;
uint32 game_id = 3; uint32 game_id = 3;
uint32 verify_code = 4; uint32 verify_code = 4;
uint32 app_id = 5; uint32 app_id = 5;
uint32 thread_index = 6; uint32 thread_index = 6;
} }
message ServerGCGSkillPreviewAskReq { message ServerGCGSkillPreviewAskReq {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12319; CMD_ID = 12319;
} }
uint32 uid = 1; uint32 uid = 1;
} }
message ServerGCGSkillPreviewAskRsp { message ServerGCGSkillPreviewAskRsp {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12477; CMD_ID = 12477;
} }
int32 retcode = 1; int32 retcode = 1;
} }
message ServerGCGCreateMultiGameReq { message ServerGCGCreateMultiGameReq {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12476; CMD_ID = 12476;
} }
uint32 game_id = 1; uint32 game_id = 1;
GCGGameBusinessType business_type = 2; GCGGameBusinessType business_type = 2;
GCGPlayerData player_data_1 = 3; GCGPlayerData player_data_1 = 3;
GCGPlayerData player_data_2 = 4; GCGPlayerData player_data_2 = 4;
uint32 try_create_time = 5; uint32 try_create_time = 5;
} }
message ServerGCGCreateMultiGameRsp { message ServerGCGCreateMultiGameRsp {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12490; CMD_ID = 12490;
} }
int32 retcode = 1; int32 retcode = 1;
uint32 game_id = 2; uint32 game_id = 2;
} }
message ServerGCGAddBothAITaskReq { message ServerGCGAddBothAITaskReq {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12423; CMD_ID = 12423;
} }
uint64 task_id = 1; uint64 task_id = 1;
uint32 subtask_id = 2; uint32 subtask_id = 2;
uint32 game_type = 3; uint32 game_type = 3;
uint32 level_id = 4; uint32 level_id = 4;
uint32 card_group1_id = 5; uint32 card_group1_id = 5;
uint32 card_group2_id = 6; uint32 card_group2_id = 6;
} }
message ServerGCGAddBothAITaskRsp { message ServerGCGAddBothAITaskRsp {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12439; CMD_ID = 12439;
} }
int32 retcode = 1; int32 retcode = 1;
uint32 task_id = 2; uint32 task_id = 2;
uint32 subtask_id = 3; uint32 subtask_id = 3;
} }
message GCGMatchPlayerInfo { message GCGMatchPlayerInfo {
MatchPlayer match_player = 1; MatchPlayer match_player = 1;
GCGDuelExtra gcg_duel_extra = 2; GCGDuelExtra gcg_duel_extra = 2;
} }
message ServerGCGCreateMatchGameNotify { message ServerGCGCreateMatchGameNotify {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12497; CMD_ID = 12497;
} }
uint32 match_id = 1; uint32 match_id = 1;
repeated GCGMatchPlayerInfo gcg_match_player_list = 2; repeated GCGMatchPlayerInfo gcg_match_player_list = 2;
uint32 try_create_time = 3; uint32 try_create_time = 3;
} }
message ServerGCGCreateMatchAIGameNotify { message ServerGCGCreateMatchAIGameNotify {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12392; CMD_ID = 12392;
} }
uint32 match_id = 1; uint32 match_id = 1;
repeated GCGMatchPlayerInfo gcg_match_player_list = 2; repeated GCGMatchPlayerInfo gcg_match_player_list = 2;
OnlinePlayerInfo ai_info = 3; OnlinePlayerInfo ai_info = 3;
uint32 try_create_time = 4; uint32 try_create_time = 4;
} }
message ServerGCGMatchFinishNotify { message ServerGCGMatchFinishNotify {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12329; CMD_ID = 12329;
} }
} }
message ServerGCGBackToDuelReq { message ServerGCGBackToDuelReq {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12455; CMD_ID = 12455;
} }
uint32 game_uid = 1; uint32 game_uid = 1;
uint32 verify_code = 2; uint32 verify_code = 2;
uint32 client_data_version = 3; uint32 client_data_version = 3;
} }
message ServerGCGBackToDuelRsp { message ServerGCGBackToDuelRsp {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12309; CMD_ID = 12309;
} }
int32 retcode = 1; int32 retcode = 1;
uint32 game_uid = 2; uint32 game_uid = 2;
uint32 verify_code = 3; uint32 verify_code = 3;
uint32 app_id = 4; uint32 app_id = 4;
uint32 thread_index = 5; uint32 thread_index = 5;
uint32 client_data_version = 6; uint32 client_data_version = 6;
} }
message ServerGCGMessagePackNotify { message ServerGCGMessagePackNotify {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12463; CMD_ID = 12463;
} }
ServerGCGVerify verify = 1; ServerGCGVerify verify = 1;
uint32 server_seq = 2; uint32 server_seq = 2;
repeated GCGMessagePack msg_pack_list = 3; repeated GCGMessagePack msg_pack_list = 3;
} }
message ServerGCGHeartBeatNotify { message ServerGCGHeartBeatNotify {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12405; CMD_ID = 12405;
} }
ServerGCGVerify verify = 1; ServerGCGVerify verify = 1;
uint32 server_seq = 2; uint32 server_seq = 2;
} }
message ServerGCGSkillPreviewNotify { message ServerGCGSkillPreviewNotify {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12414; CMD_ID = 12414;
} }
ServerGCGVerify verify = 1; ServerGCGVerify verify = 1;
uint32 controller_id = 2; uint32 controller_id = 2;
uint32 onstage_card_guid = 3; uint32 onstage_card_guid = 3;
repeated GCGSkillPreviewInfo skill_preview_list = 4; repeated GCGSkillPreviewInfo skill_preview_list = 4;
repeated GCGChangeOnstageInfo change_onstage_preview_list = 5; repeated GCGChangeOnstageInfo change_onstage_preview_list = 5;
repeated GCGSkillPreviewPlayCardInfo play_card_list = 6; repeated GCGSkillPreviewPlayCardInfo play_card_list = 6;
} }
message ServerGCGChallengeUpdateNotify { message ServerGCGChallengeUpdateNotify {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12332; CMD_ID = 12332;
} }
ServerGCGVerify verify = 1; ServerGCGVerify verify = 1;
uint32 server_seq = 2; uint32 server_seq = 2;
GCGDuelChallenge challenge = 3; GCGDuelChallenge challenge = 3;
} }
@@ -2,356 +2,356 @@ syntax = "proto3";
package proto; package proto;
option go_package = "./;proto"; import "define.proto";
import "server_only/bin.home.proto"; import "server_only/bin.home.proto";
import "server_only/bin_common.server.proto"; import "server_only/bin_common.server.proto";
import "server_only/redis_data.proto"; import "server_only/redis_data.proto";
import "define.proto";
option go_package = "./;proto";
enum HomeGetBlueprintBriefReason { enum HomeGetBlueprintBriefReason {
HOME_GET_BLUEPRINT_BRIEF_REASON_NONE = 0; HOME_GET_BLUEPRINT_BRIEF_REASON_NONE = 0;
HOME_GET_BLUEPRINT_BRIEF_REASON_FETCH = 1; HOME_GET_BLUEPRINT_BRIEF_REASON_FETCH = 1;
HOME_GET_BLUEPRINT_BRIEF_REASON_SEARCH = 2; HOME_GET_BLUEPRINT_BRIEF_REASON_SEARCH = 2;
} }
message GetHomeDataReq { message GetHomeDataReq {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12072; CMD_ID = 12072;
} }
uint32 home_uid = 1; uint32 home_uid = 1;
uint64 load_rand = 2; uint64 load_rand = 2;
} }
message GetHomeDataRsp { message GetHomeDataRsp {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12098; CMD_ID = 12098;
} }
int32 retcode = 1; int32 retcode = 1;
uint32 home_uid = 2; uint32 home_uid = 2;
uint32 data_version = 3; uint32 data_version = 3;
uint32 is_new_home = 4; uint32 is_new_home = 4;
HomeData home_data = 5; HomeData home_data = 5;
uint64 load_rand = 6; uint64 load_rand = 6;
} }
message SaveHomeDataReq { message SaveHomeDataReq {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12012; CMD_ID = 12012;
} }
HomeData home_data = 1; HomeData home_data = 1;
} }
message SaveHomeDataRsp { message SaveHomeDataRsp {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12035; CMD_ID = 12035;
} }
int32 retcode = 1; int32 retcode = 1;
uint32 data_version = 2; uint32 data_version = 2;
} }
message ServerTryEnterHomeReq { message ServerTryEnterHomeReq {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12007; CMD_ID = 12007;
} }
uint32 source_uid = 1; uint32 source_uid = 1;
uint32 source_app_id = 2; uint32 source_app_id = 2;
uint64 cur_load_rand = 3; uint64 cur_load_rand = 3;
uint32 owner_init_home_module_id = 4; uint32 owner_init_home_module_id = 4;
uint32 try_times = 5; uint32 try_times = 5;
uint32 source_thread_index = 6; uint32 source_thread_index = 6;
} }
message ServerTryEnterHomeRsp { message ServerTryEnterHomeRsp {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12021; CMD_ID = 12021;
} }
int32 retcode = 1; int32 retcode = 1;
uint32 target_home_uid = 2; uint32 target_home_uid = 2;
uint32 target_app_id = 3; uint32 target_app_id = 3;
uint32 target_thread_index = 4; uint32 target_thread_index = 4;
} }
message ServerBlockHomeNotify { message ServerBlockHomeNotify {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12003; CMD_ID = 12003;
} }
bool is_unlock = 1; bool is_unlock = 1;
uint32 end_time = 2; uint32 end_time = 2;
} }
message ServerGetFriendEnterHomeOptionReq { message ServerGetFriendEnterHomeOptionReq {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12090; CMD_ID = 12090;
} }
uint32 target_uid = 1; uint32 target_uid = 1;
} }
message ServerGetFriendEnterHomeOptionRsp { message ServerGetFriendEnterHomeOptionRsp {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12073; CMD_ID = 12073;
} }
int32 retcode = 1; int32 retcode = 1;
uint32 target_uid = 2; uint32 target_uid = 2;
FriendEnterHomeOption friend_enter_home_option = 3; FriendEnterHomeOption friend_enter_home_option = 3;
bool is_online = 4; bool is_online = 4;
bool is_home_avaliable = 5; bool is_home_avaliable = 5;
bool is_only_mp_with_ps_player = 6; bool is_only_mp_with_ps_player = 6;
uint32 last_save_time = 7; uint32 last_save_time = 7;
uint32 prior_check_time = 8; uint32 prior_check_time = 8;
bool is_home_in_audit = 9; bool is_home_in_audit = 9;
} }
message HomeOnlineStatusInfo { message HomeOnlineStatusInfo {
enum StatusType { enum StatusType {
ONLINE = 0; ONLINE = 0;
OFFLINE = 1; OFFLINE = 1;
} }
uint32 home_uid = 1; uint32 home_uid = 1;
StatusType online_status = 2; StatusType online_status = 2;
} }
message HomeOnlineStatusNotify { message HomeOnlineStatusNotify {
enum Enum { enum Enum {
NONE = 0; NONE = 0;
CMD_ID = 12099; CMD_ID = 12099;
} }
repeated HomeOnlineStatusInfo home_info_list = 1; repeated HomeOnlineStatusInfo home_info_list = 1;
} }
message SendHomeOfflineMsgReq { message SendHomeOfflineMsgReq {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12031; CMD_ID = 12031;
} }
HomeOfflineMsgBin msg = 1; HomeOfflineMsgBin msg = 1;
} }
message SendHomeOfflineMsgRsp { message SendHomeOfflineMsgRsp {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12075; CMD_ID = 12075;
} }
int32 retcode = 1; int32 retcode = 1;
string ticket = 2; string ticket = 2;
} }
message NewHomeOfflineMsgNotify { message NewHomeOfflineMsgNotify {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12048; CMD_ID = 12048;
} }
} }
message GetHomeOfflineMsgReq { message GetHomeOfflineMsgReq {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12097; CMD_ID = 12097;
} }
uint32 index = 1; uint32 index = 1;
} }
message GetHomeOfflineMsgRsp { message GetHomeOfflineMsgRsp {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12081; CMD_ID = 12081;
} }
int32 retcode = 1; int32 retcode = 1;
uint32 last_index = 2; uint32 last_index = 2;
repeated HomeOfflineMsgBin offline_msg_list = 3; repeated HomeOfflineMsgBin offline_msg_list = 3;
} }
message RemoveHomeOfflineMsgNotify { message RemoveHomeOfflineMsgNotify {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12005; CMD_ID = 12005;
} }
uint32 index = 1; uint32 index = 1;
} }
message ClearHomeOfflineMsgNotify { message ClearHomeOfflineMsgNotify {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12082; CMD_ID = 12082;
} }
} }
message ServerHomeGetOnlineStatusReq { message ServerHomeGetOnlineStatusReq {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12047; CMD_ID = 12047;
} }
} }
message ServerHomeGetOnlineStatusRsp { message ServerHomeGetOnlineStatusRsp {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12039; CMD_ID = 12039;
} }
int32 retcode = 1; int32 retcode = 1;
bool is_online = 2; bool is_online = 2;
repeated OnlinePlayerInfo player_info_list = 3; repeated OnlinePlayerInfo player_info_list = 3;
} }
message ServerHomeKickPlayerReq { message ServerHomeKickPlayerReq {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12053; CMD_ID = 12053;
} }
bool is_kick_all = 1; bool is_kick_all = 1;
uint32 target_uid = 2; uint32 target_uid = 2;
} }
message ServerHomeKickPlayerRsp { message ServerHomeKickPlayerRsp {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12022; CMD_ID = 12022;
} }
int32 retcode = 1; int32 retcode = 1;
bool is_kick_all = 2; bool is_kick_all = 2;
uint32 target_uid = 3; uint32 target_uid = 3;
} }
message ServerHomeGetBlueprintBriefDataReq { message ServerHomeGetBlueprintBriefDataReq {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12065; CMD_ID = 12065;
} }
HomeGetBlueprintBriefReason reason = 1; HomeGetBlueprintBriefReason reason = 1;
repeated string share_code_list = 2; repeated string share_code_list = 2;
} }
message ServerHomeGetBlueprintBriefDataRsp { message ServerHomeGetBlueprintBriefDataRsp {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12004; CMD_ID = 12004;
} }
int32 retcode = 1; int32 retcode = 1;
HomeGetBlueprintBriefReason reason = 2; HomeGetBlueprintBriefReason reason = 2;
repeated string share_code_list = 3; repeated string share_code_list = 3;
repeated HomeBlueprintBriefRedisData brief_data_list = 4; repeated HomeBlueprintBriefRedisData brief_data_list = 4;
} }
message ServerHomeUpdateBlueprintBriefDataReq { message ServerHomeUpdateBlueprintBriefDataReq {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12093; CMD_ID = 12093;
} }
uint32 slot_id = 1; uint32 slot_id = 1;
HomeBlueprintBriefRedisData brief_data = 2; HomeBlueprintBriefRedisData brief_data = 2;
} }
message ServerHomeUpdateBlueprintBriefDataRsp { message ServerHomeUpdateBlueprintBriefDataRsp {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12027; CMD_ID = 12027;
} }
int32 retcode = 1; int32 retcode = 1;
uint32 slot_id = 2; uint32 slot_id = 2;
HomeBlueprintBriefRedisData brief_data = 3; HomeBlueprintBriefRedisData brief_data = 3;
} }
message ServerHomeGetBlueprintDetailDataReq { message ServerHomeGetBlueprintDetailDataReq {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12094; CMD_ID = 12094;
} }
string share_code = 1; string share_code = 1;
uint32 share_owner_uid = 2; uint32 share_owner_uid = 2;
} }
message ServerHomeGetBlueprintDetailDataRsp { message ServerHomeGetBlueprintDetailDataRsp {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12088; CMD_ID = 12088;
} }
int32 retcode = 1; int32 retcode = 1;
uint32 share_owner_uid = 2; uint32 share_owner_uid = 2;
HomeBlueprintDetailRedisData detail_data = 3; HomeBlueprintDetailRedisData detail_data = 3;
} }
message ServerHomeSaveBlueprintDataReq { message ServerHomeSaveBlueprintDataReq {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12026; CMD_ID = 12026;
} }
uint32 slot_id = 1; uint32 slot_id = 1;
HomeBlueprintBriefRedisData brief_data = 2; HomeBlueprintBriefRedisData brief_data = 2;
HomeBlueprintDetailRedisData detail_data = 3; HomeBlueprintDetailRedisData detail_data = 3;
} }
message ServerHomeSaveBlueprintDataRsp { message ServerHomeSaveBlueprintDataRsp {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12063; CMD_ID = 12063;
} }
int32 retcode = 1; int32 retcode = 1;
uint32 slot_id = 2; uint32 slot_id = 2;
HomeBlueprintBriefRedisData brief_data = 3; HomeBlueprintBriefRedisData brief_data = 3;
} }
message ServerHomeDeleteBlueprintDataReq { message ServerHomeDeleteBlueprintDataReq {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12095; CMD_ID = 12095;
} }
uint32 slot_id = 1; uint32 slot_id = 1;
string share_code = 2; string share_code = 2;
} }
message ServerHomeDeleteBlueprintDataRsp { message ServerHomeDeleteBlueprintDataRsp {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12006; CMD_ID = 12006;
} }
int32 retcode = 1; int32 retcode = 1;
uint32 slot_id = 2; uint32 slot_id = 2;
string share_code = 3; string share_code = 3;
} }
message ServerHomeBlueprintCacheInvalidNotify { message ServerHomeBlueprintCacheInvalidNotify {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12034; CMD_ID = 12034;
} }
string share_code = 1; string share_code = 1;
} }
@@ -5,164 +5,164 @@ package proto;
option go_package = "./;proto"; option go_package = "./;proto";
enum CmdIdConfig { enum CmdIdConfig {
CMD_MISC_BEGIN = 0; CMD_MISC_BEGIN = 0;
CMD_MISC_END = 100; CMD_MISC_END = 100;
CMD_PLAYER_BEGIN = 101; CMD_PLAYER_BEGIN = 101;
CMD_PLAYER_END = 200; CMD_PLAYER_END = 200;
CMD_SCENE_BEGIN_1 = 201; CMD_SCENE_BEGIN_1 = 201;
CMD_SCENE_END_1 = 300; CMD_SCENE_END_1 = 300;
CMD_SCENE_BEGIN_2 = 3001; CMD_SCENE_BEGIN_2 = 3001;
CMD_SCENE_END_2 = 3500; CMD_SCENE_END_2 = 3500;
CMD_FIGHT_BEGIN = 301; CMD_FIGHT_BEGIN = 301;
CMD_FIGHT_END = 400; CMD_FIGHT_END = 400;
CMD_QUEST_BEGIN = 401; CMD_QUEST_BEGIN = 401;
CMD_QUEST_END = 500; CMD_QUEST_END = 500;
CMD_NPC_BEGIN = 501; CMD_NPC_BEGIN = 501;
CMD_NPC_END = 600; CMD_NPC_END = 600;
CMD_ITEM_BEGIN = 601; CMD_ITEM_BEGIN = 601;
CMD_ITEM_END = 700; CMD_ITEM_END = 700;
CMD_SHOP_BEGIN = 701; CMD_SHOP_BEGIN = 701;
CMD_SHOP_END = 800; CMD_SHOP_END = 800;
CMD_GADGET_BEGIN = 801; CMD_GADGET_BEGIN = 801;
CMD_GADGET_END = 900; CMD_GADGET_END = 900;
CMD_DUNGEON_BEGIN = 901; CMD_DUNGEON_BEGIN = 901;
CMD_DUNGEON_END = 1000; CMD_DUNGEON_END = 1000;
CMD_SKILL_BEGIN = 1001; CMD_SKILL_BEGIN = 1001;
CMD_SKILL_END = 1100; CMD_SKILL_END = 1100;
CMD_ABILITY_BEGIN = 1101; CMD_ABILITY_BEGIN = 1101;
CMD_ABILITY_END = 1200; CMD_ABILITY_END = 1200;
CMD_PROPERTY_BEGIN = 1201; CMD_PROPERTY_BEGIN = 1201;
CMD_PROPERTY_END = 1300; CMD_PROPERTY_END = 1300;
CMD_MONSTER_BEGIN = 1301; CMD_MONSTER_BEGIN = 1301;
CMD_MONSTER_END = 1400; CMD_MONSTER_END = 1400;
CMD_MAIL_BEGIN = 1401; CMD_MAIL_BEGIN = 1401;
CMD_MAIL_END = 1500; CMD_MAIL_END = 1500;
CMD_GACHA_BEGIN = 1501; CMD_GACHA_BEGIN = 1501;
CMD_GACHA_END = 1600; CMD_GACHA_END = 1600;
CMD_AVATAR_BEGIN = 1601; CMD_AVATAR_BEGIN = 1601;
CMD_AVATAR_END = 1800; CMD_AVATAR_END = 1800;
CMD_MP_BEGIN = 1801; CMD_MP_BEGIN = 1801;
CMD_MP_END = 1850; CMD_MP_END = 1850;
CMD_INVESTIGATION_BEGIN = 1901; CMD_INVESTIGATION_BEGIN = 1901;
CMD_INVESTIGATION_END = 1930; CMD_INVESTIGATION_END = 1930;
CMD_COOP_BEGIN = 1951; CMD_COOP_BEGIN = 1951;
CMD_COOP_END = 2000; CMD_COOP_END = 2000;
CMD_ACTIVITY_BEGIN_1 = 2001; CMD_ACTIVITY_BEGIN_1 = 2001;
CMD_ACTIVITY_END_1 = 2200; CMD_ACTIVITY_END_1 = 2200;
CMD_ACTIVITY_BEGIN_2 = 8001; CMD_ACTIVITY_BEGIN_2 = 8001;
CMD_ACTIVITY_END_2 = 9000; CMD_ACTIVITY_END_2 = 9000;
CMD_ACTIVITY_BEGIN_3 = 20001; CMD_ACTIVITY_BEGIN_3 = 20001;
CMD_ACTIVITY_END_3 = 25000; CMD_ACTIVITY_END_3 = 25000;
CMD_WATCHER_BEGIN = 2201; CMD_WATCHER_BEGIN = 2201;
CMD_WATCHER_END = 2300; CMD_WATCHER_END = 2300;
CMD_PATHFINDING_BEGIN = 2301; CMD_PATHFINDING_BEGIN = 2301;
CMD_PATHFINDING_END = 2400; CMD_PATHFINDING_END = 2400;
CMD_TOWER_BEGIN = 2401; CMD_TOWER_BEGIN = 2401;
CMD_TOWER_END = 2500; CMD_TOWER_END = 2500;
CMD_SIGN_IN_BEGIN = 2501; CMD_SIGN_IN_BEGIN = 2501;
CMD_SIGN_IN_END = 2600; CMD_SIGN_IN_END = 2600;
CMD_BATTLE_PASS_BEGIN = 2601; CMD_BATTLE_PASS_BEGIN = 2601;
CMD_BATTLE_PASS_END = 2650; CMD_BATTLE_PASS_END = 2650;
CMD_ACHIEVEMENT_BEGIN = 2651; CMD_ACHIEVEMENT_BEGIN = 2651;
CMD_ACHIEVEMENT_END = 2700; CMD_ACHIEVEMENT_END = 2700;
CMD_BLOSSOM_BEGIN = 2701; CMD_BLOSSOM_BEGIN = 2701;
CMD_BLOSSOM_END = 2800; CMD_BLOSSOM_END = 2800;
CMD_REPUTATION_BEGIN = 2801; CMD_REPUTATION_BEGIN = 2801;
CMD_REPUTATION_END = 2900; CMD_REPUTATION_END = 2900;
CMD_OFFERING_BEGIN = 2901; CMD_OFFERING_BEGIN = 2901;
CMD_OFFERING_END = 2925; CMD_OFFERING_END = 2925;
CMD_ROUTINE_BEGIN = 3501; CMD_ROUTINE_BEGIN = 3501;
CMD_ROUTINE_END = 3550; CMD_ROUTINE_END = 3550;
CMD_MECHANICUS_BEGIN = 3901; CMD_MECHANICUS_BEGIN = 3901;
CMD_MECHANICUS_END = 4000; CMD_MECHANICUS_END = 4000;
CMD_SOCIAL_BEGIN = 4001; CMD_SOCIAL_BEGIN = 4001;
CMD_SOCIAL_END = 4100; CMD_SOCIAL_END = 4100;
CMD_RECHARGE_BEGIN = 4101; CMD_RECHARGE_BEGIN = 4101;
CMD_RECHARGE_END = 4150; CMD_RECHARGE_END = 4150;
CMD_MATCH_BEGIN = 4151; CMD_MATCH_BEGIN = 4151;
CMD_MATCH_END = 4200; CMD_MATCH_END = 4200;
CMD_CODEX_BEGIN = 4201; CMD_CODEX_BEGIN = 4201;
CMD_CODEX_END = 4210; CMD_CODEX_END = 4210;
CMD_STAT_BEGIN = 4211; CMD_STAT_BEGIN = 4211;
CMD_STAT_END = 4250; CMD_STAT_END = 4250;
CMD_WIDGET_BEGIN_1 = 4251; CMD_WIDGET_BEGIN_1 = 4251;
CMD_WIDGET_END_1 = 4300; CMD_WIDGET_END_1 = 4300;
CMD_WIDGET_BEGIN_2 = 5900; CMD_WIDGET_BEGIN_2 = 5900;
CMD_WIDGET_END_2 = 6100; CMD_WIDGET_END_2 = 6100;
CMD_HUNTING_BEGIN = 4301; CMD_HUNTING_BEGIN = 4301;
CMD_HUNTING_END = 4350; CMD_HUNTING_END = 4350;
CMD_SCENE_PLAY_BEGIN = 4351; CMD_SCENE_PLAY_BEGIN = 4351;
CMD_SCENE_PLAY_END = 4450; CMD_SCENE_PLAY_END = 4450;
CMD_HOME_BEGIN = 4451; CMD_HOME_BEGIN = 4451;
CMD_HOME_END = 4900; CMD_HOME_END = 4900;
CMD_CHAT_BEGIN = 4951; CMD_CHAT_BEGIN = 4951;
CMD_CHAT_END = 5050; CMD_CHAT_END = 5050;
CMD_REUNION_BEGIN = 5051; CMD_REUNION_BEGIN = 5051;
CMD_REUNION_END = 5100; CMD_REUNION_END = 5100;
CMD_OP_ACTIVITY_BEGIN = 5101; CMD_OP_ACTIVITY_BEGIN = 5101;
CMD_OP_ACTIVITY_END = 5200; CMD_OP_ACTIVITY_END = 5200;
CMD_MIRACLE_RING_BEGIN = 5201; CMD_MIRACLE_RING_BEGIN = 5201;
CMD_MIRACLE_RING_END = 5250; CMD_MIRACLE_RING_END = 5250;
CMD_MULTISTAGE_PLAY_BEGIN_1 = 5301; CMD_MULTISTAGE_PLAY_BEGIN_1 = 5301;
CMD_MULTISTAGE_PLAY_END_1 = 5400; CMD_MULTISTAGE_PLAY_END_1 = 5400;
CMD_MULTISTAGE_PLAY_BEGIN_2 = 6401; CMD_MULTISTAGE_PLAY_BEGIN_2 = 6401;
CMD_MULTISTAGE_PLAY_END_2 = 6600; CMD_MULTISTAGE_PLAY_END_2 = 6600;
CMD_DRAFT_BEGIN = 5401; CMD_DRAFT_BEGIN = 5401;
CMD_DRAFT_END = 5500; CMD_DRAFT_END = 5500;
CMD_GALLERY_BEGIN = 5501; CMD_GALLERY_BEGIN = 5501;
CMD_GALLERY_END = 5600; CMD_GALLERY_END = 5600;
CMD_REGION_SEARCH_BEGIN = 5601; CMD_REGION_SEARCH_BEGIN = 5601;
CMD_REGION_SEARCH_END = 5650; CMD_REGION_SEARCH_END = 5650;
CMD_H5_ACTIVITY_BEGIN = 5651; CMD_H5_ACTIVITY_BEGIN = 5651;
CMD_H5_ACTIVITY_END = 5700; CMD_H5_ACTIVITY_END = 5700;
CMD_REMINDER_BEGIN = 5701; CMD_REMINDER_BEGIN = 5701;
CMD_REMINDER_END = 5750; CMD_REMINDER_END = 5750;
CMD_GROUP_LINK_BEGIN = 5751; CMD_GROUP_LINK_BEGIN = 5751;
CMD_GROUP_LINK_END = 5800; CMD_GROUP_LINK_END = 5800;
CMD_FISH_BEGIN = 5801; CMD_FISH_BEGIN = 5801;
CMD_FISH_END = 5850; CMD_FISH_END = 5850;
CMD_TOTHEMOON_BEGIN = 6101; CMD_TOTHEMOON_BEGIN = 6101;
CMD_TOTHEMOON_END = 6200; CMD_TOTHEMOON_END = 6200;
CMD_CUSTOM_DUNGEON_BEGIN = 6201; CMD_CUSTOM_DUNGEON_BEGIN = 6201;
CMD_CUSTOM_DUNGEON_END = 6250; CMD_CUSTOM_DUNGEON_END = 6250;
CMD_REGIONAL_PLAY_BEGIN = 6251; CMD_REGIONAL_PLAY_BEGIN = 6251;
CMD_REGIONAL_PLAY_END = 6300; CMD_REGIONAL_PLAY_END = 6300;
CMD_UGC_BEGIN = 6301; CMD_UGC_BEGIN = 6301;
CMD_UGC_END = 6350; CMD_UGC_END = 6350;
CMD_ARANARA_COLLECTION_BEGIN = 6351; CMD_ARANARA_COLLECTION_BEGIN = 6351;
CMD_ARANARA_COLLECTION_END = 6400; CMD_ARANARA_COLLECTION_END = 6400;
CMD_GCG_BEGIN = 7001; CMD_GCG_BEGIN = 7001;
CMD_GCG_END = 8000; CMD_GCG_END = 8000;
CMD_SHARE_CD_BEGIN = 9001; CMD_SHARE_CD_BEGIN = 9001;
CMD_SHARE_CD_END = 9100; CMD_SHARE_CD_END = 9100;
CMD_MISC_SERVER_BEGIN = 10001; CMD_MISC_SERVER_BEGIN = 10001;
CMD_MISC_SERVER_END = 10100; CMD_MISC_SERVER_END = 10100;
CMD_PLAYER_SERVER_BEGIN = 10101; CMD_PLAYER_SERVER_BEGIN = 10101;
CMD_PLAYER_SERVER_END = 10200; CMD_PLAYER_SERVER_END = 10200;
CMD_MUIP_SERVER_BEGIN = 10201; CMD_MUIP_SERVER_BEGIN = 10201;
CMD_MUIP_SERVER_END = 10300; CMD_MUIP_SERVER_END = 10300;
CMD_MAIL_SERVER_BEGIN = 10301; CMD_MAIL_SERVER_BEGIN = 10301;
CMD_MAIL_SERVER_END = 10400; CMD_MAIL_SERVER_END = 10400;
CMD_MP_SERVER_BEGIN = 10401; CMD_MP_SERVER_BEGIN = 10401;
CMD_MP_SERVER_END = 10500; CMD_MP_SERVER_END = 10500;
CMD_ACTIVITY_SERVER_BEGIN = 10601; CMD_ACTIVITY_SERVER_BEGIN = 10601;
CMD_ACTIVITY_SERVER_END = 10700; CMD_ACTIVITY_SERVER_END = 10700;
CMD_RECHARGE_SERVER_BEGIN = 10701; CMD_RECHARGE_SERVER_BEGIN = 10701;
CMD_RECHARGE_SERVER_END = 10750; CMD_RECHARGE_SERVER_END = 10750;
CMD_SOCIAL_SERVER_BEGIN_1 = 10801; CMD_SOCIAL_SERVER_BEGIN_1 = 10801;
CMD_SOCIAL_SERVER_END_1 = 10900; CMD_SOCIAL_SERVER_END_1 = 10900;
CMD_SOCIAL_SERVER_BEGIN_2 = 10951; CMD_SOCIAL_SERVER_BEGIN_2 = 10951;
CMD_SOCIAL_SERVER_END_2 = 11000; CMD_SOCIAL_SERVER_END_2 = 11000;
CMD_MATCH_SERVER_BEGIN = 10901; CMD_MATCH_SERVER_BEGIN = 10901;
CMD_MATCH_SERVER_END = 10950; CMD_MATCH_SERVER_END = 10950;
CMD_HOME_SERVER_BEGIN = 12001; CMD_HOME_SERVER_BEGIN = 12001;
CMD_HOME_SERVER_END = 12100; CMD_HOME_SERVER_END = 12100;
CMD_OFFLINE_OP_SERVER_BEGIN = 12201; CMD_OFFLINE_OP_SERVER_BEGIN = 12201;
CMD_OFFLINE_OP_SERVER_END = 12250; CMD_OFFLINE_OP_SERVER_END = 12250;
CMD_SECURITY_SERVER_BEGIN = 12251; CMD_SECURITY_SERVER_BEGIN = 12251;
CMD_SECURITY_SERVER_END = 12300; CMD_SECURITY_SERVER_END = 12300;
CMD_GCG_SERVER_BEGIN = 12301; CMD_GCG_SERVER_BEGIN = 12301;
CMD_GCG_SERVER_END = 12500; CMD_GCG_SERVER_END = 12500;
CMD_REDIS_OP_BEGIN = 11001; CMD_REDIS_OP_BEGIN = 11001;
CMD_REDIS_OP_END = 12000; CMD_REDIS_OP_END = 12000;
} }
@@ -2,230 +2,230 @@ syntax = "proto3";
package proto; package proto;
import "server_only/bin_common.server.proto";
import "server_only/enum.server.proto";
import "server_only/redis_data.proto";
option go_package = "./;proto"; option go_package = "./;proto";
import "server_only/bin_common.server.proto";
import "server_only/redis_data.proto";
import "server_only/enum.server.proto";
message AddRedisMailReq { message AddRedisMailReq {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10372; CMD_ID = 10372;
} }
MailAddOpType op_type = 1; MailAddOpType op_type = 1;
MailBin mail_bin = 2; MailBin mail_bin = 2;
string ticket = 3; string ticket = 3;
string transaction = 4; string transaction = 4;
} }
message AddRedisMailRsp { message AddRedisMailRsp {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10398; CMD_ID = 10398;
} }
int32 retcode = 1; int32 retcode = 1;
MailAddOpType op_type = 2; MailAddOpType op_type = 2;
string ticket = 3; string ticket = 3;
string transaction = 4; string transaction = 4;
} }
message DelRedisMailReq { message DelRedisMailReq {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10312; CMD_ID = 10312;
} }
MailDelOpType op_type = 1; MailDelOpType op_type = 1;
repeated uint32 mail_id_list = 2; repeated uint32 mail_id_list = 2;
repeated string ticket_list = 3; repeated string ticket_list = 3;
} }
message DelRedisMailRsp { message DelRedisMailRsp {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10335; CMD_ID = 10335;
} }
int32 retcode = 1; int32 retcode = 1;
MailDelOpType op_type = 2; MailDelOpType op_type = 2;
repeated uint32 mail_id_list = 3; repeated uint32 mail_id_list = 3;
} }
message GetRedisMailReq { message GetRedisMailReq {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10307; CMD_ID = 10307;
} }
MailGetOPType op_type = 1; MailGetOPType op_type = 1;
MailGetType get_type = 2; MailGetType get_type = 2;
repeated uint32 mail_id_list = 3; repeated uint32 mail_id_list = 3;
bool is_collectible_mail_transfered = 4; bool is_collectible_mail_transfered = 4;
} }
message GetRedisMailRsp { message GetRedisMailRsp {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10321; CMD_ID = 10321;
} }
int32 retcode = 1; int32 retcode = 1;
repeated bytes mail_str_list = 2; repeated bytes mail_str_list = 2;
MailGetOPType op_type = 3; MailGetOPType op_type = 3;
bool is_truncated = 4; bool is_truncated = 4;
MailGetType get_type = 5; MailGetType get_type = 5;
bool is_collectible_mail_transfered = 6; bool is_collectible_mail_transfered = 6;
string transaction = 7; string transaction = 7;
uint32 page_index = 8; uint32 page_index = 8;
uint32 total_page_count = 9; uint32 total_page_count = 9;
} }
message RedisMailChangeNotify { message RedisMailChangeNotify {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10303; CMD_ID = 10303;
} }
repeated MailRedisData update_mail_list = 1; repeated MailRedisData update_mail_list = 1;
repeated uint32 del_mail_id_list = 2; repeated uint32 del_mail_id_list = 2;
} }
message SendOfflineMsgReq { message SendOfflineMsgReq {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10390; CMD_ID = 10390;
} }
OfflineMsgBin msg = 1; OfflineMsgBin msg = 1;
} }
message SendOfflineMsgRsp { message SendOfflineMsgRsp {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10373; CMD_ID = 10373;
} }
int32 retcode = 1; int32 retcode = 1;
string ticket = 2; string ticket = 2;
} }
message NewOfflineMsgNotify { message NewOfflineMsgNotify {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10399; CMD_ID = 10399;
} }
} }
message GetOfflineMsgReq { message GetOfflineMsgReq {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10331; CMD_ID = 10331;
} }
uint32 index = 1; uint32 index = 1;
bool is_login = 2; bool is_login = 2;
} }
message GetOfflineMsgRsp { message GetOfflineMsgRsp {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10375; CMD_ID = 10375;
} }
int32 retcode = 1; int32 retcode = 1;
uint32 last_index = 2; uint32 last_index = 2;
repeated OfflineMsgBin offline_msg_list = 3; repeated OfflineMsgBin offline_msg_list = 3;
bool is_login = 4; bool is_login = 4;
} }
message RemoveOfflineMsgNotify { message RemoveOfflineMsgNotify {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10348; CMD_ID = 10348;
} }
uint32 index = 1; uint32 index = 1;
} }
message ClearOfflineMsgNotify { message ClearOfflineMsgNotify {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10397; CMD_ID = 10397;
} }
} }
message UpdateRedisMailReq { message UpdateRedisMailReq {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10381; CMD_ID = 10381;
} }
MailUpdateOpType op_type = 1; MailUpdateOpType op_type = 1;
repeated uint32 mail_id_list = 2; repeated uint32 mail_id_list = 2;
} }
message UpdateRedisMailRsp { message UpdateRedisMailRsp {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10305; CMD_ID = 10305;
} }
int32 retcode = 1; int32 retcode = 1;
MailUpdateOpType op_type = 2; MailUpdateOpType op_type = 2;
repeated uint32 mail_id_list = 3; repeated uint32 mail_id_list = 3;
} }
message GetRedisMailTransactionStatusReq { message GetRedisMailTransactionStatusReq {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10382; CMD_ID = 10382;
} }
repeated string transaction_list = 2; repeated string transaction_list = 2;
} }
message GetRedisMailTransactionStatusRsp { message GetRedisMailTransactionStatusRsp {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10347; CMD_ID = 10347;
} }
int32 retcode = 1; int32 retcode = 1;
map<string, bool> transaction_status_map = 2; map<string, bool> transaction_status_map = 2;
} }
message ClearUpRedisMailNotify { message ClearUpRedisMailNotify {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10339; CMD_ID = 10339;
} }
} }
message CleanRedisMailNotify { message CleanRedisMailNotify {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10353; CMD_ID = 10353;
} }
} }
message ResendRedisMailReq { message ResendRedisMailReq {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10322; CMD_ID = 10322;
} }
map<string, MailBin> mail_bin_map = 1; map<string, MailBin> mail_bin_map = 1;
} }
message ResendRedisMailRsp { message ResendRedisMailRsp {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10365; CMD_ID = 10365;
} }
int32 retcode = 1; int32 retcode = 1;
map<string, bool> resend_status_map = 2; map<string, bool> resend_status_map = 2;
} }
@@ -2,259 +2,259 @@ syntax = "proto3";
package proto; package proto;
option go_package = "./;proto";
import "define.proto"; import "define.proto";
import "server_only/enum.server.proto"; import "server_only/enum.server.proto";
option go_package = "./;proto";
message MatchPlayer { message MatchPlayer {
uint32 uid = 1; uint32 uid = 1;
string nickname = 2; string nickname = 2;
uint32 player_level = 3; uint32 player_level = 3;
uint32 world_level = 4; uint32 world_level = 4;
uint32 platform_type = 5; uint32 platform_type = 5;
bool is_only_match_with_ps_player = 6; bool is_only_match_with_ps_player = 6;
repeated uint32 blacklist_uid_list = 7; repeated uint32 blacklist_uid_list = 7;
OnlinePlayerInfo player_info = 8; OnlinePlayerInfo player_info = 8;
uint32 hide_and_seek_hider_count = 9; uint32 hide_and_seek_hider_count = 9;
repeated uint32 hide_and_seek_chosen_map_list = 10; repeated uint32 hide_and_seek_chosen_map_list = 10;
} }
message MatchUnit { message MatchUnit {
repeated MatchPlayer match_player_list = 1; repeated MatchPlayer match_player_list = 1;
uint32 unit_id = 2; uint32 unit_id = 2;
} }
message AddMatchUnitReq { message AddMatchUnitReq {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10926; CMD_ID = 10926;
} }
MatchType match_type = 1; MatchType match_type = 1;
MatchUnit match_unit = 2; MatchUnit match_unit = 2;
MatchIdentity expect_identity = 3; MatchIdentity expect_identity = 3;
uint32 dungeon_id = 11; uint32 dungeon_id = 11;
uint32 mp_play_id = 12; uint32 mp_play_id = 12;
uint32 mechanicus_tag = 13; uint32 mechanicus_tag = 13;
uint32 match_id = 14; uint32 match_id = 14;
repeated uint32 match_param_list = 15; repeated uint32 match_param_list = 15;
oneof detail { oneof detail {
GCGDuelExtra gcg_duel_extra = 21; GCGDuelExtra gcg_duel_extra = 21;
} }
} }
message AddMatchUnitRsp { message AddMatchUnitRsp {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10918; CMD_ID = 10918;
} }
int32 retcode = 1; int32 retcode = 1;
MatchType match_type = 2; MatchType match_type = 2;
MatchUnit match_unit = 3; MatchUnit match_unit = 3;
uint32 dungeon_id = 11; uint32 dungeon_id = 11;
uint32 mp_play_id = 12; uint32 mp_play_id = 12;
uint32 mechanicus_tag = 13; uint32 mechanicus_tag = 13;
} }
message MatchStartNotify { message MatchStartNotify {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10925; CMD_ID = 10925;
} }
MatchType match_type = 1; MatchType match_type = 1;
uint32 match_begin_time = 2; uint32 match_begin_time = 2;
uint32 estimate_match_cost_time = 3; uint32 estimate_match_cost_time = 3;
bool is_rematch = 4; bool is_rematch = 4;
uint32 dungeon_id = 11; uint32 dungeon_id = 11;
uint32 mp_play_id = 12; uint32 mp_play_id = 12;
uint32 mechanicus_tag = 13; uint32 mechanicus_tag = 13;
uint32 match_id = 14; uint32 match_id = 14;
repeated uint32 match_param_list = 15; repeated uint32 match_param_list = 15;
} }
message RemoveMatchUnitReq { message RemoveMatchUnitReq {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10907; CMD_ID = 10907;
} }
MatchType match_type = 1; MatchType match_type = 1;
uint32 unit_id = 2; uint32 unit_id = 2;
MatchUnitRemoveOpType op_type = 3; MatchUnitRemoveOpType op_type = 3;
} }
message RemoveMatchUnitRsp { message RemoveMatchUnitRsp {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10902; CMD_ID = 10902;
} }
int32 retcode = 1; int32 retcode = 1;
MatchType match_type = 2; MatchType match_type = 2;
uint32 unit_id = 3; uint32 unit_id = 3;
MatchUnitRemoveOpType op_type = 4; MatchUnitRemoveOpType op_type = 4;
} }
message MatchUnitRemovedNotify { message MatchUnitRemovedNotify {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10931; CMD_ID = 10931;
} }
MatchType match_type = 1; MatchType match_type = 1;
MatchReason reason = 2; MatchReason reason = 2;
} }
message GuestUnitMatchSuccNotify { message GuestUnitMatchSuccNotify {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10929; CMD_ID = 10929;
} }
uint32 host_unit_id = 1; uint32 host_unit_id = 1;
uint32 confirm_end_time = 2; uint32 confirm_end_time = 2;
uint32 match_type = 3; uint32 match_type = 3;
uint32 dungeon_id = 11; uint32 dungeon_id = 11;
uint32 mp_play_id = 12; uint32 mp_play_id = 12;
uint32 mechanicus_tag = 13; uint32 mechanicus_tag = 13;
} }
message ConfirmGuestUnitReq { message ConfirmGuestUnitReq {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10922; CMD_ID = 10922;
} }
MatchType match_type = 1; MatchType match_type = 1;
uint32 unit_id = 2; uint32 unit_id = 2;
bool is_agreed = 3; bool is_agreed = 3;
uint32 match_id = 4; uint32 match_id = 4;
} }
message ConfirmGuestUnitRsp { message ConfirmGuestUnitRsp {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10944; CMD_ID = 10944;
} }
int32 retcode = 1; int32 retcode = 1;
MatchType match_type = 2; MatchType match_type = 2;
uint32 unit_id = 3; uint32 unit_id = 3;
bool is_agreed = 4; bool is_agreed = 4;
uint32 match_id = 5; uint32 match_id = 5;
} }
message MatchPlayerJoinNotify { message MatchPlayerJoinNotify {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10949; CMD_ID = 10949;
} }
MatchType match_type = 1; MatchType match_type = 1;
uint32 unit_id = 2; uint32 unit_id = 2;
MatchPlayer match_player = 3; MatchPlayer match_player = 3;
} }
message MatchPlayerQuitNotify { message MatchPlayerQuitNotify {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10920; CMD_ID = 10920;
} }
MatchType match_type = 1; MatchType match_type = 1;
uint32 unit_id = 2; uint32 unit_id = 2;
uint32 player_uid = 3; uint32 player_uid = 3;
} }
message GuestUnitAgreedResultNotify { message GuestUnitAgreedResultNotify {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10945; CMD_ID = 10945;
} }
enum Reason { enum Reason {
SUCC = 0; SUCC = 0;
HOST_UNIT_QUIT = 1; HOST_UNIT_QUIT = 1;
} }
MatchType match_type = 1; MatchType match_type = 1;
uint32 host_unit_id = 2; uint32 host_unit_id = 2;
Reason reason = 3; Reason reason = 3;
} }
message HostUnitMatchSuccNotify { message HostUnitMatchSuccNotify {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10941; CMD_ID = 10941;
} }
uint32 match_type = 1; uint32 match_type = 1;
uint32 dungeon_id = 11; uint32 dungeon_id = 11;
uint32 mp_play_id = 12; uint32 mp_play_id = 12;
uint32 mechanicus_difficult_level = 13; uint32 mechanicus_difficult_level = 13;
} }
message SyncMatchUnitReq { message SyncMatchUnitReq {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10942; CMD_ID = 10942;
} }
MatchType match_type = 1; MatchType match_type = 1;
MatchUnit match_unit = 2; MatchUnit match_unit = 2;
} }
message SyncMatchUnitRsp { message SyncMatchUnitRsp {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10914; CMD_ID = 10914;
} }
int32 retcode = 1; int32 retcode = 1;
} }
message MatchserverWorkloadInfoNotify { message MatchserverWorkloadInfoNotify {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10947; CMD_ID = 10947;
} }
uint32 match_unit_num = 1; uint32 match_unit_num = 1;
map<uint32, uint32> match_unit_map = 2; map<uint32, uint32> match_unit_map = 2;
} }
message MatchPlayerUpdateNotify { message MatchPlayerUpdateNotify {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10937; CMD_ID = 10937;
} }
MatchType match_type = 1; MatchType match_type = 1;
uint32 unit_id = 2; uint32 unit_id = 2;
MatchPlayer match_player = 3; MatchPlayer match_player = 3;
} }
message MatchIdentityNotify { message MatchIdentityNotify {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10923; CMD_ID = 10923;
} }
MatchType match_type = 1; MatchType match_type = 1;
MatchIdentity match_identity = 2; MatchIdentity match_identity = 2;
} }
message GeneralMatchFinishNotify { message GeneralMatchFinishNotify {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10935; CMD_ID = 10935;
} }
MatchType match_type = 1; MatchType match_type = 1;
uint32 match_id = 2; uint32 match_id = 2;
uint32 match_param = 3; uint32 match_param = 3;
repeated MatchPlayer match_player_list = 4; repeated MatchPlayer match_player_list = 4;
} }
@@ -2,174 +2,174 @@ syntax = "proto3";
package proto; package proto;
option go_package = "./;proto";
import "define.proto"; import "define.proto";
import "server_only/config.server.proto"; import "server_only/config.server.proto";
option go_package = "./;proto";
message StopServerConfigNotify { message StopServerConfigNotify {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10072; CMD_ID = 10072;
} }
} }
message NodeserverConnectedAndRegisteredNotify { message NodeserverConnectedAndRegisteredNotify {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10098; CMD_ID = 10098;
} }
uint32 nodeserver_id = 1; uint32 nodeserver_id = 1;
} }
message MultiPlayerMsg { message MultiPlayerMsg {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10012; CMD_ID = 10012;
} }
repeated uint32 uid_list = 1; repeated uint32 uid_list = 1;
bytes proto_bin = 2; bytes proto_bin = 2;
} }
message AddGateserverNotify { message AddGateserverNotify {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10035; CMD_ID = 10035;
} }
uint32 listen_port = 1; uint32 listen_port = 1;
uint32 outer_ip = 2; uint32 outer_ip = 2;
bool use_domain_name = 3; bool use_domain_name = 3;
string domain_name = 4; string domain_name = 4;
} }
message RegisterServiceNotify { message RegisterServiceNotify {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10007; CMD_ID = 10007;
} }
repeated ServiceType service_type_list = 1; repeated ServiceType service_type_list = 1;
} }
message PlayerTransferNotify { message PlayerTransferNotify {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10021; CMD_ID = 10021;
} }
uint32 transfer_uid = 1; uint32 transfer_uid = 1;
uint32 target_uid = 2; uint32 target_uid = 2;
uint32 target_home_owner_uid = 3; uint32 target_home_owner_uid = 3;
uint32 target_home_gameserver_id = 4; uint32 target_home_gameserver_id = 4;
uint32 target_home_param = 5; uint32 target_home_param = 5;
} }
message PacketCountInfo { message PacketCountInfo {
uint32 cmd_id = 1; uint32 cmd_id = 1;
uint32 count = 2; uint32 count = 2;
} }
message PacketFreqencyExceedNotify { message PacketFreqencyExceedNotify {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10003; CMD_ID = 10003;
} }
uint32 packet_count = 1; uint32 packet_count = 1;
uint32 interval = 2; uint32 interval = 2;
repeated PacketCountInfo packet_count_list = 3; repeated PacketCountInfo packet_count_list = 3;
} }
message SceneAsyncLoadGroupBatchNotify { message SceneAsyncLoadGroupBatchNotify {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10090; CMD_ID = 10090;
} }
} }
message CrcVersionConfig { message CrcVersionConfig {
repeated string client_version_list = 1; repeated string client_version_list = 1;
} }
message ClientVersionSyncNotify { message ClientVersionSyncNotify {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10073; CMD_ID = 10073;
} }
DataVersionConfig data_version_config = 1; DataVersionConfig data_version_config = 1;
map<uint32, ResVersionConfig> res_version_config_map = 2; map<uint32, ResVersionConfig> res_version_config_map = 2;
map<uint32, CrcVersionConfig> crc_version_config_map = 3; map<uint32, CrcVersionConfig> crc_version_config_map = 3;
map<uint32, ResVersionConfig> next_res_version_config_map = 4; map<uint32, ResVersionConfig> next_res_version_config_map = 4;
} }
message RegisterServiceSuccessNotify { message RegisterServiceSuccessNotify {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10099; CMD_ID = 10099;
} }
} }
message ReloadConfigNotify { message ReloadConfigNotify {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10031; CMD_ID = 10031;
} }
} }
message MultiserverServiceTypeNotify { message MultiserverServiceTypeNotify {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10075; CMD_ID = 10075;
} }
repeated ServiceType service_type_list = 1; repeated ServiceType service_type_list = 1;
} }
message MatchServiceStopNotify { message MatchServiceStopNotify {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10048; CMD_ID = 10048;
} }
uint32 server_id = 1; uint32 server_id = 1;
} }
message MatchServiceStopImplementNotify { message MatchServiceStopImplementNotify {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10097; CMD_ID = 10097;
} }
MatchServiceStopNotify msg = 1; MatchServiceStopNotify msg = 1;
} }
message ServerBlockPlayerMpNotify { message ServerBlockPlayerMpNotify {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10081; CMD_ID = 10081;
} }
bool is_unlock = 1; bool is_unlock = 1;
uint32 end_time = 2; uint32 end_time = 2;
} }
message ServerBlockPlayerChatNotify { message ServerBlockPlayerChatNotify {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10005; CMD_ID = 10005;
} }
bool is_unlock = 1; bool is_unlock = 1;
uint32 end_time = 2; uint32 end_time = 2;
} }
message ServerCheckSegmentCrcNotify { message ServerCheckSegmentCrcNotify {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10082; CMD_ID = 10082;
} }
} }
@@ -2,69 +2,69 @@ syntax = "proto3";
package proto; package proto;
option go_package = "./;proto";
import "define.proto"; import "define.proto";
message UpdateMpStatusNotify { option go_package = "./;proto";
enum CmdId {
NONE = 0;
CMD_ID = 10472;
}
uint32 uid = 1; message UpdateMpStatusNotify {
bool is_only_mp_with_ps_player = 2; enum CmdId {
PlatformType platform_type = 3; NONE = 0;
OnlinePlayerInfo online_player_info = 4; CMD_ID = 10472;
}
uint32 uid = 1;
bool is_only_mp_with_ps_player = 2;
PlatformType platform_type = 3;
OnlinePlayerInfo online_player_info = 4;
} }
message DelMpStatusNotify { message DelMpStatusNotify {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10498; CMD_ID = 10498;
} }
uint32 uid = 1; uint32 uid = 1;
} }
message GetPlayerMpStatusListReq { message GetPlayerMpStatusListReq {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10412; CMD_ID = 10412;
} }
} }
message GetPlayerMpStatusListRsp { message GetPlayerMpStatusListRsp {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10435; CMD_ID = 10435;
} }
int32 retcode = 1; int32 retcode = 1;
repeated OnlinePlayerInfo player_list = 2; repeated OnlinePlayerInfo player_list = 2;
} }
message GetPlayerMpStatusInfoReq { message GetPlayerMpStatusInfoReq {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10407; CMD_ID = 10407;
} }
bool is_online_id = 1; bool is_online_id = 1;
oneof player_id { oneof player_id {
uint32 target_uid = 2; uint32 target_uid = 2;
string online_id = 3; string online_id = 3;
string psn_id = 4; string psn_id = 4;
} }
} }
message GetPlayerMpStatusInfoRsp { message GetPlayerMpStatusInfoRsp {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10421; CMD_ID = 10421;
} }
int32 retcode = 1; int32 retcode = 1;
uint32 target_uid = 2; uint32 target_uid = 2;
OnlinePlayerInfo target_player_info = 3; OnlinePlayerInfo target_player_info = 3;
} }
@@ -2,370 +2,370 @@ syntax = "proto3";
package proto; package proto;
option go_package = "./;proto";
import "define.proto"; import "define.proto";
option go_package = "./;proto";
enum PlayerMemDataType { enum PlayerMemDataType {
MEM_DATA_BASIC = 0; MEM_DATA_BASIC = 0;
MEM_DATA_H5_ACTIVITY = 1; MEM_DATA_H5_ACTIVITY = 1;
} }
message OnlinePlayerNumReq { message OnlinePlayerNumReq {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10272; CMD_ID = 10272;
} }
} }
message OnlinePlayerNumRsp { message OnlinePlayerNumRsp {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10298; CMD_ID = 10298;
} }
int32 retcode = 1; int32 retcode = 1;
uint32 online_player_num = 2; uint32 online_player_num = 2;
map<uint32, uint32> gameserver_player_num_map = 3; map<uint32, uint32> gameserver_player_num_map = 3;
uint32 online_player_num_except_sub_account = 4; uint32 online_player_num_except_sub_account = 4;
} }
message KickoutPlayerNotify { message KickoutPlayerNotify {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10212; CMD_ID = 10212;
} }
uint32 reason = 1; uint32 reason = 1;
} }
message CheckOnlinePlayerReq { message CheckOnlinePlayerReq {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10235; CMD_ID = 10235;
} }
uint32 gameserver_id = 1; uint32 gameserver_id = 1;
uint32 ns_gameserver_id = 2; uint32 ns_gameserver_id = 2;
} }
message CheckOnlinePlayerRsp { message CheckOnlinePlayerRsp {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10207; CMD_ID = 10207;
} }
message NodeStatus { message NodeStatus {
uint32 gameserver_id = 1; uint32 gameserver_id = 1;
uint32 nodeserver_id = 2; uint32 nodeserver_id = 2;
} }
message GameStatus { message GameStatus {
uint32 gameserver_id = 1; uint32 gameserver_id = 1;
uint32 login_time = 2; uint32 login_time = 2;
uint64 login_rand = 3; uint64 login_rand = 3;
bool is_wait_save = 4; bool is_wait_save = 4;
} }
int32 retcode = 1; int32 retcode = 1;
NodeStatus node_status = 2; NodeStatus node_status = 2;
GameStatus game_status = 3; GameStatus game_status = 3;
} }
message PlayerCombatForceReq { message PlayerCombatForceReq {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10221; CMD_ID = 10221;
} }
} }
message PlayerCombatForceRsp { message PlayerCombatForceRsp {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10203; CMD_ID = 10203;
} }
int32 retcode = 1; int32 retcode = 1;
float player_combat_force = 2; float player_combat_force = 2;
map<uint32, float> player_combat_force_map = 3; map<uint32, float> player_combat_force_map = 3;
} }
message CheckGameVersionReq { message CheckGameVersionReq {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10290; CMD_ID = 10290;
} }
uint32 server_version = 1; uint32 server_version = 1;
uint32 client_version = 2; uint32 client_version = 2;
uint32 client_silence_version = 3; uint32 client_silence_version = 3;
map<uint32, uint32> res_version_map = 4; map<uint32, uint32> res_version_map = 4;
map<uint32, uint32> next_res_version_map = 5; map<uint32, uint32> next_res_version_map = 5;
} }
message GameVersionResult { message GameVersionResult {
uint32 version = 1; uint32 version = 1;
uint32 wrong_num = 2; uint32 wrong_num = 2;
repeated uint32 wrong_name_list = 3; repeated uint32 wrong_name_list = 3;
} }
message CheckGameVersionRsp { message CheckGameVersionRsp {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10273; CMD_ID = 10273;
} }
int32 retcode = 1; int32 retcode = 1;
uint32 total_game = 2; uint32 total_game = 2;
GameVersionResult server_version_result = 3; GameVersionResult server_version_result = 3;
GameVersionResult client_version_result = 4; GameVersionResult client_version_result = 4;
GameVersionResult client_silence_version_result = 5; GameVersionResult client_silence_version_result = 5;
map<uint32, GameVersionResult> res_version_result_map = 6; map<uint32, GameVersionResult> res_version_result_map = 6;
map<uint32, GameVersionResult> next_res_version_result_map = 7; map<uint32, GameVersionResult> next_res_version_result_map = 7;
} }
message PlatformPlayerNumReq { message PlatformPlayerNumReq {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10299; CMD_ID = 10299;
} }
} }
message PlatformPlayerNumRsp { message PlatformPlayerNumRsp {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10231; CMD_ID = 10231;
} }
int32 retcode = 1; int32 retcode = 1;
uint32 online_player_num = 2; uint32 online_player_num = 2;
map<uint32, uint32> platform_player_num_map = 3; map<uint32, uint32> platform_player_num_map = 3;
} }
message PlayerMemBasicData { message PlayerMemBasicData {
string nickname = 1; string nickname = 1;
uint32 level = 2; uint32 level = 2;
uint32 exp = 3; uint32 exp = 3;
uint32 scoin = 4; uint32 scoin = 4;
uint32 hcoin = 5; uint32 hcoin = 5;
uint32 last_login = 6; uint32 last_login = 6;
ProfilePicture profile_picture = 7; ProfilePicture profile_picture = 7;
fixed32 register_time = 8; fixed32 register_time = 8;
uint32 gender_type = 9; uint32 gender_type = 9;
} }
message PlayerMemH5AcitivityWatcherData { message PlayerMemH5AcitivityWatcherData {
uint32 h5_activity_watcher_id = 1; uint32 h5_activity_watcher_id = 1;
uint32 progress = 2; uint32 progress = 2;
} }
message PlayerMemH5ActivityData { message PlayerMemH5ActivityData {
uint32 h5_schedule_id = 1; uint32 h5_schedule_id = 1;
uint32 h5_activity_id = 2; uint32 h5_activity_id = 2;
uint32 last_refresh_time = 3; uint32 last_refresh_time = 3;
repeated uint32 finished_h5_activity_watcher_list = 4; repeated uint32 finished_h5_activity_watcher_list = 4;
repeated uint32 unaccept_h5_activity_watcher_list = 5; repeated uint32 unaccept_h5_activity_watcher_list = 5;
repeated PlayerMemH5AcitivityWatcherData h5_activity_watcher_list = 6; repeated PlayerMemH5AcitivityWatcherData h5_activity_watcher_list = 6;
} }
message PlayerMemH5ActivityDataResult { message PlayerMemH5ActivityDataResult {
map<uint32, int32> retcode_map = 1; map<uint32, int32> retcode_map = 1;
repeated PlayerMemH5ActivityData h5_activity_data_list = 2; repeated PlayerMemH5ActivityData h5_activity_data_list = 2;
} }
message QueryPlayerMemDataByMuipReq { message QueryPlayerMemDataByMuipReq {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10275; CMD_ID = 10275;
} }
uint32 data_type = 1; uint32 data_type = 1;
repeated uint32 param_list = 2; repeated uint32 param_list = 2;
} }
message QueryPlayerMemDataByMuipRsp { message QueryPlayerMemDataByMuipRsp {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10248; CMD_ID = 10248;
} }
int32 retcode = 1; int32 retcode = 1;
oneof detail { oneof detail {
PlayerMemBasicData basic_data = 2; PlayerMemBasicData basic_data = 2;
PlayerMemH5ActivityDataResult h5_activity_data_result = 3; PlayerMemH5ActivityDataResult h5_activity_data_result = 3;
} }
} }
message BindGmUidNotify { message BindGmUidNotify {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10297; CMD_ID = 10297;
} }
uint32 gm_uid = 1; uint32 gm_uid = 1;
uint32 player_uid = 2; uint32 player_uid = 2;
} }
message UnbindGmUidNotify { message UnbindGmUidNotify {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10281; CMD_ID = 10281;
} }
uint32 gm_uid = 1; uint32 gm_uid = 1;
} }
message GetBindGmUidReq { message GetBindGmUidReq {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10205; CMD_ID = 10205;
} }
} }
message GetBindGmUidRsp { message GetBindGmUidRsp {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10282; CMD_ID = 10282;
} }
int32 retcode = 1; int32 retcode = 1;
map<uint32, uint32> gm_uid_map = 2; map<uint32, uint32> gm_uid_map = 2;
} }
message PlatformAntiAddictNotify { message PlatformAntiAddictNotify {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10247; CMD_ID = 10247;
} }
int32 msg_type = 2; int32 msg_type = 2;
string msg = 3; string msg = 3;
string level = 4; string level = 4;
} }
message PlayerLoginPerSecondReq { message PlayerLoginPerSecondReq {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10239; CMD_ID = 10239;
} }
} }
message PlayerLoginPerSecondRsp { message PlayerLoginPerSecondRsp {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10253; CMD_ID = 10253;
} }
int32 retcode = 1; int32 retcode = 1;
uint32 player_login_per_second = 2; uint32 player_login_per_second = 2;
} }
message FineGrainedPlayerNumReq { message FineGrainedPlayerNumReq {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10222; CMD_ID = 10222;
} }
} }
message FineGrainedPlayerNumRsp { message FineGrainedPlayerNumRsp {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10265; CMD_ID = 10265;
} }
int32 retcode = 1; int32 retcode = 1;
uint32 online_player_num = 2; uint32 online_player_num = 2;
map<string, uint32> fine_grained_player_num_map = 3; map<string, uint32> fine_grained_player_num_map = 3;
} }
message CheckGameCrcVersionReq { message CheckGameCrcVersionReq {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10204; CMD_ID = 10204;
} }
uint32 platform = 1; uint32 platform = 1;
string client_version_str = 2; string client_version_str = 2;
} }
message CheckGameCrcVersionRsp { message CheckGameCrcVersionRsp {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10293; CMD_ID = 10293;
} }
int32 retcode = 1; int32 retcode = 1;
uint32 total_game = 2; uint32 total_game = 2;
uint32 platform = 3; uint32 platform = 3;
string client_version_str = 4; string client_version_str = 4;
uint32 wrong_num = 5; uint32 wrong_num = 5;
repeated uint32 wrong_name_list = 6; repeated uint32 wrong_name_list = 6;
} }
message UpdateRedPointByMuipNotify { message UpdateRedPointByMuipNotify {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10227; CMD_ID = 10227;
} }
repeated RedPointData red_point_list = 1; repeated RedPointData red_point_list = 1;
} }
message SendConcertProductReq { message SendConcertProductReq {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10294; CMD_ID = 10294;
} }
string ticket = 1; string ticket = 1;
uint32 config_id = 2; uint32 config_id = 2;
} }
message SendConcertProductRsp { message SendConcertProductRsp {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10288; CMD_ID = 10288;
} }
int32 retcode = 1; int32 retcode = 1;
string ticket = 2; string ticket = 2;
uint32 config_id = 3; uint32 config_id = 3;
} }
message QueryConcertProductInfoReq { message QueryConcertProductInfoReq {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10226; CMD_ID = 10226;
} }
uint32 config_id = 1; uint32 config_id = 1;
} }
message QueryConcertProductInfoRsp { message QueryConcertProductInfoRsp {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10263; CMD_ID = 10263;
} }
int32 retcode = 1; int32 retcode = 1;
uint32 config_id = 2; uint32 config_id = 2;
uint32 obtain_count = 3; uint32 obtain_count = 3;
uint32 obtain_limit = 4; uint32 obtain_limit = 4;
} }
message PlayerMpModeReq { message PlayerMpModeReq {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10295; CMD_ID = 10295;
} }
} }
message PlayerMpModeRsp { message PlayerMpModeRsp {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10206; CMD_ID = 10206;
} }
int32 retcode = 1; int32 retcode = 1;
bool is_mp_mode = 2; bool is_mp_mode = 2;
} }
@@ -2,133 +2,133 @@ syntax = "proto3";
package proto; package proto;
option go_package = "./;proto";
import "server_only/bin_common.server.proto"; import "server_only/bin_common.server.proto";
option go_package = "./;proto";
message OfflineOpDefaultContext { message OfflineOpDefaultContext {
uint32 tag = 1; uint32 tag = 1;
} }
message OfflineOpPlantFlowerActivityGiveFlowerContext { message OfflineOpPlantFlowerActivityGiveFlowerContext {
uint32 uid = 1; uint32 uid = 1;
map<uint32, uint32> flower_num_map = 2; map<uint32, uint32> flower_num_map = 2;
} }
message GCGSettleContext { message GCGSettleContext {
uint32 uid = 1; uint32 uid = 1;
uint32 game_id = 2; uint32 game_id = 2;
uint32 game_uid = 3; uint32 game_uid = 3;
} }
message OfflineOpContext { message OfflineOpContext {
oneof context { oneof context {
OfflineOpDefaultContext default_context = 1; OfflineOpDefaultContext default_context = 1;
OfflineOpPlantFlowerActivityGiveFlowerContext plant_flower_give_flower_context = 2; OfflineOpPlantFlowerActivityGiveFlowerContext plant_flower_give_flower_context = 2;
} }
} }
message OfflineOpData { message OfflineOpData {
OfflineOpBin bin = 1; OfflineOpBin bin = 1;
OfflineOpContext context = 2; OfflineOpContext context = 2;
uint32 max_length = 3; uint32 max_length = 3;
} }
message SendOfflineOpReq { message SendOfflineOpReq {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12226; CMD_ID = 12226;
} }
uint32 uid = 1; uint32 uid = 1;
fixed32 time = 2; fixed32 time = 2;
OfflineOpType op_type = 3; OfflineOpType op_type = 3;
OfflineOpData op_data = 4; OfflineOpData op_data = 4;
} }
message SendOfflineOpRsp { message SendOfflineOpRsp {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12218; CMD_ID = 12218;
} }
int32 retcode = 1; int32 retcode = 1;
uint32 index = 2; uint32 index = 2;
OfflineOpType op_type = 3; OfflineOpType op_type = 3;
OfflineOpContext context = 4; OfflineOpContext context = 4;
} }
message GetOfflineOpReq { message GetOfflineOpReq {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12225; CMD_ID = 12225;
} }
OfflineOpType op_type = 1; OfflineOpType op_type = 1;
uint32 index = 2; uint32 index = 2;
} }
message GetOfflineOpRsp { message GetOfflineOpRsp {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12207; CMD_ID = 12207;
} }
int32 retcode = 1; int32 retcode = 1;
repeated bytes bin_str_list = 2; repeated bytes bin_str_list = 2;
} }
message NewOfflineOpNotify { message NewOfflineOpNotify {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12202; CMD_ID = 12202;
} }
OfflineOpType op_type = 1; OfflineOpType op_type = 1;
uint32 index = 2; uint32 index = 2;
} }
message RemoveOfflineOpReq { message RemoveOfflineOpReq {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12231; CMD_ID = 12231;
} }
OfflineOpType op_type = 1; OfflineOpType op_type = 1;
uint32 index = 2; uint32 index = 2;
} }
message RemoveOfflineOpRsp { message RemoveOfflineOpRsp {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12229; CMD_ID = 12229;
} }
int32 retcode = 1; int32 retcode = 1;
OfflineOpType op_type = 2; OfflineOpType op_type = 2;
uint32 index = 3; uint32 index = 3;
} }
message SendGCGOfflineOpReq { message SendGCGOfflineOpReq {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12222; CMD_ID = 12222;
} }
uint32 uid = 1; uint32 uid = 1;
fixed32 time = 2; fixed32 time = 2;
OfflineOpType op_type = 3; OfflineOpType op_type = 3;
OfflineOpData op_data = 4; OfflineOpData op_data = 4;
} }
message SendGCGOfflineOpRsp { message SendGCGOfflineOpRsp {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 12244; CMD_ID = 12244;
} }
int32 retcode = 1; int32 retcode = 1;
uint32 index = 2; uint32 index = 2;
OfflineOpType op_type = 3; OfflineOpType op_type = 3;
OfflineOpContext context = 4; OfflineOpContext context = 4;
} }
@@ -2,143 +2,143 @@ syntax = "proto3";
package proto; package proto;
import "define.proto";
import "server_only/bin.server.proto";
option go_package = "./;proto"; option go_package = "./;proto";
import "server_only/bin.server.proto";
import "define.proto";
message SavePlayerDataReq { message SavePlayerDataReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 10198; CMD_ID = 10198;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
PlayerData player_data = 1; PlayerData player_data = 1;
uint32 save_stat_id = 2; uint32 save_stat_id = 2;
} }
message SavePlayerDataRsp { message SavePlayerDataRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 10112; CMD_ID = 10112;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 1; int32 retcode = 1;
uint32 data_version = 2; uint32 data_version = 2;
uint32 save_stat_id = 3; uint32 save_stat_id = 3;
} }
message PlayerOnlineStatusInfo { message PlayerOnlineStatusInfo {
enum StatusType { enum StatusType {
ONLINE = 0; ONLINE = 0;
OFFLINE = 1; OFFLINE = 1;
} }
uint32 uid = 1; uint32 uid = 1;
uint32 platform_type = 2; uint32 platform_type = 2;
StatusType online_status = 3; StatusType online_status = 3;
bool is_sub_account = 4; bool is_sub_account = 4;
string country_code = 5; string country_code = 5;
} }
message PlayerOnlineStatusNotify { message PlayerOnlineStatusNotify {
enum Enum { enum Enum {
NONE = 0; NONE = 0;
CMD_ID = 10135; CMD_ID = 10135;
} }
repeated PlayerOnlineStatusInfo player_info_list = 1; repeated PlayerOnlineStatusInfo player_info_list = 1;
} }
message ServiceDisconnectNotify { message ServiceDisconnectNotify {
enum Enum { enum Enum {
NONE = 0; NONE = 0;
CMD_ID = 10103; CMD_ID = 10103;
} }
ServiceType type = 1; ServiceType type = 1;
uint32 ip = 2; uint32 ip = 2;
} }
message PlayerDisconnectNotify { message PlayerDisconnectNotify {
enum Enum { enum Enum {
NONE = 0; NONE = 0;
CMD_ID = 10190; CMD_ID = 10190;
} }
uint32 data = 1; uint32 data = 1;
} }
message DisconnectClientNotify { message DisconnectClientNotify {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10173; CMD_ID = 10173;
} }
uint32 data = 1; uint32 data = 1;
} }
message SysCreateGroupReq { message SysCreateGroupReq {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10199; CMD_ID = 10199;
} }
} }
message SaveBlockDataReq { message SaveBlockDataReq {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 10131; CMD_ID = 10131;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
map<uint32, BlockInfo> block_info_map = 1; map<uint32, BlockInfo> block_info_map = 1;
} }
message SaveBlockDataRsp { message SaveBlockDataRsp {
enum CmdId { enum CmdId {
option allow_alias = true; option allow_alias = true;
NONE = 0; NONE = 0;
CMD_ID = 10175; CMD_ID = 10175;
ENET_CHANNEL_ID = 0; ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1; ENET_IS_RELIABLE = 1;
} }
int32 retcode = 1; int32 retcode = 1;
map<uint32, uint32> block_succ_save_map = 2; map<uint32, uint32> block_succ_save_map = 2;
} }
message SavePlayerExtraBinDataNotify { message SavePlayerExtraBinDataNotify {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10148; CMD_ID = 10148;
} }
uint32 uid = 1; uint32 uid = 1;
bytes player_extra_bin_data = 2; bytes player_extra_bin_data = 2;
} }
message SysSavePlayerNotify { message SysSavePlayerNotify {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10197; CMD_ID = 10197;
} }
} }
message PlayerLoginBlockInfoNotify { message PlayerLoginBlockInfoNotify {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10181; CMD_ID = 10181;
} }
uint64 login_rand = 1; uint64 login_rand = 1;
map<uint32, BlockInfo> block_info_map = 2; map<uint32, BlockInfo> block_info_map = 2;
} }
@@ -5,94 +5,94 @@ package proto;
option go_package = "./;proto"; option go_package = "./;proto";
message Order { message Order {
uint32 id = 1; uint32 id = 1;
uint32 uid = 2; uint32 uid = 2;
string product_id = 3; string product_id = 3;
string product_name = 4; string product_name = 4;
uint32 product_num = 5; uint32 product_num = 5;
uint32 coin_num = 6; uint32 coin_num = 6;
string total_fee = 7; string total_fee = 7;
string currency = 8; string currency = 8;
string price_tier = 9; string price_tier = 9;
string trade_no = 10; string trade_no = 10;
uint32 trade_time = 11; uint32 trade_time = 11;
uint32 channel_id = 12; uint32 channel_id = 12;
string channel_order_no = 13; string channel_order_no = 13;
string pay_plat = 14; string pay_plat = 14;
string extend = 15; string extend = 15;
uint32 create_time = 16; uint32 create_time = 16;
string bonus = 17; string bonus = 17;
uint32 bonus_num = 18; uint32 bonus_num = 18;
uint32 vip_point_num = 19; uint32 vip_point_num = 19;
string pay_type = 20; string pay_type = 20;
string pay_vendor = 21; string pay_vendor = 21;
string client_type = 22; string client_type = 22;
string device = 23; string device = 23;
string client_ip = 24; string client_ip = 24;
} }
message RechargeOrderNotify { message RechargeOrderNotify {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10726; CMD_ID = 10726;
} }
Order order = 1; Order order = 1;
} }
message MarkOrderFinishedReq { message MarkOrderFinishedReq {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10718; CMD_ID = 10718;
} }
uint32 order_id = 1; uint32 order_id = 1;
uint32 finish_time = 2; uint32 finish_time = 2;
bool is_retry = 3; bool is_retry = 3;
} }
message MarkOrderFinishedRsp { message MarkOrderFinishedRsp {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10725; CMD_ID = 10725;
} }
int32 retcode = 1; int32 retcode = 1;
uint32 order_id = 2; uint32 order_id = 2;
} }
message GetUnfinishedOrderReq { message GetUnfinishedOrderReq {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10707; CMD_ID = 10707;
} }
} }
message GetUnfinishedOrderRsp { message GetUnfinishedOrderRsp {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10702; CMD_ID = 10702;
} }
int32 retcode = 1; int32 retcode = 1;
repeated Order order_list = 2; repeated Order order_list = 2;
} }
message GetSpecificUnfinishedReq { message GetSpecificUnfinishedReq {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10731; CMD_ID = 10731;
} }
uint32 order_id = 1; uint32 order_id = 1;
} }
message GetSpecificUnfinishedRsp { message GetSpecificUnfinishedRsp {
enum CmdId { enum CmdId {
NONE = 0; NONE = 0;
CMD_ID = 10729; CMD_ID = 10729;
} }
int32 retcode = 1; int32 retcode = 1;
Order order = 2; Order order = 2;
} }
@@ -5,44 +5,44 @@ package proto_security;
option go_package = "./;proto"; option go_package = "./;proto";
enum Platform { enum Platform {
Unkown = 0; Unkown = 0;
IOS = 1; IOS = 1;
Android = 2; Android = 2;
PC = 3; PC = 3;
WEB = 4; WEB = 4;
WAP = 5; WAP = 5;
PS = 6; PS = 6;
Nintendo = 7; Nintendo = 7;
CloudAndroid = 8; CloudAndroid = 8;
CloudPC = 9; CloudPC = 9;
CloudIOS = 10; CloudIOS = 10;
PS5 = 11; PS5 = 11;
} }
message GameLoginNotifyRequest { message GameLoginNotifyRequest {
uint32 uid = 1; uint32 uid = 1;
uint32 account_type = 2; uint32 account_type = 2;
string account = 3; string account = 3;
uint32 platform = 4; uint32 platform = 4;
string region = 5; string region = 5;
string biz_game = 6; string biz_game = 6;
} }
message GameLogoutNotifyRequest { message GameLogoutNotifyRequest {
uint32 uid = 1; uint32 uid = 1;
uint32 account_type = 2; uint32 account_type = 2;
string account = 3; string account = 3;
uint32 platform = 4; uint32 platform = 4;
string region = 5; string region = 5;
string biz_game = 6; string biz_game = 6;
} }
message GameHeartBeatInfo { message GameHeartBeatInfo {
repeated uint32 uid = 1; repeated uint32 uid = 1;
} }
message GameHeartBeatNotifyRequest { message GameHeartBeatNotifyRequest {
map<uint32, GameHeartBeatInfo> platform_uid_list = 1; map<uint32, GameHeartBeatInfo> platform_uid_list = 1;
string region = 2; string region = 2;
string biz_game = 3; string biz_game = 3;
} }
File diff suppressed because it is too large Load Diff
@@ -5,106 +5,106 @@ package proto;
option go_package = "./;proto"; option go_package = "./;proto";
message Timestamp { message Timestamp {
int64 seconds = 1; int64 seconds = 1;
int32 nanos = 2; int32 nanos = 2;
} }
message StopServerConfig { message StopServerConfig {
Timestamp begin_time = 1; Timestamp begin_time = 1;
Timestamp end_time = 2; Timestamp end_time = 2;
string url = 3; string url = 3;
uint32 text_id = 4; uint32 text_id = 4;
uint32 content_text_id = 5; uint32 content_text_id = 5;
} }
message StopRegisterConfig { message StopRegisterConfig {
Timestamp begin_time = 1; Timestamp begin_time = 1;
Timestamp end_time = 2; Timestamp end_time = 2;
uint32 max_player_num = 3; uint32 max_player_num = 3;
} }
message ForceUpdateConfig { message ForceUpdateConfig {
string url = 1; string url = 1;
uint32 text_id = 2; uint32 text_id = 2;
} }
message DateTimeIntervalConfig { message DateTimeIntervalConfig {
Timestamp begin_time = 1; Timestamp begin_time = 1;
Timestamp end_time = 2; Timestamp end_time = 2;
uint32 text_id = 3; uint32 text_id = 3;
} }
message DataVersionConfig { message DataVersionConfig {
enum DataVersionType { enum DataVersionType {
SERVER = 0; SERVER = 0;
CLIENT = 1; CLIENT = 1;
CLIENT_SILENCE = 2; CLIENT_SILENCE = 2;
} }
uint32 server = 1; uint32 server = 1;
uint32 client = 2; uint32 client = 2;
uint32 client_silence = 3; uint32 client_silence = 3;
map<string, string> client_md5 = 4; map<string, string> client_md5 = 4;
map<uint32, string> client_platform_md5 = 5; map<uint32, string> client_platform_md5 = 5;
map<string, string> client_silence_md5 = 6; map<string, string> client_silence_md5 = 6;
map<uint32, string> client_silence_platform_md5 = 7; map<uint32, string> client_silence_platform_md5 = 7;
string client_version_suffix = 8; string client_version_suffix = 8;
string client_silence_version_suffix = 9; string client_silence_version_suffix = 9;
bool relogin = 10; bool relogin = 10;
bool mp_relogin = 11; bool mp_relogin = 11;
bool gcg_forbid_relogin = 12; bool gcg_forbid_relogin = 12;
} }
message SdkAccountReqConfig { message SdkAccountReqConfig {
uint32 app_id = 1; uint32 app_id = 1;
uint32 channel_id = 2; uint32 channel_id = 2;
string open_id = 3; string open_id = 3;
string combo_token = 4; string combo_token = 4;
string sign = 5; string sign = 5;
string region = 6; string region = 6;
} }
message GachaUpConfig { message GachaUpConfig {
uint32 item_parent_type = 1; uint32 item_parent_type = 1;
uint32 prob = 2; uint32 prob = 2;
repeated uint32 item_list = 3; repeated uint32 item_list = 3;
} }
message DbGachaUpConfig { message DbGachaUpConfig {
repeated GachaUpConfig gacha_up_list = 1; repeated GachaUpConfig gacha_up_list = 1;
} }
message DbGachaRuleConfig { message DbGachaRuleConfig {
repeated uint32 gacha_rule_list = 1; repeated uint32 gacha_rule_list = 1;
} }
message AntiCheatConfig { message AntiCheatConfig {
bool is_segment_crc_valid = 1; bool is_segment_crc_valid = 1;
} }
message GameplayRecommendationSkillConfig { message GameplayRecommendationSkillConfig {
repeated uint32 skill_id_list = 1; repeated uint32 skill_id_list = 1;
} }
message GameplayRecommendationReliquaryMainPropConfig { message GameplayRecommendationReliquaryMainPropConfig {
uint32 main_prop_id = 1; uint32 main_prop_id = 1;
uint32 permillage = 2; uint32 permillage = 2;
} }
message GameplayRecommendationReliquaryConfig { message GameplayRecommendationReliquaryConfig {
repeated GameplayRecommendationReliquaryMainPropConfig main_prop_config_list = 1; repeated GameplayRecommendationReliquaryMainPropConfig main_prop_config_list = 1;
} }
message GameplayRecommendationReliquaryMapConfig { message GameplayRecommendationReliquaryMapConfig {
map<uint32, GameplayRecommendationReliquaryConfig> reliquary_config_map = 1; map<uint32, GameplayRecommendationReliquaryConfig> reliquary_config_map = 1;
} }
message GameplayRecommendationAvatarConfig { message GameplayRecommendationAvatarConfig {
map<uint32, GameplayRecommendationSkillConfig> skill_config_map = 1; map<uint32, GameplayRecommendationSkillConfig> skill_config_map = 1;
map<uint32, GameplayRecommendationReliquaryConfig> reliquary_config_map = 2; map<uint32, GameplayRecommendationReliquaryConfig> reliquary_config_map = 2;
map<uint32, GameplayRecommendationReliquaryMapConfig> element_reliquary_config_map = 3; map<uint32, GameplayRecommendationReliquaryMapConfig> element_reliquary_config_map = 3;
} }
message GameplayRecommendationConfig { message GameplayRecommendationConfig {
map<uint32, GameplayRecommendationAvatarConfig> avatar_config_map = 1; map<uint32, GameplayRecommendationAvatarConfig> avatar_config_map = 1;
} }
File diff suppressed because it is too large Load Diff
@@ -3,46 +3,46 @@ syntax = "proto3";
package proto_log; package proto_log;
enum AntiCheatActionType { enum AntiCheatActionType {
ANTI_CHEAT_ACTION_NONE = 0; ANTI_CHEAT_ACTION_NONE = 0;
ANTI_CHEAT_ACTION_AI_HASH = 1; ANTI_CHEAT_ACTION_AI_HASH = 1;
ANTI_CHEAT_ACTION_MTP = 2; ANTI_CHEAT_ACTION_MTP = 2;
ANTI_CHEAT_ACTION_CHECKSUM_INVALID = 3; ANTI_CHEAT_ACTION_CHECKSUM_INVALID = 3;
ANTI_CHEAT_SKILL_CD_WRONG = 4; ANTI_CHEAT_SKILL_CD_WRONG = 4;
ANTI_CHEAT_ACTION_MOVE_SPEED_OVER_LIMIT = 5; ANTI_CHEAT_ACTION_MOVE_SPEED_OVER_LIMIT = 5;
ANTI_CHEAT_ACTION_ANTI_OFFLINE_RESULT = 6; ANTI_CHEAT_ACTION_ANTI_OFFLINE_RESULT = 6;
ANTI_CHEAT_ACTION_ELITE_MONSTER_ABNORMAL_DIE = 7; ANTI_CHEAT_ACTION_ELITE_MONSTER_ABNORMAL_DIE = 7;
ANTI_CHEAT_ACTION_ABILITY_HASH = 8; ANTI_CHEAT_ACTION_ABILITY_HASH = 8;
ANTI_CHEAT_ACTION_EQUIP_AFFIX_CD_WRONG = 9; ANTI_CHEAT_ACTION_EQUIP_AFFIX_CD_WRONG = 9;
ANTI_CHEAT_ACTION_REPORT = 10; ANTI_CHEAT_ACTION_REPORT = 10;
ANTI_CHEAT_ACTION_SEGMENT_CRC_CHECK_FAIL = 11; ANTI_CHEAT_ACTION_SEGMENT_CRC_CHECK_FAIL = 11;
ANTI_CHEAT_ACTION_MONSTER_DIE = 12; ANTI_CHEAT_ACTION_MONSTER_DIE = 12;
ANTI_CHEAT_ACTION_USE_NOT_ALLOWED_SKILL = 13; ANTI_CHEAT_ACTION_USE_NOT_ALLOWED_SKILL = 13;
ANTI_CHEAT_ACTION_CLIENT_SPEED_UP_TIME = 14; ANTI_CHEAT_ACTION_CLIENT_SPEED_UP_TIME = 14;
ANTI_CHEAT_ACTION_COMBAT_HASH = 15; ANTI_CHEAT_ACTION_COMBAT_HASH = 15;
ANTI_CHEAT_ACTION_GADGET_INTERACT_BEYOND_DISTANCE = 16; ANTI_CHEAT_ACTION_GADGET_INTERACT_BEYOND_DISTANCE = 16;
ANTI_CHEAT_ACTION_SAFE_FLOAT_EXCEPTION = 17; ANTI_CHEAT_ACTION_SAFE_FLOAT_EXCEPTION = 17;
ANTI_CHEAT_ACTION_ENVIRONMENT_ERROR = 18; ANTI_CHEAT_ACTION_ENVIRONMENT_ERROR = 18;
ANTI_CHEAT_ACTION_SCENE_TIME_MOVE_SPEED_OVER_LIMIT = 20; ANTI_CHEAT_ACTION_SCENE_TIME_MOVE_SPEED_OVER_LIMIT = 20;
ANTI_CHEAT_ACTION_DAMAGE_OVER_LIMIT = 21; ANTI_CHEAT_ACTION_DAMAGE_OVER_LIMIT = 21;
ANTI_CHEAT_ACTION_CLIENT_REPORT_MOVE_SPEED_OVER_LIMIT = 22; ANTI_CHEAT_ACTION_CLIENT_REPORT_MOVE_SPEED_OVER_LIMIT = 22;
ANTI_CHEAT_ACTION_AVATAR_EXCEL_HASH = 23; ANTI_CHEAT_ACTION_AVATAR_EXCEL_HASH = 23;
ANTI_CHEAT_ACTION_CLIENT_LOADING_COSTUME_VERIFICATION = 24; ANTI_CHEAT_ACTION_CLIENT_LOADING_COSTUME_VERIFICATION = 24;
ANTI_CHEAT_ACTION_QIANDAOGUA_CHECK_FAIL = 25; ANTI_CHEAT_ACTION_QIANDAOGUA_CHECK_FAIL = 25;
ANTI_CHEAT_ACTION_MOUSE_MACRO_CLIENT_REPORT = 26; ANTI_CHEAT_ACTION_MOUSE_MACRO_CLIENT_REPORT = 26;
ANTI_CHEAT_ACTION_CLIENT_TICK_TIME_CHECK_FAIL = 27; ANTI_CHEAT_ACTION_CLIENT_TICK_TIME_CHECK_FAIL = 27;
ANTI_CHEAT_ACTION_CLIENT_SGV_CHECK_FAIL = 28; ANTI_CHEAT_ACTION_CLIENT_SGV_CHECK_FAIL = 28;
ANTI_CHEAT_ACTION_STAMINA_CHECK_FAIL = 29; ANTI_CHEAT_ACTION_STAMINA_CHECK_FAIL = 29;
ANTI_CHEAT_ACTION_CLIENT_FIGHT_REPORT = 30; ANTI_CHEAT_ACTION_CLIENT_FIGHT_REPORT = 30;
ANTI_CHEAT_ACTION_CLIENT_PROTO_ERROR = 31; ANTI_CHEAT_ACTION_CLIENT_PROTO_ERROR = 31;
ANTI_CHEAT_ACTION_UNION_EXCEED_FREQ = 32; ANTI_CHEAT_ACTION_UNION_EXCEED_FREQ = 32;
ANTI_CHEAT_ACTION_RELIQUARY_UPGRADE_ERROR = 33; ANTI_CHEAT_ACTION_RELIQUARY_UPGRADE_ERROR = 33;
ANTI_CHEAT_ACTION_PACKET_COST_TIME_EXCEED_LIMIT = 34; ANTI_CHEAT_ACTION_PACKET_COST_TIME_EXCEED_LIMIT = 34;
ANTI_CHEAT_ACTION_RECV_PACKET_FREQ_EXCEED_LIMIT = 35; ANTI_CHEAT_ACTION_RECV_PACKET_FREQ_EXCEED_LIMIT = 35;
ANTI_CHEAT_ACTION_SINGLE_PACKET_FREQ_EXCEED_LIMIT = 36; ANTI_CHEAT_ACTION_SINGLE_PACKET_FREQ_EXCEED_LIMIT = 36;
ANTI_CHEAT_ACTION_GADGET_INTERACT_BEYOND_CHECK_DISTANCE = 37; ANTI_CHEAT_ACTION_GADGET_INTERACT_BEYOND_CHECK_DISTANCE = 37;
ANTI_CHEAT_ACTION_LUA_SHELL_CLIENT_NOTIFY_TIMEOUT = 38; ANTI_CHEAT_ACTION_LUA_SHELL_CLIENT_NOTIFY_TIMEOUT = 38;
ANTI_CHEAT_ACTION_PACKET_COST_TIME_PERCENT_EXCEED_LIMIT = 39; ANTI_CHEAT_ACTION_PACKET_COST_TIME_PERCENT_EXCEED_LIMIT = 39;
ANTI_CHEAT_ACTION_SECURITY_LIBRARY_MD5_ERROR = 40; ANTI_CHEAT_ACTION_SECURITY_LIBRARY_MD5_ERROR = 40;
ANTI_CHEAT_ACTION_AVATAR_ATTACK_AVATAR_DAMAGE = 41; ANTI_CHEAT_ACTION_AVATAR_ATTACK_AVATAR_DAMAGE = 41;
ANTI_CHEAT_ACTION_FORBID_LOGIN = 42; ANTI_CHEAT_ACTION_FORBID_LOGIN = 42;
} }
@@ -5,458 +5,458 @@ package proto_log;
import "server_only/log/player/player_body_custom.proto"; import "server_only/log/player/player_body_custom.proto";
enum AntiOfflineResultType { enum AntiOfflineResultType {
ANTI_OFFLINE_RESULT_NONE = 0; ANTI_OFFLINE_RESULT_NONE = 0;
ANTI_OFFLINE_RESULT_SUCC = 1; ANTI_OFFLINE_RESULT_SUCC = 1;
ANTI_OFFLINE_RESULT_EMPTY = 2; ANTI_OFFLINE_RESULT_EMPTY = 2;
ANTI_OFFLINE_RESULT_DECRYPT_FAIL = 3; ANTI_OFFLINE_RESULT_DECRYPT_FAIL = 3;
ANTI_OFFLINE_RESULT_VERIFY_FAIL = 4; ANTI_OFFLINE_RESULT_VERIFY_FAIL = 4;
} }
enum ForbidLoginReason { enum ForbidLoginReason {
FORBID_LOGIN_NONE = 0; FORBID_LOGIN_NONE = 0;
FORBID_LOGIN_CHECKSUM = 1; FORBID_LOGIN_CHECKSUM = 1;
FORBID_LOGIN_ANTI_OFFLINE = 2; FORBID_LOGIN_ANTI_OFFLINE = 2;
FORBID_LOGIN_ENVIRONMENT_ERROR_CODE = 3; FORBID_LOGIN_ENVIRONMENT_ERROR_CODE = 3;
FORBID_LOGIN_SECURITY_LIBRARY = 4; FORBID_LOGIN_SECURITY_LIBRARY = 4;
} }
message SecurityChannelLog { message SecurityChannelLog {
uint32 uid = 1; uint32 uid = 1;
int32 ret = 2; int32 ret = 2;
uint64 expect_salt = 3; uint64 expect_salt = 3;
uint64 actual_salt = 4; uint64 actual_salt = 4;
string trans_no = 5; string trans_no = 5;
string report = 6; string report = 6;
} }
message AntiCheatBodyAIHash { message AntiCheatBodyAIHash {
uint32 monster_id = 1; uint32 monster_id = 1;
int32 client_hash_value = 2; int32 client_hash_value = 2;
int32 server_hash_value = 3; int32 server_hash_value = 3;
} }
message AntiCheatBodyMTP { message AntiCheatBodyMTP {
string report_type = 1; string report_type = 1;
uint32 report_value = 2; uint32 report_value = 2;
} }
message AntiCheatBodyChecksumInvalid { message AntiCheatBodyChecksumInvalid {
string system_version = 1; string system_version = 1;
string device_uuid = 2; string device_uuid = 2;
string cloud_client_ip = 3; string cloud_client_ip = 3;
string platform = 4; string platform = 4;
uint32 account_type = 5; uint32 account_type = 5;
string client_version = 6; string client_version = 6;
string device_name = 7; string device_name = 7;
string checksum = 8; string checksum = 8;
uint32 channel_id = 9; uint32 channel_id = 9;
uint32 sub_channel_id = 10; uint32 sub_channel_id = 10;
} }
message AntiCheatBodySkillCdWrong { message AntiCheatBodySkillCdWrong {
uint32 avatar_id = 1; uint32 avatar_id = 1;
uint32 skill_id = 2; uint32 skill_id = 2;
float skill_cd = 3; float skill_cd = 3;
float skill_pass_time = 4; float skill_pass_time = 4;
uint32 max_charge_count = 5; uint32 max_charge_count = 5;
uint32 cd_list_len = 6; uint32 cd_list_len = 6;
string ability_name = 7; string ability_name = 7;
string modifier_name = 8; string modifier_name = 8;
EntityLog source_entity = 9; EntityLog source_entity = 9;
EntityLog target_entity = 10; EntityLog target_entity = 10;
uint32 from_player_uid = 11; uint32 from_player_uid = 11;
} }
message AntiCheatBodyMoveSpeedOverLimit { message AntiCheatBodyMoveSpeedOverLimit {
enum MoveType { enum MoveType {
MOVE_NORMAL = 0; MOVE_NORMAL = 0;
MOVE_DASH = 1; MOVE_DASH = 1;
MOVE_SWIM = 2; MOVE_SWIM = 2;
MOVE_FLY = 3; MOVE_FLY = 3;
MOVE_POWER_FLY = 4; MOVE_POWER_FLY = 4;
MOVE_SKIFF_DASH = 5; MOVE_SKIFF_DASH = 5;
MOVE_SKIFF_POWER_DASH = 6; MOVE_SKIFF_POWER_DASH = 6;
} }
uint32 avatar_id = 1; uint32 avatar_id = 1;
uint32 move_type = 2; uint32 move_type = 2;
float move_speed = 3; float move_speed = 3;
float move_speed_limit = 4; float move_speed_limit = 4;
float pre_x = 5; float pre_x = 5;
float pre_y = 6; float pre_y = 6;
float pre_z = 7; float pre_z = 7;
float cur_x = 8; float cur_x = 8;
float cur_y = 9; float cur_y = 9;
float cur_z = 10; float cur_z = 10;
uint32 is_only_record_move_count = 11; uint32 is_only_record_move_count = 11;
uint32 last_refresh_force_move_time = 12; uint32 last_refresh_force_move_time = 12;
uint32 force_drag_move_count = 13; uint32 force_drag_move_count = 13;
uint32 total_move_count = 14; uint32 total_move_count = 14;
uint32 is_kicked_out = 15; uint32 is_kicked_out = 15;
uint32 is_draged_back = 16; uint32 is_draged_back = 16;
uint32 motion_state = 17; uint32 motion_state = 17;
uint32 record_time = 18; uint32 record_time = 18;
uint32 record_count = 19; uint32 record_count = 19;
} }
message AntiCheatBodySceneTimeMoveSpeedOverLimit { message AntiCheatBodySceneTimeMoveSpeedOverLimit {
uint32 avatar_id = 1; uint32 avatar_id = 1;
float move_speed = 2; float move_speed = 2;
float move_speed_limit = 3; float move_speed_limit = 3;
float pre_x = 4; float pre_x = 4;
float pre_y = 5; float pre_y = 5;
float pre_z = 6; float pre_z = 6;
float cur_x = 7; float cur_x = 7;
float cur_y = 8; float cur_y = 8;
float cur_z = 9; float cur_z = 9;
uint32 is_kicked_out = 10; uint32 is_kicked_out = 10;
uint32 is_draged_back = 11; uint32 is_draged_back = 11;
uint32 motion_state = 12; uint32 motion_state = 12;
uint32 record_scene_time = 13; uint32 record_scene_time = 13;
uint32 record_time = 14; uint32 record_time = 14;
uint32 record_count = 15; uint32 record_count = 15;
} }
message AntiCheatBodyAntiOfflineResult { message AntiCheatBodyAntiOfflineResult {
uint32 result_type = 1; uint32 result_type = 1;
int32 check_result = 2; int32 check_result = 2;
int32 verify_result = 3; int32 verify_result = 3;
uint32 old_security_level = 4; uint32 old_security_level = 4;
uint32 cur_security_level = 5; uint32 cur_security_level = 5;
uint32 succ_num = 6; uint32 succ_num = 6;
uint32 empty_num = 7; uint32 empty_num = 7;
uint32 decrypt_fail_num = 8; uint32 decrypt_fail_num = 8;
uint32 verify_fail_num = 9; uint32 verify_fail_num = 9;
uint32 cur_succ_num = 10; uint32 cur_succ_num = 10;
uint32 cur_fail_num = 11; uint32 cur_fail_num = 11;
uint32 account_type = 12; uint32 account_type = 12;
string account_uid = 13; string account_uid = 13;
uint32 platform_type = 14; uint32 platform_type = 14;
string client_version = 15; string client_version = 15;
string system_version = 16; string system_version = 16;
string device_name = 17; string device_name = 17;
string device_uuid = 18; string device_uuid = 18;
uint32 is_editor = 19; uint32 is_editor = 19;
uint32 language_type = 20; uint32 language_type = 20;
string platform = 21; string platform = 21;
string device_info = 22; string device_info = 22;
uint32 is_guest = 23; uint32 is_guest = 23;
uint32 cloud_client_ip = 24; uint32 cloud_client_ip = 24;
string online_id = 25; string online_id = 25;
string player_login_req_str = 26; string player_login_req_str = 26;
string get_player_token_rsp_str = 27; string get_player_token_rsp_str = 27;
uint32 is_in_whitelist = 28; uint32 is_in_whitelist = 28;
string psn_id = 29; string psn_id = 29;
} }
message AntiCheatBodyEliteMonsterAbnormalDie { message AntiCheatBodyEliteMonsterAbnormalDie {
uint32 scene_id = 1; uint32 scene_id = 1;
EntityLog monster_log = 2; EntityLog monster_log = 2;
uint32 reason = 3; uint32 reason = 3;
string combat_transaction = 4; string combat_transaction = 4;
} }
message AntiCheatBodyAbilityHash { message AntiCheatBodyAbilityHash {
uint32 entity_type = 1; uint32 entity_type = 1;
uint32 id = 2; uint32 id = 2;
uint32 group_id = 3; uint32 group_id = 3;
uint32 config_id = 4; uint32 config_id = 4;
int32 client_hash_value = 5; int32 client_hash_value = 5;
int32 server_hash_value = 6; int32 server_hash_value = 6;
repeated string ability_name_list = 7; repeated string ability_name_list = 7;
int32 prev_server_hash_value = 8; int32 prev_server_hash_value = 8;
uint32 entity_id = 9; uint32 entity_id = 9;
uint32 job_id = 10; uint32 job_id = 10;
} }
message AntiCheatBodyEquipAffixCdWrong { message AntiCheatBodyEquipAffixCdWrong {
uint32 avatar_id = 1; uint32 avatar_id = 1;
uint32 affix_id = 2; uint32 affix_id = 2;
uint32 affix_cd = 3; uint32 affix_cd = 3;
uint32 affix_pass_time = 4; uint32 affix_pass_time = 4;
} }
message AntiCheatBodyPlayerReport { message AntiCheatBodyPlayerReport {
uint32 target_uid = 1; uint32 target_uid = 1;
uint32 report_type = 2; uint32 report_type = 2;
string report_reason = 3; string report_reason = 3;
uint32 reporter_language = 4; uint32 reporter_language = 4;
uint32 target_home_module_id = 5; uint32 target_home_module_id = 5;
string target_home_module_name = 6; string target_home_module_name = 6;
} }
message AntiCheatBodySegmentCrcCheckFail { message AntiCheatBodySegmentCrcCheckFail {
uint32 crc_module_type = 1; uint32 crc_module_type = 1;
uint32 offset = 2; uint32 offset = 2;
uint32 size = 3; uint32 size = 3;
string crc = 4; string crc = 4;
string client_version = 6; string client_version = 6;
uint32 channel_id = 7; uint32 channel_id = 7;
uint32 sub_channel_id = 8; uint32 sub_channel_id = 8;
} }
message AntiCheatBodyMonsterDie { message AntiCheatBodyMonsterDie {
uint32 scene_id = 1; uint32 scene_id = 1;
EntityLog monster_log = 2; EntityLog monster_log = 2;
uint32 reason = 3; uint32 reason = 3;
repeated uint32 forbid_die_types = 4; repeated uint32 forbid_die_types = 4;
string combat_transaction = 5; string combat_transaction = 5;
} }
message AntiCheatBodyUseNotAllowedSkill { message AntiCheatBodyUseNotAllowedSkill {
uint32 avatar_id = 1; uint32 avatar_id = 1;
uint32 skill_id = 2; uint32 skill_id = 2;
uint32 last_used_skill_id = 3; uint32 last_used_skill_id = 3;
string ability_name = 4; string ability_name = 4;
string modifier_name = 5; string modifier_name = 5;
EntityLog source_entity = 6; EntityLog source_entity = 6;
EntityLog target_entity = 7; EntityLog target_entity = 7;
uint32 from_player_uid = 8; uint32 from_player_uid = 8;
} }
message AntiCheatBodyClientSpeedUpTime { message AntiCheatBodyClientSpeedUpTime {
uint64 last_sent_ms = 1; uint64 last_sent_ms = 1;
float last_unity_engine_time = 2; float last_unity_engine_time = 2;
uint64 sent_ms = 3; uint64 sent_ms = 3;
float unity_engine_time = 4; float unity_engine_time = 4;
float timescale = 5; float timescale = 5;
float timescale_limit = 6; float timescale_limit = 6;
} }
message AntiCheatBodyCombatHash { message AntiCheatBodyCombatHash {
EntityLog entity_log = 1; EntityLog entity_log = 1;
int32 client_hash_value = 2; int32 client_hash_value = 2;
int32 server_hash_value = 3; int32 server_hash_value = 3;
} }
message AntiCheatBodyGadgetInteractBeyondDistance { message AntiCheatBodyGadgetInteractBeyondDistance {
EntityLog gadget_entity = 1; EntityLog gadget_entity = 1;
uint32 avatar_id = 2; uint32 avatar_id = 2;
PositionLog avatar_position = 3; PositionLog avatar_position = 3;
uint32 gadget_entity_id = 4; uint32 gadget_entity_id = 4;
uint32 op_type = 5; uint32 op_type = 5;
uint32 resin_cost_type = 6; uint32 resin_cost_type = 6;
float distance = 7; float distance = 7;
float check_distance = 8; float check_distance = 8;
uint32 record_time = 9; uint32 record_time = 9;
uint32 record_count = 10; uint32 record_count = 10;
} }
message AntiCheatBodySafeFloatException { message AntiCheatBodySafeFloatException {
string report_type = 1; string report_type = 1;
string report_value = 2; string report_value = 2;
} }
message AntiCheatBodyEnvironmentError { message AntiCheatBodyEnvironmentError {
string code_str = 1; string code_str = 1;
bool is_kick = 2; bool is_kick = 2;
string player_login_req_str = 3; string player_login_req_str = 3;
} }
message AntiCheatBodyDamageOverLimit { message AntiCheatBodyDamageOverLimit {
AttackEntityLog attack_entity = 1; AttackEntityLog attack_entity = 1;
AttackEntityLog defense_entity = 2; AttackEntityLog defense_entity = 2;
string attack_tag = 3; string attack_tag = 3;
string ability_name = 4; string ability_name = 4;
string modifier_name = 5; string modifier_name = 5;
float damage_percentage = 6; float damage_percentage = 6;
float damage_percentage_ratio = 7; float damage_percentage_ratio = 7;
float damage_extra = 8; float damage_extra = 8;
float damage = 9; float damage = 9;
float critical_hurt = 10; float critical_hurt = 10;
float amplify_ratio = 11; float amplify_ratio = 11;
} }
message BriefMotionLog { message BriefMotionLog {
uint32 brief_motion_state = 1; uint32 brief_motion_state = 1;
uint32 brief_speed = 2; uint32 brief_speed = 2;
} }
message AntiCheatBodyClientReportMoveSpeedOverLimit { message AntiCheatBodyClientReportMoveSpeedOverLimit {
repeated BriefMotionLog brief_motion_list = 1; repeated BriefMotionLog brief_motion_list = 1;
PositionLog pos = 2; PositionLog pos = 2;
uint32 motion_state = 3; uint32 motion_state = 3;
repeated uint32 brief_motion_state_list = 4; repeated uint32 brief_motion_state_list = 4;
repeated uint32 brief_speed_list = 5; repeated uint32 brief_speed_list = 5;
uint32 brief_motion_state = 6; uint32 brief_motion_state = 6;
uint32 brief_speed = 7; uint32 brief_speed = 7;
uint32 brief_acc = 8; uint32 brief_acc = 8;
} }
message AntiCheatBodyAvatarExcelHash { message AntiCheatBodyAvatarExcelHash {
uint32 avatar_id = 1; uint32 avatar_id = 1;
string hash_str = 2; string hash_str = 2;
int32 server_hash = 3; int32 server_hash = 3;
int32 client_hash = 4; int32 client_hash = 4;
} }
message AntiCheatBodyClientLoadingCostumeVerification { message AntiCheatBodyClientLoadingCostumeVerification {
uint32 uid = 1; uint32 uid = 1;
uint64 guid = 2; uint64 guid = 2;
uint32 avatar_type = 3; uint32 avatar_type = 3;
uint32 avatar_id = 4; uint32 avatar_id = 4;
uint32 costume_id = 5; uint32 costume_id = 5;
uint32 cur_costume_id = 6; uint32 cur_costume_id = 6;
bool is_has_costume = 7; bool is_has_costume = 7;
uint64 prefab_hash = 8; uint64 prefab_hash = 8;
uint64 server_hash = 9; uint64 server_hash = 9;
} }
message AntiCheatBodyQiandaoguaCheckFail { message AntiCheatBodyQiandaoguaCheckFail {
uint32 attack_count = 1; uint32 attack_count = 1;
uint32 frame_num = 2; uint32 frame_num = 2;
uint32 attack_id = 3; uint32 attack_id = 3;
EntityLog source_entity = 4; EntityLog source_entity = 4;
EntityLog target_entity = 5; EntityLog target_entity = 5;
uint32 gadget_damage_action_idx = 7; uint32 gadget_damage_action_idx = 7;
string anim_event_id = 8; string anim_event_id = 8;
string ability_name = 9; string ability_name = 9;
string modifier_name = 10; string modifier_name = 10;
int32 local_id = 11; int32 local_id = 11;
string attack_tag = 12; string attack_tag = 12;
EntityLog ability_owner = 13; EntityLog ability_owner = 13;
} }
message AntiCheatBodyMouseMacroClientReport { message AntiCheatBodyMouseMacroClientReport {
uint32 param = 1; uint32 param = 1;
} }
message AntiCheatBodyClientTickTimeCheckFail { message AntiCheatBodyClientTickTimeCheckFail {
uint64 pivot_client_time = 1; uint64 pivot_client_time = 1;
uint64 pivot_unix_time = 2; uint64 pivot_unix_time = 2;
uint64 client_total_tick_time = 3; uint64 client_total_tick_time = 3;
uint64 unix_time = 4; uint64 unix_time = 4;
uint64 total_tick_max_delay_time = 5; uint64 total_tick_max_delay_time = 5;
int64 delta_server_time = 6; int64 delta_server_time = 6;
int64 delta_client_time = 7; int64 delta_client_time = 7;
} }
message AntiCheatBodyClientSgvCheckFail { message AntiCheatBodyClientSgvCheckFail {
EntityLog entity_log = 1; EntityLog entity_log = 1;
uint32 entity_id = 2; uint32 entity_id = 2;
string sgv = 3; string sgv = 3;
uint32 last_enable_time = 4; uint32 last_enable_time = 4;
uint32 timeout_seconds = 5; uint32 timeout_seconds = 5;
} }
message AntiCheatBodyStaminaCheckFail { message AntiCheatBodyStaminaCheckFail {
EntityLog entity_log = 1; EntityLog entity_log = 1;
int32 stamina = 2; int32 stamina = 2;
uint32 change_type = 3; uint32 change_type = 3;
uint32 motion_state = 4; uint32 motion_state = 4;
uint32 skill_id = 5; uint32 skill_id = 5;
string ability_name = 6; string ability_name = 6;
string modifier_name = 7; string modifier_name = 7;
int32 local_id = 8; int32 local_id = 8;
uint32 prop_change_reason = 9; uint32 prop_change_reason = 9;
} }
message AntiCheatBodyClientFightReport { message AntiCheatBodyClientFightReport {
uint32 cheat_type = 1; uint32 cheat_type = 1;
uint32 cheat_count = 2; uint32 cheat_count = 2;
} }
message AntiCheatBodyClientProtoError { message AntiCheatBodyClientProtoError {
uint32 proto_error_type = 1; uint32 proto_error_type = 1;
} }
message AntiCheatBodyUnionExceedFreq { message AntiCheatBodyUnionExceedFreq {
uint32 union_notify_freq = 1; uint32 union_notify_freq = 1;
uint32 combat_notify_freq = 2; uint32 combat_notify_freq = 2;
uint32 sub_total_union_freq = 3; uint32 sub_total_union_freq = 3;
uint32 cheat_count = 4; uint32 cheat_count = 4;
bool is_kick = 5; bool is_kick = 5;
} }
message AntiCheatBodyReliquaryUpgradeError { message AntiCheatBodyReliquaryUpgradeError {
uint64 guid = 1; uint64 guid = 1;
uint32 item_id = 2; uint32 item_id = 2;
uint32 level = 3; uint32 level = 3;
} }
message AntiCheatBodyPacketCostTimeExceedLimit { message AntiCheatBodyPacketCostTimeExceedLimit {
uint32 cmd_id = 1; uint32 cmd_id = 1;
string cmd_name = 2; string cmd_name = 2;
int32 retcode = 3; int32 retcode = 3;
uint32 packet_cost_time_us = 4; uint32 packet_cost_time_us = 4;
uint32 cost_time_limit_us = 5; uint32 cost_time_limit_us = 5;
} }
message PacketCountInfoLog { message PacketCountInfoLog {
uint32 cmd_id = 1; uint32 cmd_id = 1;
string cmd_name = 2; string cmd_name = 2;
uint32 cmd_count = 3; uint32 cmd_count = 3;
} }
message AntiCheatBodyRecvPacketFreqExceedLimit { message AntiCheatBodyRecvPacketFreqExceedLimit {
uint32 packet_count = 1; uint32 packet_count = 1;
uint32 time_interval_ms = 2; uint32 time_interval_ms = 2;
repeated PacketCountInfoLog packet_list = 3; repeated PacketCountInfoLog packet_list = 3;
uint32 packet_recv_max_count = 4; uint32 packet_recv_max_count = 4;
uint32 packet_recv_check_interval_ms = 5; uint32 packet_recv_check_interval_ms = 5;
} }
message AntiCheatBodySinglePacketFreqExceedLimit { message AntiCheatBodySinglePacketFreqExceedLimit {
uint32 cmd_id = 1; uint32 cmd_id = 1;
string cmd_name = 2; string cmd_name = 2;
uint32 packet_count = 3; uint32 packet_count = 3;
uint32 time_interval_ms = 4; uint32 time_interval_ms = 4;
float config_freq_limit = 5; float config_freq_limit = 5;
} }
message AntiCheatBodyGadgetInteractBeyondCheckDistance { message AntiCheatBodyGadgetInteractBeyondCheckDistance {
float min_distance = 1; float min_distance = 1;
float max_distance = 2; float max_distance = 2;
float check_distance = 3; float check_distance = 3;
uint32 record_time = 4; uint32 record_time = 4;
uint32 record_count = 5; uint32 record_count = 5;
} }
message AntiCheatBodyLuaShellClientNotifyTimeout { message AntiCheatBodyLuaShellClientNotifyTimeout {
uint32 use_type = 1; uint32 use_type = 1;
uint32 lua_shell_id = 2; uint32 lua_shell_id = 2;
bool is_kick = 3; bool is_kick = 3;
string check_json_key = 4; string check_json_key = 4;
} }
message AntiCheatBodyPacketCostTimePercentExceedLimit { message AntiCheatBodyPacketCostTimePercentExceedLimit {
uint64 check_interval_ms = 1; uint64 check_interval_ms = 1;
uint64 config_check_interval_ms = 2; uint64 config_check_interval_ms = 2;
uint64 config_cost_time_percent = 3; uint64 config_cost_time_percent = 3;
uint64 accumulate_packet_cost_time_ms = 4; uint64 accumulate_packet_cost_time_ms = 4;
uint32 config_is_enable_kick = 5; uint32 config_is_enable_kick = 5;
uint32 config_kick_time_percent = 6; uint32 config_kick_time_percent = 6;
bool is_kick = 7; bool is_kick = 7;
uint32 trigger_kick_count = 8; uint32 trigger_kick_count = 8;
} }
message AntiCheatBodySecurityLibraryMd5Error { message AntiCheatBodySecurityLibraryMd5Error {
enum CheckResultType { enum CheckResultType {
RESULT_NONE = 0; RESULT_NONE = 0;
RESULT_INVALID_VERSION = 1; RESULT_INVALID_VERSION = 1;
RESULT_VERSION_DISABLED = 2; RESULT_VERSION_DISABLED = 2;
RESULT_INVALID_MD5 = 3; RESULT_INVALID_MD5 = 3;
} }
int32 check_result = 1; int32 check_result = 1;
bool is_kick = 2; bool is_kick = 2;
string report_version_str = 3; string report_version_str = 3;
string report_md5_str = 4; string report_md5_str = 4;
} }
message AntiCheatBodyAvatarAttackAvatarDamage { message AntiCheatBodyAvatarAttackAvatarDamage {
AttackEntityLog attack_entity = 1; AttackEntityLog attack_entity = 1;
AttackEntityLog defense_entity = 2; AttackEntityLog defense_entity = 2;
string attack_tag = 3; string attack_tag = 3;
string ability_name = 4; string ability_name = 4;
string modifier_name = 5; string modifier_name = 5;
uint32 target_type = 6; uint32 target_type = 6;
string anim_event_id = 7; string anim_event_id = 7;
float client_damage = 8; float client_damage = 8;
float ori_server_damage = 9; float ori_server_damage = 9;
float final_server_damage = 10; float final_server_damage = 10;
} }
message AntiCheatBodyForbidLogin { message AntiCheatBodyForbidLogin {
uint32 reason = 1; uint32 reason = 1;
} }
@@ -3,16 +3,16 @@ syntax = "proto3";
package proto_log; package proto_log;
message AntiCheatLogHead { message AntiCheatLogHead {
string time = 1; string time = 1;
uint32 action_id = 2; uint32 action_id = 2;
string region_name = 3; string region_name = 3;
string game_version = 4; string game_version = 4;
uint32 uid = 5; uint32 uid = 5;
uint32 level = 6; uint32 level = 6;
uint64 vip_point = 7; uint64 vip_point = 7;
uint32 vip_level = 8; uint32 vip_level = 8;
bool is_in_mp = 9; bool is_in_mp = 9;
repeated uint32 mp_teammate_list = 10; repeated uint32 mp_teammate_list = 10;
uint32 scene_id = 11; uint32 scene_id = 11;
uint32 tag = 12; uint32 tag = 12;
} }
@@ -3,8 +3,8 @@ syntax = "proto3";
package proto_log; package proto_log;
enum GCGStatActionType { enum GCGStatActionType {
GCG_STAT_ACTION_NONE = 0; GCG_STAT_ACTION_NONE = 0;
GCG_STAT_ACTION_DUEL_START = 1; GCG_STAT_ACTION_DUEL_START = 1;
GCG_STAT_ACTION_DUEL_END = 2; GCG_STAT_ACTION_DUEL_END = 2;
GCG_STAT_ACTION_DUEL_REPLAY = 3; GCG_STAT_ACTION_DUEL_REPLAY = 3;
} }
@@ -3,71 +3,71 @@ syntax = "proto3";
package proto_log; package proto_log;
enum GCGOperationType { enum GCGOperationType {
GCG_OPERATION_TYPE_NONE = 0; GCG_OPERATION_TYPE_NONE = 0;
GCG_OPERATION_TYPE_DRAW = 1; GCG_OPERATION_TYPE_DRAW = 1;
GCG_OPERATION_TYPE_REDRAW = 2; GCG_OPERATION_TYPE_REDRAW = 2;
GCG_OPERATION_TYPE_SELECT_ON_STAGE = 3; GCG_OPERATION_TYPE_SELECT_ON_STAGE = 3;
GCG_OPERATION_TYPE_ROLL = 4; GCG_OPERATION_TYPE_ROLL = 4;
GCG_OPERATION_TYPE_PLAY_CARD = 5; GCG_OPERATION_TYPE_PLAY_CARD = 5;
GCG_OPERATION_TYPE_ATTACK = 6; GCG_OPERATION_TYPE_ATTACK = 6;
GCG_OPERATION_TYPE_REBOOT = 7; GCG_OPERATION_TYPE_REBOOT = 7;
GCG_OPERATION_TYPE_PASS = 8; GCG_OPERATION_TYPE_PASS = 8;
GCG_OPERATION_TYPE_REACTION = 9; GCG_OPERATION_TYPE_REACTION = 9;
} }
message GCGLogBodyDuelStart { message GCGLogBodyDuelStart {
uint32 type = 1; uint32 type = 1;
uint32 level_id = 2; uint32 level_id = 2;
} }
message GCGUseTime { message GCGUseTime {
uint32 round = 1; uint32 round = 1;
uint32 use_time = 2; uint32 use_time = 2;
} }
message GCGControllerInfo { message GCGControllerInfo {
uint32 uid = 1; uint32 uid = 1;
uint32 controller_id = 2; uint32 controller_id = 2;
uint32 level = 3; uint32 level = 3;
uint32 mmr = 4; uint32 mmr = 4;
} }
message GCGControllerDeckInfo { message GCGControllerDeckInfo {
uint32 controller_id = 1; uint32 controller_id = 1;
repeated uint32 card_id_list = 2; repeated uint32 card_id_list = 2;
} }
message GCGCharacterInfo { message GCGCharacterInfo {
uint32 card_id = 1; uint32 card_id = 1;
uint32 hp = 2; uint32 hp = 2;
} }
message GCGControllerCharactersInfo { message GCGControllerCharactersInfo {
uint32 controller_id = 1; uint32 controller_id = 1;
repeated GCGCharacterInfo character_info_list = 2; repeated GCGCharacterInfo character_info_list = 2;
} }
message GCGOperationData { message GCGOperationData {
uint32 operation_type = 1; uint32 operation_type = 1;
uint32 controller_id = 2; uint32 controller_id = 2;
uint32 round = 3; uint32 round = 3;
uint32 param1 = 4; uint32 param1 = 4;
repeated uint32 paramlist = 5; repeated uint32 paramlist = 5;
} }
message GCGLogBodyDuelEnd { message GCGLogBodyDuelEnd {
uint32 type = 1; uint32 type = 1;
uint32 level_id = 2; uint32 level_id = 2;
uint32 total_use_time = 3; uint32 total_use_time = 3;
repeated GCGUseTime use_time_list = 4; repeated GCGUseTime use_time_list = 4;
uint32 winner = 5; uint32 winner = 5;
uint32 reason = 6; uint32 reason = 6;
repeated GCGControllerInfo controller_info_list = 7; repeated GCGControllerInfo controller_info_list = 7;
repeated GCGControllerDeckInfo controller_deck_info_list = 8; repeated GCGControllerDeckInfo controller_deck_info_list = 8;
repeated GCGControllerCharactersInfo controller_character_info_map = 9; repeated GCGControllerCharactersInfo controller_character_info_map = 9;
repeated GCGOperationData operation_data_list = 10; repeated GCGOperationData operation_data_list = 10;
} }
message GCGLogBodyDuelReplay { message GCGLogBodyDuelReplay {
string replay_json_str = 1; string replay_json_str = 1;
} }
@@ -3,10 +3,10 @@ syntax = "proto3";
package proto_log; package proto_log;
message GCGLogHead { message GCGLogHead {
string time = 1; string time = 1;
string trans_no = 2; string trans_no = 2;
uint32 action_id = 3; uint32 action_id = 3;
string action_name = 4; string action_name = 4;
uint32 sub_action_id = 5; uint32 sub_action_id = 5;
string sub_action_name = 6; string sub_action_name = 6;
} }
@@ -3,6 +3,6 @@ syntax = "proto3";
package proto_log; package proto_log;
enum MailActionType { enum MailActionType {
MAIL_ACTION_NONE = 0; MAIL_ACTION_NONE = 0;
MAIL_ACTION_COMMON = 1; MAIL_ACTION_COMMON = 1;
} }
@@ -3,77 +3,77 @@ syntax = "proto3";
package proto_log; package proto_log;
enum MailOpType { enum MailOpType {
MAIL_OP_NONE = 0; MAIL_OP_NONE = 0;
MAIL_OP_ADD = 1; MAIL_OP_ADD = 1;
MAIL_OP_DEL = 2; MAIL_OP_DEL = 2;
MAIL_OP_READ = 3; MAIL_OP_READ = 3;
MAIL_OP_TAKE_ATTACHMENT = 4; MAIL_OP_TAKE_ATTACHMENT = 4;
MAIL_OP_STAR = 5; MAIL_OP_STAR = 5;
MAIL_OP_UNSTAR = 6; MAIL_OP_UNSTAR = 6;
MAIL_OP_SET_COLLECT_STATE = 7; MAIL_OP_SET_COLLECT_STATE = 7;
} }
enum MailOpReason { enum MailOpReason {
MAIL_REASON_NONE = 0; MAIL_REASON_NONE = 0;
MAIL_REASON_BY_GAME = 1; MAIL_REASON_BY_GAME = 1;
MAIL_REASON_BY_MUIP = 2; MAIL_REASON_BY_MUIP = 2;
MAIL_REASON_BY_CLIENT = 3; MAIL_REASON_BY_CLIENT = 3;
MAIL_REASON_FULL = 4; MAIL_REASON_FULL = 4;
MAIL_REASON_COLLECTED_FULL = 5; MAIL_REASON_COLLECTED_FULL = 5;
} }
enum MailSourceType { enum MailSourceType {
MAIL_SOURCE_NONE = 0; MAIL_SOURCE_NONE = 0;
MAIL_SOURCE_PLATFORM = 1; MAIL_SOURCE_PLATFORM = 1;
MAIL_SOURCE_LOGIN_REWARD = 2; MAIL_SOURCE_LOGIN_REWARD = 2;
MAIL_SOURCE_TOWER = 3; MAIL_SOURCE_TOWER = 3;
MAIL_SOURCE_BAG_OVERFLOW = 4; MAIL_SOURCE_BAG_OVERFLOW = 4;
MAIL_SOURCE_CARD_PRODUCT = 5; MAIL_SOURCE_CARD_PRODUCT = 5;
MAIL_SOURCE_BATTLE_PASS_FINISH_SCHEDULE = 6; MAIL_SOURCE_BATTLE_PASS_FINISH_SCHEDULE = 6;
MAIL_SOURCE_REBATE = 7; MAIL_SOURCE_REBATE = 7;
MAIL_SOURCE_BIRTHDAY_BENEFIT = 8; MAIL_SOURCE_BIRTHDAY_BENEFIT = 8;
MAIL_SOURCE_CDKEY = 9; MAIL_SOURCE_CDKEY = 9;
MAIL_SOURCE_RECHARGE_PACKAGE = 10; MAIL_SOURCE_RECHARGE_PACKAGE = 10;
MAIL_SOURCE_RECHARGE_CARD_REMIND = 11; MAIL_SOURCE_RECHARGE_CARD_REMIND = 11;
MAIL_SOURCE_ACTIVITY_COND = 12; MAIL_SOURCE_ACTIVITY_COND = 12;
MAIL_SOURCE_BATTLE_PASS_NOTIFY = 13; MAIL_SOURCE_BATTLE_PASS_NOTIFY = 13;
MAIL_SOURCE_RECHARGE_GOOGLE_GIFT_CARD = 14; MAIL_SOURCE_RECHARGE_GOOGLE_GIFT_CARD = 14;
MAIL_SOURCE_GM = 15; MAIL_SOURCE_GM = 15;
MAIL_SOURCE_SEND_CONCERT_PRODUCT_BY_MUIP = 16; MAIL_SOURCE_SEND_CONCERT_PRODUCT_BY_MUIP = 16;
MAIL_SOURCE_RECHARGE_APPLE_GIFT_CARD = 17; MAIL_SOURCE_RECHARGE_APPLE_GIFT_CARD = 17;
MAIL_SOURCE_RECHARGE_PSN_COMPENSATION = 18; MAIL_SOURCE_RECHARGE_PSN_COMPENSATION = 18;
MAIL_SOURCE_QUESTIONNAIRE = 19; MAIL_SOURCE_QUESTIONNAIRE = 19;
MAIL_SOURCE_AVATAR_RENAME_AUDIT_FAILED = 20; MAIL_SOURCE_AVATAR_RENAME_AUDIT_FAILED = 20;
MAIL_SOURCE_AVATAR_RENAME_RESET = 21; MAIL_SOURCE_AVATAR_RENAME_RESET = 21;
} }
message MailItem { message MailItem {
uint32 item_id = 1; uint32 item_id = 1;
uint32 item_count = 2; uint32 item_count = 2;
uint32 level = 3; uint32 level = 3;
uint32 promote_level = 4; uint32 promote_level = 4;
} }
message MailLogBodyCommon { message MailLogBodyCommon {
uint32 op_type = 1; uint32 op_type = 1;
uint32 op_reason = 2; uint32 op_reason = 2;
uint32 uid = 3; uint32 uid = 3;
uint32 mail_id = 4; uint32 mail_id = 4;
string title = 5; string title = 5;
string content = 6; string content = 6;
string sender = 7; string sender = 7;
uint32 send_time = 8; uint32 send_time = 8;
uint32 expire_time = 9; uint32 expire_time = 9;
repeated MailItem item_list = 10; repeated MailItem item_list = 10;
uint32 importance = 11; uint32 importance = 11;
uint32 config_id = 12; uint32 config_id = 12;
repeated string argument_list = 13; repeated string argument_list = 13;
uint32 reason_type = 14; uint32 reason_type = 14;
uint32 item_limit_type = 15; uint32 item_limit_type = 15;
uint32 source_type = 16; uint32 source_type = 16;
string tag = 17; string tag = 17;
bool is_read = 18; bool is_read = 18;
bool is_attachment_got = 19; bool is_attachment_got = 19;
bool is_star = 20; bool is_star = 20;
uint32 collect_state = 21; uint32 collect_state = 21;
} }
@@ -3,9 +3,9 @@ syntax = "proto3";
package proto_log; package proto_log;
message MailLogHead { message MailLogHead {
string time = 1; string time = 1;
uint32 action_id = 2; uint32 action_id = 2;
string action_name = 3; string action_name = 3;
uint32 sub_action_id = 4; uint32 sub_action_id = 4;
string sub_action_name = 5; string sub_action_name = 5;
} }

Some files were not shown because too many files have changed in this diff Show More