示例#1
0
        /// <summary>
        /// Open both instances of <see cref="CASCHandler"/> (old and new)
        /// </summary>
        public static void OpenCasc(string product, string buildConfig, string cdnConfig)
        {
            // Open old CASC.
            OldStorage = CASCHandler.OpenSpecificStorage(product, buildConfig, cdnConfig);
            OldStorage.Root.SetFlags(LocaleFlags.All_WoW);

            // Open new CASC.
            NewStorage = CASCHandler.OpenOnlineStorage(product);
            NewStorage.Root.SetFlags(LocaleFlags.All_WoW);
        }