123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356 |
- import "client2world_msg_type.proto";
- import "msg_type_def.proto";
- import "msg_info_def.proto";
- package client2world_protocols;
- // 修改头像
- //message packetc2w_update_playerhead
- //{
- // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_update_playerhead];
- // optional int32 headID = 2;
- //}
- //// 修改头像结果
- //message packetw2c_update_playerhead_result
- //{
- // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_update_playerhead_result];
- // optional int32 headID = 2;
- // optional int32 result = 3;
- //}
- // 修改昵称
- message packetc2w_update_nickname
- {
- optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_update_nickname];
- optional string nickName = 2;
- }
- // 修改昵称结果
- message packetw2c_update_nickname_result
- {
- optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_update_nickname_result];
-
- optional string nickName = 2;
- optional int32 result = 3;
- }
- //// 改变相框
- //message packetc2w_change_photo_frame
- //{
- // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_change_photo_frame];
- // optional int32 photoFrameId = 2;
- //}
- //// 改变相框结果
- //message packetw2c_change_photo_frame_result
- //{
- // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_change_photo_frame_result];
- // optional int32 photoFrameId = 2;
- // optional int32 result = 3;
- //}
- // 修改性别
- // message packetc2w_update_sex
- // {
- // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_update_sex];
- // optional int32 sex = 2;
- // }
- // 修改性别结果
- // message packetw2c_update_sex_result
- // {
- // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_update_sex_result];
-
- // optional int32 sex = 2;
- // optional int32 result = 3;
- // }
- // 修改签名
- // message packetc2w_update_signature
- // {
- // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_update_signature];
- // optional string signature = 2;
- // }
- // 修改签名结果
- // message packetw2c_update_signature_result
- // {
- // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_update_signature_result];
-
- // optional string signature = 2;
- // optional int32 result = 3;
- // }
- //炮台升级(道具)
- // message packetc2w_turret_levelup {
- // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_turret_levelup];
- // optional bool uselucky = 2 [default = false]; //使用幸运
- // }
- // message packetw2c_turret_levelup_result {
- // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_turret_levelup_result];
- // optional msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail];
- // optional bool uselucky = 3; //使用幸运
- // optional int32 cur_lv = 4 [default = 0];
- // }
- // 获取战绩统计
- // message packetc2w_req_game_stat
- // {
- // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_game_stat];
- // // 游戏ID
- // optional int32 gameId = 2;
- // }
- // // 捕鱼的战绩统计结果
- // message packetw2c_fishlord_stat_result
- // {
- // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_fishlord_stat_result];
- // // 单场获得最大金币数
- // optional int32 maxCoin = 2;
- // // 单场获得最大礼券数
- // optional int32 maxTicket = 3;
- // // 累计击中黑龙
- // optional int32 hitBlackDagonCount = 4;
- // // 累计击中蓝龙
- // optional int32 hitBlueDagonCount = 5;
- // // 累计击中金龙炸弹
- // optional int32 hitGoldDagonBombCount = 6;
- // }
- // 骰宝的战绩统计结果
- // message packetw2c_dice_stat_result
- // {
- // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_dice_stat_result];
- // // 单局获得最大金币数
- // optional int32 maxCoin = 2;
- // // 单局获得最大礼券数
- // optional int32 maxTicket = 3;
- // // 累计押中豹子次数
- // optional int32 hitLeopardCount = 4;
- // // 最大连续押中次数
- // optional int32 maxSuccessionCount = 5;
- // }
- // 鳄鱼的战绩统计结果
- // message packetw2c_crocodile_stat_result
- // {
- // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_crocodile_stat_result];
- // // 单场获得最大金币数
- // optional int32 maxCoin = 2;
- // // 单场获得最大礼券数
- // optional int32 maxTicket = 3;
- // // 累计押中彩金次数
- // optional int32 hitWinningsCount = 4;
- // // 累计押中射灯次数
- // optional int32 hitSpotlightCount = 5;
- // // 累计押中人人有奖次数
- // optional int32 hitEveryoneHasAwardCount = 6;
- // }
- // 个人记录
- message packetc2w_req_self_record
- {
- optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_self_record];
- }
- // 个人记录结果
- message packetw2c_req_self_record_result
- {
- optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_self_record_result];
- // 金币最大持有记录
- optional int32 maxCoin = 2;
- // 钻石最大持有记录
- optional int32 maxDiamond = 3;
- // 礼券最大持有记录
- optional int32 maxTicket = 4;
- }
- // 完成某个新手引导
- message packetc2w_finish_one_new_guild
- {
- optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_finish_one_new_guild];
- optional int32 type = 2;
- // 已完成的新手引导步骤id
- optional int32 stepId = 3;
- }
- // 完成某个新手引导结果
- message packetw2c_finish_one_new_guild_result
- {
- optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_finish_one_new_guild_result];
- optional int32 type = 2;
- // 已完成的新手引导步骤id
- optional int32 stepId = 3;
- }
- // 请求赠送日志
- // message packetc2w_req_send_gift_log
- // {
- // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_send_gift_log];
- // // 上次请求时间,初始为0
- // optional int32 lastTime = 2;
- // }
- // message SendGiftLogInfo
- // {
- // // 赠送时间
- // optional int32 sendTime = 1;
- // // 好友的ID
- // optional int32 firendId = 2;
- // // 礼物ID
- // optional int32 giftId = 3;
- // // 赠送数量
- // optional int32 count = 4;
- // // 好友昵称
- // optional string friendNickName = 5;
- // optional string title = 6;
- // optional string content = 7;
- // optional string mailId = 8;
- // }
- // 请求赠送日志结果
- // message packetw2c_req_send_gift_log_result
- // {
- // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_send_gift_log_result];
- // // 日志列表
- // repeated SendGiftLogInfo logList = 2;
- // // 新的时间
- // optional int32 lastTime = 3;
- // }
-
- // 举报头像
- // message packetc2w_inform_playerhead
- // {
- // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_inform_playerhead];
- // // 被举报玩家ID
- // optional int32 informDstPlayerId = 2;
- // }
-
- // 举报头像结果
- // message packetw2c_inform_playerhead_result
- // {
- // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_inform_playerhead_result];
- // optional int32 result = 2;
- // }
- // 兑成龙珠币
- //message packetc2w_changeto_dragon_ball
- //{
- // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_changeto_dragon_ball];
- //}
-
- // 兑成龙珠币结果
- //message packetw2c_changeto_dragon_ball_result
- //{
- // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_changeto_dragon_ball_result];
- // optional int32 result = 2;
- // 龙珠币增加数量
- // optional int32 addValue = 3;
- //}
- // 返回玩家在游戏内实时上下分后的余额,客户端接收
- // message packetw2c_realtime_score_result
- // {
- // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_realtime_score_result];
- // // 余额
- // optional int32 goldRemain = 2;
- // // 上下分结果
- // optional int32 result = 3;
- // // 0上分操作 1下分操作
- // optional int32 op = 4;
- // }
- // 请求最近充值列表
- message packetc2w_req_last_rechargelist
- {
- optional e_server_msg_type packet_id = 1 [ default = e_mst_c2w_req_last_rechargelist ];
- }
-
- // 请求最近充值列表结果
- message packetw2c_req_last_rechargelist_result
- {
- optional e_server_msg_type packet_id = 1 [ default = e_mst_w2c_req_last_rechargelist_result ];
- repeated int32 goldPayIdList = 2;
- repeated int32 gemPayIdList = 3;
- }
-
|