示例#1
0
 static GuildRaffles()
 {
     if (GuildRaffleDataStorage.SaveFileExists(guildRaffleFile))
     {
         guildRaffle = GuildRaffleDataStorage.LoadGuildRaffleList(guildRaffleFile).ToList();
     }
     else
     {
         guildRaffle = new List <GuildRaffle>();
         SaveGuildRaffleList();
     }
 }
示例#2
0
 public static void LoadGuildRaffleList()
 {
     GuildRaffleDataStorage.LoadGuildRaffleList(guildRaffleFile);
 }
示例#3
0
 public static void SaveGuildRaffleList()
 {
     GuildRaffleDataStorage.SaveGuildRaffleList(guildRaffle, guildRaffleFile);
 }