예제 #1
0
 public void Store(string player, int x, int y, int z)
 {
     if (IsStoredAt(player) != -1)
     {
         Delete(player);
     }
     UserEntry entry = new UserEntry();
     entry.Name = player;
     entry.Position = PosToString(x, y, z);
     PlayerPositions.Add(entry);
     //Console.WriteLine("[INFO] Position saved: {0}({1})", entry.Name, entry.Position);
 }
예제 #2
0
        public void Store(string player, int x, int y, int z)
        {
            if (IsStoredAt(player) != -1)
            {
                Delete(player);
            }
            UserEntry entry = new UserEntry();

            entry.Name     = player;
            entry.Position = PosToString(x, y, z);
            PlayerPositions.Add(entry);
            //Console.WriteLine("[INFO] Position saved: {0}({1})", entry.Name, entry.Position);
        }