import "client2world_msg_type.proto"; import "msg_type_def.proto"; import "msg_info_def.proto"; package client2world_protocols; // 请求宝箱抽奖 // message packetc2w_req_lottery_box // { // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_lottery_box]; // // box所在索引,从0开始 // optional int32 boxIndex = 2; // // 是否使用礼券, true使用礼券抽奖 // optional bool useTicket = 3; // } // // 请求宝箱抽奖结果 // message packetw2c_req_lottery_box_result // { // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_lottery_box_result]; // // 结果 // optional int32 result = 2; // optional bool useTicket = 3; // // 奖励类型 (BoxLotteryResult枚举) // optional int32 rewardType = 4; // } // // 谢谢参与兑换礼券 // message packetc2w_thankyou_exchange_ticket // { // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_thankyou_exchange_ticket]; // } // // 谢谢参与兑换礼券结果 // message packetw2c_thankyou_exchange_ticket_result // { // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_thankyou_exchange_ticket_result]; // // 结果 // optional int32 result = 2; // } //////////////////////////////////////////////////////////////////////////// // 请求签到 message packetc2w_req_sign { optional e_server_msg_type packet_id = 1 [ default = e_mst_c2w_req_sign ]; // 双倍 optional bool double = 2; } // 请求签到结果 message packetw2c_req_sign_result { optional e_server_msg_type packet_id = 1 [ default = e_mst_w2c_req_sign_result ]; optional bool double = 2; // 结果 optional int32 result = 3; repeated msg_info_def.ItemInfo itemList = 4; } // 请求签到信息 message packetc2w_req_sign_info { optional e_server_msg_type packet_id = 1 [ default = e_mst_c2w_req_sign_info ]; // 1 月签到 2 七日签到 optional int32 signtype = 2; } // 请求签到信息结果 message packetw2c_req_sign_info_result { optional e_server_msg_type packet_id = 1 [ default = e_mst_w2c_req_sign_info_result ]; // 1 月签到 2 七日签到 3 深渊捕鱼王签到 optional int32 signtype = 2; // 月签到 // 签到次数(15) optional int32 signCount = 3; // 连续签到次数(7) optional int32 keepSignCount = 4; optional bool signUpLevel = 5; // 今日是否可签到 optional bool canSign = 6; // 七日签到 optional int32 hasSignCount = 7; optional bool sevenDayCanSign = 8; } // 请求签到 message packetc2w_req_recv_sevenday_reward { optional e_server_msg_type packet_id = 1 [ default = e_mst_c2w_req_recv_sevenday_reward ]; optional int32 day = 2; } // 请求签到返回 message packetc2w_req_recv_sevenday_reward_result { optional e_server_msg_type packet_id = 1 [ default = e_mst_w2c_req_recv_sevenday_reward_result ]; optional int32 day = 2; // 结果 optional int32 result = 3; repeated msg_info_def.ItemInfo itemList = 4; }