import "client2world_msg_type.proto"; import "msg_type_def.proto"; import "msg_info_def.proto"; package client2world_protocols; // 购买商品 message packetc2w_buy_commodity { optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_buy_commodity]; // 商品ID optional int32 commodityId = 2; } // 购买商品结果 message packetw2c_buy_commodity_result { optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_buy_commodity_result]; // 购买结果 optional int32 result = 2; // 商品ID optional int32 commodityId = 3; } // 抽取捕鱼王成长计划之新手转盘礼包 message packetc2w_lottery_growth_gift { optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_lottery_growth_gift]; } // 抽取捕鱼王成长计划之新手转盘礼包结果 message packetw2c_lottery_growth_gift_result { optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_lottery_growth_gift_result]; //倍数结果 optional int32 result = 2; } //校验苹果订单 // message packetw2c_check_apple_order_form // { // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_check_apple_order_form]; // optional string apple = 2; // } // 使用道具 // message packetc2w_req_use_item // { // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_use_item]; // optional int32 itemId = 2; // } // message packetw2c_req_use_item_result // { // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_use_item_result]; // // 使用结果 // optional int32 result = 2; // optional int32 itemId = 3; // // 额外参数,如使用转转乐补偿 存储返回的金币 // optional int32 exParam = 4; // }