Exemple #1
0
 public static void LoadBanned()
 {
     if (File.Exists(path) == false)
     {
         blacklist      = new BlackList();
         blacklist.List = new List <BadPlayer>();
         return;
     }
     blacklist = Json.Load <BlackList>(path);
 }
Exemple #2
0
 public static void LoadBanned()
 {
     if (File.Exists(path) == false)
     {
         blacklist = new BlackList();
         blacklist.List = new List<BadPlayer>();
         return;
     }
     blacklist = Json.Load<BlackList>(path);
 }