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