/*
 * 作者:吴隆健
 * 日期: 2019-04-11
 * 时间: 11:16
 * 
 */
using System;

namespace GameData.Club
{
	/// <summary>
	/// 玩法
	/// </summary>
	public class PlayWay
	{
		/// <summary>
		/// 客户端不管，服务器使用的 -没有启动的情况，叫玩家稍后再试
		/// </summary>
		public int enable;
		
        /// <summary>
        /// 玩法的唯一码
        /// </summary>
		public string weiyima;
		
		/// <summary>
		/// 所属竞技比赛
		/// </summary>
		public int Clubid;
		
		/// <summary>
		/// 对应的客户端游戏版本
		/// </summary>
		public int ver;
		
		/// <summary>
		/// 服务器gameid
		/// </summary>
		public int sergameid;
		
		/// <summary>
		/// 桌子规则
		/// </summary>
		public DeskRule dskrule;
		
		/// <summary>
		/// 修改时间
		/// </summary>
		public DateTime editorTime;
		
		/// <summary>
		/// 
		/// </summary>
		public PlayWay()
		{
			
		}
		
		public PlayWay(int clubId)
		{
			this.Clubid = clubId;
		}

		public PlayWay CopyFrom(PlayWay src)
		{
			this.enable = src.enable;
			this.weiyima = src.weiyima;
			this.ver = src.ver;
			this.sergameid = src.sergameid;
			this.dskrule = src.dskrule;
			this.editorTime = src.editorTime;
			return this;
		}
		
		/// <summary>
		/// 
		/// </summary>
		/// <returns></returns>
		public override string ToString()
		{

            return string.Empty;

			//return string.Format("[PlayWay Weiyima={0}, Ver={1}, Sergameid={2}, Deskcnt={3}, PlayerCnt={4}, Clubid={5}, Dskrule={6}]", weiyima, ver, sergameid, deskcnt, playerCnt, Clubid, dskrule);
		}

		
	}
}
