static GuildRaffles() { if (GuildRaffleDataStorage.SaveFileExists(guildRaffleFile)) { guildRaffle = GuildRaffleDataStorage.LoadGuildRaffleList(guildRaffleFile).ToList(); } else { guildRaffle = new List <GuildRaffle>(); SaveGuildRaffleList(); } }
public static void LoadGuildRaffleList() { GuildRaffleDataStorage.LoadGuildRaffleList(guildRaffleFile); }
public static void SaveGuildRaffleList() { GuildRaffleDataStorage.SaveGuildRaffleList(guildRaffle, guildRaffleFile); }