Esempio n. 1
0
        public void QueueChunkLoad(int x, int z, bool unload, World world)
        {
            ChunkLoadQueue clq = new ChunkLoadQueue(x, z, unload, world);

            lock (loadQueue)
            {
                loadQueue.RemoveAll(CLQ => (CLQ.x == x && CLQ.z == z && CLQ.world == world));
                loadQueue.Add(clq);
            }
        }
Esempio n. 2
0
 public void QueueChunkLoad(int x, int z, bool unload, World world)
 {
     ChunkLoadQueue clq = new ChunkLoadQueue(x, z, unload, world);
     loadQueue.RemoveAll(CLQ => (CLQ.x == x && CLQ.z == z && CLQ.world == world));
     loadQueue.Add(clq);
 }