格式化代码

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

View File

@@ -5,55 +5,55 @@ package ToTheMoonProto;
option go_package = "./;proto";
message Pos {
float x = 1;
float y = 2;
float z = 3;
float x = 1;
float y = 2;
float z = 3;
}
message SVONodeProto {
int32 area = 1;
int64 mortonIndex = 2;
int64 parent = 3;
int64 children = 4;
int32 childNum = 5;
repeated int64 neighbors = 6;
repeated int32 neighborsLevel = 7;
repeated int64 planarNeighbors = 8;
repeated int32 planarNeighborsLevel = 9;
repeated int64 diagonalNeighbors = 10;
repeated int32 diagonalNeighborsLevel = 11;
int32 area = 1;
int64 mortonIndex = 2;
int64 parent = 3;
int64 children = 4;
int32 childNum = 5;
repeated int64 neighbors = 6;
repeated int32 neighborsLevel = 7;
repeated int64 planarNeighbors = 8;
repeated int32 planarNeighborsLevel = 9;
repeated int64 diagonalNeighbors = 10;
repeated int32 diagonalNeighborsLevel = 11;
}
message SVOLayerProto {
int32 level = 1;
repeated SVONodeProto nodeData = 2;
int32 level = 1;
repeated SVONodeProto nodeData = 2;
}
message SVOStructureProto {
Pos basePos = 1;
repeated SVOLayerProto layerData = 2;
repeated int32 totalIndex = 3;
Pos basePos = 1;
repeated SVOLayerProto layerData = 2;
repeated int32 totalIndex = 3;
}
message SVOBlockProto {
SVOStructureProto svo = 1;
int32 sceneId = 2;
repeated int32 blockIndex = 3;
SVOStructureProto svo = 1;
int32 sceneId = 2;
repeated int32 blockIndex = 3;
}
message SVOWorldProto {
repeated SVOBlockProto blocks = 1;
float side_length = 2;
int32 sceneId = 3;
repeated SVOBlockProto blocks = 1;
float side_length = 2;
int32 sceneId = 3;
}
message SVONodeWrapperProto {
SVONodeProto svoNode = 1;
int32 level = 2;
SVONodeProto svoNode = 1;
int32 level = 2;
}
message SVONodePathProto {
Pos start = 1;
Pos end = 2;
repeated SVONodeWrapperProto svoNodes = 3;
Pos start = 1;
Pos end = 2;
repeated SVONodeWrapperProto svoNodes = 3;
}

View File

@@ -2,150 +2,150 @@ syntax = "proto3";
package proto;
option go_package = "./;proto";
import "server_only/bin_common.server.proto";
option go_package = "./;proto";
message BlossomChestBin {
uint32 blossom_chest_id = 1;
uint32 drop_id = 2;
fixed32 dead_time = 3;
repeated uint32 qualify_uid_list = 4;
repeated uint32 remain_uid_list = 5;
uint32 item_limit_type = 6;
uint32 refresh_id = 7;
uint32 blossom_chest_id = 1;
uint32 drop_id = 2;
fixed32 dead_time = 3;
repeated uint32 qualify_uid_list = 4;
repeated uint32 remain_uid_list = 5;
uint32 item_limit_type = 6;
uint32 refresh_id = 7;
}
message GadgetPlatformBin {
uint32 route_id = 1;
int32 point_index = 2;
bool is_started = 3;
uint32 point_id = 4;
uint32 moving_platform_type = 5;
uint32 route_id = 1;
int32 point_index = 2;
bool is_started = 3;
uint32 point_id = 4;
uint32 moving_platform_type = 5;
}
message BossChestBin {
repeated uint32 remain_uid_list = 1;
fixed32 dead_time = 2;
uint32 dead_level = 3;
repeated uint32 qualify_uid_list = 4;
repeated uint32 remain_uid_list = 1;
fixed32 dead_time = 2;
uint32 dead_level = 3;
repeated uint32 qualify_uid_list = 4;
}
message ChallengeRecordBin {
uint32 challenge_index = 1;
uint32 challenge_id = 2;
uint32 challenge_record_type = 3;
uint32 best_value = 4;
uint32 challenge_index = 1;
uint32 challenge_id = 2;
uint32 challenge_record_type = 3;
uint32 best_value = 4;
}
message BossDieInfoBin {
repeated uint32 surround_uid_list = 1;
fixed32 dead_time = 2;
uint32 dead_level = 3;
repeated uint32 surround_uid_list = 1;
fixed32 dead_time = 2;
uint32 dead_level = 3;
}
message GroupTriggerBin {
uint32 trigger_count = 1;
uint32 config_id = 2;
uint32 trigger_count = 1;
uint32 config_id = 2;
}
message GeneralRewardBin {
uint32 drop_id = 1;
uint32 reward_id = 2;
uint32 drop_num = 3;
map<uint32, uint32> drop_map = 4;
uint32 drop_id = 1;
uint32 reward_id = 2;
uint32 drop_num = 3;
map<uint32, uint32> drop_map = 4;
}
message GadgetGeneralRewardBin {
uint32 resin = 2;
uint32 dead_time = 3;
repeated uint32 remain_uid_list = 5;
map<uint32, GeneralRewardBin> qualify_info_map = 7;
uint32 destroy_cd = 8;
uint32 item_limit_type = 9;
ItemParamBin item_param = 10;
repeated uint32 open_state_list = 11;
uint32 resin = 2;
uint32 dead_time = 3;
repeated uint32 remain_uid_list = 5;
map<uint32, GeneralRewardBin> qualify_info_map = 7;
uint32 destroy_cd = 8;
uint32 item_limit_type = 9;
ItemParamBin item_param = 10;
repeated uint32 open_state_list = 11;
}
message FishStockBin {
uint32 stock_type = 1;
uint32 gen_fish_num = 2;
uint32 max_num = 3;
uint32 stock_type = 1;
uint32 gen_fish_num = 2;
uint32 max_num = 3;
}
message GadgetFishPoolBin {
repeated FishStockBin fish_stock_list = 1;
uint32 today_fish_num = 2;
uint32 last_refresh_today_fish_time = 3;
map<uint32, uint32> cached_fish_map = 4;
repeated FishStockBin fish_stock_list = 1;
uint32 today_fish_num = 2;
uint32 last_refresh_today_fish_time = 3;
map<uint32, uint32> cached_fish_map = 4;
}
message CustomGadgetNodeInfoBin {
int32 parent_index = 1;
uint32 config_id = 2;
string slot_identifier = 3;
int32 parent_index = 1;
uint32 config_id = 2;
string slot_identifier = 3;
}
message CustomGadgetTreeInfoBin {
repeated CustomGadgetNodeInfoBin node_list = 1;
repeated CustomGadgetNodeInfoBin node_list = 1;
}
message GadgetWorktopBin {
repeated uint32 option_list = 1;
repeated uint32 option_list = 1;
}
message GroupGadgetBin {
uint32 gadget_state = 1;
bool is_enable_interact = 2;
uint32 gadget_talk_state = 3;
oneof component {
GadgetPlatformBin platform = 101;
BossChestBin boss_chest = 102;
BlossomChestBin blossom_chest = 103;
GadgetGeneralRewardBin general_reward = 104;
GadgetFishPoolBin fish_pool = 105;
CustomGadgetTreeInfoBin custom_gadget_tree_info = 106;
GadgetWorktopBin worktop = 107;
}
uint32 gadget_state = 1;
bool is_enable_interact = 2;
uint32 gadget_talk_state = 3;
oneof component {
GadgetPlatformBin platform = 101;
BossChestBin boss_chest = 102;
BlossomChestBin blossom_chest = 103;
GadgetGeneralRewardBin general_reward = 104;
GadgetFishPoolBin fish_pool = 105;
CustomGadgetTreeInfoBin custom_gadget_tree_info = 106;
GadgetWorktopBin worktop = 107;
}
}
message GroupMonsterBin {
uint32 dropped_hp_percent = 1;
uint32 dropped_hp_percent = 1;
}
message GroupGatherBin {
uint32 config_id = 1;
fixed32 last_refresh_time = 2;
uint32 config_id = 1;
fixed32 last_refresh_time = 2;
}
message GroupRefreshTimeBin {
uint32 save_type = 1;
fixed32 last_refresh_time = 2;
uint32 save_type = 1;
fixed32 last_refresh_time = 2;
}
message GroupBin {
map<uint32, GroupMonsterBin> monster_map = 1;
repeated uint32 del_monster_list = 2;
map<uint32, GroupGadgetBin> gadget_map = 3;
repeated uint32 del_gadget_list = 4;
map<string, GroupTriggerBin> trigger_map = 5;
map<string, GroupVariableBin> variable_map = 6;
uint32 suite_index = 7;
repeated uint32 show_cutscene_chest_list = 8;
repeated ChallengeRecordBin challenge_record_list = 9;
uint32 revise_level = 10;
fixed32 last_refresh_time = 11;
uint32 target_suite_index = 12;
map<uint32, BossDieInfoBin> boss_die_info_map = 13;
repeated GroupGatherBin gather_refresh_time_list = 14;
bool is_replaceable = 15;
uint32 replaceable_version = 16;
repeated GroupTriggerBin trigger_list = 17;
repeated GroupRefreshTimeBin group_refresh_list = 18;
repeated GroupVariableConfigIdBin variable_config_id_bin_list = 19;
map<uint32, GroupMonsterBin> monster_map = 1;
repeated uint32 del_monster_list = 2;
map<uint32, GroupGadgetBin> gadget_map = 3;
repeated uint32 del_gadget_list = 4;
map<string, GroupTriggerBin> trigger_map = 5;
map<string, GroupVariableBin> variable_map = 6;
uint32 suite_index = 7;
repeated uint32 show_cutscene_chest_list = 8;
repeated ChallengeRecordBin challenge_record_list = 9;
uint32 revise_level = 10;
fixed32 last_refresh_time = 11;
uint32 target_suite_index = 12;
map<uint32, BossDieInfoBin> boss_die_info_map = 13;
repeated GroupGatherBin gather_refresh_time_list = 14;
bool is_replaceable = 15;
uint32 replaceable_version = 16;
repeated GroupTriggerBin trigger_list = 17;
repeated GroupRefreshTimeBin group_refresh_list = 18;
repeated GroupVariableConfigIdBin variable_config_id_bin_list = 19;
}
message BlockBin {
map<uint32, bytes> group_map = 1;
map<uint32, GroupProductBin> group_product_map = 2;
map<uint32, bytes> group_map = 1;
map<uint32, GroupProductBin> group_product_map = 2;
}

View File

@@ -2,321 +2,321 @@ syntax = "proto3";
package proto;
import "define.proto";
import "server_only/bin_common.server.proto";
option go_package = "./;proto";
import "server_only/bin_common.server.proto";
import "define.proto";
message HomeBasicCompBin {
uint64 trans_no_count = 1;
uint64 exp = 4;
uint32 level = 5;
string owner_nick_name = 6;
uint32 total_home_time = 7;
uint64 home_time_ms = 8;
uint64 trans_no_count = 1;
uint64 exp = 4;
uint32 level = 5;
string owner_nick_name = 6;
uint32 total_home_time = 7;
uint64 home_time_ms = 8;
}
message HomeFurnitureBin {
uint32 furniture_id = 1;
VectorBin spawn_pos = 3;
VectorBin spawn_rot = 4;
int32 parent_furniture_index = 7;
uint32 guid = 8;
uint32 version = 9;
uint32 furniture_id = 1;
VectorBin spawn_pos = 3;
VectorBin spawn_rot = 4;
int32 parent_furniture_index = 7;
uint32 guid = 8;
uint32 version = 9;
}
message HomeFurnitureSuiteBin {
uint32 suite_id = 1;
VectorBin spawn_pos = 2;
repeated int32 included_furniture_index_list = 3;
uint32 guid = 4;
bool is_allow_summon = 5;
uint32 suite_id = 1;
VectorBin spawn_pos = 2;
repeated int32 included_furniture_index_list = 3;
uint32 guid = 4;
bool is_allow_summon = 5;
}
message HomeNpcBin {
uint32 avatar_id = 1;
VectorBin spawn_pos = 2;
VectorBin spawn_rot = 3;
uint32 costume_id = 4;
uint32 avatar_id = 1;
VectorBin spawn_pos = 2;
VectorBin spawn_rot = 3;
uint32 costume_id = 4;
}
message HomeAnimalBin {
uint32 furniture_id = 1;
VectorBin spawn_pos = 2;
VectorBin spawn_rot = 3;
uint32 furniture_id = 1;
VectorBin spawn_pos = 2;
VectorBin spawn_rot = 3;
}
message HomeBlockSubFieldBin {
VectorBin spawn_pos = 1;
VectorBin spawn_rot = 2;
VectorBin spawn_pos = 1;
VectorBin spawn_rot = 2;
}
message HomeBlockFieldBin {
uint32 guid = 1;
uint32 furniture_id = 2;
VectorBin spawn_pos = 3;
VectorBin spawn_rot = 4;
repeated HomeBlockSubFieldBin sub_field_list = 5;
uint32 guid = 1;
uint32 furniture_id = 2;
VectorBin spawn_pos = 3;
VectorBin spawn_rot = 4;
repeated HomeBlockSubFieldBin sub_field_list = 5;
}
message HomeFurnitureGroupBin {
uint32 group_furniture_index = 1;
repeated HomeFurnitureBin virtual_furniure_list = 2;
uint32 group_furniture_index = 1;
repeated HomeFurnitureBin virtual_furniure_list = 2;
}
message HomeFurnitureCustomSuiteBin {
VectorBin spawn_pos = 1;
repeated int32 included_furniture_index_list = 2;
uint32 guid = 3;
VectorBin spawn_pos = 1;
repeated int32 included_furniture_index_list = 2;
uint32 guid = 3;
}
message HomeBlockBin {
uint32 block_id = 1;
repeated HomeFurnitureBin persistent_furniture_list = 2;
repeated HomeFurnitureBin deploy_furniure_list = 3;
repeated HomeNpcBin deploy_npc_list = 4;
repeated HomeFurnitureSuiteBin furniture_suite_list = 5;
repeated HomeAnimalBin deploy_animal_list = 6;
bool is_unlocked = 7;
repeated HomeBlockFieldBin deploy_field_list = 8;
repeated HomeFurnitureGroupBin deploy_furniture_group_list = 9;
repeated HomeFurnitureCustomSuiteBin furniture_custom_suite_list = 10;
uint32 block_id = 1;
repeated HomeFurnitureBin persistent_furniture_list = 2;
repeated HomeFurnitureBin deploy_furniure_list = 3;
repeated HomeNpcBin deploy_npc_list = 4;
repeated HomeFurnitureSuiteBin furniture_suite_list = 5;
repeated HomeAnimalBin deploy_animal_list = 6;
bool is_unlocked = 7;
repeated HomeBlockFieldBin deploy_field_list = 8;
repeated HomeFurnitureGroupBin deploy_furniture_group_list = 9;
repeated HomeFurnitureCustomSuiteBin furniture_custom_suite_list = 10;
}
message HomeSceneBin {
uint32 scene_id = 1;
SceneBin scene_bin = 2;
repeated HomeBlockBin block_bin_list = 3;
bool is_set_born_pos = 4;
VectorBin born_pos = 5;
VectorBin born_rot = 6;
repeated HomeFurnitureBin door_list = 7;
repeated HomeFurnitureBin stair_list = 8;
HomeFurnitureBin main_house = 9;
VectorBin djinn_pos = 10;
uint32 tmp_version = 12;
fixed32 save_time = 13;
uint32 bgm_id = 14;
uint32 scene_id = 1;
SceneBin scene_bin = 2;
repeated HomeBlockBin block_bin_list = 3;
bool is_set_born_pos = 4;
VectorBin born_pos = 5;
VectorBin born_rot = 6;
repeated HomeFurnitureBin door_list = 7;
repeated HomeFurnitureBin stair_list = 8;
HomeFurnitureBin main_house = 9;
VectorBin djinn_pos = 10;
uint32 tmp_version = 12;
fixed32 save_time = 13;
uint32 bgm_id = 14;
}
message HomeModuleBin {
uint32 module_id = 1;
uint32 cur_room_scene_id = 2;
repeated HomeSceneBin scene_bin_list = 3;
uint32 module_id = 1;
uint32 cur_room_scene_id = 2;
repeated HomeSceneBin scene_bin_list = 3;
}
message HomeSceneCompBin {
uint32 cur_module_id = 1;
repeated HomeModuleBin module_bin_list = 2;
uint32 cur_module_id = 1;
repeated HomeModuleBin module_bin_list = 2;
}
message HomeOfflineMsgExeBin {
HomeOfflineMsgBin msg = 1;
uint32 exe_times = 2;
HomeOfflineMsgBin msg = 1;
uint32 exe_times = 2;
}
message HomeOfflineMsgCompBin {
uint32 index = 1;
repeated HomeOfflineMsgExeBin next_offline_msg_list = 2;
uint32 index = 1;
repeated HomeOfflineMsgExeBin next_offline_msg_list = 2;
}
message HomeFurnitureMakeBin {
repeated FurnitureMakeSlotsBin furniture_make_slots_bin_list = 1;
repeated FurnitureMakeSlotsBin furniture_make_slots_bin_list = 1;
}
message HomeLimitedShopPoolRecordBin {
uint32 pool_id = 1;
repeated uint32 goods_id_list = 2;
uint32 pool_id = 1;
repeated uint32 goods_id_list = 2;
}
message HomeLimitedShopGoodsInfoBin {
uint32 goods_id = 1;
uint32 buy_num = 2;
uint32 goods_id = 1;
uint32 buy_num = 2;
}
message HomeLimitedShopNPCPosBin {
uint32 module_id = 1;
uint32 scene_id = 4;
uint32 block_id = 5;
uint32 index = 6;
uint32 module_id = 1;
uint32 scene_id = 4;
uint32 block_id = 5;
uint32 index = 6;
}
message HomeLimitedShopBin {
uint32 last_refresh_time = 1;
repeated HomeLimitedShopPoolRecordBin pool_record_bin_list = 3;
repeated HomeLimitedShopGoodsInfoBin goods_info_bin_list = 4;
repeated HomeLimitedShopNPCPosBin npc_pos_bin_list = 5;
uint32 last_refresh_time = 1;
repeated HomeLimitedShopPoolRecordBin pool_record_bin_list = 3;
repeated HomeLimitedShopGoodsInfoBin goods_info_bin_list = 4;
repeated HomeLimitedShopNPCPosBin npc_pos_bin_list = 5;
}
message HomePlantSubFieldBin {
uint32 index = 1;
uint32 seed_id = 2;
uint32 grow_time = 3;
uint32 last_update_time = 4;
repeated uint32 gather_index_list = 5;
uint32 home_gather_id = 6;
uint32 index = 1;
uint32 seed_id = 2;
uint32 grow_time = 3;
uint32 last_update_time = 4;
repeated uint32 gather_index_list = 5;
uint32 home_gather_id = 6;
}
message HomePlantFieldBin {
uint32 module_id = 1;
uint32 scene_id = 2;
uint32 guid = 3;
uint32 furniture_id = 4;
repeated HomePlantSubFieldBin sub_field_bin_list = 5;
uint32 module_id = 1;
uint32 scene_id = 2;
uint32 guid = 3;
uint32 furniture_id = 4;
repeated HomePlantSubFieldBin sub_field_bin_list = 5;
}
message HomePlantBin {
repeated HomePlantFieldBin field_bin_list = 1;
repeated HomePlantFieldBin field_bin_list = 1;
}
message HomeFishpondFarmingBin {
uint32 scene_id = 1;
uint32 fishpond_guid = 2;
uint32 furniture_id = 3;
repeated uint32 fish_id_list = 4;
uint32 scene_id = 1;
uint32 fishpond_guid = 2;
uint32 furniture_id = 3;
repeated uint32 fish_id_list = 4;
}
message HomeScenePointFishFarmingBin {
uint32 scene_id = 1;
uint32 local_entity_id = 2;
repeated uint32 fish_id_list = 4;
uint32 scene_id = 1;
uint32 local_entity_id = 2;
repeated uint32 fish_id_list = 4;
}
message HomeModuleFishFarmingBin {
uint32 module_id = 1;
repeated HomeFishpondFarmingBin fishpond_farming_bin_list = 2;
repeated HomeScenePointFishFarmingBin scene_point_fish_farming_bin_list = 3;
uint32 module_id = 1;
repeated HomeFishpondFarmingBin fishpond_farming_bin_list = 2;
repeated HomeScenePointFishFarmingBin scene_point_fish_farming_bin_list = 3;
}
message HomeFishFarmingBin {
repeated HomeModuleFishFarmingBin module_fish_farming_bin_list = 1;
repeated HomeModuleFishFarmingBin module_fish_farming_bin_list = 1;
}
message HomeCustomFurnitureNodeInfoBin {
int32 parent_index = 1;
uint32 furniture_id = 2;
string slot_identifier = 3;
int32 parent_index = 1;
uint32 furniture_id = 2;
string slot_identifier = 3;
}
message HomeOneCustomFurnitureBin {
uint32 scene_id = 1;
uint32 guid = 2;
uint32 furniture_id = 3;
repeated HomeCustomFurnitureNodeInfoBin sub_furniture_list = 4;
uint32 scene_id = 1;
uint32 guid = 2;
uint32 furniture_id = 3;
repeated HomeCustomFurnitureNodeInfoBin sub_furniture_list = 4;
}
message HomeModuleCustomFurnitureBin {
uint32 module_id = 1;
repeated HomeOneCustomFurnitureBin custom_furniture_bin_list = 2;
uint32 module_id = 1;
repeated HomeOneCustomFurnitureBin custom_furniture_bin_list = 2;
}
message HomeCustomFurnitureBin {
repeated HomeModuleCustomFurnitureBin module_custom_furniture_bin_list = 1;
repeated HomeModuleCustomFurnitureBin module_custom_furniture_bin_list = 1;
}
message HomeOnePictureFrameBin {
uint32 scene_id = 1;
uint32 guid = 2;
uint32 furniture_id = 3;
uint32 picture_id = 4;
uint32 scene_id = 1;
uint32 guid = 2;
uint32 furniture_id = 3;
uint32 picture_id = 4;
}
message HomeModulePictureFrameBin {
uint32 module_id = 1;
repeated HomeOnePictureFrameBin picture_frame_bin_list = 2;
uint32 module_id = 1;
repeated HomeOnePictureFrameBin picture_frame_bin_list = 2;
}
message HomePictureFrameBin {
repeated HomeModulePictureFrameBin module_picture_frame_bin_list = 1;
repeated HomeModulePictureFrameBin module_picture_frame_bin_list = 1;
}
message HomeGroupPlayerInfoBin {
uint32 uid = 1;
string nickname = 2;
uint32 player_level = 3;
ProfilePictureBin profile_picture = 4;
string online_id = 5;
string psn_id = 6;
uint32 uid = 1;
string nickname = 2;
uint32 player_level = 3;
ProfilePictureBin profile_picture = 4;
string online_id = 5;
string psn_id = 6;
}
message HomeRacingGalleryRecordBin {
uint32 use_time = 1;
HomeGroupPlayerInfoBin player_info = 2;
uint32 timestamp = 3;
uint32 use_time = 1;
HomeGroupPlayerInfoBin player_info = 2;
uint32 timestamp = 3;
}
message HomeRacingRecordBin {
repeated HomeRacingGalleryRecordBin record_list = 1;
repeated HomeRacingGalleryRecordBin record_list = 1;
}
message HomeBalloonGalleryRecordBin {
uint32 score = 1;
uint32 hit_count = 2;
HomeGroupPlayerInfoBin player_info = 3;
uint32 timestamp = 4;
uint32 score = 1;
uint32 hit_count = 2;
HomeGroupPlayerInfoBin player_info = 3;
uint32 timestamp = 4;
}
message HomeBalloonRecordBin {
repeated HomeBalloonGalleryRecordBin record_list = 1;
repeated HomeBalloonGalleryRecordBin record_list = 1;
}
message HomeStakePlayRecordBin {
uint32 timestamp = 1;
repeated HomeGroupPlayerInfoBin engaged_player_info_list = 2;
uint32 timestamp = 1;
repeated HomeGroupPlayerInfoBin engaged_player_info_list = 2;
}
message HomeStakeRecordBin {
repeated HomeStakePlayRecordBin record_list = 1;
repeated HomeStakePlayRecordBin record_list = 1;
}
message HomeSeekFurniturePlayerScoreBin {
HomeGroupPlayerInfoBin player_info = 1;
uint32 score = 2;
HomeGroupPlayerInfoBin player_info = 1;
uint32 score = 2;
}
message HomeSeekFurnitureOneRecordBin {
uint32 timestamp = 1;
repeated HomeSeekFurniturePlayerScoreBin engaged_player_score_list = 2;
uint32 timestamp = 1;
repeated HomeSeekFurniturePlayerScoreBin engaged_player_score_list = 2;
}
message HomeSeekFurnitureAllRecordBin {
repeated HomeSeekFurnitureOneRecordBin record_list = 1;
repeated HomeSeekFurnitureOneRecordBin record_list = 1;
}
message HomeGroupRecordBin {
oneof detail {
HomeRacingRecordBin racing_gallery_info_bin = 11;
HomeBalloonRecordBin balloon_gallery_info_bin = 12;
HomeStakeRecordBin stake_play_info_bin = 13;
HomeSeekFurnitureAllRecordBin seek_furniture_play_info_bin = 14;
}
oneof detail {
HomeRacingRecordBin racing_gallery_info_bin = 11;
HomeBalloonRecordBin balloon_gallery_info_bin = 12;
HomeStakeRecordBin stake_play_info_bin = 13;
HomeSeekFurnitureAllRecordBin seek_furniture_play_info_bin = 14;
}
}
message HomeGroupRecordCompBin {
map<uint32, HomeGroupRecordBin> group_record_map_bin = 1;
map<uint32, HomeGroupRecordBin> group_record_map_bin = 1;
}
message HomeBlueprintCompBin {
bool is_allow_friend_copy = 1;
bool is_allow_friend_copy = 1;
}
message HomeDataBin {
HomeBasicCompBin basic_bin = 1;
HomeSceneCompBin scene_bin = 2;
HomeOfflineMsgCompBin offline_msg_bin = 3;
HomeFurnitureMakeBin furniture_make_bin = 4;
HomeLimitedShopBin limited_shop_bin = 5;
HomePlantBin plant_bin = 6;
HomeFishFarmingBin fish_farming_bin = 7;
HomeCustomFurnitureBin custom_furniture_bin = 8;
HomePictureFrameBin picture_frame_bin = 9;
HomeGroupRecordCompBin group_record_bin = 10;
HomeBlueprintCompBin blueprint_bin = 11;
HomeBasicCompBin basic_bin = 1;
HomeSceneCompBin scene_bin = 2;
HomeOfflineMsgCompBin offline_msg_bin = 3;
HomeFurnitureMakeBin furniture_make_bin = 4;
HomeLimitedShopBin limited_shop_bin = 5;
HomePlantBin plant_bin = 6;
HomeFishFarmingBin fish_farming_bin = 7;
HomeCustomFurnitureBin custom_furniture_bin = 8;
HomePictureFrameBin picture_frame_bin = 9;
HomeGroupRecordCompBin group_record_bin = 10;
HomeBlueprintCompBin blueprint_bin = 11;
}
message HomeData {
uint32 uid = 1;
uint32 data_version = 2;
bytes bin_data = 3;
int32 block_end_time = 4;
uint32 uid = 1;
uint32 data_version = 2;
bytes bin_data = 3;
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

View File

@@ -5,125 +5,125 @@ package proto;
option go_package = "./;proto";
message SeaLampPlayerContributionNotify {
enum CmdId {
NONE = 0;
CMD_ID = 10672;
}
enum CmdId {
NONE = 0;
CMD_ID = 10672;
}
uint32 total_contribution = 1;
uint32 add_progress = 2;
uint32 total_contribution = 1;
uint32 add_progress = 2;
}
message SeaLampProgressNotify {
enum CmdId {
NONE = 0;
CMD_ID = 10698;
}
enum CmdId {
NONE = 0;
CMD_ID = 10698;
}
uint32 schedule_id = 1;
uint32 progress = 2;
bool is_finished = 3;
bool is_changed_by_muip = 4;
uint32 schedule_id = 1;
uint32 progress = 2;
bool is_finished = 3;
bool is_changed_by_muip = 4;
}
message SeaLampBroadcastNotify {
enum CmdId {
NONE = 0;
CMD_ID = 10612;
}
enum CmdId {
NONE = 0;
CMD_ID = 10612;
}
uint32 schedule_id = 1;
uint32 last_phase = 2;
uint32 phase = 3;
uint32 progress = 4;
bool is_changed_by_muip = 5;
uint32 schedule_id = 1;
uint32 last_phase = 2;
uint32 phase = 3;
uint32 progress = 4;
bool is_changed_by_muip = 5;
}
message SeaLampSetProgressByMuipReq {
enum CmdId {
NONE = 0;
CMD_ID = 10635;
}
enum CmdId {
NONE = 0;
CMD_ID = 10635;
}
uint32 progress = 1;
uint32 progress = 1;
}
message SeaLampSetProgressByMuipRsp {
enum CmdId {
NONE = 0;
CMD_ID = 10607;
}
enum CmdId {
NONE = 0;
CMD_ID = 10607;
}
int32 retcode = 1;
uint32 old_progress = 2;
uint32 new_progress = 3;
uint32 factor = 4;
int32 retcode = 1;
uint32 old_progress = 2;
uint32 new_progress = 3;
uint32 factor = 4;
}
message SeaLampProgressImplementNotify {
enum CmdId {
NONE = 0;
CMD_ID = 10621;
}
enum CmdId {
NONE = 0;
CMD_ID = 10621;
}
SeaLampProgressNotify msg = 1;
SeaLampProgressNotify msg = 1;
}
message SeaLampClearProgressByGmNotify {
enum CmdId {
NONE = 0;
CMD_ID = 10603;
}
enum CmdId {
NONE = 0;
CMD_ID = 10603;
}
}
message SeaLampAddProgressByMuipReq {
enum CmdId {
NONE = 0;
CMD_ID = 10690;
}
enum CmdId {
NONE = 0;
CMD_ID = 10690;
}
uint32 add_progress = 1;
uint32 add_progress = 1;
}
message SeaLampAddProgressByMuipRsp {
enum CmdId {
NONE = 0;
CMD_ID = 10673;
}
enum CmdId {
NONE = 0;
CMD_ID = 10673;
}
int32 retcode = 1;
uint32 old_progress = 2;
uint32 new_progress = 3;
uint32 factor = 4;
int32 retcode = 1;
uint32 old_progress = 2;
uint32 new_progress = 3;
uint32 factor = 4;
}
message SeaLampActivityDataMuip {
uint32 progress = 1;
uint32 phase_id = 2;
uint32 factor = 3;
uint32 progress = 1;
uint32 phase_id = 2;
uint32 factor = 3;
}
message GetActivityDataByMuipReq {
enum CmdId {
NONE = 0;
CMD_ID = 10699;
}
enum CmdId {
NONE = 0;
CMD_ID = 10699;
}
uint32 activity_id = 1;
uint32 activity_id = 1;
}
message GetActivityDataByMuipRsp {
enum CmdId {
NONE = 0;
CMD_ID = 10631;
}
enum CmdId {
NONE = 0;
CMD_ID = 10631;
}
int32 retcode = 1;
uint32 activity_id = 2;
uint32 schedule_id = 3;
bool is_started = 4;
bool is_finished = 5;
oneof detail {
SeaLampActivityDataMuip sea_lamp_data = 10;
}
int32 retcode = 1;
uint32 activity_id = 2;
uint32 schedule_id = 3;
bool is_started = 4;
bool is_finished = 5;
oneof detail {
SeaLampActivityDataMuip sea_lamp_data = 10;
}
}

View File

@@ -2,368 +2,368 @@ syntax = "proto3";
package proto;
option go_package = "./;proto";
import "define.proto";
import "cmd/cmd_gcg_common.proto";
import "cmd/cmd_gcg.proto";
import "cmd/cmd_gcg_common.proto";
import "define.proto";
import "server_only/cmd_match.server.proto";
option go_package = "./;proto";
enum GCGStatisticSpecifyItemType {
SPECIFY_INIT = 0;
DIE_CHARACTER_NUM = 1;
ALIVE_CHARACTER_HP_SUM = 2;
BEING_DAMAGE_SUM = 3;
BEING_HEAL_SUM = 4;
SHIELD_REDUCE_SUM = 5;
REST_ENERGY = 6;
REST_THINK_REST_VIRTUAL_DICE_SUM = 7;
REST_DISCARD_INTENTION_SUM = 8;
REST_DISCARD_INTENTION_DAMAGE_SUM = 9;
ELEMENT_REACTION_TIMES = 10;
ONE_HIT_DAMAGE_VEC = 11;
PLAY_CARD_TIMES = 12;
SUMMON_TIMES = 13;
SKILL_TAG_Q_TIMES = 14;
ONE_OPERATION_KILL_COUNT_VEC = 15;
CHARACTER_DIE_TIMES = 16;
BEING_DAMAGE_OVERFLOW_SUM = 17;
SPECIFY_INIT = 0;
DIE_CHARACTER_NUM = 1;
ALIVE_CHARACTER_HP_SUM = 2;
BEING_DAMAGE_SUM = 3;
BEING_HEAL_SUM = 4;
SHIELD_REDUCE_SUM = 5;
REST_ENERGY = 6;
REST_THINK_REST_VIRTUAL_DICE_SUM = 7;
REST_DISCARD_INTENTION_SUM = 8;
REST_DISCARD_INTENTION_DAMAGE_SUM = 9;
ELEMENT_REACTION_TIMES = 10;
ONE_HIT_DAMAGE_VEC = 11;
PLAY_CARD_TIMES = 12;
SUMMON_TIMES = 13;
SKILL_TAG_Q_TIMES = 14;
ONE_OPERATION_KILL_COUNT_VEC = 15;
CHARACTER_DIE_TIMES = 16;
BEING_DAMAGE_OVERFLOW_SUM = 17;
}
enum GCGStatisticCommonItemType {
COMMON_INIT = 0;
CONTROLLER_A_WIN = 1;
ROUND_NUM = 2;
WINNER_REST_DICE = 3;
PHASE_MAIN_TIME_USE = 4;
COMMON_INIT = 0;
CONTROLLER_A_WIN = 1;
ROUND_NUM = 2;
WINNER_REST_DICE = 3;
PHASE_MAIN_TIME_USE = 4;
}
message ServerGCGVerify {
uint32 game_uid = 1;
uint32 verify_code = 2;
uint32 app_id = 3;
uint32 thread_index = 4;
uint32 game_uid = 1;
uint32 verify_code = 2;
uint32 app_id = 3;
uint32 thread_index = 4;
}
message ServerGCGOperationReq {
enum CmdId {
NONE = 0;
CMD_ID = 12436;
}
enum CmdId {
NONE = 0;
CMD_ID = 12436;
}
uint32 uid = 1;
GCGOperation op = 2;
uint32 op_seq = 3;
uint32 uid = 1;
GCGOperation op = 2;
uint32 op_seq = 3;
}
message ServerGCGOperationRsp {
enum CmdId {
NONE = 0;
CMD_ID = 12407;
}
enum CmdId {
NONE = 0;
CMD_ID = 12407;
}
int32 retcode = 1;
uint32 op_seq = 2;
int32 retcode = 1;
uint32 op_seq = 2;
}
message ServerGCGAskDuelReq {
enum CmdId {
NONE = 0;
CMD_ID = 12457;
}
enum CmdId {
NONE = 0;
CMD_ID = 12457;
}
uint32 uid = 1;
uint32 uid = 1;
}
message ServerGCGNewGameInfoNotify {
enum CmdId {
NONE = 0;
CMD_ID = 12360;
}
enum CmdId {
NONE = 0;
CMD_ID = 12360;
}
uint32 app_id = 1;
uint32 thread_index = 2;
GCGGameBriefData game_brief_data = 3;
uint32 create_time = 4;
uint32 try_create_time = 5;
uint32 app_id = 1;
uint32 thread_index = 2;
GCGGameBriefData game_brief_data = 3;
uint32 create_time = 4;
uint32 try_create_time = 5;
}
message ServerGCGGMCommandReq {
enum CmdId {
NONE = 0;
CMD_ID = 12373;
}
enum CmdId {
NONE = 0;
CMD_ID = 12373;
}
repeated string msg_list = 1;
repeated string msg_list = 1;
}
message ServerGCGGMCommandRsp {
enum CmdId {
NONE = 0;
CMD_ID = 12338;
}
enum CmdId {
NONE = 0;
CMD_ID = 12338;
}
int32 retcode = 1;
string ret_msg = 2;
string ret_extra_content = 3;
int32 retcode = 1;
string ret_msg = 2;
string ret_extra_content = 3;
}
message ServerGCGInitFinishReq {
enum CmdId {
NONE = 0;
CMD_ID = 12334;
}
enum CmdId {
NONE = 0;
CMD_ID = 12334;
}
int32 retcode = 1;
int32 retcode = 1;
}
message ServerGCGSyncReq {
enum CmdId {
NONE = 0;
CMD_ID = 12456;
}
enum CmdId {
NONE = 0;
CMD_ID = 12456;
}
uint32 game_uid = 1;
uint32 verify_code = 2;
bool is_login = 3;
uint32 game_uid = 1;
uint32 verify_code = 2;
bool is_login = 3;
}
message ServerGCGSyncRsp {
enum CmdId {
NONE = 0;
CMD_ID = 12328;
}
enum CmdId {
NONE = 0;
CMD_ID = 12328;
}
int32 retcode = 1;
uint32 game_uid = 2;
uint32 verify_code = 3;
uint32 app_id = 4;
uint32 thread_index = 5;
bool is_login = 6;
int32 retcode = 1;
uint32 game_uid = 2;
uint32 verify_code = 3;
uint32 app_id = 4;
uint32 thread_index = 5;
bool is_login = 6;
}
message GCGPlayerData {
OnlinePlayerInfo player_info = 1;
GCGDuelExtra duel_extra = 2;
OnlinePlayerInfo player_info = 1;
GCGDuelExtra duel_extra = 2;
}
message ServerGCGCreateSingleGameReq {
enum CmdId {
NONE = 0;
CMD_ID = 12489;
}
enum CmdId {
NONE = 0;
CMD_ID = 12489;
}
uint32 game_id = 1;
GCGGameBusinessType business_type = 2;
GCGPlayerData player_data = 3;
repeated uint32 custom_param_list = 4;
uint32 try_create_time = 5;
uint32 game_id = 1;
GCGGameBusinessType business_type = 2;
GCGPlayerData player_data = 3;
repeated uint32 custom_param_list = 4;
uint32 try_create_time = 5;
}
message ServerGCGCreateSingleGameRsp {
enum CmdId {
NONE = 0;
CMD_ID = 12308;
}
enum CmdId {
NONE = 0;
CMD_ID = 12308;
}
int32 retcode = 1;
uint32 game_id = 2;
int32 retcode = 1;
uint32 game_id = 2;
}
message ServerGCGGiveUpGameReq {
enum CmdId {
NONE = 0;
CMD_ID = 12499;
}
enum CmdId {
NONE = 0;
CMD_ID = 12499;
}
uint32 game_uid = 1;
uint32 game_id = 2;
uint32 verify_code = 3;
GCGGameBusinessType business_type = 4;
uint32 game_uid = 1;
uint32 game_id = 2;
uint32 verify_code = 3;
GCGGameBusinessType business_type = 4;
}
message ServerGCGGiveUpGameRsp {
enum CmdId {
NONE = 0;
CMD_ID = 12492;
}
enum CmdId {
NONE = 0;
CMD_ID = 12492;
}
int32 retcode = 1;
uint32 game_uid = 2;
uint32 game_id = 3;
uint32 verify_code = 4;
uint32 app_id = 5;
uint32 thread_index = 6;
int32 retcode = 1;
uint32 game_uid = 2;
uint32 game_id = 3;
uint32 verify_code = 4;
uint32 app_id = 5;
uint32 thread_index = 6;
}
message ServerGCGSkillPreviewAskReq {
enum CmdId {
NONE = 0;
CMD_ID = 12319;
}
enum CmdId {
NONE = 0;
CMD_ID = 12319;
}
uint32 uid = 1;
uint32 uid = 1;
}
message ServerGCGSkillPreviewAskRsp {
enum CmdId {
NONE = 0;
CMD_ID = 12477;
}
enum CmdId {
NONE = 0;
CMD_ID = 12477;
}
int32 retcode = 1;
int32 retcode = 1;
}
message ServerGCGCreateMultiGameReq {
enum CmdId {
NONE = 0;
CMD_ID = 12476;
}
enum CmdId {
NONE = 0;
CMD_ID = 12476;
}
uint32 game_id = 1;
GCGGameBusinessType business_type = 2;
GCGPlayerData player_data_1 = 3;
GCGPlayerData player_data_2 = 4;
uint32 try_create_time = 5;
uint32 game_id = 1;
GCGGameBusinessType business_type = 2;
GCGPlayerData player_data_1 = 3;
GCGPlayerData player_data_2 = 4;
uint32 try_create_time = 5;
}
message ServerGCGCreateMultiGameRsp {
enum CmdId {
NONE = 0;
CMD_ID = 12490;
}
enum CmdId {
NONE = 0;
CMD_ID = 12490;
}
int32 retcode = 1;
uint32 game_id = 2;
int32 retcode = 1;
uint32 game_id = 2;
}
message ServerGCGAddBothAITaskReq {
enum CmdId {
NONE = 0;
CMD_ID = 12423;
}
enum CmdId {
NONE = 0;
CMD_ID = 12423;
}
uint64 task_id = 1;
uint32 subtask_id = 2;
uint32 game_type = 3;
uint32 level_id = 4;
uint32 card_group1_id = 5;
uint32 card_group2_id = 6;
uint64 task_id = 1;
uint32 subtask_id = 2;
uint32 game_type = 3;
uint32 level_id = 4;
uint32 card_group1_id = 5;
uint32 card_group2_id = 6;
}
message ServerGCGAddBothAITaskRsp {
enum CmdId {
NONE = 0;
CMD_ID = 12439;
}
enum CmdId {
NONE = 0;
CMD_ID = 12439;
}
int32 retcode = 1;
uint32 task_id = 2;
uint32 subtask_id = 3;
int32 retcode = 1;
uint32 task_id = 2;
uint32 subtask_id = 3;
}
message GCGMatchPlayerInfo {
MatchPlayer match_player = 1;
GCGDuelExtra gcg_duel_extra = 2;
MatchPlayer match_player = 1;
GCGDuelExtra gcg_duel_extra = 2;
}
message ServerGCGCreateMatchGameNotify {
enum CmdId {
NONE = 0;
CMD_ID = 12497;
}
enum CmdId {
NONE = 0;
CMD_ID = 12497;
}
uint32 match_id = 1;
repeated GCGMatchPlayerInfo gcg_match_player_list = 2;
uint32 try_create_time = 3;
uint32 match_id = 1;
repeated GCGMatchPlayerInfo gcg_match_player_list = 2;
uint32 try_create_time = 3;
}
message ServerGCGCreateMatchAIGameNotify {
enum CmdId {
NONE = 0;
CMD_ID = 12392;
}
enum CmdId {
NONE = 0;
CMD_ID = 12392;
}
uint32 match_id = 1;
repeated GCGMatchPlayerInfo gcg_match_player_list = 2;
OnlinePlayerInfo ai_info = 3;
uint32 try_create_time = 4;
uint32 match_id = 1;
repeated GCGMatchPlayerInfo gcg_match_player_list = 2;
OnlinePlayerInfo ai_info = 3;
uint32 try_create_time = 4;
}
message ServerGCGMatchFinishNotify {
enum CmdId {
NONE = 0;
CMD_ID = 12329;
}
enum CmdId {
NONE = 0;
CMD_ID = 12329;
}
}
message ServerGCGBackToDuelReq {
enum CmdId {
NONE = 0;
CMD_ID = 12455;
}
enum CmdId {
NONE = 0;
CMD_ID = 12455;
}
uint32 game_uid = 1;
uint32 verify_code = 2;
uint32 client_data_version = 3;
uint32 game_uid = 1;
uint32 verify_code = 2;
uint32 client_data_version = 3;
}
message ServerGCGBackToDuelRsp {
enum CmdId {
NONE = 0;
CMD_ID = 12309;
}
enum CmdId {
NONE = 0;
CMD_ID = 12309;
}
int32 retcode = 1;
uint32 game_uid = 2;
uint32 verify_code = 3;
uint32 app_id = 4;
uint32 thread_index = 5;
uint32 client_data_version = 6;
int32 retcode = 1;
uint32 game_uid = 2;
uint32 verify_code = 3;
uint32 app_id = 4;
uint32 thread_index = 5;
uint32 client_data_version = 6;
}
message ServerGCGMessagePackNotify {
enum CmdId {
NONE = 0;
CMD_ID = 12463;
}
enum CmdId {
NONE = 0;
CMD_ID = 12463;
}
ServerGCGVerify verify = 1;
uint32 server_seq = 2;
repeated GCGMessagePack msg_pack_list = 3;
ServerGCGVerify verify = 1;
uint32 server_seq = 2;
repeated GCGMessagePack msg_pack_list = 3;
}
message ServerGCGHeartBeatNotify {
enum CmdId {
NONE = 0;
CMD_ID = 12405;
}
enum CmdId {
NONE = 0;
CMD_ID = 12405;
}
ServerGCGVerify verify = 1;
uint32 server_seq = 2;
ServerGCGVerify verify = 1;
uint32 server_seq = 2;
}
message ServerGCGSkillPreviewNotify {
enum CmdId {
NONE = 0;
CMD_ID = 12414;
}
enum CmdId {
NONE = 0;
CMD_ID = 12414;
}
ServerGCGVerify verify = 1;
uint32 controller_id = 2;
uint32 onstage_card_guid = 3;
repeated GCGSkillPreviewInfo skill_preview_list = 4;
repeated GCGChangeOnstageInfo change_onstage_preview_list = 5;
repeated GCGSkillPreviewPlayCardInfo play_card_list = 6;
ServerGCGVerify verify = 1;
uint32 controller_id = 2;
uint32 onstage_card_guid = 3;
repeated GCGSkillPreviewInfo skill_preview_list = 4;
repeated GCGChangeOnstageInfo change_onstage_preview_list = 5;
repeated GCGSkillPreviewPlayCardInfo play_card_list = 6;
}
message ServerGCGChallengeUpdateNotify {
enum CmdId {
NONE = 0;
CMD_ID = 12332;
}
enum CmdId {
NONE = 0;
CMD_ID = 12332;
}
ServerGCGVerify verify = 1;
uint32 server_seq = 2;
GCGDuelChallenge challenge = 3;
ServerGCGVerify verify = 1;
uint32 server_seq = 2;
GCGDuelChallenge challenge = 3;
}

View File

@@ -2,356 +2,356 @@ syntax = "proto3";
package proto;
option go_package = "./;proto";
import "define.proto";
import "server_only/bin.home.proto";
import "server_only/bin_common.server.proto";
import "server_only/redis_data.proto";
import "define.proto";
option go_package = "./;proto";
enum HomeGetBlueprintBriefReason {
HOME_GET_BLUEPRINT_BRIEF_REASON_NONE = 0;
HOME_GET_BLUEPRINT_BRIEF_REASON_FETCH = 1;
HOME_GET_BLUEPRINT_BRIEF_REASON_SEARCH = 2;
HOME_GET_BLUEPRINT_BRIEF_REASON_NONE = 0;
HOME_GET_BLUEPRINT_BRIEF_REASON_FETCH = 1;
HOME_GET_BLUEPRINT_BRIEF_REASON_SEARCH = 2;
}
message GetHomeDataReq {
enum CmdId {
NONE = 0;
CMD_ID = 12072;
}
enum CmdId {
NONE = 0;
CMD_ID = 12072;
}
uint32 home_uid = 1;
uint64 load_rand = 2;
uint32 home_uid = 1;
uint64 load_rand = 2;
}
message GetHomeDataRsp {
enum CmdId {
NONE = 0;
CMD_ID = 12098;
}
enum CmdId {
NONE = 0;
CMD_ID = 12098;
}
int32 retcode = 1;
uint32 home_uid = 2;
uint32 data_version = 3;
uint32 is_new_home = 4;
HomeData home_data = 5;
uint64 load_rand = 6;
int32 retcode = 1;
uint32 home_uid = 2;
uint32 data_version = 3;
uint32 is_new_home = 4;
HomeData home_data = 5;
uint64 load_rand = 6;
}
message SaveHomeDataReq {
enum CmdId {
NONE = 0;
CMD_ID = 12012;
}
enum CmdId {
NONE = 0;
CMD_ID = 12012;
}
HomeData home_data = 1;
HomeData home_data = 1;
}
message SaveHomeDataRsp {
enum CmdId {
NONE = 0;
CMD_ID = 12035;
}
enum CmdId {
NONE = 0;
CMD_ID = 12035;
}
int32 retcode = 1;
uint32 data_version = 2;
int32 retcode = 1;
uint32 data_version = 2;
}
message ServerTryEnterHomeReq {
enum CmdId {
NONE = 0;
CMD_ID = 12007;
}
enum CmdId {
NONE = 0;
CMD_ID = 12007;
}
uint32 source_uid = 1;
uint32 source_app_id = 2;
uint64 cur_load_rand = 3;
uint32 owner_init_home_module_id = 4;
uint32 try_times = 5;
uint32 source_thread_index = 6;
uint32 source_uid = 1;
uint32 source_app_id = 2;
uint64 cur_load_rand = 3;
uint32 owner_init_home_module_id = 4;
uint32 try_times = 5;
uint32 source_thread_index = 6;
}
message ServerTryEnterHomeRsp {
enum CmdId {
NONE = 0;
CMD_ID = 12021;
}
enum CmdId {
NONE = 0;
CMD_ID = 12021;
}
int32 retcode = 1;
uint32 target_home_uid = 2;
uint32 target_app_id = 3;
uint32 target_thread_index = 4;
int32 retcode = 1;
uint32 target_home_uid = 2;
uint32 target_app_id = 3;
uint32 target_thread_index = 4;
}
message ServerBlockHomeNotify {
enum CmdId {
NONE = 0;
CMD_ID = 12003;
}
enum CmdId {
NONE = 0;
CMD_ID = 12003;
}
bool is_unlock = 1;
uint32 end_time = 2;
bool is_unlock = 1;
uint32 end_time = 2;
}
message ServerGetFriendEnterHomeOptionReq {
enum CmdId {
NONE = 0;
CMD_ID = 12090;
}
enum CmdId {
NONE = 0;
CMD_ID = 12090;
}
uint32 target_uid = 1;
uint32 target_uid = 1;
}
message ServerGetFriendEnterHomeOptionRsp {
enum CmdId {
NONE = 0;
CMD_ID = 12073;
}
enum CmdId {
NONE = 0;
CMD_ID = 12073;
}
int32 retcode = 1;
uint32 target_uid = 2;
FriendEnterHomeOption friend_enter_home_option = 3;
bool is_online = 4;
bool is_home_avaliable = 5;
bool is_only_mp_with_ps_player = 6;
uint32 last_save_time = 7;
uint32 prior_check_time = 8;
bool is_home_in_audit = 9;
int32 retcode = 1;
uint32 target_uid = 2;
FriendEnterHomeOption friend_enter_home_option = 3;
bool is_online = 4;
bool is_home_avaliable = 5;
bool is_only_mp_with_ps_player = 6;
uint32 last_save_time = 7;
uint32 prior_check_time = 8;
bool is_home_in_audit = 9;
}
message HomeOnlineStatusInfo {
enum StatusType {
ONLINE = 0;
OFFLINE = 1;
}
enum StatusType {
ONLINE = 0;
OFFLINE = 1;
}
uint32 home_uid = 1;
StatusType online_status = 2;
uint32 home_uid = 1;
StatusType online_status = 2;
}
message HomeOnlineStatusNotify {
enum Enum {
NONE = 0;
CMD_ID = 12099;
}
enum Enum {
NONE = 0;
CMD_ID = 12099;
}
repeated HomeOnlineStatusInfo home_info_list = 1;
repeated HomeOnlineStatusInfo home_info_list = 1;
}
message SendHomeOfflineMsgReq {
enum CmdId {
NONE = 0;
CMD_ID = 12031;
}
enum CmdId {
NONE = 0;
CMD_ID = 12031;
}
HomeOfflineMsgBin msg = 1;
HomeOfflineMsgBin msg = 1;
}
message SendHomeOfflineMsgRsp {
enum CmdId {
NONE = 0;
CMD_ID = 12075;
}
enum CmdId {
NONE = 0;
CMD_ID = 12075;
}
int32 retcode = 1;
string ticket = 2;
int32 retcode = 1;
string ticket = 2;
}
message NewHomeOfflineMsgNotify {
enum CmdId {
NONE = 0;
CMD_ID = 12048;
}
enum CmdId {
NONE = 0;
CMD_ID = 12048;
}
}
message GetHomeOfflineMsgReq {
enum CmdId {
NONE = 0;
CMD_ID = 12097;
}
enum CmdId {
NONE = 0;
CMD_ID = 12097;
}
uint32 index = 1;
uint32 index = 1;
}
message GetHomeOfflineMsgRsp {
enum CmdId {
NONE = 0;
CMD_ID = 12081;
}
enum CmdId {
NONE = 0;
CMD_ID = 12081;
}
int32 retcode = 1;
uint32 last_index = 2;
repeated HomeOfflineMsgBin offline_msg_list = 3;
int32 retcode = 1;
uint32 last_index = 2;
repeated HomeOfflineMsgBin offline_msg_list = 3;
}
message RemoveHomeOfflineMsgNotify {
enum CmdId {
NONE = 0;
CMD_ID = 12005;
}
enum CmdId {
NONE = 0;
CMD_ID = 12005;
}
uint32 index = 1;
uint32 index = 1;
}
message ClearHomeOfflineMsgNotify {
enum CmdId {
NONE = 0;
CMD_ID = 12082;
}
enum CmdId {
NONE = 0;
CMD_ID = 12082;
}
}
message ServerHomeGetOnlineStatusReq {
enum CmdId {
NONE = 0;
CMD_ID = 12047;
}
enum CmdId {
NONE = 0;
CMD_ID = 12047;
}
}
message ServerHomeGetOnlineStatusRsp {
enum CmdId {
NONE = 0;
CMD_ID = 12039;
}
enum CmdId {
NONE = 0;
CMD_ID = 12039;
}
int32 retcode = 1;
bool is_online = 2;
repeated OnlinePlayerInfo player_info_list = 3;
int32 retcode = 1;
bool is_online = 2;
repeated OnlinePlayerInfo player_info_list = 3;
}
message ServerHomeKickPlayerReq {
enum CmdId {
NONE = 0;
CMD_ID = 12053;
}
enum CmdId {
NONE = 0;
CMD_ID = 12053;
}
bool is_kick_all = 1;
uint32 target_uid = 2;
bool is_kick_all = 1;
uint32 target_uid = 2;
}
message ServerHomeKickPlayerRsp {
enum CmdId {
NONE = 0;
CMD_ID = 12022;
}
enum CmdId {
NONE = 0;
CMD_ID = 12022;
}
int32 retcode = 1;
bool is_kick_all = 2;
uint32 target_uid = 3;
int32 retcode = 1;
bool is_kick_all = 2;
uint32 target_uid = 3;
}
message ServerHomeGetBlueprintBriefDataReq {
enum CmdId {
NONE = 0;
CMD_ID = 12065;
}
enum CmdId {
NONE = 0;
CMD_ID = 12065;
}
HomeGetBlueprintBriefReason reason = 1;
repeated string share_code_list = 2;
HomeGetBlueprintBriefReason reason = 1;
repeated string share_code_list = 2;
}
message ServerHomeGetBlueprintBriefDataRsp {
enum CmdId {
NONE = 0;
CMD_ID = 12004;
}
enum CmdId {
NONE = 0;
CMD_ID = 12004;
}
int32 retcode = 1;
HomeGetBlueprintBriefReason reason = 2;
repeated string share_code_list = 3;
repeated HomeBlueprintBriefRedisData brief_data_list = 4;
int32 retcode = 1;
HomeGetBlueprintBriefReason reason = 2;
repeated string share_code_list = 3;
repeated HomeBlueprintBriefRedisData brief_data_list = 4;
}
message ServerHomeUpdateBlueprintBriefDataReq {
enum CmdId {
NONE = 0;
CMD_ID = 12093;
}
enum CmdId {
NONE = 0;
CMD_ID = 12093;
}
uint32 slot_id = 1;
HomeBlueprintBriefRedisData brief_data = 2;
uint32 slot_id = 1;
HomeBlueprintBriefRedisData brief_data = 2;
}
message ServerHomeUpdateBlueprintBriefDataRsp {
enum CmdId {
NONE = 0;
CMD_ID = 12027;
}
enum CmdId {
NONE = 0;
CMD_ID = 12027;
}
int32 retcode = 1;
uint32 slot_id = 2;
HomeBlueprintBriefRedisData brief_data = 3;
int32 retcode = 1;
uint32 slot_id = 2;
HomeBlueprintBriefRedisData brief_data = 3;
}
message ServerHomeGetBlueprintDetailDataReq {
enum CmdId {
NONE = 0;
CMD_ID = 12094;
}
enum CmdId {
NONE = 0;
CMD_ID = 12094;
}
string share_code = 1;
uint32 share_owner_uid = 2;
string share_code = 1;
uint32 share_owner_uid = 2;
}
message ServerHomeGetBlueprintDetailDataRsp {
enum CmdId {
NONE = 0;
CMD_ID = 12088;
}
enum CmdId {
NONE = 0;
CMD_ID = 12088;
}
int32 retcode = 1;
uint32 share_owner_uid = 2;
HomeBlueprintDetailRedisData detail_data = 3;
int32 retcode = 1;
uint32 share_owner_uid = 2;
HomeBlueprintDetailRedisData detail_data = 3;
}
message ServerHomeSaveBlueprintDataReq {
enum CmdId {
NONE = 0;
CMD_ID = 12026;
}
enum CmdId {
NONE = 0;
CMD_ID = 12026;
}
uint32 slot_id = 1;
HomeBlueprintBriefRedisData brief_data = 2;
HomeBlueprintDetailRedisData detail_data = 3;
uint32 slot_id = 1;
HomeBlueprintBriefRedisData brief_data = 2;
HomeBlueprintDetailRedisData detail_data = 3;
}
message ServerHomeSaveBlueprintDataRsp {
enum CmdId {
NONE = 0;
CMD_ID = 12063;
}
enum CmdId {
NONE = 0;
CMD_ID = 12063;
}
int32 retcode = 1;
uint32 slot_id = 2;
HomeBlueprintBriefRedisData brief_data = 3;
int32 retcode = 1;
uint32 slot_id = 2;
HomeBlueprintBriefRedisData brief_data = 3;
}
message ServerHomeDeleteBlueprintDataReq {
enum CmdId {
NONE = 0;
CMD_ID = 12095;
}
enum CmdId {
NONE = 0;
CMD_ID = 12095;
}
uint32 slot_id = 1;
string share_code = 2;
uint32 slot_id = 1;
string share_code = 2;
}
message ServerHomeDeleteBlueprintDataRsp {
enum CmdId {
NONE = 0;
CMD_ID = 12006;
}
enum CmdId {
NONE = 0;
CMD_ID = 12006;
}
int32 retcode = 1;
uint32 slot_id = 2;
string share_code = 3;
int32 retcode = 1;
uint32 slot_id = 2;
string share_code = 3;
}
message ServerHomeBlueprintCacheInvalidNotify {
enum CmdId {
NONE = 0;
CMD_ID = 12034;
}
enum CmdId {
NONE = 0;
CMD_ID = 12034;
}
string share_code = 1;
string share_code = 1;
}

View File

@@ -5,164 +5,164 @@ package proto;
option go_package = "./;proto";
enum CmdIdConfig {
CMD_MISC_BEGIN = 0;
CMD_MISC_END = 100;
CMD_PLAYER_BEGIN = 101;
CMD_PLAYER_END = 200;
CMD_SCENE_BEGIN_1 = 201;
CMD_SCENE_END_1 = 300;
CMD_SCENE_BEGIN_2 = 3001;
CMD_SCENE_END_2 = 3500;
CMD_FIGHT_BEGIN = 301;
CMD_FIGHT_END = 400;
CMD_QUEST_BEGIN = 401;
CMD_QUEST_END = 500;
CMD_NPC_BEGIN = 501;
CMD_NPC_END = 600;
CMD_ITEM_BEGIN = 601;
CMD_ITEM_END = 700;
CMD_SHOP_BEGIN = 701;
CMD_SHOP_END = 800;
CMD_GADGET_BEGIN = 801;
CMD_GADGET_END = 900;
CMD_DUNGEON_BEGIN = 901;
CMD_DUNGEON_END = 1000;
CMD_SKILL_BEGIN = 1001;
CMD_SKILL_END = 1100;
CMD_ABILITY_BEGIN = 1101;
CMD_ABILITY_END = 1200;
CMD_PROPERTY_BEGIN = 1201;
CMD_PROPERTY_END = 1300;
CMD_MONSTER_BEGIN = 1301;
CMD_MONSTER_END = 1400;
CMD_MAIL_BEGIN = 1401;
CMD_MAIL_END = 1500;
CMD_GACHA_BEGIN = 1501;
CMD_GACHA_END = 1600;
CMD_AVATAR_BEGIN = 1601;
CMD_AVATAR_END = 1800;
CMD_MP_BEGIN = 1801;
CMD_MP_END = 1850;
CMD_INVESTIGATION_BEGIN = 1901;
CMD_INVESTIGATION_END = 1930;
CMD_COOP_BEGIN = 1951;
CMD_COOP_END = 2000;
CMD_ACTIVITY_BEGIN_1 = 2001;
CMD_ACTIVITY_END_1 = 2200;
CMD_ACTIVITY_BEGIN_2 = 8001;
CMD_ACTIVITY_END_2 = 9000;
CMD_ACTIVITY_BEGIN_3 = 20001;
CMD_ACTIVITY_END_3 = 25000;
CMD_WATCHER_BEGIN = 2201;
CMD_WATCHER_END = 2300;
CMD_PATHFINDING_BEGIN = 2301;
CMD_PATHFINDING_END = 2400;
CMD_TOWER_BEGIN = 2401;
CMD_TOWER_END = 2500;
CMD_SIGN_IN_BEGIN = 2501;
CMD_SIGN_IN_END = 2600;
CMD_BATTLE_PASS_BEGIN = 2601;
CMD_BATTLE_PASS_END = 2650;
CMD_ACHIEVEMENT_BEGIN = 2651;
CMD_ACHIEVEMENT_END = 2700;
CMD_BLOSSOM_BEGIN = 2701;
CMD_BLOSSOM_END = 2800;
CMD_REPUTATION_BEGIN = 2801;
CMD_REPUTATION_END = 2900;
CMD_OFFERING_BEGIN = 2901;
CMD_OFFERING_END = 2925;
CMD_ROUTINE_BEGIN = 3501;
CMD_ROUTINE_END = 3550;
CMD_MECHANICUS_BEGIN = 3901;
CMD_MECHANICUS_END = 4000;
CMD_SOCIAL_BEGIN = 4001;
CMD_SOCIAL_END = 4100;
CMD_RECHARGE_BEGIN = 4101;
CMD_RECHARGE_END = 4150;
CMD_MATCH_BEGIN = 4151;
CMD_MATCH_END = 4200;
CMD_CODEX_BEGIN = 4201;
CMD_CODEX_END = 4210;
CMD_STAT_BEGIN = 4211;
CMD_STAT_END = 4250;
CMD_WIDGET_BEGIN_1 = 4251;
CMD_WIDGET_END_1 = 4300;
CMD_WIDGET_BEGIN_2 = 5900;
CMD_WIDGET_END_2 = 6100;
CMD_HUNTING_BEGIN = 4301;
CMD_HUNTING_END = 4350;
CMD_SCENE_PLAY_BEGIN = 4351;
CMD_SCENE_PLAY_END = 4450;
CMD_HOME_BEGIN = 4451;
CMD_HOME_END = 4900;
CMD_CHAT_BEGIN = 4951;
CMD_CHAT_END = 5050;
CMD_REUNION_BEGIN = 5051;
CMD_REUNION_END = 5100;
CMD_OP_ACTIVITY_BEGIN = 5101;
CMD_OP_ACTIVITY_END = 5200;
CMD_MIRACLE_RING_BEGIN = 5201;
CMD_MIRACLE_RING_END = 5250;
CMD_MULTISTAGE_PLAY_BEGIN_1 = 5301;
CMD_MULTISTAGE_PLAY_END_1 = 5400;
CMD_MULTISTAGE_PLAY_BEGIN_2 = 6401;
CMD_MULTISTAGE_PLAY_END_2 = 6600;
CMD_DRAFT_BEGIN = 5401;
CMD_DRAFT_END = 5500;
CMD_GALLERY_BEGIN = 5501;
CMD_GALLERY_END = 5600;
CMD_REGION_SEARCH_BEGIN = 5601;
CMD_REGION_SEARCH_END = 5650;
CMD_H5_ACTIVITY_BEGIN = 5651;
CMD_H5_ACTIVITY_END = 5700;
CMD_REMINDER_BEGIN = 5701;
CMD_REMINDER_END = 5750;
CMD_GROUP_LINK_BEGIN = 5751;
CMD_GROUP_LINK_END = 5800;
CMD_FISH_BEGIN = 5801;
CMD_FISH_END = 5850;
CMD_TOTHEMOON_BEGIN = 6101;
CMD_TOTHEMOON_END = 6200;
CMD_CUSTOM_DUNGEON_BEGIN = 6201;
CMD_CUSTOM_DUNGEON_END = 6250;
CMD_REGIONAL_PLAY_BEGIN = 6251;
CMD_REGIONAL_PLAY_END = 6300;
CMD_UGC_BEGIN = 6301;
CMD_UGC_END = 6350;
CMD_ARANARA_COLLECTION_BEGIN = 6351;
CMD_ARANARA_COLLECTION_END = 6400;
CMD_GCG_BEGIN = 7001;
CMD_GCG_END = 8000;
CMD_SHARE_CD_BEGIN = 9001;
CMD_SHARE_CD_END = 9100;
CMD_MISC_SERVER_BEGIN = 10001;
CMD_MISC_SERVER_END = 10100;
CMD_PLAYER_SERVER_BEGIN = 10101;
CMD_PLAYER_SERVER_END = 10200;
CMD_MUIP_SERVER_BEGIN = 10201;
CMD_MUIP_SERVER_END = 10300;
CMD_MAIL_SERVER_BEGIN = 10301;
CMD_MAIL_SERVER_END = 10400;
CMD_MP_SERVER_BEGIN = 10401;
CMD_MP_SERVER_END = 10500;
CMD_ACTIVITY_SERVER_BEGIN = 10601;
CMD_ACTIVITY_SERVER_END = 10700;
CMD_RECHARGE_SERVER_BEGIN = 10701;
CMD_RECHARGE_SERVER_END = 10750;
CMD_SOCIAL_SERVER_BEGIN_1 = 10801;
CMD_SOCIAL_SERVER_END_1 = 10900;
CMD_SOCIAL_SERVER_BEGIN_2 = 10951;
CMD_SOCIAL_SERVER_END_2 = 11000;
CMD_MATCH_SERVER_BEGIN = 10901;
CMD_MATCH_SERVER_END = 10950;
CMD_HOME_SERVER_BEGIN = 12001;
CMD_HOME_SERVER_END = 12100;
CMD_OFFLINE_OP_SERVER_BEGIN = 12201;
CMD_OFFLINE_OP_SERVER_END = 12250;
CMD_SECURITY_SERVER_BEGIN = 12251;
CMD_SECURITY_SERVER_END = 12300;
CMD_GCG_SERVER_BEGIN = 12301;
CMD_GCG_SERVER_END = 12500;
CMD_REDIS_OP_BEGIN = 11001;
CMD_REDIS_OP_END = 12000;
CMD_MISC_BEGIN = 0;
CMD_MISC_END = 100;
CMD_PLAYER_BEGIN = 101;
CMD_PLAYER_END = 200;
CMD_SCENE_BEGIN_1 = 201;
CMD_SCENE_END_1 = 300;
CMD_SCENE_BEGIN_2 = 3001;
CMD_SCENE_END_2 = 3500;
CMD_FIGHT_BEGIN = 301;
CMD_FIGHT_END = 400;
CMD_QUEST_BEGIN = 401;
CMD_QUEST_END = 500;
CMD_NPC_BEGIN = 501;
CMD_NPC_END = 600;
CMD_ITEM_BEGIN = 601;
CMD_ITEM_END = 700;
CMD_SHOP_BEGIN = 701;
CMD_SHOP_END = 800;
CMD_GADGET_BEGIN = 801;
CMD_GADGET_END = 900;
CMD_DUNGEON_BEGIN = 901;
CMD_DUNGEON_END = 1000;
CMD_SKILL_BEGIN = 1001;
CMD_SKILL_END = 1100;
CMD_ABILITY_BEGIN = 1101;
CMD_ABILITY_END = 1200;
CMD_PROPERTY_BEGIN = 1201;
CMD_PROPERTY_END = 1300;
CMD_MONSTER_BEGIN = 1301;
CMD_MONSTER_END = 1400;
CMD_MAIL_BEGIN = 1401;
CMD_MAIL_END = 1500;
CMD_GACHA_BEGIN = 1501;
CMD_GACHA_END = 1600;
CMD_AVATAR_BEGIN = 1601;
CMD_AVATAR_END = 1800;
CMD_MP_BEGIN = 1801;
CMD_MP_END = 1850;
CMD_INVESTIGATION_BEGIN = 1901;
CMD_INVESTIGATION_END = 1930;
CMD_COOP_BEGIN = 1951;
CMD_COOP_END = 2000;
CMD_ACTIVITY_BEGIN_1 = 2001;
CMD_ACTIVITY_END_1 = 2200;
CMD_ACTIVITY_BEGIN_2 = 8001;
CMD_ACTIVITY_END_2 = 9000;
CMD_ACTIVITY_BEGIN_3 = 20001;
CMD_ACTIVITY_END_3 = 25000;
CMD_WATCHER_BEGIN = 2201;
CMD_WATCHER_END = 2300;
CMD_PATHFINDING_BEGIN = 2301;
CMD_PATHFINDING_END = 2400;
CMD_TOWER_BEGIN = 2401;
CMD_TOWER_END = 2500;
CMD_SIGN_IN_BEGIN = 2501;
CMD_SIGN_IN_END = 2600;
CMD_BATTLE_PASS_BEGIN = 2601;
CMD_BATTLE_PASS_END = 2650;
CMD_ACHIEVEMENT_BEGIN = 2651;
CMD_ACHIEVEMENT_END = 2700;
CMD_BLOSSOM_BEGIN = 2701;
CMD_BLOSSOM_END = 2800;
CMD_REPUTATION_BEGIN = 2801;
CMD_REPUTATION_END = 2900;
CMD_OFFERING_BEGIN = 2901;
CMD_OFFERING_END = 2925;
CMD_ROUTINE_BEGIN = 3501;
CMD_ROUTINE_END = 3550;
CMD_MECHANICUS_BEGIN = 3901;
CMD_MECHANICUS_END = 4000;
CMD_SOCIAL_BEGIN = 4001;
CMD_SOCIAL_END = 4100;
CMD_RECHARGE_BEGIN = 4101;
CMD_RECHARGE_END = 4150;
CMD_MATCH_BEGIN = 4151;
CMD_MATCH_END = 4200;
CMD_CODEX_BEGIN = 4201;
CMD_CODEX_END = 4210;
CMD_STAT_BEGIN = 4211;
CMD_STAT_END = 4250;
CMD_WIDGET_BEGIN_1 = 4251;
CMD_WIDGET_END_1 = 4300;
CMD_WIDGET_BEGIN_2 = 5900;
CMD_WIDGET_END_2 = 6100;
CMD_HUNTING_BEGIN = 4301;
CMD_HUNTING_END = 4350;
CMD_SCENE_PLAY_BEGIN = 4351;
CMD_SCENE_PLAY_END = 4450;
CMD_HOME_BEGIN = 4451;
CMD_HOME_END = 4900;
CMD_CHAT_BEGIN = 4951;
CMD_CHAT_END = 5050;
CMD_REUNION_BEGIN = 5051;
CMD_REUNION_END = 5100;
CMD_OP_ACTIVITY_BEGIN = 5101;
CMD_OP_ACTIVITY_END = 5200;
CMD_MIRACLE_RING_BEGIN = 5201;
CMD_MIRACLE_RING_END = 5250;
CMD_MULTISTAGE_PLAY_BEGIN_1 = 5301;
CMD_MULTISTAGE_PLAY_END_1 = 5400;
CMD_MULTISTAGE_PLAY_BEGIN_2 = 6401;
CMD_MULTISTAGE_PLAY_END_2 = 6600;
CMD_DRAFT_BEGIN = 5401;
CMD_DRAFT_END = 5500;
CMD_GALLERY_BEGIN = 5501;
CMD_GALLERY_END = 5600;
CMD_REGION_SEARCH_BEGIN = 5601;
CMD_REGION_SEARCH_END = 5650;
CMD_H5_ACTIVITY_BEGIN = 5651;
CMD_H5_ACTIVITY_END = 5700;
CMD_REMINDER_BEGIN = 5701;
CMD_REMINDER_END = 5750;
CMD_GROUP_LINK_BEGIN = 5751;
CMD_GROUP_LINK_END = 5800;
CMD_FISH_BEGIN = 5801;
CMD_FISH_END = 5850;
CMD_TOTHEMOON_BEGIN = 6101;
CMD_TOTHEMOON_END = 6200;
CMD_CUSTOM_DUNGEON_BEGIN = 6201;
CMD_CUSTOM_DUNGEON_END = 6250;
CMD_REGIONAL_PLAY_BEGIN = 6251;
CMD_REGIONAL_PLAY_END = 6300;
CMD_UGC_BEGIN = 6301;
CMD_UGC_END = 6350;
CMD_ARANARA_COLLECTION_BEGIN = 6351;
CMD_ARANARA_COLLECTION_END = 6400;
CMD_GCG_BEGIN = 7001;
CMD_GCG_END = 8000;
CMD_SHARE_CD_BEGIN = 9001;
CMD_SHARE_CD_END = 9100;
CMD_MISC_SERVER_BEGIN = 10001;
CMD_MISC_SERVER_END = 10100;
CMD_PLAYER_SERVER_BEGIN = 10101;
CMD_PLAYER_SERVER_END = 10200;
CMD_MUIP_SERVER_BEGIN = 10201;
CMD_MUIP_SERVER_END = 10300;
CMD_MAIL_SERVER_BEGIN = 10301;
CMD_MAIL_SERVER_END = 10400;
CMD_MP_SERVER_BEGIN = 10401;
CMD_MP_SERVER_END = 10500;
CMD_ACTIVITY_SERVER_BEGIN = 10601;
CMD_ACTIVITY_SERVER_END = 10700;
CMD_RECHARGE_SERVER_BEGIN = 10701;
CMD_RECHARGE_SERVER_END = 10750;
CMD_SOCIAL_SERVER_BEGIN_1 = 10801;
CMD_SOCIAL_SERVER_END_1 = 10900;
CMD_SOCIAL_SERVER_BEGIN_2 = 10951;
CMD_SOCIAL_SERVER_END_2 = 11000;
CMD_MATCH_SERVER_BEGIN = 10901;
CMD_MATCH_SERVER_END = 10950;
CMD_HOME_SERVER_BEGIN = 12001;
CMD_HOME_SERVER_END = 12100;
CMD_OFFLINE_OP_SERVER_BEGIN = 12201;
CMD_OFFLINE_OP_SERVER_END = 12250;
CMD_SECURITY_SERVER_BEGIN = 12251;
CMD_SECURITY_SERVER_END = 12300;
CMD_GCG_SERVER_BEGIN = 12301;
CMD_GCG_SERVER_END = 12500;
CMD_REDIS_OP_BEGIN = 11001;
CMD_REDIS_OP_END = 12000;
}

View File

@@ -2,230 +2,230 @@ syntax = "proto3";
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";
import "server_only/bin_common.server.proto";
import "server_only/redis_data.proto";
import "server_only/enum.server.proto";
message AddRedisMailReq {
enum CmdId {
NONE = 0;
CMD_ID = 10372;
}
enum CmdId {
NONE = 0;
CMD_ID = 10372;
}
MailAddOpType op_type = 1;
MailBin mail_bin = 2;
string ticket = 3;
string transaction = 4;
MailAddOpType op_type = 1;
MailBin mail_bin = 2;
string ticket = 3;
string transaction = 4;
}
message AddRedisMailRsp {
enum CmdId {
NONE = 0;
CMD_ID = 10398;
}
enum CmdId {
NONE = 0;
CMD_ID = 10398;
}
int32 retcode = 1;
MailAddOpType op_type = 2;
string ticket = 3;
string transaction = 4;
int32 retcode = 1;
MailAddOpType op_type = 2;
string ticket = 3;
string transaction = 4;
}
message DelRedisMailReq {
enum CmdId {
NONE = 0;
CMD_ID = 10312;
}
enum CmdId {
NONE = 0;
CMD_ID = 10312;
}
MailDelOpType op_type = 1;
repeated uint32 mail_id_list = 2;
repeated string ticket_list = 3;
MailDelOpType op_type = 1;
repeated uint32 mail_id_list = 2;
repeated string ticket_list = 3;
}
message DelRedisMailRsp {
enum CmdId {
NONE = 0;
CMD_ID = 10335;
}
enum CmdId {
NONE = 0;
CMD_ID = 10335;
}
int32 retcode = 1;
MailDelOpType op_type = 2;
repeated uint32 mail_id_list = 3;
int32 retcode = 1;
MailDelOpType op_type = 2;
repeated uint32 mail_id_list = 3;
}
message GetRedisMailReq {
enum CmdId {
NONE = 0;
CMD_ID = 10307;
}
enum CmdId {
NONE = 0;
CMD_ID = 10307;
}
MailGetOPType op_type = 1;
MailGetType get_type = 2;
repeated uint32 mail_id_list = 3;
bool is_collectible_mail_transfered = 4;
MailGetOPType op_type = 1;
MailGetType get_type = 2;
repeated uint32 mail_id_list = 3;
bool is_collectible_mail_transfered = 4;
}
message GetRedisMailRsp {
enum CmdId {
NONE = 0;
CMD_ID = 10321;
}
enum CmdId {
NONE = 0;
CMD_ID = 10321;
}
int32 retcode = 1;
repeated bytes mail_str_list = 2;
MailGetOPType op_type = 3;
bool is_truncated = 4;
MailGetType get_type = 5;
bool is_collectible_mail_transfered = 6;
string transaction = 7;
uint32 page_index = 8;
uint32 total_page_count = 9;
int32 retcode = 1;
repeated bytes mail_str_list = 2;
MailGetOPType op_type = 3;
bool is_truncated = 4;
MailGetType get_type = 5;
bool is_collectible_mail_transfered = 6;
string transaction = 7;
uint32 page_index = 8;
uint32 total_page_count = 9;
}
message RedisMailChangeNotify {
enum CmdId {
NONE = 0;
CMD_ID = 10303;
}
enum CmdId {
NONE = 0;
CMD_ID = 10303;
}
repeated MailRedisData update_mail_list = 1;
repeated uint32 del_mail_id_list = 2;
repeated MailRedisData update_mail_list = 1;
repeated uint32 del_mail_id_list = 2;
}
message SendOfflineMsgReq {
enum CmdId {
NONE = 0;
CMD_ID = 10390;
}
enum CmdId {
NONE = 0;
CMD_ID = 10390;
}
OfflineMsgBin msg = 1;
OfflineMsgBin msg = 1;
}
message SendOfflineMsgRsp {
enum CmdId {
NONE = 0;
CMD_ID = 10373;
}
enum CmdId {
NONE = 0;
CMD_ID = 10373;
}
int32 retcode = 1;
string ticket = 2;
int32 retcode = 1;
string ticket = 2;
}
message NewOfflineMsgNotify {
enum CmdId {
NONE = 0;
CMD_ID = 10399;
}
enum CmdId {
NONE = 0;
CMD_ID = 10399;
}
}
message GetOfflineMsgReq {
enum CmdId {
NONE = 0;
CMD_ID = 10331;
}
enum CmdId {
NONE = 0;
CMD_ID = 10331;
}
uint32 index = 1;
bool is_login = 2;
uint32 index = 1;
bool is_login = 2;
}
message GetOfflineMsgRsp {
enum CmdId {
NONE = 0;
CMD_ID = 10375;
}
enum CmdId {
NONE = 0;
CMD_ID = 10375;
}
int32 retcode = 1;
uint32 last_index = 2;
repeated OfflineMsgBin offline_msg_list = 3;
bool is_login = 4;
int32 retcode = 1;
uint32 last_index = 2;
repeated OfflineMsgBin offline_msg_list = 3;
bool is_login = 4;
}
message RemoveOfflineMsgNotify {
enum CmdId {
NONE = 0;
CMD_ID = 10348;
}
enum CmdId {
NONE = 0;
CMD_ID = 10348;
}
uint32 index = 1;
uint32 index = 1;
}
message ClearOfflineMsgNotify {
enum CmdId {
NONE = 0;
CMD_ID = 10397;
}
enum CmdId {
NONE = 0;
CMD_ID = 10397;
}
}
message UpdateRedisMailReq {
enum CmdId {
NONE = 0;
CMD_ID = 10381;
}
enum CmdId {
NONE = 0;
CMD_ID = 10381;
}
MailUpdateOpType op_type = 1;
repeated uint32 mail_id_list = 2;
MailUpdateOpType op_type = 1;
repeated uint32 mail_id_list = 2;
}
message UpdateRedisMailRsp {
enum CmdId {
NONE = 0;
CMD_ID = 10305;
}
enum CmdId {
NONE = 0;
CMD_ID = 10305;
}
int32 retcode = 1;
MailUpdateOpType op_type = 2;
repeated uint32 mail_id_list = 3;
int32 retcode = 1;
MailUpdateOpType op_type = 2;
repeated uint32 mail_id_list = 3;
}
message GetRedisMailTransactionStatusReq {
enum CmdId {
NONE = 0;
CMD_ID = 10382;
}
enum CmdId {
NONE = 0;
CMD_ID = 10382;
}
repeated string transaction_list = 2;
repeated string transaction_list = 2;
}
message GetRedisMailTransactionStatusRsp {
enum CmdId {
NONE = 0;
CMD_ID = 10347;
}
enum CmdId {
NONE = 0;
CMD_ID = 10347;
}
int32 retcode = 1;
map<string, bool> transaction_status_map = 2;
int32 retcode = 1;
map<string, bool> transaction_status_map = 2;
}
message ClearUpRedisMailNotify {
enum CmdId {
NONE = 0;
CMD_ID = 10339;
}
enum CmdId {
NONE = 0;
CMD_ID = 10339;
}
}
message CleanRedisMailNotify {
enum CmdId {
NONE = 0;
CMD_ID = 10353;
}
enum CmdId {
NONE = 0;
CMD_ID = 10353;
}
}
message ResendRedisMailReq {
enum CmdId {
NONE = 0;
CMD_ID = 10322;
}
enum CmdId {
NONE = 0;
CMD_ID = 10322;
}
map<string, MailBin> mail_bin_map = 1;
map<string, MailBin> mail_bin_map = 1;
}
message ResendRedisMailRsp {
enum CmdId {
NONE = 0;
CMD_ID = 10365;
}
enum CmdId {
NONE = 0;
CMD_ID = 10365;
}
int32 retcode = 1;
map<string, bool> resend_status_map = 2;
int32 retcode = 1;
map<string, bool> resend_status_map = 2;
}

View File

@@ -2,259 +2,259 @@ syntax = "proto3";
package proto;
option go_package = "./;proto";
import "define.proto";
import "server_only/enum.server.proto";
option go_package = "./;proto";
message MatchPlayer {
uint32 uid = 1;
string nickname = 2;
uint32 player_level = 3;
uint32 world_level = 4;
uint32 platform_type = 5;
bool is_only_match_with_ps_player = 6;
repeated uint32 blacklist_uid_list = 7;
OnlinePlayerInfo player_info = 8;
uint32 hide_and_seek_hider_count = 9;
repeated uint32 hide_and_seek_chosen_map_list = 10;
uint32 uid = 1;
string nickname = 2;
uint32 player_level = 3;
uint32 world_level = 4;
uint32 platform_type = 5;
bool is_only_match_with_ps_player = 6;
repeated uint32 blacklist_uid_list = 7;
OnlinePlayerInfo player_info = 8;
uint32 hide_and_seek_hider_count = 9;
repeated uint32 hide_and_seek_chosen_map_list = 10;
}
message MatchUnit {
repeated MatchPlayer match_player_list = 1;
uint32 unit_id = 2;
repeated MatchPlayer match_player_list = 1;
uint32 unit_id = 2;
}
message AddMatchUnitReq {
enum CmdId {
NONE = 0;
CMD_ID = 10926;
}
enum CmdId {
NONE = 0;
CMD_ID = 10926;
}
MatchType match_type = 1;
MatchUnit match_unit = 2;
MatchIdentity expect_identity = 3;
uint32 dungeon_id = 11;
uint32 mp_play_id = 12;
uint32 mechanicus_tag = 13;
uint32 match_id = 14;
repeated uint32 match_param_list = 15;
oneof detail {
GCGDuelExtra gcg_duel_extra = 21;
}
MatchType match_type = 1;
MatchUnit match_unit = 2;
MatchIdentity expect_identity = 3;
uint32 dungeon_id = 11;
uint32 mp_play_id = 12;
uint32 mechanicus_tag = 13;
uint32 match_id = 14;
repeated uint32 match_param_list = 15;
oneof detail {
GCGDuelExtra gcg_duel_extra = 21;
}
}
message AddMatchUnitRsp {
enum CmdId {
NONE = 0;
CMD_ID = 10918;
}
enum CmdId {
NONE = 0;
CMD_ID = 10918;
}
int32 retcode = 1;
MatchType match_type = 2;
MatchUnit match_unit = 3;
uint32 dungeon_id = 11;
uint32 mp_play_id = 12;
uint32 mechanicus_tag = 13;
int32 retcode = 1;
MatchType match_type = 2;
MatchUnit match_unit = 3;
uint32 dungeon_id = 11;
uint32 mp_play_id = 12;
uint32 mechanicus_tag = 13;
}
message MatchStartNotify {
enum CmdId {
NONE = 0;
CMD_ID = 10925;
}
enum CmdId {
NONE = 0;
CMD_ID = 10925;
}
MatchType match_type = 1;
uint32 match_begin_time = 2;
uint32 estimate_match_cost_time = 3;
bool is_rematch = 4;
uint32 dungeon_id = 11;
uint32 mp_play_id = 12;
uint32 mechanicus_tag = 13;
uint32 match_id = 14;
repeated uint32 match_param_list = 15;
MatchType match_type = 1;
uint32 match_begin_time = 2;
uint32 estimate_match_cost_time = 3;
bool is_rematch = 4;
uint32 dungeon_id = 11;
uint32 mp_play_id = 12;
uint32 mechanicus_tag = 13;
uint32 match_id = 14;
repeated uint32 match_param_list = 15;
}
message RemoveMatchUnitReq {
enum CmdId {
NONE = 0;
CMD_ID = 10907;
}
enum CmdId {
NONE = 0;
CMD_ID = 10907;
}
MatchType match_type = 1;
uint32 unit_id = 2;
MatchUnitRemoveOpType op_type = 3;
MatchType match_type = 1;
uint32 unit_id = 2;
MatchUnitRemoveOpType op_type = 3;
}
message RemoveMatchUnitRsp {
enum CmdId {
NONE = 0;
CMD_ID = 10902;
}
enum CmdId {
NONE = 0;
CMD_ID = 10902;
}
int32 retcode = 1;
MatchType match_type = 2;
uint32 unit_id = 3;
MatchUnitRemoveOpType op_type = 4;
int32 retcode = 1;
MatchType match_type = 2;
uint32 unit_id = 3;
MatchUnitRemoveOpType op_type = 4;
}
message MatchUnitRemovedNotify {
enum CmdId {
NONE = 0;
CMD_ID = 10931;
}
enum CmdId {
NONE = 0;
CMD_ID = 10931;
}
MatchType match_type = 1;
MatchReason reason = 2;
MatchType match_type = 1;
MatchReason reason = 2;
}
message GuestUnitMatchSuccNotify {
enum CmdId {
NONE = 0;
CMD_ID = 10929;
}
enum CmdId {
NONE = 0;
CMD_ID = 10929;
}
uint32 host_unit_id = 1;
uint32 confirm_end_time = 2;
uint32 match_type = 3;
uint32 dungeon_id = 11;
uint32 mp_play_id = 12;
uint32 mechanicus_tag = 13;
uint32 host_unit_id = 1;
uint32 confirm_end_time = 2;
uint32 match_type = 3;
uint32 dungeon_id = 11;
uint32 mp_play_id = 12;
uint32 mechanicus_tag = 13;
}
message ConfirmGuestUnitReq {
enum CmdId {
NONE = 0;
CMD_ID = 10922;
}
enum CmdId {
NONE = 0;
CMD_ID = 10922;
}
MatchType match_type = 1;
uint32 unit_id = 2;
bool is_agreed = 3;
uint32 match_id = 4;
MatchType match_type = 1;
uint32 unit_id = 2;
bool is_agreed = 3;
uint32 match_id = 4;
}
message ConfirmGuestUnitRsp {
enum CmdId {
NONE = 0;
CMD_ID = 10944;
}
enum CmdId {
NONE = 0;
CMD_ID = 10944;
}
int32 retcode = 1;
MatchType match_type = 2;
uint32 unit_id = 3;
bool is_agreed = 4;
uint32 match_id = 5;
int32 retcode = 1;
MatchType match_type = 2;
uint32 unit_id = 3;
bool is_agreed = 4;
uint32 match_id = 5;
}
message MatchPlayerJoinNotify {
enum CmdId {
NONE = 0;
CMD_ID = 10949;
}
enum CmdId {
NONE = 0;
CMD_ID = 10949;
}
MatchType match_type = 1;
uint32 unit_id = 2;
MatchPlayer match_player = 3;
MatchType match_type = 1;
uint32 unit_id = 2;
MatchPlayer match_player = 3;
}
message MatchPlayerQuitNotify {
enum CmdId {
NONE = 0;
CMD_ID = 10920;
}
enum CmdId {
NONE = 0;
CMD_ID = 10920;
}
MatchType match_type = 1;
uint32 unit_id = 2;
uint32 player_uid = 3;
MatchType match_type = 1;
uint32 unit_id = 2;
uint32 player_uid = 3;
}
message GuestUnitAgreedResultNotify {
enum CmdId {
NONE = 0;
CMD_ID = 10945;
}
enum CmdId {
NONE = 0;
CMD_ID = 10945;
}
enum Reason {
SUCC = 0;
HOST_UNIT_QUIT = 1;
}
enum Reason {
SUCC = 0;
HOST_UNIT_QUIT = 1;
}
MatchType match_type = 1;
uint32 host_unit_id = 2;
Reason reason = 3;
MatchType match_type = 1;
uint32 host_unit_id = 2;
Reason reason = 3;
}
message HostUnitMatchSuccNotify {
enum CmdId {
NONE = 0;
CMD_ID = 10941;
}
enum CmdId {
NONE = 0;
CMD_ID = 10941;
}
uint32 match_type = 1;
uint32 dungeon_id = 11;
uint32 mp_play_id = 12;
uint32 mechanicus_difficult_level = 13;
uint32 match_type = 1;
uint32 dungeon_id = 11;
uint32 mp_play_id = 12;
uint32 mechanicus_difficult_level = 13;
}
message SyncMatchUnitReq {
enum CmdId {
NONE = 0;
CMD_ID = 10942;
}
enum CmdId {
NONE = 0;
CMD_ID = 10942;
}
MatchType match_type = 1;
MatchUnit match_unit = 2;
MatchType match_type = 1;
MatchUnit match_unit = 2;
}
message SyncMatchUnitRsp {
enum CmdId {
NONE = 0;
CMD_ID = 10914;
}
enum CmdId {
NONE = 0;
CMD_ID = 10914;
}
int32 retcode = 1;
int32 retcode = 1;
}
message MatchserverWorkloadInfoNotify {
enum CmdId {
NONE = 0;
CMD_ID = 10947;
}
enum CmdId {
NONE = 0;
CMD_ID = 10947;
}
uint32 match_unit_num = 1;
map<uint32, uint32> match_unit_map = 2;
uint32 match_unit_num = 1;
map<uint32, uint32> match_unit_map = 2;
}
message MatchPlayerUpdateNotify {
enum CmdId {
NONE = 0;
CMD_ID = 10937;
}
enum CmdId {
NONE = 0;
CMD_ID = 10937;
}
MatchType match_type = 1;
uint32 unit_id = 2;
MatchPlayer match_player = 3;
MatchType match_type = 1;
uint32 unit_id = 2;
MatchPlayer match_player = 3;
}
message MatchIdentityNotify {
enum CmdId {
NONE = 0;
CMD_ID = 10923;
}
enum CmdId {
NONE = 0;
CMD_ID = 10923;
}
MatchType match_type = 1;
MatchIdentity match_identity = 2;
MatchType match_type = 1;
MatchIdentity match_identity = 2;
}
message GeneralMatchFinishNotify {
enum CmdId {
NONE = 0;
CMD_ID = 10935;
}
enum CmdId {
NONE = 0;
CMD_ID = 10935;
}
MatchType match_type = 1;
uint32 match_id = 2;
uint32 match_param = 3;
repeated MatchPlayer match_player_list = 4;
MatchType match_type = 1;
uint32 match_id = 2;
uint32 match_param = 3;
repeated MatchPlayer match_player_list = 4;
}

View File

@@ -2,174 +2,174 @@ syntax = "proto3";
package proto;
option go_package = "./;proto";
import "define.proto";
import "server_only/config.server.proto";
option go_package = "./;proto";
message StopServerConfigNotify {
enum CmdId {
NONE = 0;
CMD_ID = 10072;
}
enum CmdId {
NONE = 0;
CMD_ID = 10072;
}
}
message NodeserverConnectedAndRegisteredNotify {
enum CmdId {
NONE = 0;
CMD_ID = 10098;
}
enum CmdId {
NONE = 0;
CMD_ID = 10098;
}
uint32 nodeserver_id = 1;
uint32 nodeserver_id = 1;
}
message MultiPlayerMsg {
enum CmdId {
NONE = 0;
CMD_ID = 10012;
}
enum CmdId {
NONE = 0;
CMD_ID = 10012;
}
repeated uint32 uid_list = 1;
bytes proto_bin = 2;
repeated uint32 uid_list = 1;
bytes proto_bin = 2;
}
message AddGateserverNotify {
enum CmdId {
NONE = 0;
CMD_ID = 10035;
}
enum CmdId {
NONE = 0;
CMD_ID = 10035;
}
uint32 listen_port = 1;
uint32 outer_ip = 2;
bool use_domain_name = 3;
string domain_name = 4;
uint32 listen_port = 1;
uint32 outer_ip = 2;
bool use_domain_name = 3;
string domain_name = 4;
}
message RegisterServiceNotify {
enum CmdId {
NONE = 0;
CMD_ID = 10007;
}
enum CmdId {
NONE = 0;
CMD_ID = 10007;
}
repeated ServiceType service_type_list = 1;
repeated ServiceType service_type_list = 1;
}
message PlayerTransferNotify {
enum CmdId {
NONE = 0;
CMD_ID = 10021;
}
enum CmdId {
NONE = 0;
CMD_ID = 10021;
}
uint32 transfer_uid = 1;
uint32 target_uid = 2;
uint32 target_home_owner_uid = 3;
uint32 target_home_gameserver_id = 4;
uint32 target_home_param = 5;
uint32 transfer_uid = 1;
uint32 target_uid = 2;
uint32 target_home_owner_uid = 3;
uint32 target_home_gameserver_id = 4;
uint32 target_home_param = 5;
}
message PacketCountInfo {
uint32 cmd_id = 1;
uint32 count = 2;
uint32 cmd_id = 1;
uint32 count = 2;
}
message PacketFreqencyExceedNotify {
enum CmdId {
NONE = 0;
CMD_ID = 10003;
}
enum CmdId {
NONE = 0;
CMD_ID = 10003;
}
uint32 packet_count = 1;
uint32 interval = 2;
repeated PacketCountInfo packet_count_list = 3;
uint32 packet_count = 1;
uint32 interval = 2;
repeated PacketCountInfo packet_count_list = 3;
}
message SceneAsyncLoadGroupBatchNotify {
enum CmdId {
NONE = 0;
CMD_ID = 10090;
}
enum CmdId {
NONE = 0;
CMD_ID = 10090;
}
}
message CrcVersionConfig {
repeated string client_version_list = 1;
repeated string client_version_list = 1;
}
message ClientVersionSyncNotify {
enum CmdId {
NONE = 0;
CMD_ID = 10073;
}
enum CmdId {
NONE = 0;
CMD_ID = 10073;
}
DataVersionConfig data_version_config = 1;
map<uint32, ResVersionConfig> res_version_config_map = 2;
map<uint32, CrcVersionConfig> crc_version_config_map = 3;
map<uint32, ResVersionConfig> next_res_version_config_map = 4;
DataVersionConfig data_version_config = 1;
map<uint32, ResVersionConfig> res_version_config_map = 2;
map<uint32, CrcVersionConfig> crc_version_config_map = 3;
map<uint32, ResVersionConfig> next_res_version_config_map = 4;
}
message RegisterServiceSuccessNotify {
enum CmdId {
NONE = 0;
CMD_ID = 10099;
}
enum CmdId {
NONE = 0;
CMD_ID = 10099;
}
}
message ReloadConfigNotify {
enum CmdId {
NONE = 0;
CMD_ID = 10031;
}
enum CmdId {
NONE = 0;
CMD_ID = 10031;
}
}
message MultiserverServiceTypeNotify {
enum CmdId {
NONE = 0;
CMD_ID = 10075;
}
enum CmdId {
NONE = 0;
CMD_ID = 10075;
}
repeated ServiceType service_type_list = 1;
repeated ServiceType service_type_list = 1;
}
message MatchServiceStopNotify {
enum CmdId {
NONE = 0;
CMD_ID = 10048;
}
enum CmdId {
NONE = 0;
CMD_ID = 10048;
}
uint32 server_id = 1;
uint32 server_id = 1;
}
message MatchServiceStopImplementNotify {
enum CmdId {
NONE = 0;
CMD_ID = 10097;
}
enum CmdId {
NONE = 0;
CMD_ID = 10097;
}
MatchServiceStopNotify msg = 1;
MatchServiceStopNotify msg = 1;
}
message ServerBlockPlayerMpNotify {
enum CmdId {
NONE = 0;
CMD_ID = 10081;
}
enum CmdId {
NONE = 0;
CMD_ID = 10081;
}
bool is_unlock = 1;
uint32 end_time = 2;
bool is_unlock = 1;
uint32 end_time = 2;
}
message ServerBlockPlayerChatNotify {
enum CmdId {
NONE = 0;
CMD_ID = 10005;
}
enum CmdId {
NONE = 0;
CMD_ID = 10005;
}
bool is_unlock = 1;
uint32 end_time = 2;
bool is_unlock = 1;
uint32 end_time = 2;
}
message ServerCheckSegmentCrcNotify {
enum CmdId {
NONE = 0;
CMD_ID = 10082;
}
enum CmdId {
NONE = 0;
CMD_ID = 10082;
}
}

View File

@@ -2,69 +2,69 @@ syntax = "proto3";
package proto;
option go_package = "./;proto";
import "define.proto";
message UpdateMpStatusNotify {
enum CmdId {
NONE = 0;
CMD_ID = 10472;
}
option go_package = "./;proto";
uint32 uid = 1;
bool is_only_mp_with_ps_player = 2;
PlatformType platform_type = 3;
OnlinePlayerInfo online_player_info = 4;
message UpdateMpStatusNotify {
enum CmdId {
NONE = 0;
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 {
enum CmdId {
NONE = 0;
CMD_ID = 10498;
}
enum CmdId {
NONE = 0;
CMD_ID = 10498;
}
uint32 uid = 1;
uint32 uid = 1;
}
message GetPlayerMpStatusListReq {
enum CmdId {
NONE = 0;
CMD_ID = 10412;
}
enum CmdId {
NONE = 0;
CMD_ID = 10412;
}
}
message GetPlayerMpStatusListRsp {
enum CmdId {
NONE = 0;
CMD_ID = 10435;
}
enum CmdId {
NONE = 0;
CMD_ID = 10435;
}
int32 retcode = 1;
repeated OnlinePlayerInfo player_list = 2;
int32 retcode = 1;
repeated OnlinePlayerInfo player_list = 2;
}
message GetPlayerMpStatusInfoReq {
enum CmdId {
NONE = 0;
CMD_ID = 10407;
}
enum CmdId {
NONE = 0;
CMD_ID = 10407;
}
bool is_online_id = 1;
oneof player_id {
uint32 target_uid = 2;
string online_id = 3;
string psn_id = 4;
}
bool is_online_id = 1;
oneof player_id {
uint32 target_uid = 2;
string online_id = 3;
string psn_id = 4;
}
}
message GetPlayerMpStatusInfoRsp {
enum CmdId {
NONE = 0;
CMD_ID = 10421;
}
enum CmdId {
NONE = 0;
CMD_ID = 10421;
}
int32 retcode = 1;
uint32 target_uid = 2;
OnlinePlayerInfo target_player_info = 3;
int32 retcode = 1;
uint32 target_uid = 2;
OnlinePlayerInfo target_player_info = 3;
}

View File

@@ -2,370 +2,370 @@ syntax = "proto3";
package proto;
option go_package = "./;proto";
import "define.proto";
option go_package = "./;proto";
enum PlayerMemDataType {
MEM_DATA_BASIC = 0;
MEM_DATA_H5_ACTIVITY = 1;
MEM_DATA_BASIC = 0;
MEM_DATA_H5_ACTIVITY = 1;
}
message OnlinePlayerNumReq {
enum CmdId {
NONE = 0;
CMD_ID = 10272;
}
enum CmdId {
NONE = 0;
CMD_ID = 10272;
}
}
message OnlinePlayerNumRsp {
enum CmdId {
NONE = 0;
CMD_ID = 10298;
}
enum CmdId {
NONE = 0;
CMD_ID = 10298;
}
int32 retcode = 1;
uint32 online_player_num = 2;
map<uint32, uint32> gameserver_player_num_map = 3;
uint32 online_player_num_except_sub_account = 4;
int32 retcode = 1;
uint32 online_player_num = 2;
map<uint32, uint32> gameserver_player_num_map = 3;
uint32 online_player_num_except_sub_account = 4;
}
message KickoutPlayerNotify {
enum CmdId {
NONE = 0;
CMD_ID = 10212;
}
enum CmdId {
NONE = 0;
CMD_ID = 10212;
}
uint32 reason = 1;
uint32 reason = 1;
}
message CheckOnlinePlayerReq {
enum CmdId {
NONE = 0;
CMD_ID = 10235;
}
enum CmdId {
NONE = 0;
CMD_ID = 10235;
}
uint32 gameserver_id = 1;
uint32 ns_gameserver_id = 2;
uint32 gameserver_id = 1;
uint32 ns_gameserver_id = 2;
}
message CheckOnlinePlayerRsp {
enum CmdId {
NONE = 0;
CMD_ID = 10207;
}
enum CmdId {
NONE = 0;
CMD_ID = 10207;
}
message NodeStatus {
uint32 gameserver_id = 1;
uint32 nodeserver_id = 2;
}
message NodeStatus {
uint32 gameserver_id = 1;
uint32 nodeserver_id = 2;
}
message GameStatus {
uint32 gameserver_id = 1;
uint32 login_time = 2;
uint64 login_rand = 3;
bool is_wait_save = 4;
}
message GameStatus {
uint32 gameserver_id = 1;
uint32 login_time = 2;
uint64 login_rand = 3;
bool is_wait_save = 4;
}
int32 retcode = 1;
NodeStatus node_status = 2;
GameStatus game_status = 3;
int32 retcode = 1;
NodeStatus node_status = 2;
GameStatus game_status = 3;
}
message PlayerCombatForceReq {
enum CmdId {
NONE = 0;
CMD_ID = 10221;
}
enum CmdId {
NONE = 0;
CMD_ID = 10221;
}
}
message PlayerCombatForceRsp {
enum CmdId {
NONE = 0;
CMD_ID = 10203;
}
enum CmdId {
NONE = 0;
CMD_ID = 10203;
}
int32 retcode = 1;
float player_combat_force = 2;
map<uint32, float> player_combat_force_map = 3;
int32 retcode = 1;
float player_combat_force = 2;
map<uint32, float> player_combat_force_map = 3;
}
message CheckGameVersionReq {
enum CmdId {
NONE = 0;
CMD_ID = 10290;
}
enum CmdId {
NONE = 0;
CMD_ID = 10290;
}
uint32 server_version = 1;
uint32 client_version = 2;
uint32 client_silence_version = 3;
map<uint32, uint32> res_version_map = 4;
map<uint32, uint32> next_res_version_map = 5;
uint32 server_version = 1;
uint32 client_version = 2;
uint32 client_silence_version = 3;
map<uint32, uint32> res_version_map = 4;
map<uint32, uint32> next_res_version_map = 5;
}
message GameVersionResult {
uint32 version = 1;
uint32 wrong_num = 2;
repeated uint32 wrong_name_list = 3;
uint32 version = 1;
uint32 wrong_num = 2;
repeated uint32 wrong_name_list = 3;
}
message CheckGameVersionRsp {
enum CmdId {
NONE = 0;
CMD_ID = 10273;
}
enum CmdId {
NONE = 0;
CMD_ID = 10273;
}
int32 retcode = 1;
uint32 total_game = 2;
GameVersionResult server_version_result = 3;
GameVersionResult client_version_result = 4;
GameVersionResult client_silence_version_result = 5;
map<uint32, GameVersionResult> res_version_result_map = 6;
map<uint32, GameVersionResult> next_res_version_result_map = 7;
int32 retcode = 1;
uint32 total_game = 2;
GameVersionResult server_version_result = 3;
GameVersionResult client_version_result = 4;
GameVersionResult client_silence_version_result = 5;
map<uint32, GameVersionResult> res_version_result_map = 6;
map<uint32, GameVersionResult> next_res_version_result_map = 7;
}
message PlatformPlayerNumReq {
enum CmdId {
NONE = 0;
CMD_ID = 10299;
}
enum CmdId {
NONE = 0;
CMD_ID = 10299;
}
}
message PlatformPlayerNumRsp {
enum CmdId {
NONE = 0;
CMD_ID = 10231;
}
enum CmdId {
NONE = 0;
CMD_ID = 10231;
}
int32 retcode = 1;
uint32 online_player_num = 2;
map<uint32, uint32> platform_player_num_map = 3;
int32 retcode = 1;
uint32 online_player_num = 2;
map<uint32, uint32> platform_player_num_map = 3;
}
message PlayerMemBasicData {
string nickname = 1;
uint32 level = 2;
uint32 exp = 3;
uint32 scoin = 4;
uint32 hcoin = 5;
uint32 last_login = 6;
ProfilePicture profile_picture = 7;
fixed32 register_time = 8;
uint32 gender_type = 9;
string nickname = 1;
uint32 level = 2;
uint32 exp = 3;
uint32 scoin = 4;
uint32 hcoin = 5;
uint32 last_login = 6;
ProfilePicture profile_picture = 7;
fixed32 register_time = 8;
uint32 gender_type = 9;
}
message PlayerMemH5AcitivityWatcherData {
uint32 h5_activity_watcher_id = 1;
uint32 progress = 2;
uint32 h5_activity_watcher_id = 1;
uint32 progress = 2;
}
message PlayerMemH5ActivityData {
uint32 h5_schedule_id = 1;
uint32 h5_activity_id = 2;
uint32 last_refresh_time = 3;
repeated uint32 finished_h5_activity_watcher_list = 4;
repeated uint32 unaccept_h5_activity_watcher_list = 5;
repeated PlayerMemH5AcitivityWatcherData h5_activity_watcher_list = 6;
uint32 h5_schedule_id = 1;
uint32 h5_activity_id = 2;
uint32 last_refresh_time = 3;
repeated uint32 finished_h5_activity_watcher_list = 4;
repeated uint32 unaccept_h5_activity_watcher_list = 5;
repeated PlayerMemH5AcitivityWatcherData h5_activity_watcher_list = 6;
}
message PlayerMemH5ActivityDataResult {
map<uint32, int32> retcode_map = 1;
repeated PlayerMemH5ActivityData h5_activity_data_list = 2;
map<uint32, int32> retcode_map = 1;
repeated PlayerMemH5ActivityData h5_activity_data_list = 2;
}
message QueryPlayerMemDataByMuipReq {
enum CmdId {
NONE = 0;
CMD_ID = 10275;
}
enum CmdId {
NONE = 0;
CMD_ID = 10275;
}
uint32 data_type = 1;
repeated uint32 param_list = 2;
uint32 data_type = 1;
repeated uint32 param_list = 2;
}
message QueryPlayerMemDataByMuipRsp {
enum CmdId {
NONE = 0;
CMD_ID = 10248;
}
enum CmdId {
NONE = 0;
CMD_ID = 10248;
}
int32 retcode = 1;
oneof detail {
PlayerMemBasicData basic_data = 2;
PlayerMemH5ActivityDataResult h5_activity_data_result = 3;
}
int32 retcode = 1;
oneof detail {
PlayerMemBasicData basic_data = 2;
PlayerMemH5ActivityDataResult h5_activity_data_result = 3;
}
}
message BindGmUidNotify {
enum CmdId {
NONE = 0;
CMD_ID = 10297;
}
enum CmdId {
NONE = 0;
CMD_ID = 10297;
}
uint32 gm_uid = 1;
uint32 player_uid = 2;
uint32 gm_uid = 1;
uint32 player_uid = 2;
}
message UnbindGmUidNotify {
enum CmdId {
NONE = 0;
CMD_ID = 10281;
}
enum CmdId {
NONE = 0;
CMD_ID = 10281;
}
uint32 gm_uid = 1;
uint32 gm_uid = 1;
}
message GetBindGmUidReq {
enum CmdId {
NONE = 0;
CMD_ID = 10205;
}
enum CmdId {
NONE = 0;
CMD_ID = 10205;
}
}
message GetBindGmUidRsp {
enum CmdId {
NONE = 0;
CMD_ID = 10282;
}
enum CmdId {
NONE = 0;
CMD_ID = 10282;
}
int32 retcode = 1;
map<uint32, uint32> gm_uid_map = 2;
int32 retcode = 1;
map<uint32, uint32> gm_uid_map = 2;
}
message PlatformAntiAddictNotify {
enum CmdId {
NONE = 0;
CMD_ID = 10247;
}
enum CmdId {
NONE = 0;
CMD_ID = 10247;
}
int32 msg_type = 2;
string msg = 3;
string level = 4;
int32 msg_type = 2;
string msg = 3;
string level = 4;
}
message PlayerLoginPerSecondReq {
enum CmdId {
NONE = 0;
CMD_ID = 10239;
}
enum CmdId {
NONE = 0;
CMD_ID = 10239;
}
}
message PlayerLoginPerSecondRsp {
enum CmdId {
NONE = 0;
CMD_ID = 10253;
}
enum CmdId {
NONE = 0;
CMD_ID = 10253;
}
int32 retcode = 1;
uint32 player_login_per_second = 2;
int32 retcode = 1;
uint32 player_login_per_second = 2;
}
message FineGrainedPlayerNumReq {
enum CmdId {
NONE = 0;
CMD_ID = 10222;
}
enum CmdId {
NONE = 0;
CMD_ID = 10222;
}
}
message FineGrainedPlayerNumRsp {
enum CmdId {
NONE = 0;
CMD_ID = 10265;
}
enum CmdId {
NONE = 0;
CMD_ID = 10265;
}
int32 retcode = 1;
uint32 online_player_num = 2;
map<string, uint32> fine_grained_player_num_map = 3;
int32 retcode = 1;
uint32 online_player_num = 2;
map<string, uint32> fine_grained_player_num_map = 3;
}
message CheckGameCrcVersionReq {
enum CmdId {
NONE = 0;
CMD_ID = 10204;
}
enum CmdId {
NONE = 0;
CMD_ID = 10204;
}
uint32 platform = 1;
string client_version_str = 2;
uint32 platform = 1;
string client_version_str = 2;
}
message CheckGameCrcVersionRsp {
enum CmdId {
NONE = 0;
CMD_ID = 10293;
}
enum CmdId {
NONE = 0;
CMD_ID = 10293;
}
int32 retcode = 1;
uint32 total_game = 2;
uint32 platform = 3;
string client_version_str = 4;
uint32 wrong_num = 5;
repeated uint32 wrong_name_list = 6;
int32 retcode = 1;
uint32 total_game = 2;
uint32 platform = 3;
string client_version_str = 4;
uint32 wrong_num = 5;
repeated uint32 wrong_name_list = 6;
}
message UpdateRedPointByMuipNotify {
enum CmdId {
NONE = 0;
CMD_ID = 10227;
}
enum CmdId {
NONE = 0;
CMD_ID = 10227;
}
repeated RedPointData red_point_list = 1;
repeated RedPointData red_point_list = 1;
}
message SendConcertProductReq {
enum CmdId {
NONE = 0;
CMD_ID = 10294;
}
enum CmdId {
NONE = 0;
CMD_ID = 10294;
}
string ticket = 1;
uint32 config_id = 2;
string ticket = 1;
uint32 config_id = 2;
}
message SendConcertProductRsp {
enum CmdId {
NONE = 0;
CMD_ID = 10288;
}
enum CmdId {
NONE = 0;
CMD_ID = 10288;
}
int32 retcode = 1;
string ticket = 2;
uint32 config_id = 3;
int32 retcode = 1;
string ticket = 2;
uint32 config_id = 3;
}
message QueryConcertProductInfoReq {
enum CmdId {
NONE = 0;
CMD_ID = 10226;
}
enum CmdId {
NONE = 0;
CMD_ID = 10226;
}
uint32 config_id = 1;
uint32 config_id = 1;
}
message QueryConcertProductInfoRsp {
enum CmdId {
NONE = 0;
CMD_ID = 10263;
}
enum CmdId {
NONE = 0;
CMD_ID = 10263;
}
int32 retcode = 1;
uint32 config_id = 2;
uint32 obtain_count = 3;
uint32 obtain_limit = 4;
int32 retcode = 1;
uint32 config_id = 2;
uint32 obtain_count = 3;
uint32 obtain_limit = 4;
}
message PlayerMpModeReq {
enum CmdId {
NONE = 0;
CMD_ID = 10295;
}
enum CmdId {
NONE = 0;
CMD_ID = 10295;
}
}
message PlayerMpModeRsp {
enum CmdId {
NONE = 0;
CMD_ID = 10206;
}
enum CmdId {
NONE = 0;
CMD_ID = 10206;
}
int32 retcode = 1;
bool is_mp_mode = 2;
int32 retcode = 1;
bool is_mp_mode = 2;
}

View File

@@ -2,133 +2,133 @@ syntax = "proto3";
package proto;
option go_package = "./;proto";
import "server_only/bin_common.server.proto";
option go_package = "./;proto";
message OfflineOpDefaultContext {
uint32 tag = 1;
uint32 tag = 1;
}
message OfflineOpPlantFlowerActivityGiveFlowerContext {
uint32 uid = 1;
map<uint32, uint32> flower_num_map = 2;
uint32 uid = 1;
map<uint32, uint32> flower_num_map = 2;
}
message GCGSettleContext {
uint32 uid = 1;
uint32 game_id = 2;
uint32 game_uid = 3;
uint32 uid = 1;
uint32 game_id = 2;
uint32 game_uid = 3;
}
message OfflineOpContext {
oneof context {
OfflineOpDefaultContext default_context = 1;
OfflineOpPlantFlowerActivityGiveFlowerContext plant_flower_give_flower_context = 2;
}
oneof context {
OfflineOpDefaultContext default_context = 1;
OfflineOpPlantFlowerActivityGiveFlowerContext plant_flower_give_flower_context = 2;
}
}
message OfflineOpData {
OfflineOpBin bin = 1;
OfflineOpContext context = 2;
uint32 max_length = 3;
OfflineOpBin bin = 1;
OfflineOpContext context = 2;
uint32 max_length = 3;
}
message SendOfflineOpReq {
enum CmdId {
NONE = 0;
CMD_ID = 12226;
}
enum CmdId {
NONE = 0;
CMD_ID = 12226;
}
uint32 uid = 1;
fixed32 time = 2;
OfflineOpType op_type = 3;
OfflineOpData op_data = 4;
uint32 uid = 1;
fixed32 time = 2;
OfflineOpType op_type = 3;
OfflineOpData op_data = 4;
}
message SendOfflineOpRsp {
enum CmdId {
NONE = 0;
CMD_ID = 12218;
}
enum CmdId {
NONE = 0;
CMD_ID = 12218;
}
int32 retcode = 1;
uint32 index = 2;
OfflineOpType op_type = 3;
OfflineOpContext context = 4;
int32 retcode = 1;
uint32 index = 2;
OfflineOpType op_type = 3;
OfflineOpContext context = 4;
}
message GetOfflineOpReq {
enum CmdId {
NONE = 0;
CMD_ID = 12225;
}
enum CmdId {
NONE = 0;
CMD_ID = 12225;
}
OfflineOpType op_type = 1;
uint32 index = 2;
OfflineOpType op_type = 1;
uint32 index = 2;
}
message GetOfflineOpRsp {
enum CmdId {
NONE = 0;
CMD_ID = 12207;
}
enum CmdId {
NONE = 0;
CMD_ID = 12207;
}
int32 retcode = 1;
repeated bytes bin_str_list = 2;
int32 retcode = 1;
repeated bytes bin_str_list = 2;
}
message NewOfflineOpNotify {
enum CmdId {
NONE = 0;
CMD_ID = 12202;
}
enum CmdId {
NONE = 0;
CMD_ID = 12202;
}
OfflineOpType op_type = 1;
uint32 index = 2;
OfflineOpType op_type = 1;
uint32 index = 2;
}
message RemoveOfflineOpReq {
enum CmdId {
NONE = 0;
CMD_ID = 12231;
}
enum CmdId {
NONE = 0;
CMD_ID = 12231;
}
OfflineOpType op_type = 1;
uint32 index = 2;
OfflineOpType op_type = 1;
uint32 index = 2;
}
message RemoveOfflineOpRsp {
enum CmdId {
NONE = 0;
CMD_ID = 12229;
}
enum CmdId {
NONE = 0;
CMD_ID = 12229;
}
int32 retcode = 1;
OfflineOpType op_type = 2;
uint32 index = 3;
int32 retcode = 1;
OfflineOpType op_type = 2;
uint32 index = 3;
}
message SendGCGOfflineOpReq {
enum CmdId {
NONE = 0;
CMD_ID = 12222;
}
enum CmdId {
NONE = 0;
CMD_ID = 12222;
}
uint32 uid = 1;
fixed32 time = 2;
OfflineOpType op_type = 3;
OfflineOpData op_data = 4;
uint32 uid = 1;
fixed32 time = 2;
OfflineOpType op_type = 3;
OfflineOpData op_data = 4;
}
message SendGCGOfflineOpRsp {
enum CmdId {
NONE = 0;
CMD_ID = 12244;
}
enum CmdId {
NONE = 0;
CMD_ID = 12244;
}
int32 retcode = 1;
uint32 index = 2;
OfflineOpType op_type = 3;
OfflineOpContext context = 4;
int32 retcode = 1;
uint32 index = 2;
OfflineOpType op_type = 3;
OfflineOpContext context = 4;
}

View File

@@ -2,143 +2,143 @@ syntax = "proto3";
package proto;
import "define.proto";
import "server_only/bin.server.proto";
option go_package = "./;proto";
import "server_only/bin.server.proto";
import "define.proto";
message SavePlayerDataReq {
enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 10198;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
}
enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 10198;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
}
PlayerData player_data = 1;
uint32 save_stat_id = 2;
PlayerData player_data = 1;
uint32 save_stat_id = 2;
}
message SavePlayerDataRsp {
enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 10112;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
}
enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 10112;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
}
int32 retcode = 1;
uint32 data_version = 2;
uint32 save_stat_id = 3;
int32 retcode = 1;
uint32 data_version = 2;
uint32 save_stat_id = 3;
}
message PlayerOnlineStatusInfo {
enum StatusType {
ONLINE = 0;
OFFLINE = 1;
}
enum StatusType {
ONLINE = 0;
OFFLINE = 1;
}
uint32 uid = 1;
uint32 platform_type = 2;
StatusType online_status = 3;
bool is_sub_account = 4;
string country_code = 5;
uint32 uid = 1;
uint32 platform_type = 2;
StatusType online_status = 3;
bool is_sub_account = 4;
string country_code = 5;
}
message PlayerOnlineStatusNotify {
enum Enum {
NONE = 0;
CMD_ID = 10135;
}
enum Enum {
NONE = 0;
CMD_ID = 10135;
}
repeated PlayerOnlineStatusInfo player_info_list = 1;
repeated PlayerOnlineStatusInfo player_info_list = 1;
}
message ServiceDisconnectNotify {
enum Enum {
NONE = 0;
CMD_ID = 10103;
}
enum Enum {
NONE = 0;
CMD_ID = 10103;
}
ServiceType type = 1;
uint32 ip = 2;
ServiceType type = 1;
uint32 ip = 2;
}
message PlayerDisconnectNotify {
enum Enum {
NONE = 0;
CMD_ID = 10190;
}
enum Enum {
NONE = 0;
CMD_ID = 10190;
}
uint32 data = 1;
uint32 data = 1;
}
message DisconnectClientNotify {
enum CmdId {
NONE = 0;
CMD_ID = 10173;
}
enum CmdId {
NONE = 0;
CMD_ID = 10173;
}
uint32 data = 1;
uint32 data = 1;
}
message SysCreateGroupReq {
enum CmdId {
NONE = 0;
CMD_ID = 10199;
}
enum CmdId {
NONE = 0;
CMD_ID = 10199;
}
}
message SaveBlockDataReq {
enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 10131;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
}
enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 10131;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
}
map<uint32, BlockInfo> block_info_map = 1;
map<uint32, BlockInfo> block_info_map = 1;
}
message SaveBlockDataRsp {
enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 10175;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
}
enum CmdId {
option allow_alias = true;
NONE = 0;
CMD_ID = 10175;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
}
int32 retcode = 1;
map<uint32, uint32> block_succ_save_map = 2;
int32 retcode = 1;
map<uint32, uint32> block_succ_save_map = 2;
}
message SavePlayerExtraBinDataNotify {
enum CmdId {
NONE = 0;
CMD_ID = 10148;
}
enum CmdId {
NONE = 0;
CMD_ID = 10148;
}
uint32 uid = 1;
bytes player_extra_bin_data = 2;
uint32 uid = 1;
bytes player_extra_bin_data = 2;
}
message SysSavePlayerNotify {
enum CmdId {
NONE = 0;
CMD_ID = 10197;
}
enum CmdId {
NONE = 0;
CMD_ID = 10197;
}
}
message PlayerLoginBlockInfoNotify {
enum CmdId {
NONE = 0;
CMD_ID = 10181;
}
enum CmdId {
NONE = 0;
CMD_ID = 10181;
}
uint64 login_rand = 1;
map<uint32, BlockInfo> block_info_map = 2;
uint64 login_rand = 1;
map<uint32, BlockInfo> block_info_map = 2;
}

View File

@@ -5,94 +5,94 @@ package proto;
option go_package = "./;proto";
message Order {
uint32 id = 1;
uint32 uid = 2;
string product_id = 3;
string product_name = 4;
uint32 product_num = 5;
uint32 coin_num = 6;
string total_fee = 7;
string currency = 8;
string price_tier = 9;
string trade_no = 10;
uint32 trade_time = 11;
uint32 channel_id = 12;
string channel_order_no = 13;
string pay_plat = 14;
string extend = 15;
uint32 create_time = 16;
string bonus = 17;
uint32 bonus_num = 18;
uint32 vip_point_num = 19;
string pay_type = 20;
string pay_vendor = 21;
string client_type = 22;
string device = 23;
string client_ip = 24;
uint32 id = 1;
uint32 uid = 2;
string product_id = 3;
string product_name = 4;
uint32 product_num = 5;
uint32 coin_num = 6;
string total_fee = 7;
string currency = 8;
string price_tier = 9;
string trade_no = 10;
uint32 trade_time = 11;
uint32 channel_id = 12;
string channel_order_no = 13;
string pay_plat = 14;
string extend = 15;
uint32 create_time = 16;
string bonus = 17;
uint32 bonus_num = 18;
uint32 vip_point_num = 19;
string pay_type = 20;
string pay_vendor = 21;
string client_type = 22;
string device = 23;
string client_ip = 24;
}
message RechargeOrderNotify {
enum CmdId {
NONE = 0;
CMD_ID = 10726;
}
enum CmdId {
NONE = 0;
CMD_ID = 10726;
}
Order order = 1;
Order order = 1;
}
message MarkOrderFinishedReq {
enum CmdId {
NONE = 0;
CMD_ID = 10718;
}
enum CmdId {
NONE = 0;
CMD_ID = 10718;
}
uint32 order_id = 1;
uint32 finish_time = 2;
bool is_retry = 3;
uint32 order_id = 1;
uint32 finish_time = 2;
bool is_retry = 3;
}
message MarkOrderFinishedRsp {
enum CmdId {
NONE = 0;
CMD_ID = 10725;
}
enum CmdId {
NONE = 0;
CMD_ID = 10725;
}
int32 retcode = 1;
uint32 order_id = 2;
int32 retcode = 1;
uint32 order_id = 2;
}
message GetUnfinishedOrderReq {
enum CmdId {
NONE = 0;
CMD_ID = 10707;
}
enum CmdId {
NONE = 0;
CMD_ID = 10707;
}
}
message GetUnfinishedOrderRsp {
enum CmdId {
NONE = 0;
CMD_ID = 10702;
}
enum CmdId {
NONE = 0;
CMD_ID = 10702;
}
int32 retcode = 1;
repeated Order order_list = 2;
int32 retcode = 1;
repeated Order order_list = 2;
}
message GetSpecificUnfinishedReq {
enum CmdId {
NONE = 0;
CMD_ID = 10731;
}
enum CmdId {
NONE = 0;
CMD_ID = 10731;
}
uint32 order_id = 1;
uint32 order_id = 1;
}
message GetSpecificUnfinishedRsp {
enum CmdId {
NONE = 0;
CMD_ID = 10729;
}
enum CmdId {
NONE = 0;
CMD_ID = 10729;
}
int32 retcode = 1;
Order order = 2;
int32 retcode = 1;
Order order = 2;
}

View File

@@ -5,44 +5,44 @@ package proto_security;
option go_package = "./;proto";
enum Platform {
Unkown = 0;
IOS = 1;
Android = 2;
PC = 3;
WEB = 4;
WAP = 5;
PS = 6;
Nintendo = 7;
CloudAndroid = 8;
CloudPC = 9;
CloudIOS = 10;
PS5 = 11;
Unkown = 0;
IOS = 1;
Android = 2;
PC = 3;
WEB = 4;
WAP = 5;
PS = 6;
Nintendo = 7;
CloudAndroid = 8;
CloudPC = 9;
CloudIOS = 10;
PS5 = 11;
}
message GameLoginNotifyRequest {
uint32 uid = 1;
uint32 account_type = 2;
string account = 3;
uint32 platform = 4;
string region = 5;
string biz_game = 6;
uint32 uid = 1;
uint32 account_type = 2;
string account = 3;
uint32 platform = 4;
string region = 5;
string biz_game = 6;
}
message GameLogoutNotifyRequest {
uint32 uid = 1;
uint32 account_type = 2;
string account = 3;
uint32 platform = 4;
string region = 5;
string biz_game = 6;
uint32 uid = 1;
uint32 account_type = 2;
string account = 3;
uint32 platform = 4;
string region = 5;
string biz_game = 6;
}
message GameHeartBeatInfo {
repeated uint32 uid = 1;
repeated uint32 uid = 1;
}
message GameHeartBeatNotifyRequest {
map<uint32, GameHeartBeatInfo> platform_uid_list = 1;
string region = 2;
string biz_game = 3;
map<uint32, GameHeartBeatInfo> platform_uid_list = 1;
string region = 2;
string biz_game = 3;
}

File diff suppressed because it is too large Load Diff

View File

@@ -5,106 +5,106 @@ package proto;
option go_package = "./;proto";
message Timestamp {
int64 seconds = 1;
int32 nanos = 2;
int64 seconds = 1;
int32 nanos = 2;
}
message StopServerConfig {
Timestamp begin_time = 1;
Timestamp end_time = 2;
string url = 3;
uint32 text_id = 4;
uint32 content_text_id = 5;
Timestamp begin_time = 1;
Timestamp end_time = 2;
string url = 3;
uint32 text_id = 4;
uint32 content_text_id = 5;
}
message StopRegisterConfig {
Timestamp begin_time = 1;
Timestamp end_time = 2;
uint32 max_player_num = 3;
Timestamp begin_time = 1;
Timestamp end_time = 2;
uint32 max_player_num = 3;
}
message ForceUpdateConfig {
string url = 1;
uint32 text_id = 2;
string url = 1;
uint32 text_id = 2;
}
message DateTimeIntervalConfig {
Timestamp begin_time = 1;
Timestamp end_time = 2;
uint32 text_id = 3;
Timestamp begin_time = 1;
Timestamp end_time = 2;
uint32 text_id = 3;
}
message DataVersionConfig {
enum DataVersionType {
SERVER = 0;
CLIENT = 1;
CLIENT_SILENCE = 2;
}
enum DataVersionType {
SERVER = 0;
CLIENT = 1;
CLIENT_SILENCE = 2;
}
uint32 server = 1;
uint32 client = 2;
uint32 client_silence = 3;
map<string, string> client_md5 = 4;
map<uint32, string> client_platform_md5 = 5;
map<string, string> client_silence_md5 = 6;
map<uint32, string> client_silence_platform_md5 = 7;
string client_version_suffix = 8;
string client_silence_version_suffix = 9;
bool relogin = 10;
bool mp_relogin = 11;
bool gcg_forbid_relogin = 12;
uint32 server = 1;
uint32 client = 2;
uint32 client_silence = 3;
map<string, string> client_md5 = 4;
map<uint32, string> client_platform_md5 = 5;
map<string, string> client_silence_md5 = 6;
map<uint32, string> client_silence_platform_md5 = 7;
string client_version_suffix = 8;
string client_silence_version_suffix = 9;
bool relogin = 10;
bool mp_relogin = 11;
bool gcg_forbid_relogin = 12;
}
message SdkAccountReqConfig {
uint32 app_id = 1;
uint32 channel_id = 2;
string open_id = 3;
string combo_token = 4;
string sign = 5;
string region = 6;
uint32 app_id = 1;
uint32 channel_id = 2;
string open_id = 3;
string combo_token = 4;
string sign = 5;
string region = 6;
}
message GachaUpConfig {
uint32 item_parent_type = 1;
uint32 prob = 2;
repeated uint32 item_list = 3;
uint32 item_parent_type = 1;
uint32 prob = 2;
repeated uint32 item_list = 3;
}
message DbGachaUpConfig {
repeated GachaUpConfig gacha_up_list = 1;
repeated GachaUpConfig gacha_up_list = 1;
}
message DbGachaRuleConfig {
repeated uint32 gacha_rule_list = 1;
repeated uint32 gacha_rule_list = 1;
}
message AntiCheatConfig {
bool is_segment_crc_valid = 1;
bool is_segment_crc_valid = 1;
}
message GameplayRecommendationSkillConfig {
repeated uint32 skill_id_list = 1;
repeated uint32 skill_id_list = 1;
}
message GameplayRecommendationReliquaryMainPropConfig {
uint32 main_prop_id = 1;
uint32 permillage = 2;
uint32 main_prop_id = 1;
uint32 permillage = 2;
}
message GameplayRecommendationReliquaryConfig {
repeated GameplayRecommendationReliquaryMainPropConfig main_prop_config_list = 1;
repeated GameplayRecommendationReliquaryMainPropConfig main_prop_config_list = 1;
}
message GameplayRecommendationReliquaryMapConfig {
map<uint32, GameplayRecommendationReliquaryConfig> reliquary_config_map = 1;
map<uint32, GameplayRecommendationReliquaryConfig> reliquary_config_map = 1;
}
message GameplayRecommendationAvatarConfig {
map<uint32, GameplayRecommendationSkillConfig> skill_config_map = 1;
map<uint32, GameplayRecommendationReliquaryConfig> reliquary_config_map = 2;
map<uint32, GameplayRecommendationReliquaryMapConfig> element_reliquary_config_map = 3;
map<uint32, GameplayRecommendationSkillConfig> skill_config_map = 1;
map<uint32, GameplayRecommendationReliquaryConfig> reliquary_config_map = 2;
map<uint32, GameplayRecommendationReliquaryMapConfig> element_reliquary_config_map = 3;
}
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

View File

@@ -3,46 +3,46 @@ syntax = "proto3";
package proto_log;
enum AntiCheatActionType {
ANTI_CHEAT_ACTION_NONE = 0;
ANTI_CHEAT_ACTION_AI_HASH = 1;
ANTI_CHEAT_ACTION_MTP = 2;
ANTI_CHEAT_ACTION_CHECKSUM_INVALID = 3;
ANTI_CHEAT_SKILL_CD_WRONG = 4;
ANTI_CHEAT_ACTION_MOVE_SPEED_OVER_LIMIT = 5;
ANTI_CHEAT_ACTION_ANTI_OFFLINE_RESULT = 6;
ANTI_CHEAT_ACTION_ELITE_MONSTER_ABNORMAL_DIE = 7;
ANTI_CHEAT_ACTION_ABILITY_HASH = 8;
ANTI_CHEAT_ACTION_EQUIP_AFFIX_CD_WRONG = 9;
ANTI_CHEAT_ACTION_REPORT = 10;
ANTI_CHEAT_ACTION_SEGMENT_CRC_CHECK_FAIL = 11;
ANTI_CHEAT_ACTION_MONSTER_DIE = 12;
ANTI_CHEAT_ACTION_USE_NOT_ALLOWED_SKILL = 13;
ANTI_CHEAT_ACTION_CLIENT_SPEED_UP_TIME = 14;
ANTI_CHEAT_ACTION_COMBAT_HASH = 15;
ANTI_CHEAT_ACTION_GADGET_INTERACT_BEYOND_DISTANCE = 16;
ANTI_CHEAT_ACTION_SAFE_FLOAT_EXCEPTION = 17;
ANTI_CHEAT_ACTION_ENVIRONMENT_ERROR = 18;
ANTI_CHEAT_ACTION_SCENE_TIME_MOVE_SPEED_OVER_LIMIT = 20;
ANTI_CHEAT_ACTION_DAMAGE_OVER_LIMIT = 21;
ANTI_CHEAT_ACTION_CLIENT_REPORT_MOVE_SPEED_OVER_LIMIT = 22;
ANTI_CHEAT_ACTION_AVATAR_EXCEL_HASH = 23;
ANTI_CHEAT_ACTION_CLIENT_LOADING_COSTUME_VERIFICATION = 24;
ANTI_CHEAT_ACTION_QIANDAOGUA_CHECK_FAIL = 25;
ANTI_CHEAT_ACTION_MOUSE_MACRO_CLIENT_REPORT = 26;
ANTI_CHEAT_ACTION_CLIENT_TICK_TIME_CHECK_FAIL = 27;
ANTI_CHEAT_ACTION_CLIENT_SGV_CHECK_FAIL = 28;
ANTI_CHEAT_ACTION_STAMINA_CHECK_FAIL = 29;
ANTI_CHEAT_ACTION_CLIENT_FIGHT_REPORT = 30;
ANTI_CHEAT_ACTION_CLIENT_PROTO_ERROR = 31;
ANTI_CHEAT_ACTION_UNION_EXCEED_FREQ = 32;
ANTI_CHEAT_ACTION_RELIQUARY_UPGRADE_ERROR = 33;
ANTI_CHEAT_ACTION_PACKET_COST_TIME_EXCEED_LIMIT = 34;
ANTI_CHEAT_ACTION_RECV_PACKET_FREQ_EXCEED_LIMIT = 35;
ANTI_CHEAT_ACTION_SINGLE_PACKET_FREQ_EXCEED_LIMIT = 36;
ANTI_CHEAT_ACTION_GADGET_INTERACT_BEYOND_CHECK_DISTANCE = 37;
ANTI_CHEAT_ACTION_LUA_SHELL_CLIENT_NOTIFY_TIMEOUT = 38;
ANTI_CHEAT_ACTION_PACKET_COST_TIME_PERCENT_EXCEED_LIMIT = 39;
ANTI_CHEAT_ACTION_SECURITY_LIBRARY_MD5_ERROR = 40;
ANTI_CHEAT_ACTION_AVATAR_ATTACK_AVATAR_DAMAGE = 41;
ANTI_CHEAT_ACTION_FORBID_LOGIN = 42;
ANTI_CHEAT_ACTION_NONE = 0;
ANTI_CHEAT_ACTION_AI_HASH = 1;
ANTI_CHEAT_ACTION_MTP = 2;
ANTI_CHEAT_ACTION_CHECKSUM_INVALID = 3;
ANTI_CHEAT_SKILL_CD_WRONG = 4;
ANTI_CHEAT_ACTION_MOVE_SPEED_OVER_LIMIT = 5;
ANTI_CHEAT_ACTION_ANTI_OFFLINE_RESULT = 6;
ANTI_CHEAT_ACTION_ELITE_MONSTER_ABNORMAL_DIE = 7;
ANTI_CHEAT_ACTION_ABILITY_HASH = 8;
ANTI_CHEAT_ACTION_EQUIP_AFFIX_CD_WRONG = 9;
ANTI_CHEAT_ACTION_REPORT = 10;
ANTI_CHEAT_ACTION_SEGMENT_CRC_CHECK_FAIL = 11;
ANTI_CHEAT_ACTION_MONSTER_DIE = 12;
ANTI_CHEAT_ACTION_USE_NOT_ALLOWED_SKILL = 13;
ANTI_CHEAT_ACTION_CLIENT_SPEED_UP_TIME = 14;
ANTI_CHEAT_ACTION_COMBAT_HASH = 15;
ANTI_CHEAT_ACTION_GADGET_INTERACT_BEYOND_DISTANCE = 16;
ANTI_CHEAT_ACTION_SAFE_FLOAT_EXCEPTION = 17;
ANTI_CHEAT_ACTION_ENVIRONMENT_ERROR = 18;
ANTI_CHEAT_ACTION_SCENE_TIME_MOVE_SPEED_OVER_LIMIT = 20;
ANTI_CHEAT_ACTION_DAMAGE_OVER_LIMIT = 21;
ANTI_CHEAT_ACTION_CLIENT_REPORT_MOVE_SPEED_OVER_LIMIT = 22;
ANTI_CHEAT_ACTION_AVATAR_EXCEL_HASH = 23;
ANTI_CHEAT_ACTION_CLIENT_LOADING_COSTUME_VERIFICATION = 24;
ANTI_CHEAT_ACTION_QIANDAOGUA_CHECK_FAIL = 25;
ANTI_CHEAT_ACTION_MOUSE_MACRO_CLIENT_REPORT = 26;
ANTI_CHEAT_ACTION_CLIENT_TICK_TIME_CHECK_FAIL = 27;
ANTI_CHEAT_ACTION_CLIENT_SGV_CHECK_FAIL = 28;
ANTI_CHEAT_ACTION_STAMINA_CHECK_FAIL = 29;
ANTI_CHEAT_ACTION_CLIENT_FIGHT_REPORT = 30;
ANTI_CHEAT_ACTION_CLIENT_PROTO_ERROR = 31;
ANTI_CHEAT_ACTION_UNION_EXCEED_FREQ = 32;
ANTI_CHEAT_ACTION_RELIQUARY_UPGRADE_ERROR = 33;
ANTI_CHEAT_ACTION_PACKET_COST_TIME_EXCEED_LIMIT = 34;
ANTI_CHEAT_ACTION_RECV_PACKET_FREQ_EXCEED_LIMIT = 35;
ANTI_CHEAT_ACTION_SINGLE_PACKET_FREQ_EXCEED_LIMIT = 36;
ANTI_CHEAT_ACTION_GADGET_INTERACT_BEYOND_CHECK_DISTANCE = 37;
ANTI_CHEAT_ACTION_LUA_SHELL_CLIENT_NOTIFY_TIMEOUT = 38;
ANTI_CHEAT_ACTION_PACKET_COST_TIME_PERCENT_EXCEED_LIMIT = 39;
ANTI_CHEAT_ACTION_SECURITY_LIBRARY_MD5_ERROR = 40;
ANTI_CHEAT_ACTION_AVATAR_ATTACK_AVATAR_DAMAGE = 41;
ANTI_CHEAT_ACTION_FORBID_LOGIN = 42;
}

View File

@@ -5,458 +5,458 @@ package proto_log;
import "server_only/log/player/player_body_custom.proto";
enum AntiOfflineResultType {
ANTI_OFFLINE_RESULT_NONE = 0;
ANTI_OFFLINE_RESULT_SUCC = 1;
ANTI_OFFLINE_RESULT_EMPTY = 2;
ANTI_OFFLINE_RESULT_DECRYPT_FAIL = 3;
ANTI_OFFLINE_RESULT_VERIFY_FAIL = 4;
ANTI_OFFLINE_RESULT_NONE = 0;
ANTI_OFFLINE_RESULT_SUCC = 1;
ANTI_OFFLINE_RESULT_EMPTY = 2;
ANTI_OFFLINE_RESULT_DECRYPT_FAIL = 3;
ANTI_OFFLINE_RESULT_VERIFY_FAIL = 4;
}
enum ForbidLoginReason {
FORBID_LOGIN_NONE = 0;
FORBID_LOGIN_CHECKSUM = 1;
FORBID_LOGIN_ANTI_OFFLINE = 2;
FORBID_LOGIN_ENVIRONMENT_ERROR_CODE = 3;
FORBID_LOGIN_SECURITY_LIBRARY = 4;
FORBID_LOGIN_NONE = 0;
FORBID_LOGIN_CHECKSUM = 1;
FORBID_LOGIN_ANTI_OFFLINE = 2;
FORBID_LOGIN_ENVIRONMENT_ERROR_CODE = 3;
FORBID_LOGIN_SECURITY_LIBRARY = 4;
}
message SecurityChannelLog {
uint32 uid = 1;
int32 ret = 2;
uint64 expect_salt = 3;
uint64 actual_salt = 4;
string trans_no = 5;
string report = 6;
uint32 uid = 1;
int32 ret = 2;
uint64 expect_salt = 3;
uint64 actual_salt = 4;
string trans_no = 5;
string report = 6;
}
message AntiCheatBodyAIHash {
uint32 monster_id = 1;
int32 client_hash_value = 2;
int32 server_hash_value = 3;
uint32 monster_id = 1;
int32 client_hash_value = 2;
int32 server_hash_value = 3;
}
message AntiCheatBodyMTP {
string report_type = 1;
uint32 report_value = 2;
string report_type = 1;
uint32 report_value = 2;
}
message AntiCheatBodyChecksumInvalid {
string system_version = 1;
string device_uuid = 2;
string cloud_client_ip = 3;
string platform = 4;
uint32 account_type = 5;
string client_version = 6;
string device_name = 7;
string checksum = 8;
uint32 channel_id = 9;
uint32 sub_channel_id = 10;
string system_version = 1;
string device_uuid = 2;
string cloud_client_ip = 3;
string platform = 4;
uint32 account_type = 5;
string client_version = 6;
string device_name = 7;
string checksum = 8;
uint32 channel_id = 9;
uint32 sub_channel_id = 10;
}
message AntiCheatBodySkillCdWrong {
uint32 avatar_id = 1;
uint32 skill_id = 2;
float skill_cd = 3;
float skill_pass_time = 4;
uint32 max_charge_count = 5;
uint32 cd_list_len = 6;
string ability_name = 7;
string modifier_name = 8;
EntityLog source_entity = 9;
EntityLog target_entity = 10;
uint32 from_player_uid = 11;
uint32 avatar_id = 1;
uint32 skill_id = 2;
float skill_cd = 3;
float skill_pass_time = 4;
uint32 max_charge_count = 5;
uint32 cd_list_len = 6;
string ability_name = 7;
string modifier_name = 8;
EntityLog source_entity = 9;
EntityLog target_entity = 10;
uint32 from_player_uid = 11;
}
message AntiCheatBodyMoveSpeedOverLimit {
enum MoveType {
MOVE_NORMAL = 0;
MOVE_DASH = 1;
MOVE_SWIM = 2;
MOVE_FLY = 3;
MOVE_POWER_FLY = 4;
MOVE_SKIFF_DASH = 5;
MOVE_SKIFF_POWER_DASH = 6;
}
enum MoveType {
MOVE_NORMAL = 0;
MOVE_DASH = 1;
MOVE_SWIM = 2;
MOVE_FLY = 3;
MOVE_POWER_FLY = 4;
MOVE_SKIFF_DASH = 5;
MOVE_SKIFF_POWER_DASH = 6;
}
uint32 avatar_id = 1;
uint32 move_type = 2;
float move_speed = 3;
float move_speed_limit = 4;
float pre_x = 5;
float pre_y = 6;
float pre_z = 7;
float cur_x = 8;
float cur_y = 9;
float cur_z = 10;
uint32 is_only_record_move_count = 11;
uint32 last_refresh_force_move_time = 12;
uint32 force_drag_move_count = 13;
uint32 total_move_count = 14;
uint32 is_kicked_out = 15;
uint32 is_draged_back = 16;
uint32 motion_state = 17;
uint32 record_time = 18;
uint32 record_count = 19;
uint32 avatar_id = 1;
uint32 move_type = 2;
float move_speed = 3;
float move_speed_limit = 4;
float pre_x = 5;
float pre_y = 6;
float pre_z = 7;
float cur_x = 8;
float cur_y = 9;
float cur_z = 10;
uint32 is_only_record_move_count = 11;
uint32 last_refresh_force_move_time = 12;
uint32 force_drag_move_count = 13;
uint32 total_move_count = 14;
uint32 is_kicked_out = 15;
uint32 is_draged_back = 16;
uint32 motion_state = 17;
uint32 record_time = 18;
uint32 record_count = 19;
}
message AntiCheatBodySceneTimeMoveSpeedOverLimit {
uint32 avatar_id = 1;
float move_speed = 2;
float move_speed_limit = 3;
float pre_x = 4;
float pre_y = 5;
float pre_z = 6;
float cur_x = 7;
float cur_y = 8;
float cur_z = 9;
uint32 is_kicked_out = 10;
uint32 is_draged_back = 11;
uint32 motion_state = 12;
uint32 record_scene_time = 13;
uint32 record_time = 14;
uint32 record_count = 15;
uint32 avatar_id = 1;
float move_speed = 2;
float move_speed_limit = 3;
float pre_x = 4;
float pre_y = 5;
float pre_z = 6;
float cur_x = 7;
float cur_y = 8;
float cur_z = 9;
uint32 is_kicked_out = 10;
uint32 is_draged_back = 11;
uint32 motion_state = 12;
uint32 record_scene_time = 13;
uint32 record_time = 14;
uint32 record_count = 15;
}
message AntiCheatBodyAntiOfflineResult {
uint32 result_type = 1;
int32 check_result = 2;
int32 verify_result = 3;
uint32 old_security_level = 4;
uint32 cur_security_level = 5;
uint32 succ_num = 6;
uint32 empty_num = 7;
uint32 decrypt_fail_num = 8;
uint32 verify_fail_num = 9;
uint32 cur_succ_num = 10;
uint32 cur_fail_num = 11;
uint32 account_type = 12;
string account_uid = 13;
uint32 platform_type = 14;
string client_version = 15;
string system_version = 16;
string device_name = 17;
string device_uuid = 18;
uint32 is_editor = 19;
uint32 language_type = 20;
string platform = 21;
string device_info = 22;
uint32 is_guest = 23;
uint32 cloud_client_ip = 24;
string online_id = 25;
string player_login_req_str = 26;
string get_player_token_rsp_str = 27;
uint32 is_in_whitelist = 28;
string psn_id = 29;
uint32 result_type = 1;
int32 check_result = 2;
int32 verify_result = 3;
uint32 old_security_level = 4;
uint32 cur_security_level = 5;
uint32 succ_num = 6;
uint32 empty_num = 7;
uint32 decrypt_fail_num = 8;
uint32 verify_fail_num = 9;
uint32 cur_succ_num = 10;
uint32 cur_fail_num = 11;
uint32 account_type = 12;
string account_uid = 13;
uint32 platform_type = 14;
string client_version = 15;
string system_version = 16;
string device_name = 17;
string device_uuid = 18;
uint32 is_editor = 19;
uint32 language_type = 20;
string platform = 21;
string device_info = 22;
uint32 is_guest = 23;
uint32 cloud_client_ip = 24;
string online_id = 25;
string player_login_req_str = 26;
string get_player_token_rsp_str = 27;
uint32 is_in_whitelist = 28;
string psn_id = 29;
}
message AntiCheatBodyEliteMonsterAbnormalDie {
uint32 scene_id = 1;
EntityLog monster_log = 2;
uint32 reason = 3;
string combat_transaction = 4;
uint32 scene_id = 1;
EntityLog monster_log = 2;
uint32 reason = 3;
string combat_transaction = 4;
}
message AntiCheatBodyAbilityHash {
uint32 entity_type = 1;
uint32 id = 2;
uint32 group_id = 3;
uint32 config_id = 4;
int32 client_hash_value = 5;
int32 server_hash_value = 6;
repeated string ability_name_list = 7;
int32 prev_server_hash_value = 8;
uint32 entity_id = 9;
uint32 job_id = 10;
uint32 entity_type = 1;
uint32 id = 2;
uint32 group_id = 3;
uint32 config_id = 4;
int32 client_hash_value = 5;
int32 server_hash_value = 6;
repeated string ability_name_list = 7;
int32 prev_server_hash_value = 8;
uint32 entity_id = 9;
uint32 job_id = 10;
}
message AntiCheatBodyEquipAffixCdWrong {
uint32 avatar_id = 1;
uint32 affix_id = 2;
uint32 affix_cd = 3;
uint32 affix_pass_time = 4;
uint32 avatar_id = 1;
uint32 affix_id = 2;
uint32 affix_cd = 3;
uint32 affix_pass_time = 4;
}
message AntiCheatBodyPlayerReport {
uint32 target_uid = 1;
uint32 report_type = 2;
string report_reason = 3;
uint32 reporter_language = 4;
uint32 target_home_module_id = 5;
string target_home_module_name = 6;
uint32 target_uid = 1;
uint32 report_type = 2;
string report_reason = 3;
uint32 reporter_language = 4;
uint32 target_home_module_id = 5;
string target_home_module_name = 6;
}
message AntiCheatBodySegmentCrcCheckFail {
uint32 crc_module_type = 1;
uint32 offset = 2;
uint32 size = 3;
string crc = 4;
string client_version = 6;
uint32 channel_id = 7;
uint32 sub_channel_id = 8;
uint32 crc_module_type = 1;
uint32 offset = 2;
uint32 size = 3;
string crc = 4;
string client_version = 6;
uint32 channel_id = 7;
uint32 sub_channel_id = 8;
}
message AntiCheatBodyMonsterDie {
uint32 scene_id = 1;
EntityLog monster_log = 2;
uint32 reason = 3;
repeated uint32 forbid_die_types = 4;
string combat_transaction = 5;
uint32 scene_id = 1;
EntityLog monster_log = 2;
uint32 reason = 3;
repeated uint32 forbid_die_types = 4;
string combat_transaction = 5;
}
message AntiCheatBodyUseNotAllowedSkill {
uint32 avatar_id = 1;
uint32 skill_id = 2;
uint32 last_used_skill_id = 3;
string ability_name = 4;
string modifier_name = 5;
EntityLog source_entity = 6;
EntityLog target_entity = 7;
uint32 from_player_uid = 8;
uint32 avatar_id = 1;
uint32 skill_id = 2;
uint32 last_used_skill_id = 3;
string ability_name = 4;
string modifier_name = 5;
EntityLog source_entity = 6;
EntityLog target_entity = 7;
uint32 from_player_uid = 8;
}
message AntiCheatBodyClientSpeedUpTime {
uint64 last_sent_ms = 1;
float last_unity_engine_time = 2;
uint64 sent_ms = 3;
float unity_engine_time = 4;
float timescale = 5;
float timescale_limit = 6;
uint64 last_sent_ms = 1;
float last_unity_engine_time = 2;
uint64 sent_ms = 3;
float unity_engine_time = 4;
float timescale = 5;
float timescale_limit = 6;
}
message AntiCheatBodyCombatHash {
EntityLog entity_log = 1;
int32 client_hash_value = 2;
int32 server_hash_value = 3;
EntityLog entity_log = 1;
int32 client_hash_value = 2;
int32 server_hash_value = 3;
}
message AntiCheatBodyGadgetInteractBeyondDistance {
EntityLog gadget_entity = 1;
uint32 avatar_id = 2;
PositionLog avatar_position = 3;
uint32 gadget_entity_id = 4;
uint32 op_type = 5;
uint32 resin_cost_type = 6;
float distance = 7;
float check_distance = 8;
uint32 record_time = 9;
uint32 record_count = 10;
EntityLog gadget_entity = 1;
uint32 avatar_id = 2;
PositionLog avatar_position = 3;
uint32 gadget_entity_id = 4;
uint32 op_type = 5;
uint32 resin_cost_type = 6;
float distance = 7;
float check_distance = 8;
uint32 record_time = 9;
uint32 record_count = 10;
}
message AntiCheatBodySafeFloatException {
string report_type = 1;
string report_value = 2;
string report_type = 1;
string report_value = 2;
}
message AntiCheatBodyEnvironmentError {
string code_str = 1;
bool is_kick = 2;
string player_login_req_str = 3;
string code_str = 1;
bool is_kick = 2;
string player_login_req_str = 3;
}
message AntiCheatBodyDamageOverLimit {
AttackEntityLog attack_entity = 1;
AttackEntityLog defense_entity = 2;
string attack_tag = 3;
string ability_name = 4;
string modifier_name = 5;
float damage_percentage = 6;
float damage_percentage_ratio = 7;
float damage_extra = 8;
float damage = 9;
float critical_hurt = 10;
float amplify_ratio = 11;
AttackEntityLog attack_entity = 1;
AttackEntityLog defense_entity = 2;
string attack_tag = 3;
string ability_name = 4;
string modifier_name = 5;
float damage_percentage = 6;
float damage_percentage_ratio = 7;
float damage_extra = 8;
float damage = 9;
float critical_hurt = 10;
float amplify_ratio = 11;
}
message BriefMotionLog {
uint32 brief_motion_state = 1;
uint32 brief_speed = 2;
uint32 brief_motion_state = 1;
uint32 brief_speed = 2;
}
message AntiCheatBodyClientReportMoveSpeedOverLimit {
repeated BriefMotionLog brief_motion_list = 1;
PositionLog pos = 2;
uint32 motion_state = 3;
repeated uint32 brief_motion_state_list = 4;
repeated uint32 brief_speed_list = 5;
uint32 brief_motion_state = 6;
uint32 brief_speed = 7;
uint32 brief_acc = 8;
repeated BriefMotionLog brief_motion_list = 1;
PositionLog pos = 2;
uint32 motion_state = 3;
repeated uint32 brief_motion_state_list = 4;
repeated uint32 brief_speed_list = 5;
uint32 brief_motion_state = 6;
uint32 brief_speed = 7;
uint32 brief_acc = 8;
}
message AntiCheatBodyAvatarExcelHash {
uint32 avatar_id = 1;
string hash_str = 2;
int32 server_hash = 3;
int32 client_hash = 4;
uint32 avatar_id = 1;
string hash_str = 2;
int32 server_hash = 3;
int32 client_hash = 4;
}
message AntiCheatBodyClientLoadingCostumeVerification {
uint32 uid = 1;
uint64 guid = 2;
uint32 avatar_type = 3;
uint32 avatar_id = 4;
uint32 costume_id = 5;
uint32 cur_costume_id = 6;
bool is_has_costume = 7;
uint64 prefab_hash = 8;
uint64 server_hash = 9;
uint32 uid = 1;
uint64 guid = 2;
uint32 avatar_type = 3;
uint32 avatar_id = 4;
uint32 costume_id = 5;
uint32 cur_costume_id = 6;
bool is_has_costume = 7;
uint64 prefab_hash = 8;
uint64 server_hash = 9;
}
message AntiCheatBodyQiandaoguaCheckFail {
uint32 attack_count = 1;
uint32 frame_num = 2;
uint32 attack_id = 3;
EntityLog source_entity = 4;
EntityLog target_entity = 5;
uint32 gadget_damage_action_idx = 7;
string anim_event_id = 8;
string ability_name = 9;
string modifier_name = 10;
int32 local_id = 11;
string attack_tag = 12;
EntityLog ability_owner = 13;
uint32 attack_count = 1;
uint32 frame_num = 2;
uint32 attack_id = 3;
EntityLog source_entity = 4;
EntityLog target_entity = 5;
uint32 gadget_damage_action_idx = 7;
string anim_event_id = 8;
string ability_name = 9;
string modifier_name = 10;
int32 local_id = 11;
string attack_tag = 12;
EntityLog ability_owner = 13;
}
message AntiCheatBodyMouseMacroClientReport {
uint32 param = 1;
uint32 param = 1;
}
message AntiCheatBodyClientTickTimeCheckFail {
uint64 pivot_client_time = 1;
uint64 pivot_unix_time = 2;
uint64 client_total_tick_time = 3;
uint64 unix_time = 4;
uint64 total_tick_max_delay_time = 5;
int64 delta_server_time = 6;
int64 delta_client_time = 7;
uint64 pivot_client_time = 1;
uint64 pivot_unix_time = 2;
uint64 client_total_tick_time = 3;
uint64 unix_time = 4;
uint64 total_tick_max_delay_time = 5;
int64 delta_server_time = 6;
int64 delta_client_time = 7;
}
message AntiCheatBodyClientSgvCheckFail {
EntityLog entity_log = 1;
uint32 entity_id = 2;
string sgv = 3;
uint32 last_enable_time = 4;
uint32 timeout_seconds = 5;
EntityLog entity_log = 1;
uint32 entity_id = 2;
string sgv = 3;
uint32 last_enable_time = 4;
uint32 timeout_seconds = 5;
}
message AntiCheatBodyStaminaCheckFail {
EntityLog entity_log = 1;
int32 stamina = 2;
uint32 change_type = 3;
uint32 motion_state = 4;
uint32 skill_id = 5;
string ability_name = 6;
string modifier_name = 7;
int32 local_id = 8;
uint32 prop_change_reason = 9;
EntityLog entity_log = 1;
int32 stamina = 2;
uint32 change_type = 3;
uint32 motion_state = 4;
uint32 skill_id = 5;
string ability_name = 6;
string modifier_name = 7;
int32 local_id = 8;
uint32 prop_change_reason = 9;
}
message AntiCheatBodyClientFightReport {
uint32 cheat_type = 1;
uint32 cheat_count = 2;
uint32 cheat_type = 1;
uint32 cheat_count = 2;
}
message AntiCheatBodyClientProtoError {
uint32 proto_error_type = 1;
uint32 proto_error_type = 1;
}
message AntiCheatBodyUnionExceedFreq {
uint32 union_notify_freq = 1;
uint32 combat_notify_freq = 2;
uint32 sub_total_union_freq = 3;
uint32 cheat_count = 4;
bool is_kick = 5;
uint32 union_notify_freq = 1;
uint32 combat_notify_freq = 2;
uint32 sub_total_union_freq = 3;
uint32 cheat_count = 4;
bool is_kick = 5;
}
message AntiCheatBodyReliquaryUpgradeError {
uint64 guid = 1;
uint32 item_id = 2;
uint32 level = 3;
uint64 guid = 1;
uint32 item_id = 2;
uint32 level = 3;
}
message AntiCheatBodyPacketCostTimeExceedLimit {
uint32 cmd_id = 1;
string cmd_name = 2;
int32 retcode = 3;
uint32 packet_cost_time_us = 4;
uint32 cost_time_limit_us = 5;
uint32 cmd_id = 1;
string cmd_name = 2;
int32 retcode = 3;
uint32 packet_cost_time_us = 4;
uint32 cost_time_limit_us = 5;
}
message PacketCountInfoLog {
uint32 cmd_id = 1;
string cmd_name = 2;
uint32 cmd_count = 3;
uint32 cmd_id = 1;
string cmd_name = 2;
uint32 cmd_count = 3;
}
message AntiCheatBodyRecvPacketFreqExceedLimit {
uint32 packet_count = 1;
uint32 time_interval_ms = 2;
repeated PacketCountInfoLog packet_list = 3;
uint32 packet_recv_max_count = 4;
uint32 packet_recv_check_interval_ms = 5;
uint32 packet_count = 1;
uint32 time_interval_ms = 2;
repeated PacketCountInfoLog packet_list = 3;
uint32 packet_recv_max_count = 4;
uint32 packet_recv_check_interval_ms = 5;
}
message AntiCheatBodySinglePacketFreqExceedLimit {
uint32 cmd_id = 1;
string cmd_name = 2;
uint32 packet_count = 3;
uint32 time_interval_ms = 4;
float config_freq_limit = 5;
uint32 cmd_id = 1;
string cmd_name = 2;
uint32 packet_count = 3;
uint32 time_interval_ms = 4;
float config_freq_limit = 5;
}
message AntiCheatBodyGadgetInteractBeyondCheckDistance {
float min_distance = 1;
float max_distance = 2;
float check_distance = 3;
uint32 record_time = 4;
uint32 record_count = 5;
float min_distance = 1;
float max_distance = 2;
float check_distance = 3;
uint32 record_time = 4;
uint32 record_count = 5;
}
message AntiCheatBodyLuaShellClientNotifyTimeout {
uint32 use_type = 1;
uint32 lua_shell_id = 2;
bool is_kick = 3;
string check_json_key = 4;
uint32 use_type = 1;
uint32 lua_shell_id = 2;
bool is_kick = 3;
string check_json_key = 4;
}
message AntiCheatBodyPacketCostTimePercentExceedLimit {
uint64 check_interval_ms = 1;
uint64 config_check_interval_ms = 2;
uint64 config_cost_time_percent = 3;
uint64 accumulate_packet_cost_time_ms = 4;
uint32 config_is_enable_kick = 5;
uint32 config_kick_time_percent = 6;
bool is_kick = 7;
uint32 trigger_kick_count = 8;
uint64 check_interval_ms = 1;
uint64 config_check_interval_ms = 2;
uint64 config_cost_time_percent = 3;
uint64 accumulate_packet_cost_time_ms = 4;
uint32 config_is_enable_kick = 5;
uint32 config_kick_time_percent = 6;
bool is_kick = 7;
uint32 trigger_kick_count = 8;
}
message AntiCheatBodySecurityLibraryMd5Error {
enum CheckResultType {
RESULT_NONE = 0;
RESULT_INVALID_VERSION = 1;
RESULT_VERSION_DISABLED = 2;
RESULT_INVALID_MD5 = 3;
}
enum CheckResultType {
RESULT_NONE = 0;
RESULT_INVALID_VERSION = 1;
RESULT_VERSION_DISABLED = 2;
RESULT_INVALID_MD5 = 3;
}
int32 check_result = 1;
bool is_kick = 2;
string report_version_str = 3;
string report_md5_str = 4;
int32 check_result = 1;
bool is_kick = 2;
string report_version_str = 3;
string report_md5_str = 4;
}
message AntiCheatBodyAvatarAttackAvatarDamage {
AttackEntityLog attack_entity = 1;
AttackEntityLog defense_entity = 2;
string attack_tag = 3;
string ability_name = 4;
string modifier_name = 5;
uint32 target_type = 6;
string anim_event_id = 7;
float client_damage = 8;
float ori_server_damage = 9;
float final_server_damage = 10;
AttackEntityLog attack_entity = 1;
AttackEntityLog defense_entity = 2;
string attack_tag = 3;
string ability_name = 4;
string modifier_name = 5;
uint32 target_type = 6;
string anim_event_id = 7;
float client_damage = 8;
float ori_server_damage = 9;
float final_server_damage = 10;
}
message AntiCheatBodyForbidLogin {
uint32 reason = 1;
uint32 reason = 1;
}

View File

@@ -3,16 +3,16 @@ syntax = "proto3";
package proto_log;
message AntiCheatLogHead {
string time = 1;
uint32 action_id = 2;
string region_name = 3;
string game_version = 4;
uint32 uid = 5;
uint32 level = 6;
uint64 vip_point = 7;
uint32 vip_level = 8;
bool is_in_mp = 9;
repeated uint32 mp_teammate_list = 10;
uint32 scene_id = 11;
uint32 tag = 12;
string time = 1;
uint32 action_id = 2;
string region_name = 3;
string game_version = 4;
uint32 uid = 5;
uint32 level = 6;
uint64 vip_point = 7;
uint32 vip_level = 8;
bool is_in_mp = 9;
repeated uint32 mp_teammate_list = 10;
uint32 scene_id = 11;
uint32 tag = 12;
}

View File

@@ -3,8 +3,8 @@ syntax = "proto3";
package proto_log;
enum GCGStatActionType {
GCG_STAT_ACTION_NONE = 0;
GCG_STAT_ACTION_DUEL_START = 1;
GCG_STAT_ACTION_DUEL_END = 2;
GCG_STAT_ACTION_DUEL_REPLAY = 3;
GCG_STAT_ACTION_NONE = 0;
GCG_STAT_ACTION_DUEL_START = 1;
GCG_STAT_ACTION_DUEL_END = 2;
GCG_STAT_ACTION_DUEL_REPLAY = 3;
}

View File

@@ -3,71 +3,71 @@ syntax = "proto3";
package proto_log;
enum GCGOperationType {
GCG_OPERATION_TYPE_NONE = 0;
GCG_OPERATION_TYPE_DRAW = 1;
GCG_OPERATION_TYPE_REDRAW = 2;
GCG_OPERATION_TYPE_SELECT_ON_STAGE = 3;
GCG_OPERATION_TYPE_ROLL = 4;
GCG_OPERATION_TYPE_PLAY_CARD = 5;
GCG_OPERATION_TYPE_ATTACK = 6;
GCG_OPERATION_TYPE_REBOOT = 7;
GCG_OPERATION_TYPE_PASS = 8;
GCG_OPERATION_TYPE_REACTION = 9;
GCG_OPERATION_TYPE_NONE = 0;
GCG_OPERATION_TYPE_DRAW = 1;
GCG_OPERATION_TYPE_REDRAW = 2;
GCG_OPERATION_TYPE_SELECT_ON_STAGE = 3;
GCG_OPERATION_TYPE_ROLL = 4;
GCG_OPERATION_TYPE_PLAY_CARD = 5;
GCG_OPERATION_TYPE_ATTACK = 6;
GCG_OPERATION_TYPE_REBOOT = 7;
GCG_OPERATION_TYPE_PASS = 8;
GCG_OPERATION_TYPE_REACTION = 9;
}
message GCGLogBodyDuelStart {
uint32 type = 1;
uint32 level_id = 2;
uint32 type = 1;
uint32 level_id = 2;
}
message GCGUseTime {
uint32 round = 1;
uint32 use_time = 2;
uint32 round = 1;
uint32 use_time = 2;
}
message GCGControllerInfo {
uint32 uid = 1;
uint32 controller_id = 2;
uint32 level = 3;
uint32 mmr = 4;
uint32 uid = 1;
uint32 controller_id = 2;
uint32 level = 3;
uint32 mmr = 4;
}
message GCGControllerDeckInfo {
uint32 controller_id = 1;
repeated uint32 card_id_list = 2;
uint32 controller_id = 1;
repeated uint32 card_id_list = 2;
}
message GCGCharacterInfo {
uint32 card_id = 1;
uint32 hp = 2;
uint32 card_id = 1;
uint32 hp = 2;
}
message GCGControllerCharactersInfo {
uint32 controller_id = 1;
repeated GCGCharacterInfo character_info_list = 2;
uint32 controller_id = 1;
repeated GCGCharacterInfo character_info_list = 2;
}
message GCGOperationData {
uint32 operation_type = 1;
uint32 controller_id = 2;
uint32 round = 3;
uint32 param1 = 4;
repeated uint32 paramlist = 5;
uint32 operation_type = 1;
uint32 controller_id = 2;
uint32 round = 3;
uint32 param1 = 4;
repeated uint32 paramlist = 5;
}
message GCGLogBodyDuelEnd {
uint32 type = 1;
uint32 level_id = 2;
uint32 total_use_time = 3;
repeated GCGUseTime use_time_list = 4;
uint32 winner = 5;
uint32 reason = 6;
repeated GCGControllerInfo controller_info_list = 7;
repeated GCGControllerDeckInfo controller_deck_info_list = 8;
repeated GCGControllerCharactersInfo controller_character_info_map = 9;
repeated GCGOperationData operation_data_list = 10;
uint32 type = 1;
uint32 level_id = 2;
uint32 total_use_time = 3;
repeated GCGUseTime use_time_list = 4;
uint32 winner = 5;
uint32 reason = 6;
repeated GCGControllerInfo controller_info_list = 7;
repeated GCGControllerDeckInfo controller_deck_info_list = 8;
repeated GCGControllerCharactersInfo controller_character_info_map = 9;
repeated GCGOperationData operation_data_list = 10;
}
message GCGLogBodyDuelReplay {
string replay_json_str = 1;
string replay_json_str = 1;
}

View File

@@ -3,10 +3,10 @@ syntax = "proto3";
package proto_log;
message GCGLogHead {
string time = 1;
string trans_no = 2;
uint32 action_id = 3;
string action_name = 4;
uint32 sub_action_id = 5;
string sub_action_name = 6;
string time = 1;
string trans_no = 2;
uint32 action_id = 3;
string action_name = 4;
uint32 sub_action_id = 5;
string sub_action_name = 6;
}

View File

@@ -3,6 +3,6 @@ syntax = "proto3";
package proto_log;
enum MailActionType {
MAIL_ACTION_NONE = 0;
MAIL_ACTION_COMMON = 1;
MAIL_ACTION_NONE = 0;
MAIL_ACTION_COMMON = 1;
}

View File

@@ -3,77 +3,77 @@ syntax = "proto3";
package proto_log;
enum MailOpType {
MAIL_OP_NONE = 0;
MAIL_OP_ADD = 1;
MAIL_OP_DEL = 2;
MAIL_OP_READ = 3;
MAIL_OP_TAKE_ATTACHMENT = 4;
MAIL_OP_STAR = 5;
MAIL_OP_UNSTAR = 6;
MAIL_OP_SET_COLLECT_STATE = 7;
MAIL_OP_NONE = 0;
MAIL_OP_ADD = 1;
MAIL_OP_DEL = 2;
MAIL_OP_READ = 3;
MAIL_OP_TAKE_ATTACHMENT = 4;
MAIL_OP_STAR = 5;
MAIL_OP_UNSTAR = 6;
MAIL_OP_SET_COLLECT_STATE = 7;
}
enum MailOpReason {
MAIL_REASON_NONE = 0;
MAIL_REASON_BY_GAME = 1;
MAIL_REASON_BY_MUIP = 2;
MAIL_REASON_BY_CLIENT = 3;
MAIL_REASON_FULL = 4;
MAIL_REASON_COLLECTED_FULL = 5;
MAIL_REASON_NONE = 0;
MAIL_REASON_BY_GAME = 1;
MAIL_REASON_BY_MUIP = 2;
MAIL_REASON_BY_CLIENT = 3;
MAIL_REASON_FULL = 4;
MAIL_REASON_COLLECTED_FULL = 5;
}
enum MailSourceType {
MAIL_SOURCE_NONE = 0;
MAIL_SOURCE_PLATFORM = 1;
MAIL_SOURCE_LOGIN_REWARD = 2;
MAIL_SOURCE_TOWER = 3;
MAIL_SOURCE_BAG_OVERFLOW = 4;
MAIL_SOURCE_CARD_PRODUCT = 5;
MAIL_SOURCE_BATTLE_PASS_FINISH_SCHEDULE = 6;
MAIL_SOURCE_REBATE = 7;
MAIL_SOURCE_BIRTHDAY_BENEFIT = 8;
MAIL_SOURCE_CDKEY = 9;
MAIL_SOURCE_RECHARGE_PACKAGE = 10;
MAIL_SOURCE_RECHARGE_CARD_REMIND = 11;
MAIL_SOURCE_ACTIVITY_COND = 12;
MAIL_SOURCE_BATTLE_PASS_NOTIFY = 13;
MAIL_SOURCE_RECHARGE_GOOGLE_GIFT_CARD = 14;
MAIL_SOURCE_GM = 15;
MAIL_SOURCE_SEND_CONCERT_PRODUCT_BY_MUIP = 16;
MAIL_SOURCE_RECHARGE_APPLE_GIFT_CARD = 17;
MAIL_SOURCE_RECHARGE_PSN_COMPENSATION = 18;
MAIL_SOURCE_QUESTIONNAIRE = 19;
MAIL_SOURCE_AVATAR_RENAME_AUDIT_FAILED = 20;
MAIL_SOURCE_AVATAR_RENAME_RESET = 21;
MAIL_SOURCE_NONE = 0;
MAIL_SOURCE_PLATFORM = 1;
MAIL_SOURCE_LOGIN_REWARD = 2;
MAIL_SOURCE_TOWER = 3;
MAIL_SOURCE_BAG_OVERFLOW = 4;
MAIL_SOURCE_CARD_PRODUCT = 5;
MAIL_SOURCE_BATTLE_PASS_FINISH_SCHEDULE = 6;
MAIL_SOURCE_REBATE = 7;
MAIL_SOURCE_BIRTHDAY_BENEFIT = 8;
MAIL_SOURCE_CDKEY = 9;
MAIL_SOURCE_RECHARGE_PACKAGE = 10;
MAIL_SOURCE_RECHARGE_CARD_REMIND = 11;
MAIL_SOURCE_ACTIVITY_COND = 12;
MAIL_SOURCE_BATTLE_PASS_NOTIFY = 13;
MAIL_SOURCE_RECHARGE_GOOGLE_GIFT_CARD = 14;
MAIL_SOURCE_GM = 15;
MAIL_SOURCE_SEND_CONCERT_PRODUCT_BY_MUIP = 16;
MAIL_SOURCE_RECHARGE_APPLE_GIFT_CARD = 17;
MAIL_SOURCE_RECHARGE_PSN_COMPENSATION = 18;
MAIL_SOURCE_QUESTIONNAIRE = 19;
MAIL_SOURCE_AVATAR_RENAME_AUDIT_FAILED = 20;
MAIL_SOURCE_AVATAR_RENAME_RESET = 21;
}
message MailItem {
uint32 item_id = 1;
uint32 item_count = 2;
uint32 level = 3;
uint32 promote_level = 4;
uint32 item_id = 1;
uint32 item_count = 2;
uint32 level = 3;
uint32 promote_level = 4;
}
message MailLogBodyCommon {
uint32 op_type = 1;
uint32 op_reason = 2;
uint32 uid = 3;
uint32 mail_id = 4;
string title = 5;
string content = 6;
string sender = 7;
uint32 send_time = 8;
uint32 expire_time = 9;
repeated MailItem item_list = 10;
uint32 importance = 11;
uint32 config_id = 12;
repeated string argument_list = 13;
uint32 reason_type = 14;
uint32 item_limit_type = 15;
uint32 source_type = 16;
string tag = 17;
bool is_read = 18;
bool is_attachment_got = 19;
bool is_star = 20;
uint32 collect_state = 21;
uint32 op_type = 1;
uint32 op_reason = 2;
uint32 uid = 3;
uint32 mail_id = 4;
string title = 5;
string content = 6;
string sender = 7;
uint32 send_time = 8;
uint32 expire_time = 9;
repeated MailItem item_list = 10;
uint32 importance = 11;
uint32 config_id = 12;
repeated string argument_list = 13;
uint32 reason_type = 14;
uint32 item_limit_type = 15;
uint32 source_type = 16;
string tag = 17;
bool is_read = 18;
bool is_attachment_got = 19;
bool is_star = 20;
uint32 collect_state = 21;
}

View File

@@ -3,9 +3,9 @@ syntax = "proto3";
package proto_log;
message MailLogHead {
string time = 1;
uint32 action_id = 2;
string action_name = 3;
uint32 sub_action_id = 4;
string sub_action_name = 5;
string time = 1;
uint32 action_id = 2;
string action_name = 3;
uint32 sub_action_id = 4;
string sub_action_name = 5;
}

View File

@@ -3,6 +3,6 @@ syntax = "proto3";
package proto_log;
enum MatchActionType {
MATCH_ACTION_NONE = 0;
MATCH_ACTION_JOIN_TEAM = 1;
MATCH_ACTION_NONE = 0;
MATCH_ACTION_JOIN_TEAM = 1;
}

View File

@@ -3,10 +3,10 @@ syntax = "proto3";
package proto_log;
message MatchLogBodyJoinTeam {
uint32 host_uid = 1;
uint32 guest_uid = 2;
uint32 cost_time = 3;
repeated uint32 uid_list = 4;
uint32 match_type = 5;
uint32 match_target = 6;
uint32 host_uid = 1;
uint32 guest_uid = 2;
uint32 cost_time = 3;
repeated uint32 uid_list = 4;
uint32 match_type = 5;
uint32 match_target = 6;
}

View File

@@ -3,9 +3,9 @@ syntax = "proto3";
package proto_log;
message MatchLogHead {
string time = 1;
uint32 action_id = 2;
string action_name = 3;
uint32 sub_action_id = 4;
string sub_action_name = 5;
string time = 1;
uint32 action_id = 2;
string action_name = 3;
uint32 sub_action_id = 4;
string sub_action_name = 5;
}

View File

@@ -3,7 +3,7 @@ syntax = "proto3";
package proto_log;
enum OrderActionType {
ORDER_ACTION_NONE = 0;
ORDER_ACTION_ADD = 1;
ORDER_ACTION_FINISH = 2;
ORDER_ACTION_NONE = 0;
ORDER_ACTION_ADD = 1;
ORDER_ACTION_FINISH = 2;
}

View File

@@ -3,26 +3,26 @@ syntax = "proto3";
package proto_log;
message OrderLogBodyAdd {
uint32 order_id = 1;
uint32 uid = 2;
string product_id = 3;
string product_name = 4;
uint32 product_num = 5;
uint32 coin_num = 6;
string total_fee = 7;
string currency = 8;
string price_tier = 9;
string trade_no = 10;
uint32 trade_time = 11;
uint32 channel_id = 12;
string channel_order_no = 13;
string pay_plat = 14;
string extend = 15;
uint32 order_id = 1;
uint32 uid = 2;
string product_id = 3;
string product_name = 4;
uint32 product_num = 5;
uint32 coin_num = 6;
string total_fee = 7;
string currency = 8;
string price_tier = 9;
string trade_no = 10;
uint32 trade_time = 11;
uint32 channel_id = 12;
string channel_order_no = 13;
string pay_plat = 14;
string extend = 15;
}
message OrderLogBodyFinish {
uint32 order_id = 1;
uint32 uid = 2;
uint32 finish_time = 3;
bool is_retry = 4;
uint32 order_id = 1;
uint32 uid = 2;
uint32 finish_time = 3;
bool is_retry = 4;
}

View File

@@ -3,9 +3,9 @@ syntax = "proto3";
package proto_log;
message OrderLogHead {
string time = 1;
uint32 action_id = 2;
string action_name = 3;
uint32 sub_action_id = 4;
string sub_action_name = 5;
string time = 1;
uint32 action_id = 2;
string action_name = 3;
uint32 sub_action_id = 4;
string sub_action_name = 5;
}

View File

@@ -3,151 +3,151 @@ syntax = "proto3";
package proto_log;
message PlayerLogBodyRegister {
uint32 platform = 1;
string register_cps = 2;
string cps = 3;
string client_ip = 4;
string device_uuid = 5;
string device_info = 6;
string system_info = 7;
uint32 channel_id = 8;
uint32 sub_channel_id = 9;
uint32 platform = 1;
string register_cps = 2;
string cps = 3;
string client_ip = 4;
string device_uuid = 5;
string device_info = 6;
string system_info = 7;
uint32 channel_id = 8;
uint32 sub_channel_id = 9;
}
message PlayerLogBodyLogin {
uint32 platform = 1;
string register_cps = 2;
string cps = 3;
string client_ip = 4;
string device_uuid = 5;
string device_info = 6;
string system_info = 7;
uint32 channel_id = 8;
uint32 sub_channel_id = 9;
uint32 client_port = 10;
string gate_ip = 11;
uint32 gate_port = 12;
uint32 platform = 1;
string register_cps = 2;
string cps = 3;
string client_ip = 4;
string device_uuid = 5;
string device_info = 6;
string system_info = 7;
uint32 channel_id = 8;
uint32 sub_channel_id = 9;
uint32 client_port = 10;
string gate_ip = 11;
uint32 gate_port = 12;
}
message PlayerLogBodyLogout {
uint32 platform = 1;
string register_cps = 2;
string cps = 3;
string client_ip = 4;
string device_uuid = 5;
string device_info = 6;
string system_info = 7;
uint32 game_time = 8;
uint32 channel_id = 9;
uint32 sub_channel_id = 10;
uint32 client_port = 11;
string gate_ip = 12;
uint32 gate_port = 13;
uint32 platform = 1;
string register_cps = 2;
string cps = 3;
string client_ip = 4;
string device_uuid = 5;
string device_info = 6;
string system_info = 7;
uint32 game_time = 8;
uint32 channel_id = 9;
uint32 sub_channel_id = 10;
uint32 client_port = 11;
string gate_ip = 12;
uint32 gate_port = 13;
}
message PlayerLogBodyAddExp {
int64 add_exp = 1;
int64 exp_after = 2;
uint32 reason = 3;
int64 add_exp = 1;
int64 exp_after = 2;
uint32 reason = 3;
}
message PlayerLogBodyLevelUp {
int64 add_exp = 1;
int64 exp_after = 2;
uint32 level_before = 3;
uint32 level_after = 4;
uint32 level_limit = 5;
int64 add_exp = 1;
int64 exp_after = 2;
uint32 level_before = 3;
uint32 level_after = 4;
uint32 level_limit = 5;
}
message PlayerLogBodyAddMaterial {
uint32 material_id = 1;
uint32 material_type = 2;
uint32 material_level = 3;
uint32 material_star = 4;
uint32 material_sub_star = 5;
int64 add_num = 6;
int64 left_num = 7;
uint32 reason = 8;
uint32 material_id = 1;
uint32 material_type = 2;
uint32 material_level = 3;
uint32 material_star = 4;
uint32 material_sub_star = 5;
int64 add_num = 6;
int64 left_num = 7;
uint32 reason = 8;
}
message PlayerLogBodyRecharge {
uint32 platform = 1;
string register_cps = 2;
string cps = 3;
string client_ip = 4;
string device_uuid = 5;
string device_info = 6;
string system_info = 7;
uint32 order_id = 8;
string product_name = 9;
string price_tier = 10;
string pay_channel = 11;
string currency_code = 12;
string format_price = 13;
uint64 pay_coin_add = 14;
uint64 free_coin_add = 15;
uint64 vip_point_add = 16;
uint32 platform = 1;
string register_cps = 2;
string cps = 3;
string client_ip = 4;
string device_uuid = 5;
string device_info = 6;
string system_info = 7;
uint32 order_id = 8;
string product_name = 9;
string price_tier = 10;
string pay_channel = 11;
string currency_code = 12;
string format_price = 13;
uint64 pay_coin_add = 14;
uint64 free_coin_add = 15;
uint64 vip_point_add = 16;
}
message PlayerLogBodyBuyGoods {
string platform = 1;
uint32 shop_id = 2;
uint32 goods_id = 3;
uint32 goods_num = 4;
uint64 coin_1_cost = 5;
uint64 coin_2_cost = 6;
uint64 coin_3_cost = 7;
repeated PlayerLogCurrencyCost currency_cost_list = 8;
string platform = 1;
uint32 shop_id = 2;
uint32 goods_id = 3;
uint32 goods_num = 4;
uint64 coin_1_cost = 5;
uint64 coin_2_cost = 6;
uint64 coin_3_cost = 7;
repeated PlayerLogCurrencyCost currency_cost_list = 8;
}
message PlayerLogCurrencyCost {
uint32 currency_id = 1;
uint64 need_cost_num = 2;
uint64 real_cost_num = 3;
uint64 left_num = 4;
uint32 currency_id = 1;
uint64 need_cost_num = 2;
uint64 real_cost_num = 3;
uint64 left_num = 4;
}
message PlayerLogBodyAddCoin {
string platform = 1;
string register_cps = 2;
string cps = 3;
uint32 coin_id = 4;
uint32 coin_type = 5;
int64 add_num = 6;
int64 pay_add = 7;
int64 free_add = 8;
int64 left_num = 9;
int64 pay_left = 10;
int64 free_left = 11;
uint32 reason = 12;
string platform = 1;
string register_cps = 2;
string cps = 3;
uint32 coin_id = 4;
uint32 coin_type = 5;
int64 add_num = 6;
int64 pay_add = 7;
int64 free_add = 8;
int64 left_num = 9;
int64 pay_left = 10;
int64 free_left = 11;
uint32 reason = 12;
}
message PlayerLogBodyMissionAccept {
uint32 mission_type = 1;
uint32 mission_id = 2;
uint32 mission_type = 1;
uint32 mission_id = 2;
}
message PlayerLogBodyMissionStart {
uint32 mission_type = 1;
uint32 mission_id = 2;
uint32 mission_type = 1;
uint32 mission_id = 2;
}
message PlayerLogBodyMissionFinish {
uint32 mission_type = 1;
uint32 mission_id = 2;
uint32 start_time = 3;
uint32 mission_type = 1;
uint32 mission_id = 2;
uint32 start_time = 3;
}
message PlayerLogBodyMissionFail {
uint32 mission_type = 1;
uint32 mission_id = 2;
uint32 start_time = 3;
uint32 mission_type = 1;
uint32 mission_id = 2;
uint32 start_time = 3;
}
message PlayerLogBodyAddFurniture {
uint32 furniture_id = 1;
uint32 reason = 2;
int64 add_num = 3;
int64 left_num = 4;
uint32 home_level = 5;
uint32 furniture_id = 1;
uint32 reason = 2;
int64 add_num = 3;
int64 left_num = 4;
uint32 home_level = 5;
}

View File

@@ -8,66 +8,66 @@ message PlayerLogBodyExtRegister {
}
message PlayerLogBodyExtLogin {
uint32 card_product_remain_days = 1;
string client_version = 2;
string account_uid = 3;
string nickname = 4;
bool is_client_relogin = 5;
uint32 card_product_remain_days = 1;
string client_version = 2;
string account_uid = 3;
string nickname = 4;
bool is_client_relogin = 5;
}
message PlayerLogBodyExtLogout {
uint32 card_product_remain_days = 1;
string account_uid = 2;
string nickname = 3;
uint32 card_product_remain_days = 1;
string account_uid = 2;
string nickname = 3;
}
message PlayerLogBodyExtLevelUp {
repeated AvatarLog avatar_list = 5;
repeated AvatarLog avatar_list = 5;
}
message PlayerLogBodyExtGadget {
uint32 group_id = 1;
uint32 config_id = 2;
uint32 entity_id = 3;
int32 x_coordinate = 4;
int32 y_coordinate = 5;
int32 z_coordinate = 6;
uint32 group_id = 1;
uint32 config_id = 2;
uint32 entity_id = 3;
int32 x_coordinate = 4;
int32 y_coordinate = 5;
int32 z_coordinate = 6;
}
message PlayerLogBodyExtMissionType {
uint32 quest_type = 1;
uint32 quest_type = 1;
}
message PlayerLogBodyExtAddMaterial {
uint32 reason_type = 1;
uint32 item_limit_type = 2;
uint32 refresh_type = 3;
uint32 total_add_num = 4;
string add_num_limit = 5;
uint32 reason_type = 1;
uint32 item_limit_type = 2;
uint32 refresh_type = 3;
uint32 total_add_num = 4;
string add_num_limit = 5;
}
message PlayerLogBodyExtAddCoin {
uint32 reason_type = 1;
uint32 item_limit_type = 2;
int64 pcm_mcoin_add_num = 3;
int64 pcm_mcoin_left_num = 4;
int64 psn_mcoin_add_num = 5;
int64 psn_mcoin_left_num = 6;
uint32 reason_type = 1;
uint32 item_limit_type = 2;
int64 pcm_mcoin_add_num = 3;
int64 pcm_mcoin_left_num = 4;
int64 psn_mcoin_add_num = 5;
int64 psn_mcoin_left_num = 6;
}
message PlayerLogBodyExtRecharge {
uint32 trade_time = 1;
string create_time = 2;
string trade_no = 3;
uint32 channel_id = 4;
string channel_order_no = 5;
uint32 product_num = 6;
bool is_succ = 7;
bool is_replace = 8;
string pay_type = 9;
string pay_vendor = 10;
string client_type = 11;
string device = 12;
string client_ip = 13;
string extend = 14;
uint32 trade_time = 1;
string create_time = 2;
string trade_no = 3;
uint32 channel_id = 4;
string channel_order_no = 5;
uint32 product_num = 6;
bool is_succ = 7;
bool is_replace = 8;
string pay_type = 9;
string pay_vendor = 10;
string client_type = 11;
string device = 12;
string client_ip = 13;
string extend = 14;
}

View File

@@ -3,22 +3,22 @@ syntax = "proto3";
package proto_log;
message PlayerLogHead {
string time = 1;
uint32 action_id = 2;
string action_name = 3;
uint32 sub_action_id = 4;
string sub_action_name = 5;
string region_name = 6;
string game_version = 7;
uint32 uid = 8;
uint32 level = 9;
uint64 vip_point = 10;
uint32 vip_level = 11;
uint32 account_type = 12;
uint64 tag = 13;
string trans_no = 14;
int64 coin_1 = 15;
int64 coin_2 = 16;
int64 coin_3 = 17;
string uuid = 18;
string time = 1;
uint32 action_id = 2;
string action_name = 3;
uint32 sub_action_id = 4;
string sub_action_name = 5;
string region_name = 6;
string game_version = 7;
uint32 uid = 8;
uint32 level = 9;
uint64 vip_point = 10;
uint32 vip_level = 11;
uint32 account_type = 12;
uint64 tag = 13;
string trans_no = 14;
int64 coin_1 = 15;
int64 coin_2 = 16;
int64 coin_3 = 17;
string uuid = 18;
}

View File

@@ -3,32 +3,32 @@ syntax = "proto3";
package proto_log;
message PlayerLogHeadExt {
uint32 avatar_id = 1;
uint32 scene_id = 2;
uint32 world_owner_uid = 3;
int32 x_coordinate = 4;
int32 y_coordinate = 5;
int32 z_coordinate = 6;
uint32 player_time = 7;
uint32 login_time = 8;
uint32 platform_type = 9;
uint32 weather = 10;
repeated string sub_action_list = 11;
uint32 unpaused_time = 12;
uint32 is_in_mp = 13;
uint32 level1_area_id = 14;
uint32 level2_area_id = 15;
uint32 wait_sub_hcoin = 16;
uint32 wait_sub_scoin = 17;
uint32 gm_uid = 18;
uint32 wait_sub_mcoin = 19;
uint32 world_level = 20;
uint32 cur_world_level = 21;
string country_code = 22;
uint32 world_level_limit = 23;
int64 pcm_coin_3 = 24;
int64 psn_coin_3 = 25;
uint32 pcm_wait_sub_mcoin = 26;
uint32 psn_wait_sub_mcoin = 27;
uint64 player_stat_id = 28;
uint32 avatar_id = 1;
uint32 scene_id = 2;
uint32 world_owner_uid = 3;
int32 x_coordinate = 4;
int32 y_coordinate = 5;
int32 z_coordinate = 6;
uint32 player_time = 7;
uint32 login_time = 8;
uint32 platform_type = 9;
uint32 weather = 10;
repeated string sub_action_list = 11;
uint32 unpaused_time = 12;
uint32 is_in_mp = 13;
uint32 level1_area_id = 14;
uint32 level2_area_id = 15;
uint32 wait_sub_hcoin = 16;
uint32 wait_sub_scoin = 17;
uint32 gm_uid = 18;
uint32 wait_sub_mcoin = 19;
uint32 world_level = 20;
uint32 cur_world_level = 21;
string country_code = 22;
uint32 world_level_limit = 23;
int64 pcm_coin_3 = 24;
int64 psn_coin_3 = 25;
uint32 pcm_wait_sub_mcoin = 26;
uint32 psn_wait_sub_mcoin = 27;
uint64 player_stat_id = 28;
}

View File

@@ -2,47 +2,47 @@ syntax = "proto3";
package proto;
option go_package = "./;proto";
import "server_only/bin_common.server.proto";
import "server_only/bin.home.proto";
import "cmd/cmd_social.proto";
import "define.proto";
import "server_only/bin.home.proto";
import "server_only/bin_common.server.proto";
option go_package = "./;proto";
enum PlayerStatusType {
PLAYER_STATUS_OFFLINE = 0;
PLAYER_STATUS_ONLINE = 1;
PLAYER_STATUS_OFFLINE = 0;
PLAYER_STATUS_ONLINE = 1;
}
enum HomeStatusType {
HOME_STATUS_OFFLINE = 0;
HOME_STATUS_ONLINE = 1;
HOME_STATUS_OFFLINE = 0;
HOME_STATUS_ONLINE = 1;
}
enum CustomDungeonRecommendType {
CUSTOM_DUNGEON_RECOMMEND_NONE = 0;
CUSTOM_DUNGEON_RECOMMEND_NEW = 1;
CUSTOM_DUNGEON_RECOMMEND_OLD = 2;
CUSTOM_DUNGEON_RECOMMEND_NONE = 0;
CUSTOM_DUNGEON_RECOMMEND_NEW = 1;
CUSTOM_DUNGEON_RECOMMEND_OLD = 2;
}
enum UgcRedisDataType {
UGC_REDIS_DATA_TYPE_NONE = 0;
UGC_REDIS_DATA_TYPE_MINE = 1;
UGC_REDIS_DATA_TYPE_PUBLISH = 2;
UGC_REDIS_DATA_TYPE_NONE = 0;
UGC_REDIS_DATA_TYPE_MINE = 1;
UGC_REDIS_DATA_TYPE_PUBLISH = 2;
}
message PlayerStatusRedisData {
PlayerStatusType status = 1;
uint32 gameserver_id = 2;
uint64 login_rand = 3;
uint32 login_time = 4;
PlayerStatusType status = 1;
uint32 gameserver_id = 2;
uint64 login_rand = 3;
uint32 login_time = 4;
}
message MailRedisData {
MailBin mail_bin = 1;
uint32 id = 2;
bool is_read = 3;
bool is_attachment_got = 4;
MailBin mail_bin = 1;
uint32 id = 2;
bool is_read = 3;
bool is_attachment_got = 4;
}
message MailMaxIdRedisData {
@@ -61,20 +61,20 @@ message MailTicketMailIdHashMapRedisData {
}
message TicketTimeBin {
uint32 enque_time = 1;
string ticket = 2;
uint32 enque_time = 1;
string ticket = 2;
}
message OfflineMsgRedisData {
uint32 last_index = 1;
repeated OfflineMsgBin offline_msg_list = 2;
repeated TicketTimeBin recent_ticket_list = 3;
uint32 last_index = 1;
repeated OfflineMsgBin offline_msg_list = 2;
repeated TicketTimeBin recent_ticket_list = 3;
}
message HomeOfflineMsgRedisData {
uint32 last_index = 1;
repeated HomeOfflineMsgBin offline_msg_list = 2;
repeated TicketTimeBin recent_ticket_list = 3;
uint32 last_index = 1;
repeated HomeOfflineMsgBin offline_msg_list = 2;
repeated TicketTimeBin recent_ticket_list = 3;
}
message PlayerFriendListRedisData {
@@ -93,64 +93,64 @@ message PlayerPSNBlacklistRedisData {
}
message PlayerMpBriefData {
bool is_mp_avaliable = 1;
bool is_only_mp_with_ps_player = 2;
bool is_mp_avaliable = 1;
bool is_only_mp_with_ps_player = 2;
}
message PlayerSocialBriefData {
Birthday birthday = 1;
string signature = 2;
uint32 name_card_id = 3;
uint32 finish_achievement_num = 4;
uint32 tower_floor_index = 5;
uint32 tower_level_index = 6;
repeated SocialShowAvatarInfo show_avatar_info_list = 7;
bool is_show_avatar = 8;
repeated uint32 show_name_card_id_list = 9;
string ip_code = 10;
Birthday birthday = 1;
string signature = 2;
uint32 name_card_id = 3;
uint32 finish_achievement_num = 4;
uint32 tower_floor_index = 5;
uint32 tower_level_index = 6;
repeated SocialShowAvatarInfo show_avatar_info_list = 7;
bool is_show_avatar = 8;
repeated uint32 show_name_card_id_list = 9;
string ip_code = 10;
}
message PlayerBasicBriefData {
string nickname = 1;
uint32 level = 2;
uint32 world_level = 3;
uint32 last_login_time = 4;
uint32 head_image_avatar_id = 5;
uint32 exp = 6;
uint32 hcoin = 7;
uint32 scoin = 8;
uint32 platform_type = 9;
string online_id = 10;
uint32 mcoin = 11;
string psn_id = 12;
uint32 profile_picture_costume_id = 13;
LanguageType client_language_type = 14;
fixed32 register_time = 15;
uint32 gender_type = 16;
string nickname = 1;
uint32 level = 2;
uint32 world_level = 3;
uint32 last_login_time = 4;
uint32 head_image_avatar_id = 5;
uint32 exp = 6;
uint32 hcoin = 7;
uint32 scoin = 8;
uint32 platform_type = 9;
string online_id = 10;
uint32 mcoin = 11;
string psn_id = 12;
uint32 profile_picture_costume_id = 13;
LanguageType client_language_type = 14;
fixed32 register_time = 15;
uint32 gender_type = 16;
}
message PlayerHomeAuditModuleData {
uint32 module_id = 1;
map<uint32, uint32> audit_scene_version_map = 2;
uint32 module_id = 1;
map<uint32, uint32> audit_scene_version_map = 2;
}
message PlayerHomeBriefData {
FriendEnterHomeOption friend_enter_home_option = 1;
bool is_home_available = 2;
fixed32 last_save_time = 3;
uint32 prior_check_time = 4;
repeated PlayerHomeAuditModuleData audit_module_list = 5;
FriendEnterHomeOption friend_enter_home_option = 1;
bool is_home_available = 2;
fixed32 last_save_time = 3;
uint32 prior_check_time = 4;
repeated PlayerHomeAuditModuleData audit_module_list = 5;
}
message PlayerBriefDataRedisData {
PlayerSocialBriefData social_brief = 1;
PlayerBasicBriefData basic_brief = 2;
PlayerMpBriefData mp_brief = 3;
PlayerHomeBriefData home_brief = 4;
PlayerSocialBriefData social_brief = 1;
PlayerBasicBriefData basic_brief = 2;
PlayerMpBriefData mp_brief = 3;
PlayerHomeBriefData home_brief = 4;
}
message PlayerShowAvatarRedisData {
ShowAvatarInfo show_avatar_info = 1;
ShowAvatarInfo show_avatar_info = 1;
}
message PlayerPrivateChatRedisData {
@@ -163,92 +163,92 @@ message PlayerPrivateChatUnreadRedisData {
}
message ChatRedisData {
enum SystemHintType {
CHAT_NONE = 0;
CHAT_ENTER_WORLD = 1;
CHAT_LEAVE_WORLD = 2;
}
enum SystemHintType {
CHAT_NONE = 0;
CHAT_ENTER_WORLD = 1;
CHAT_LEAVE_WORLD = 2;
}
message SystemHint {
uint32 type = 1;
}
message SystemHint {
uint32 type = 1;
}
uint32 time = 1;
uint32 uid = 2;
uint32 sequence = 3;
uint32 to_uid = 4;
bool is_read = 5;
oneof content {
string text = 100;
uint32 icon = 101;
SystemHint system_hint = 102;
}
uint32 time = 1;
uint32 uid = 2;
uint32 sequence = 3;
uint32 to_uid = 4;
bool is_read = 5;
oneof content {
string text = 100;
uint32 icon = 101;
SystemHint system_hint = 102;
}
}
message ChatMixRedisData {
enum SystemHintType {
CHAT_NONE = 0;
CHAT_ENTER_WORLD = 1;
CHAT_LEAVE_WORLD = 2;
}
enum SystemHintType {
CHAT_NONE = 0;
CHAT_ENTER_WORLD = 1;
CHAT_LEAVE_WORLD = 2;
}
message SystemHint {
uint32 type = 14;
}
message SystemHint {
uint32 type = 14;
}
uint32 time = 13;
uint32 sequence = 10;
uint32 to_uid = 7;
uint32 uid = 15;
bool is_read = 5;
oneof content {
string text = 1946;
uint32 icon = 914;
SystemHint system_hint = 1753;
}
uint32 time = 13;
uint32 sequence = 10;
uint32 to_uid = 7;
uint32 uid = 15;
bool is_read = 5;
oneof content {
string text = 1946;
uint32 icon = 914;
SystemHint system_hint = 1753;
}
}
message BlessingSocialData {
map<uint32, uint32> pic_num_map = 1;
map<uint32, uint32> pic_num_map = 1;
}
message PlantFlowerSocialData {
map<uint32, uint32> have_flower_num_map = 1;
map<uint32, uint32> wish_flower_num_map = 2;
map<uint32, uint32> have_flower_num_map = 1;
map<uint32, uint32> wish_flower_num_map = 2;
}
message WinterCampSocialData {
repeated ItemParamBin have_item_bin_list = 1;
repeated uint32 wish_item_id_list = 2;
repeated ItemParamBin have_item_bin_list = 1;
repeated uint32 wish_item_id_list = 2;
}
message ActivityGiveSocialData {
map<uint32, uint32> have_gift_num_map = 1;
map<uint32, uint32> wish_gift_num_map = 2;
map<uint32, uint32> have_gift_num_map = 1;
map<uint32, uint32> wish_gift_num_map = 2;
}
message ActivitySocialData {
uint32 schedule_id = 1;
ActivityGiveSocialData activity_give_social_data = 5;
oneof data {
BlessingSocialData blessing_data = 2;
PlantFlowerSocialData plant_flower_data = 3;
WinterCampSocialData winter_camp_data = 4;
}
uint32 schedule_id = 1;
ActivityGiveSocialData activity_give_social_data = 5;
oneof data {
BlessingSocialData blessing_data = 2;
PlantFlowerSocialData plant_flower_data = 3;
WinterCampSocialData winter_camp_data = 4;
}
}
message PlayerActivitySocialRedisData {
map<uint32, ActivitySocialData> activity_social_data_map = 1;
map<uint32, ActivitySocialData> activity_social_data_map = 1;
}
message HomeStatusRedisData {
HomeStatusType status = 1;
uint32 gameserver_id = 2;
uint64 load_rand = 3;
HomeStatusType status = 1;
uint32 gameserver_id = 2;
uint64 load_rand = 3;
}
message HomeBriefDataRedisData {
int32 furniture_manufacturing_max_finish_time = 1;
int32 furniture_manufacturing_max_finish_time = 1;
}
message OfflineOpGIndexRedisData {
@@ -258,58 +258,58 @@ message OfflineOpSortedSetRedisData {
}
message OfflineOpRedisData {
uint32 index = 1;
fixed32 time = 2;
OfflineOpType op_type = 3;
OfflineOpBin op_bin = 4;
uint32 index = 1;
fixed32 time = 2;
OfflineOpType op_type = 3;
OfflineOpBin op_bin = 4;
}
message CustomDungeonBlockRedisData {
uint32 guid = 1;
uint32 block_id = 2;
Vector3Int pos = 3;
Vector3Int rot = 4;
uint32 guid = 1;
uint32 block_id = 2;
Vector3Int pos = 3;
Vector3Int rot = 4;
}
message CustomDungeonRoomRedisData {
uint32 room_id = 1;
repeated CustomDungeonBlockRedisData block_list = 2;
uint32 room_id = 1;
repeated CustomDungeonBlockRedisData block_list = 2;
}
message CustomDungeonContent {
repeated CustomDungeonRoomRedisData room_list = 1;
CustomDungeonSettingBin setting = 2;
repeated CustomDungeonRoomRedisData room_list = 1;
CustomDungeonSettingBin setting = 2;
}
message CustomDungeonRedisData {
uint64 dungeon_guid = 1;
uint32 dungeon_id = 2;
CustomDungeonContent edit_content = 3;
CustomDungeonContent publish_content = 4;
uint32 first_publish_time = 5;
bool is_no_change_after_publish = 6;
uint32 version = 7;
uint64 dungeon_guid = 1;
uint32 dungeon_id = 2;
CustomDungeonContent edit_content = 3;
CustomDungeonContent publish_content = 4;
uint32 first_publish_time = 5;
bool is_no_change_after_publish = 6;
uint32 version = 7;
}
message CustomDungeonSocialRedisData {
uint32 play_num = 1;
uint32 like_num = 2;
uint32 store_num = 3;
uint32 win_num = 4;
uint32 play_num = 1;
uint32 like_num = 2;
uint32 store_num = 3;
uint32 win_num = 4;
}
message CustomDungeonBriefRedisData {
uint64 dungeon_guid = 1;
uint32 dungeon_id = 2;
CustomDungeonSettingBin setting = 3;
CustomDungeonAbstractBin abstract = 4;
CustomDungeonSocialRedisData social = 5;
bool is_need_recommend = 6;
string creator_nickname = 7;
uint32 recommend_type = 8;
repeated uint32 tag_list = 9;
float recommend_score = 10;
bool is_psn_platform = 11;
uint64 dungeon_guid = 1;
uint32 dungeon_id = 2;
CustomDungeonSettingBin setting = 3;
CustomDungeonAbstractBin abstract = 4;
CustomDungeonSocialRedisData social = 5;
bool is_need_recommend = 6;
string creator_nickname = 7;
uint32 recommend_type = 8;
repeated uint32 tag_list = 9;
float recommend_score = 10;
bool is_psn_platform = 11;
}
message CustomDungeonNewRecommendRedisData {
@@ -322,25 +322,25 @@ message CustomDungeonLikeRedisData {
}
message UgcMusicNoteRedisData {
uint32 start_time = 1;
uint32 end_time = 2;
uint32 start_time = 1;
uint32 end_time = 2;
}
message UgcMusicTrackRedisData {
repeated UgcMusicNoteRedisData music_note_list = 1;
repeated UgcMusicNoteRedisData music_note_list = 1;
}
message UgcMusicContentRedisData {
uint32 music_id = 1;
repeated UgcMusicTrackRedisData music_track_list = 2;
uint32 music_id = 1;
repeated UgcMusicTrackRedisData music_track_list = 2;
}
message UgcRedisData {
uint64 ugc_guid = 1;
uint32 save_time = 2;
oneof content {
UgcMusicContentRedisData music_content = 11;
}
uint64 ugc_guid = 1;
uint32 save_time = 2;
oneof content {
UgcMusicContentRedisData music_content = 11;
}
}
message UgcEditRedisData {
@@ -350,34 +350,34 @@ message UgcPublishRedisData {
}
message UgcMusicBriedRedisData {
uint32 music_id = 1;
uint32 note_count = 2;
uint32 max_score = 3;
uint64 import_from_ugc_guid = 4;
uint32 music_id = 1;
uint32 note_count = 2;
uint32 max_score = 3;
uint64 import_from_ugc_guid = 4;
}
message UgcBriefRedisData {
uint64 ugc_guid = 1;
string creator_nickname = 2;
uint32 publish_time = 3;
uint32 version = 4;
bool is_psn_platform = 5;
oneof brief {
UgcMusicBriedRedisData music_brief = 11;
}
uint64 ugc_guid = 1;
string creator_nickname = 2;
uint32 publish_time = 3;
uint32 version = 4;
bool is_psn_platform = 5;
oneof brief {
UgcMusicBriedRedisData music_brief = 11;
}
}
message HomeBlueprintBriefRedisData {
string share_code = 1;
uint32 owner_uid = 2;
uint32 module_id = 3;
uint32 scene_id = 4;
uint32 block_id = 5;
bool is_allow_copy = 6;
uint32 create_time = 7;
string share_code = 1;
uint32 owner_uid = 2;
uint32 module_id = 3;
uint32 scene_id = 4;
uint32 block_id = 5;
bool is_allow_copy = 6;
uint32 create_time = 7;
}
message HomeBlueprintDetailRedisData {
string share_code = 1;
HomeSceneBin scene_bin = 2;
string share_code = 1;
HomeSceneBin scene_bin = 2;
}