Files
RedHotRoast-ios/Assets/Scripts/ModuleUI/WheelView/WheelViewModel.cs
T

36 lines
761 B
C#

namespace LoveLegend
{
public class WheelViewModel : BaseModel
{
public string NextOpenWheelTimeStr
{
get
{
var val = (int)(DataMgr.NextOpenWheelStampTime.Value - GameHelper.GetNowTime());
if (val > 0) return CommonHelper.FormatTime(val, CountDownType.Hour);
return "00:00:00";
}
}
#region
protected override void OnInit()
{
}
protected override void OnDispose()
{
}
#endregion
#region
protected override void AddListener()
{
}
protected override void RemoveListener()
{
}
#endregion
}
}