Esempio n. 1
0
        private static int ReloadXmlFile_config_TuoZhan()
        {
            int ret = GameManager.SystemExtensionProps.ReloadLoadFromXMlFile();
            int result;

            if (ret < 0)
            {
                result = ret;
            }
            else
            {
                GameManager.SystemMagicActionMgr.ParseExtensionPropsActions(GameManager.SystemExtensionProps);
                ExtensionPropsMgr.LoadCachingItems(GameManager.SystemExtensionProps);
                result = ret;
            }
            return(result);
        }
Esempio n. 2
0
        /// <summary>
        /// 加载拓展属性文件
        /// </summary>
        /// <returns></returns>
        private static int ReloadXmlFile_config_TuoZhan()
        {
            int ret = GameManager.SystemExtensionProps.ReloadLoadFromXMlFile();

            if (ret < 0)
            {
                return(ret);
            }

            //解析公式
            GameManager.SystemMagicActionMgr.ParseExtensionPropsActions(GameManager.SystemExtensionProps);

            //使用键值缓存拓展属性项
            ExtensionPropsMgr.LoadCachingItems(GameManager.SystemExtensionProps);

            return(ret);
        }