using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
///
/// 游戏主界面信息
///
public class GameMainVo
{
public GameMainVo()
{
}
///
/// 是否推送限时活动礼包信息
///
public bool isLimitTsActive
{
get
{
long starTs = long.Parse(GameConfigData.Ins.globalsettings.limitTsActiveGiftStartTs.ToString());
long endTs = long.Parse(GameConfigData.Ins.globalsettings.limitTsActiveGiftEndTs.ToString());
TimeSpan ts = DateTime.Now - new DateTime(1970, 1, 1, 0, 0, 0, 0);
long curTs = Convert.ToInt64(ts.TotalSeconds);
if (starTs <= curTs && curTs < endTs)
{
return true;
}
return false;
}
}
}