mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-02-04 19:52:27 +08:00
1457 lines
34 KiB
Protocol Buffer
1457 lines
34 KiB
Protocol Buffer
syntax = "proto3";
|
|
|
|
package proto;
|
|
|
|
option go_package = "./;proto";
|
|
|
|
import "define.proto";
|
|
|
|
enum CompoundBoostTakeStatusType {
|
|
COMPOUND_BOOST_TAKE_STATUS_NONE = 0;
|
|
COMPOUND_BOOST_TAKE_STATUS_BOOST_ONLY = 1;
|
|
COMPOUND_BOOST_TAKE_STATUS_BOOST_AND_TAKE = 2;
|
|
COMPOUND_BOOST_TAKE_STATUS_BAG_FULL = 3;
|
|
}
|
|
|
|
message GetPlayerTokenReq {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 172;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
IS_ALLOW_CLIENT = 1;
|
|
}
|
|
|
|
string account_ext = 9;
|
|
string account_token = 10;
|
|
uint32 channel_id = 15;
|
|
bool is_guest = 6;
|
|
string psn_region = 4;
|
|
uint32 sub_channel_id = 8;
|
|
string account_uid = 11;
|
|
uint32 key_id = 1787;
|
|
uint32 account_type = 1;
|
|
uint32 cloud_client_ip = 14;
|
|
uint32 minors_reg_min_age = 995;
|
|
uint32 uid = 2;
|
|
string online_id = 7;
|
|
string birthday = 1718;
|
|
string client_ip_str = 3;
|
|
uint32 platform_type = 12;
|
|
string client_rand_key = 760;
|
|
string country_code = 5;
|
|
uint32 lang = 892;
|
|
string psn_id = 13;
|
|
}
|
|
|
|
message GetPlayerTokenRsp {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 198;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
}
|
|
|
|
uint32 minors_reg_min_age = 1561;
|
|
uint32 channel_id = 896;
|
|
uint32 platform_type = 8;
|
|
string account_uid = 12;
|
|
bool is_login_white_list = 573;
|
|
bool is_guest = 4;
|
|
uint32 black_uid_end_time = 14;
|
|
bool is_watchdog_uid = 2028;
|
|
string psn_id = 1811;
|
|
uint32 tag = 1635;
|
|
string country_code = 2013;
|
|
string token = 11;
|
|
uint32 sub_channel_id = 1802;
|
|
bytes security_cmd_buffer = 6;
|
|
string client_version_random_key = 1529;
|
|
string birthday = 937;
|
|
uint64 secret_key_seed = 13;
|
|
uint32 account_type = 5;
|
|
string msg = 7;
|
|
repeated uint32 finish_collection_id_list = 1640;
|
|
string sign = 1140;
|
|
string secret_key = 15;
|
|
StopServerInfo stop_server = 1382;
|
|
int32 retcode = 2;
|
|
uint32 uid = 1;
|
|
bool is_proficient_player = 9;
|
|
uint32 reg_platform = 1112;
|
|
string server_rand_key = 1493;
|
|
bytes extra_bin_data = 3;
|
|
string client_ip_str = 860;
|
|
uint32 gm_uid = 10;
|
|
uint32 key_id = 1172;
|
|
}
|
|
|
|
message TrackingIOInfo {
|
|
string rydevicetype = 11;
|
|
string mac = 6;
|
|
string deviceid = 9;
|
|
string client_tz = 5;
|
|
string current_caid = 7;
|
|
string cached_caid = 15;
|
|
string appid = 1;
|
|
}
|
|
|
|
message AdjustTrackingInfo {
|
|
string event_token = 9;
|
|
string adid = 4;
|
|
string idfa = 2;
|
|
string app_token = 14;
|
|
string gps_adid = 3;
|
|
string fire_adid = 13;
|
|
}
|
|
|
|
message PlayerLoginReq {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 112;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
IS_ALLOW_CLIENT = 1;
|
|
}
|
|
|
|
uint32 language_type = 6;
|
|
uint32 reg_platform = 615;
|
|
TrackingIOInfo tracking_io_info = 1660;
|
|
uint32 account_type = 13;
|
|
string token = 15;
|
|
bytes extra_bin_data = 1458;
|
|
uint32 channel_id = 1314;
|
|
uint32 client_data_version = 688;
|
|
string account_uid = 2;
|
|
string client_version = 12;
|
|
string security_library_md5 = 772;
|
|
string country_code = 2000;
|
|
string psn_id = 1268;
|
|
uint32 client_port = 431;
|
|
string device_name = 9;
|
|
string cps = 1163;
|
|
uint64 login_rand = 3;
|
|
uint32 target_home_param = 984;
|
|
AdjustTrackingInfo adjust_tracking_info = 1816;
|
|
bool is_transfer = 908;
|
|
uint32 tag = 1787;
|
|
bool is_guest = 5;
|
|
bytes environment_error_code = 2026;
|
|
string online_id = 903;
|
|
bool is_editor = 8;
|
|
string checksum_client_version = 861;
|
|
bytes security_cmd_reply = 1995;
|
|
string security_library_version = 1213;
|
|
string birthday = 1652;
|
|
string device_uuid = 4;
|
|
uint32 client_token = 1546;
|
|
uint32 sub_channel_id = 23;
|
|
uint32 target_uid = 11;
|
|
string device_info = 1;
|
|
string client_verison_hash = 1707;
|
|
string checksum = 1532;
|
|
uint32 platform_type = 14;
|
|
uint32 target_home_owner_uid = 1864;
|
|
uint32 cloud_client_ip = 1335;
|
|
uint32 gm_uid = 612;
|
|
string system_version = 10;
|
|
string platform = 7;
|
|
}
|
|
|
|
message ShortAbilityHashPair {
|
|
sfixed32 ability_config_hash = 15;
|
|
sfixed32 ability_name_hash = 1;
|
|
}
|
|
|
|
message PlayerLoginRsp {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 135;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
}
|
|
|
|
uint32 client_data_version = 1;
|
|
bool is_sc_open = 1429;
|
|
int32 retcode = 15;
|
|
map<uint32, BlockInfo> block_info_map = 571;
|
|
bool is_audit = 1685;
|
|
bool is_transfer = 2018;
|
|
string client_silence_md5 = 1746;
|
|
ResVersionConfig next_res_version_config = 1573;
|
|
uint32 client_silence_data_version = 6;
|
|
uint64 login_rand = 4;
|
|
bool is_new_player = 8;
|
|
string client_version_suffix = 1047;
|
|
string game_biz = 5;
|
|
string next_resource_url = 621;
|
|
bool is_relogin = 10;
|
|
double total_tick_time = 125;
|
|
bool is_enable_client_hash_debug = 932;
|
|
bytes sc_info = 2024;
|
|
int32 ability_hash_code = 12;
|
|
string register_cps = 2040;
|
|
bool is_login_rsp_split = 1649;
|
|
bool is_use_ability_hash = 2;
|
|
map<string, int32> ability_hash_map = 11;
|
|
repeated ShortAbilityHashPair short_ability_hash_map = 250;
|
|
string client_md5 = 1830;
|
|
string country_code = 1900;
|
|
bool is_data_need_relogin = 951;
|
|
ResVersionConfig res_version_config = 1969;
|
|
repeated FeatureBlockInfo feature_block_info_list = 1352;
|
|
string birthday = 624;
|
|
uint32 target_uid = 14;
|
|
bytes player_data = 13;
|
|
string client_silence_version_suffix = 1299;
|
|
uint32 target_home_owner_uid = 553;
|
|
uint32 player_data_version = 7;
|
|
}
|
|
|
|
message PlayerLogoutReq {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 107;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
IS_ALLOW_CLIENT = 1;
|
|
}
|
|
|
|
enum Reason {
|
|
DISCONNECT = 0;
|
|
CLIENT_REQ = 1;
|
|
TIMEOUT = 2;
|
|
ADMIN_REQ = 3;
|
|
SERVER_CLOSE = 4;
|
|
GM_CLEAR = 5;
|
|
PLAYER_TRANSFER = 6;
|
|
CLIENT_CHECKSUM_INVALID = 7;
|
|
}
|
|
|
|
Reason reason = 6;
|
|
}
|
|
|
|
message PlayerLogoutRsp {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 121;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
}
|
|
|
|
int32 retcode = 12;
|
|
}
|
|
|
|
message PlayerLogoutNotify {
|
|
enum CmdId {
|
|
NONE = 0;
|
|
CMD_ID = 103;
|
|
}
|
|
|
|
int32 retcode = 13;
|
|
}
|
|
|
|
message PlayerDataNotify {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 190;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
}
|
|
|
|
uint64 server_time = 7;
|
|
string nick_name = 8;
|
|
bool is_first_login_today = 12;
|
|
uint32 region_id = 6;
|
|
map<uint32, PropValue> prop_map = 15;
|
|
}
|
|
|
|
message ChangeGameTimeReq {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 173;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
IS_ALLOW_CLIENT = 1;
|
|
}
|
|
|
|
uint32 game_time = 6;
|
|
bool is_force_set = 11;
|
|
uint32 extra_days = 12;
|
|
}
|
|
|
|
message ChangeGameTimeRsp {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 199;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
}
|
|
|
|
int32 retcode = 8;
|
|
uint32 extra_days = 5;
|
|
uint32 cur_game_time = 14;
|
|
}
|
|
|
|
message PlayerGameTimeNotify {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 131;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
IS_ALLOW_CLIENT = 1;
|
|
}
|
|
|
|
uint32 uid = 7;
|
|
uint32 game_time = 3;
|
|
bool is_home = 13;
|
|
}
|
|
|
|
message PlayerPropNotify {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 175;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
}
|
|
|
|
map<uint32, PropValue> prop_map = 13;
|
|
}
|
|
|
|
message ClientTriggerEventNotify {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 148;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
IS_ALLOW_CLIENT = 1;
|
|
}
|
|
|
|
uint32 force_id = 3;
|
|
EventTriggerType event_type = 2;
|
|
}
|
|
|
|
message SetPlayerPropReq {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 197;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
IS_ALLOW_CLIENT = 1;
|
|
}
|
|
|
|
repeated PropValue prop_list = 7;
|
|
}
|
|
|
|
message SetPlayerPropRsp {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 181;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
}
|
|
|
|
int32 retcode = 11;
|
|
}
|
|
|
|
message SetPlayerBornDataReq {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 105;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
IS_ALLOW_CLIENT = 1;
|
|
}
|
|
|
|
uint32 avatar_id = 2;
|
|
string nick_name = 13;
|
|
}
|
|
|
|
message SetPlayerBornDataRsp {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 182;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
}
|
|
|
|
int32 retcode = 10;
|
|
}
|
|
|
|
message DoSetPlayerBornDataNotify {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 147;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
}
|
|
}
|
|
|
|
message PlayerPropChangeNotify {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 139;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
}
|
|
|
|
uint32 prop_delta = 13;
|
|
uint32 prop_type = 12;
|
|
}
|
|
|
|
message SetPlayerNameReq {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 153;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
IS_ALLOW_CLIENT = 1;
|
|
}
|
|
|
|
string nick_name = 1;
|
|
}
|
|
|
|
message SetPlayerNameRsp {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 122;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
}
|
|
|
|
int32 retcode = 9;
|
|
string nick_name = 14;
|
|
}
|
|
|
|
message SetOpenStateReq {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 165;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
IS_ALLOW_CLIENT = 1;
|
|
}
|
|
|
|
uint32 key = 12;
|
|
uint32 value = 5;
|
|
}
|
|
|
|
message SetOpenStateRsp {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 104;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
}
|
|
|
|
uint32 key = 9;
|
|
int32 retcode = 14;
|
|
uint32 value = 15;
|
|
}
|
|
|
|
message OpenStateUpdateNotify {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 193;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
}
|
|
|
|
map<uint32, uint32> open_state_map = 6;
|
|
}
|
|
|
|
message OpenStateChangeNotify {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 127;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
}
|
|
|
|
map<uint32, uint32> open_state_map = 4;
|
|
}
|
|
|
|
message PlayerCookReq {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 194;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
IS_ALLOW_CLIENT = 1;
|
|
}
|
|
|
|
uint32 cook_count = 1;
|
|
uint32 qte_quality = 12;
|
|
uint32 recipe_id = 8;
|
|
uint32 assist_avatar = 14;
|
|
}
|
|
|
|
message PlayerCookRsp {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 188;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
}
|
|
|
|
repeated ItemParam extral_item_list = 15;
|
|
uint32 cook_count = 12;
|
|
repeated ItemParam item_list = 11;
|
|
int32 retcode = 3;
|
|
uint32 qte_quality = 5;
|
|
CookRecipeData recipe_data = 7;
|
|
}
|
|
|
|
message PlayerRandomCookReq {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 126;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
IS_ALLOW_CLIENT = 1;
|
|
}
|
|
|
|
repeated ItemParam material_list = 13;
|
|
}
|
|
|
|
message PlayerRandomCookRsp {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 163;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
}
|
|
|
|
int32 retcode = 4;
|
|
}
|
|
|
|
message CookRecipeData {
|
|
uint32 proficiency = 13;
|
|
uint32 recipe_id = 9;
|
|
}
|
|
|
|
message CookDataNotify {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 195;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
}
|
|
|
|
repeated CookRecipeData recipe_data_list = 2;
|
|
uint32 grade = 11;
|
|
}
|
|
|
|
message CookRecipeDataNotify {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 106;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
}
|
|
|
|
CookRecipeData recipe_data = 4;
|
|
}
|
|
|
|
message CookGradeDataNotify {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 134;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
}
|
|
|
|
uint32 grade = 12;
|
|
}
|
|
|
|
message PlayerCompoundMaterialReq {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 150;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
IS_ALLOW_CLIENT = 1;
|
|
}
|
|
|
|
uint32 count = 11;
|
|
uint32 compound_id = 3;
|
|
}
|
|
|
|
message CompoundQueueData {
|
|
uint32 output_count = 1;
|
|
uint32 compound_id = 4;
|
|
uint32 output_time = 14;
|
|
uint32 wait_count = 8;
|
|
}
|
|
|
|
message PlayerCompoundMaterialRsp {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 143;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
}
|
|
|
|
CompoundQueueData compound_que_data = 5;
|
|
int32 retcode = 12;
|
|
}
|
|
|
|
message TakeCompoundOutputReq {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 174;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
IS_ALLOW_CLIENT = 1;
|
|
}
|
|
|
|
uint32 compound_group_id = 3;
|
|
uint32 compound_id = 10;
|
|
}
|
|
|
|
message TakeCompoundOutputRsp {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 176;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
}
|
|
|
|
repeated ItemParam item_list = 6;
|
|
int32 retcode = 2;
|
|
}
|
|
|
|
message CompoundDataNotify {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 146;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
}
|
|
|
|
repeated uint32 unlock_compound_list = 1;
|
|
repeated CompoundQueueData compound_que_data_list = 9;
|
|
}
|
|
|
|
message GetCompoundDataReq {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 141;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
IS_ALLOW_CLIENT = 1;
|
|
}
|
|
}
|
|
|
|
message GetCompoundDataRsp {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 149;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
}
|
|
|
|
int32 retcode = 3;
|
|
repeated uint32 unlock_compound_list = 11;
|
|
repeated CompoundQueueData compound_que_data_list = 7;
|
|
}
|
|
|
|
message PlayerTimeNotify {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 191;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
}
|
|
|
|
uint64 server_time = 5;
|
|
uint64 player_time = 11;
|
|
bool is_paused = 14;
|
|
}
|
|
|
|
message PlayerSetPauseReq {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 124;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
IS_ALLOW_CLIENT = 1;
|
|
}
|
|
|
|
bool is_paused = 1;
|
|
}
|
|
|
|
message PlayerSetPauseRsp {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 156;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
}
|
|
|
|
int32 retcode = 15;
|
|
}
|
|
|
|
message PlayerSetLanguageReq {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 142;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
IS_ALLOW_CLIENT = 1;
|
|
}
|
|
|
|
uint32 language_type = 5;
|
|
}
|
|
|
|
message PlayerSetLanguageRsp {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 130;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
}
|
|
|
|
int32 retcode = 11;
|
|
}
|
|
|
|
message DataResVersionNotify {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 167;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
}
|
|
|
|
enum DataResVersionOpType {
|
|
OP_TYPE_NONE = 0;
|
|
OP_TYPE_RELOGIN = 1;
|
|
OP_TYPE_MP_RELOGIN = 2;
|
|
}
|
|
|
|
string client_silence_md5 = 10;
|
|
string client_silence_version_suffix = 15;
|
|
ResVersionConfig res_version_config = 9;
|
|
bool is_data_need_relogin = 7;
|
|
DataResVersionOpType op_type = 12;
|
|
uint32 client_data_version = 2;
|
|
string client_version_suffix = 5;
|
|
uint32 client_silence_data_version = 1;
|
|
string client_md5 = 14;
|
|
}
|
|
|
|
message DailyTaskInfo {
|
|
uint32 reward_id = 3;
|
|
uint32 progress = 13;
|
|
uint32 finish_progress = 10;
|
|
uint32 daily_task_id = 4;
|
|
bool is_finished = 14;
|
|
}
|
|
|
|
message DailyTaskDataNotify {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 158;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
}
|
|
|
|
uint32 score_reward_id = 11;
|
|
uint32 finished_num = 4;
|
|
bool is_taken_score_reward = 9;
|
|
}
|
|
|
|
message DailyTaskProgressNotify {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 170;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
}
|
|
|
|
DailyTaskInfo info = 12;
|
|
}
|
|
|
|
message DailyTaskScoreRewardNotify {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 117;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
}
|
|
|
|
uint32 reward_id = 14;
|
|
}
|
|
|
|
message WorldOwnerDailyTaskNotify {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 102;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
IS_ALLOW_CLIENT = 1;
|
|
}
|
|
|
|
repeated DailyTaskInfo task_list = 1;
|
|
uint32 finished_daily_task_num = 5;
|
|
uint32 filter_city_id = 2;
|
|
}
|
|
|
|
message AddRandTaskInfoNotify {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 119;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
}
|
|
|
|
uint32 rand_task_id = 5;
|
|
Vector pos = 13;
|
|
}
|
|
|
|
message RemoveRandTaskInfoNotify {
|
|
enum FinishReason {
|
|
DEFAULT = 0;
|
|
CLEAR = 1;
|
|
DISTANCE = 2;
|
|
FINISH = 3;
|
|
}
|
|
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 161;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
}
|
|
|
|
bool is_succ = 9;
|
|
FinishReason reason = 10;
|
|
uint32 rand_task_id = 13;
|
|
}
|
|
|
|
message TakePlayerLevelRewardReq {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 129;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
IS_ALLOW_CLIENT = 1;
|
|
}
|
|
|
|
uint32 level = 3;
|
|
}
|
|
|
|
message TakePlayerLevelRewardRsp {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 157;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
}
|
|
|
|
uint32 reward_id = 9;
|
|
int32 retcode = 13;
|
|
uint32 level = 6;
|
|
}
|
|
|
|
message PlayerLevelRewardUpdateNotify {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 200;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
}
|
|
|
|
repeated uint32 level_list = 9;
|
|
}
|
|
|
|
message GivingRecord {
|
|
bool is_finished = 9;
|
|
uint32 group_id = 5;
|
|
bool is_gadget_giving = 8;
|
|
uint32 giving_id = 3;
|
|
uint32 last_group_id = 6;
|
|
uint32 config_id = 2;
|
|
map<uint32, uint32> material_cnt_map = 15;
|
|
}
|
|
|
|
message GivingRecordNotify {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 116;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
}
|
|
|
|
repeated GivingRecord giving_record_list = 14;
|
|
}
|
|
|
|
message GivingRecordChangeNotify {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 187;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
}
|
|
|
|
bool is_deactive = 11;
|
|
GivingRecord giving_record = 15;
|
|
}
|
|
|
|
message ItemGivingReq {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 140;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
IS_ALLOW_CLIENT = 1;
|
|
}
|
|
|
|
enum ItemGivingType {
|
|
QUEST = 0;
|
|
GADGET = 1;
|
|
}
|
|
|
|
map<uint64, uint32> item_guid_count_map = 15;
|
|
uint32 giving_id = 13;
|
|
repeated ItemParam item_param_list = 4;
|
|
ItemGivingType item_giving_type = 2;
|
|
}
|
|
|
|
message ItemGivingRsp {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 118;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
}
|
|
|
|
uint32 giving_group_id = 1;
|
|
uint32 giving_id = 13;
|
|
int32 retcode = 3;
|
|
}
|
|
|
|
message PlayerCookArgsReq {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 166;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
IS_ALLOW_CLIENT = 1;
|
|
}
|
|
|
|
uint32 assist_avatar = 10;
|
|
uint32 recipe_id = 11;
|
|
}
|
|
|
|
message PlayerCookArgsRsp {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 168;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
}
|
|
|
|
int32 retcode = 4;
|
|
float qte_range_ratio = 12;
|
|
}
|
|
|
|
message PlayerLuaShellNotify {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 133;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
}
|
|
|
|
LuaShellType shell_type = 7;
|
|
uint32 id = 5;
|
|
bytes lua_shell = 12;
|
|
uint32 use_type = 10;
|
|
}
|
|
|
|
message ServerDisconnectClientNotify {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 184;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
}
|
|
|
|
uint32 data = 10;
|
|
}
|
|
|
|
message AntiAddictNotify {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 180;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
}
|
|
|
|
int32 msg_type = 6;
|
|
string msg = 3;
|
|
string level = 5;
|
|
}
|
|
|
|
message PlayerForceExitReq {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 189;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
IS_ALLOW_CLIENT = 1;
|
|
}
|
|
}
|
|
|
|
message PlayerForceExitRsp {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 159;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
}
|
|
|
|
int32 retcode = 15;
|
|
}
|
|
|
|
message PlayerInjectFixNotify {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 132;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
}
|
|
|
|
uint32 id = 13;
|
|
bytes inject_fix = 10;
|
|
}
|
|
|
|
message TaskVar {
|
|
uint32 key = 8;
|
|
repeated int32 value_list = 6;
|
|
}
|
|
|
|
message TaskVarNotify {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 160;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
}
|
|
|
|
repeated TaskVar task_var_list = 7;
|
|
}
|
|
|
|
message ClientLockGameTimeNotify {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 114;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
IS_ALLOW_CLIENT = 1;
|
|
}
|
|
|
|
bool is_lock = 5;
|
|
}
|
|
|
|
message GetNextResourceInfoReq {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 192;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
IS_ALLOW_CLIENT = 1;
|
|
}
|
|
}
|
|
|
|
message GetNextResourceInfoRsp {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 120;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
}
|
|
|
|
string next_resource_url = 14;
|
|
ResVersionConfig next_res_version_config = 2;
|
|
int32 retcode = 12;
|
|
}
|
|
|
|
message AdjustWorldLevelReq {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 164;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
IS_ALLOW_CLIENT = 1;
|
|
}
|
|
|
|
uint32 expect_world_level = 8;
|
|
uint32 cur_world_level = 9;
|
|
}
|
|
|
|
message AdjustWorldLevelRsp {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 138;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
}
|
|
|
|
int32 retcode = 13;
|
|
uint32 cd_over_time = 15;
|
|
uint32 after_world_level = 14;
|
|
}
|
|
|
|
message DailyTaskFilterCityReq {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 111;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
IS_ALLOW_CLIENT = 1;
|
|
}
|
|
|
|
uint32 city_id = 8;
|
|
}
|
|
|
|
message DailyTaskFilterCityRsp {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 144;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
}
|
|
|
|
int32 retcode = 5;
|
|
uint32 city_id = 9;
|
|
}
|
|
|
|
message DailyTaskUnlockedCitiesNotify {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 186;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
}
|
|
|
|
repeated uint32 unlocked_city_list = 12;
|
|
}
|
|
|
|
message ExclusiveRuleInfo {
|
|
repeated uint32 object_id_list = 1;
|
|
uint32 rule_type = 10;
|
|
}
|
|
|
|
message ExclusiveRuleNotify {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 101;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
}
|
|
|
|
repeated ExclusiveRuleInfo rule_info_list = 5;
|
|
}
|
|
|
|
message CompoundUnlockNotify {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 128;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
}
|
|
|
|
uint32 compound_id = 3;
|
|
}
|
|
|
|
message GameplayRecommendationSkillRequest {
|
|
uint32 skill_depot_id = 1;
|
|
}
|
|
|
|
message GameplayRecommendationReliquaryRequest {
|
|
uint32 equip_type = 6;
|
|
}
|
|
|
|
message GameplayRecommendationElementReliquaryRequest {
|
|
uint32 equip_type = 9;
|
|
uint32 element_type = 12;
|
|
}
|
|
|
|
message GetGameplayRecommendationReq {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 151;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
IS_ALLOW_CLIENT = 1;
|
|
}
|
|
|
|
uint32 avatar_id = 9;
|
|
oneof detail {
|
|
GameplayRecommendationSkillRequest skill_request = 553;
|
|
GameplayRecommendationReliquaryRequest reliquary_request = 1993;
|
|
GameplayRecommendationElementReliquaryRequest element_reliquary_request = 1489;
|
|
}
|
|
}
|
|
|
|
message GameplayRecommendationSkillResponse {
|
|
uint32 skill_depot_id = 13;
|
|
repeated uint32 skill_id_list = 9;
|
|
}
|
|
|
|
message GameplayRecommendationReliquaryMainPropData {
|
|
uint32 permillage = 1;
|
|
uint32 main_prop_id = 12;
|
|
}
|
|
|
|
message GameplayRecommendationReliquaryResponse {
|
|
repeated GameplayRecommendationReliquaryMainPropData main_prop_data_list = 8;
|
|
uint32 equip_type = 3;
|
|
}
|
|
|
|
message GameplayRecommendationElementReliquaryResponse {
|
|
uint32 element_type = 11;
|
|
repeated GameplayRecommendationReliquaryMainPropData main_prop_data_list = 5;
|
|
uint32 equip_type = 15;
|
|
}
|
|
|
|
message GetGameplayRecommendationRsp {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 123;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
}
|
|
|
|
int32 retcode = 6;
|
|
uint32 avatar_id = 15;
|
|
oneof detail {
|
|
GameplayRecommendationSkillResponse skill_response = 1022;
|
|
GameplayRecommendationReliquaryResponse reliquary_response = 196;
|
|
GameplayRecommendationElementReliquaryResponse element_reliquary_response = 167;
|
|
}
|
|
}
|
|
|
|
message TakeBackGivingItemReq {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 171;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
IS_ALLOW_CLIENT = 1;
|
|
}
|
|
|
|
uint32 giving_id = 4;
|
|
}
|
|
|
|
message TakeBackGivingItemRsp {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 145;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
}
|
|
|
|
uint32 giving_id = 10;
|
|
int32 retcode = 6;
|
|
}
|
|
|
|
message PlayerNicknameAuditDataNotify {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 108;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
}
|
|
|
|
ContentAuditInfo info = 13;
|
|
}
|
|
|
|
message PlayerNicknameNotify {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 109;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
}
|
|
|
|
string nickname = 7;
|
|
}
|
|
|
|
message NicknameAuditConfigNotify {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 152;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
}
|
|
|
|
bool is_open = 8;
|
|
uint32 submit_limit = 12;
|
|
}
|
|
|
|
message ReadNicknameAuditReq {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 177;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
IS_ALLOW_CLIENT = 1;
|
|
}
|
|
}
|
|
|
|
message ReadNicknameAuditRsp {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 137;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
}
|
|
|
|
int32 retcode = 12;
|
|
}
|
|
|
|
message PlayerCompoundMaterialBoostReq {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 185;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
IS_ALLOW_CLIENT = 1;
|
|
}
|
|
|
|
bool is_boost_all = 8;
|
|
uint32 target_compound_group_id = 14;
|
|
uint32 consume_material_id = 9;
|
|
uint32 consume_material_count = 1;
|
|
}
|
|
|
|
message PlayerCompoundMaterialBoostRsp {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 125;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
}
|
|
|
|
repeated ItemParam take_item_list = 2;
|
|
CompoundBoostTakeStatusType take_status = 6;
|
|
int32 retcode = 7;
|
|
repeated CompoundQueueData compound_que_data_list = 1;
|
|
}
|
|
|
|
message PlayerGameTimeByLuaNotify {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 178;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
}
|
|
|
|
uint32 uid = 13;
|
|
uint32 sim_speed = 9;
|
|
uint32 game_time = 10;
|
|
}
|
|
|
|
message PlayerIpRegionNotify {
|
|
enum CmdId {
|
|
option allow_alias = true;
|
|
NONE = 0;
|
|
CMD_ID = 136;
|
|
ENET_CHANNEL_ID = 0;
|
|
ENET_IS_RELIABLE = 1;
|
|
}
|
|
|
|
string ip_code = 9;
|
|
}
|