Exemple #1
0
        /// <summary>
        /// Opens a file in the zoneXXX/datXXX.mpk/
        /// </summary>
        public Stream OpenDatFile(string file)
        {
            string path = string.Format("zones/zone{0:D3}/dat{0:D3}.mpk/{1}", ID, file);

            return(ClientData.OpenFirst(ClientData.BuildPathPermutations(ClientData.AddonPaths(this), new[] { path })));
        }