示例#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
文件: Region.cs 项目: vfioox/ENULib
        private RegionFile GetRegionFile()
        {
            RegionFile rf = _regionFile.Target as RegionFile;
            if (rf == null) {
                rf = new RegionFile(GetFilePath());
                _regionFile.Target = rf;
            }

            return rf;
        }