GameModeFortress.ChunkDbCompressed.GetChunks C# (CSharp) Method

GetChunks() public method

public GetChunks ( IEnumerable chunkpositions ) : IEnumerable
chunkpositions IEnumerable
return IEnumerable
        public IEnumerable<byte[]> GetChunks(IEnumerable<Xyz> chunkpositions)
        {
            foreach(byte[] b in d_ChunkDb.GetChunks(chunkpositions))
            {
                if (b == null)
                {
                    yield return null;
                }
                else
                {
                    yield return d_Compression.Decompress(b);
                }
            }
        }