示例#1
0
        /// <summary>
        /// Initializes enhanced client assets.
        /// </summary>
        /// <param name="sourceFolder">Source folder.</param>
        public void InitializeEnhancedAssets(string sourceFolder)
        {
            if (_EnhancedAssets == null)
            {
                _EnhancedAssets = new UltimaPackageAssets(sourceFolder);
            }

            if (_Clilocs == null)
            {
                _Clilocs = _EnhancedAssets.GetClilocs();
            }

            _LegacyAssets = null;
        }
示例#2
0
文件: Globals.cs 项目: Ben1028/SpyUO
        /// <summary>
        /// Initializes legacy client assets.
        /// </summary>
        /// <param name="sourceFolder">Source folder.</param>
        public void InitializeLegacyAssets( string sourceFolder )
        {
            if ( _LegacyAssets == null )
                _LegacyAssets = new UltimaLegacyAssets( sourceFolder );

            if ( _Clilocs == null )
                _Clilocs = _LegacyAssets.GetClilocs();

            _EnhancedAssets = null;
        }