using LitJson;

namespace Wizard;

public class CrossoverRewardInfo
{
	public enum RewardStatus
	{
		NotAchieved,
		NotReceived,
		Received
	}

	public int RewardId;

	public int Rank;

	public int RewardType;

	public int RewardDetailId;

	public int RewardCount;

	public RewardStatus Status;

	public CrossoverRewardInfo(JsonData data)
	{
		RewardId = data["reward_id"].ToInt();
		Rank = data["rank"].ToInt();
		RewardType = data["reward_type"].ToInt();
		RewardDetailId = data["reward_detail_id"].ToInt();
		RewardCount = data["reward_count"].ToInt();
		Status = (RewardStatus)data["status"].ToInt();
	}
}
