using System.Collections.Generic;
using LitJson;
using Wizard;
using Wizard.Lottery;

public class RankMatchResultReporter : IBattleResultReporter
{
	public bool IsEnd => Data.RankMatchFinish.data != null;

	public int ClassExp => GetClassExp();

	public List<UserAchievement> UserAchievement => GetUserAchievementList();

	public List<UserMission> UserMission => GetUserMissionList();

	public List<ReceivedReward> MissionRewards => Data.RankMatchFinish.data._missionRewards;

	public List<ReceivedReward> VictoryRewards => Data.RankMatchFinish.data._victoryRewards;

	public LotteryApplyData LotteryData => Data.RankMatchFinish.data.AchievedInfo._lotteryData;

	public MyPageHomeDialogData HomeDialogData => Data.RankMatchFinish.data.HomeDialogData;

	public bool IsDataExist
	{
		get
		{
			if (Data.RankMatchFinish.data != null)
			{
				return Data.RankMatchFinish.data.IsProcessed;
			}
			return false;
		}
	}

	public void Report(bool isWin)
	{
	}

	public void Destroy()
	{
	}

	public JsonData GetFinishResponseData()
	{
		return Data.RankMatchFinish.data._responseData;
	}

	public List<UserAchievement> GetUserAchievementList()
	{
		return Data.RankMatchFinish.data.achieved_achievement_list;
	}

	public List<UserMission> GetUserMissionList()
	{
		return Data.RankMatchFinish.data.achieved_mission_list;
	}

	public int GetClassExp()
	{
		return Data.RankMatchFinish.data.get_class_chara_experience;
	}
}
