Пример #1
0
 public MazesPlugin(Main game)
     : base(game)
 {
     for (int i = 0; i < 256; i++)
     {
         Players[i] = new PlayerInfo();
     }
 }
Пример #2
0
 void OnLeave(int plr)
 {
     File.Delete(Path.Combine("mazes", String.Format("clipboard-{0}.dat", plr)));
     foreach (string fileName in Directory.EnumerateFiles("mazes", String.Format("??do-{0}-*.dat", plr)))
     {
         File.Delete(fileName);
     }
     Players[plr] = new PlayerInfo();
 }