Пример #1
0
 public ChunkBuffer(RegionFile r, int x, int z)
     : base(8096)
 {
     this.region = r;
     this.x = x;
     this.z = z;
 }
Пример #2
0
 public ChunkBuffer(RegionFile r, int x, int z, int timestamp)
     : this(r, x, z)
 {
     _timestamp = timestamp;
 }
Пример #3
0
        private RegionFile GetRegionFile()
        {
            RegionFile rf = _regionFile.Target as RegionFile;
            if (rf == null) {
                rf = new RegionFile(GetFilePath());
                _regionFile.Target = rf;
            }

            return rf;
        }