/********************************
 *
 * 作者:吴隆健
 * 创建时间: 2019-06-15 17:34:26
 *
 ********************************/
#if Server
using System;

namespace GameData
{

    /// <summary>
    /// 玩家登录时获取的临时数据
    /// </summary>
    public class PlayerLoginData {
        /// <summary>
        /// 今日领取救济金的次数
        /// </summary>
        public int doleCount;

        /// <summary>
        /// 上次签到的时间
        /// </summary>
        public string lastSignTimeStr;

        /// <summary>
        /// 
        /// </summary>
        public PlayerLoginData() { }

        /// <summary>
        /// 今天是连续签到的第几天
        /// </summary>
        public int lastSignCount;
        
        /// <summary>
        /// 初始化
        /// </summary>
        public void Init() {
            doleCount = 0;
            DateTime dt = new DateTime(2000, 1, 1, 1, 1, 1);
            lastSignTimeStr = dt.ToString();
            lastSignCount = 0;
        }
    }

}
#endif