using System;

namespace GameData.Race
{
	/// <summary>
	/// 告诉玩家淘汰还是晋级
	/// </summary>
	[Serializable]
	public class LunGameResultPack
	{
		/// <summary>
		/// 1晋级 2淘汰 3轮空晋级
		/// </summary>
		public byte IsOver;

		/// <summary>
		/// 第几轮
		/// </summary>
		public int CurrentLun;

		/// <summary>
		/// 总轮数
		/// </summary>
		public int LunCount;

		#if Server
		/// <summary>
		/// 比赛内存
		/// </summary>
		public Object Match;
		#else
		/// <summary>
		/// 比赛内存
		/// </summary>
		public FixedMatchMemroy Match;
		#endif
		/// <summary>
		/// 总人数
		/// </summary>
		public int PeopleCount;

		/// <summary>
		/// 标题
		/// </summary>
		public string Title;

		/// <summary>
		/// 名次
		/// </summary>
		public int Index;

		/// <summary>
		/// 奖励信息，为空就是没有奖励
		/// </summary>
		public AwardInfoPack AwardInfo;

		/// <summary>
		/// 比赛是否结束
		/// </summary>
		public bool IsMatchOver;
	}
}