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