示例#1
0
 static GameUserAccounts()
 {
     if (GameUserStorage.SaveFileExists(configFolder + "/" + accountsFile))
     {
         accounts = GameUserStorage.LoadUserAccounts(accountsFile).ToList();
     }
     else
     {
         accounts = new List <GameUserAccount>();
         SaveAccounts();
     }
 }
示例#2
0
 public static void SaveAccounts()
 {
     GameUserStorage.SaveUserAccounts(accounts, accountsFile);
 }