import "client2world_msg_type.proto";
import "msg_type_def.proto";
import "msg_info_def.proto";

package client2world_protocols;

// 请求领取周卡奖励
// message packetc2w_req_week_card_reward
// {
// 	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_week_card_reward]; 
// }

// 请求领取周卡奖励结果
// message packetw2c_req_week_card_reward_result
// {
// 	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_week_card_reward_result]; 

// 	// 抽奖结果
// 	optional int32 result = 2;

// 	// 奖励id， 对应 M_GiftRewardCFG 字段
// 	optional int32 rewardId = 3;
// }

// 请求转盘标志
// message packetc2w_req_dial_lottery_flag
// {
// 	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_dial_lottery_flag]; 
// }

// 请求转盘标志结果
// message packetw2c_req_dial_lottery_flag_result
// {
// 	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_dial_lottery_flag_result]; 

// 	// 今日是否抽过奖，true已抽
// 	optional bool isLotteryToday = 2;

// 	// 已连续签到次数
// 	optional int32 hasSignCount = 3;
// }

// 领取月卡奖励 1普通 1金币 2钻石
message packetc2w_req_month_card_reward
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_month_card_reward]; 
	optional int32 type = 2;
}
 
// 领取月卡奖励结果
message packetw2c_req_month_card_reward_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_month_card_reward_result]; 

	optional int32 result = 2;
	optional int32 type = 3;
	optional int32 rewardId = 4;
}

// 领取周卡奖励
message packetc2w_req_week_card_reward
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_week_card_reward]; 
}
 
// 领取周卡奖励结果
message packetw2c_req_week_card_reward_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_week_card_reward_result]; 

	optional int32 result = 2;
	// 奖励id
	optional int32 rewardId = 3;
}