public void LoadSystemInfo() { mLastLoginTime = long.Parse(PlayerPrefs.GetString("LastLoginTime", GTTools.GetUtcTime().ToString())); mGameStartTime = GTTools.GetUtcTime(); ActionStart(); if (mGameStartTime - mLastLoginTime >= 21600) { DataDailyTask.ClearAll(); } }
public void SaveSystemInfo() { LastLoginTime = GTTools.GetUtcTime(); }
private void LoadSystemInfo() { mGameStartTime = GTTools.GetUtcTime(); }
private void LoadSystemInfo() { mLastLoginTime = long.Parse(PlayerPrefs.GetString("LastLoginTime", GTTools.GetUtcTime().ToString())); mGameStartTime = GTTools.GetUtcTime(); }