private RegionFile GetRegionFile(WorldPos worldPos)
        {
            RegionFile regionFile = null;

            _map.TryGetValue(worldPos, out regionFile);
            if (regionFile != null)
            {
                return(regionFile);
            }
            string regionFileName = GetRegionFileName(worldPos);
            //			Debug.Log("FullName:" + regionFileName + " worldPos:x=" + worldPos.x + ",z=" + worldPos.z);
            RegionFile file = new RegionFile(regionFileName, MTBCompressType.ZLib);

            file.Init();
            _map.Add(worldPos, file);
            return(file);
        }
        private RegionFile GetNetRegionFile(WorldPos worldPos)
        {
            RegionFile regionFile = null;

            _map.TryGetValue(worldPos, out regionFile);
            if (regionFile != null)
            {
                return(regionFile);
            }
            else
            {
                _netMap.TryGetValue(worldPos, out regionFile);
            }
            if (regionFile != null)
            {
                return(regionFile);
            }
            string     regionFileName = GetRegionFileName(worldPos);
            RegionFile file           = new RegionFile(regionFileName, MTBCompressType.ZLib);

            file.Init();
            _netMap.Add(worldPos, file);
            return(file);
        }