Esempio n. 1
0
        private static int ReloadXmlFile_config_goodspack()
        {
            int ret = GameManager.systemGoodsBaoGuoMgr.ReloadLoadFromXMlFile();

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

            //重新加载物品包的配置缓存
            return(GoodsBaoGuoCachingMgr.LoadGoodsBaoGuoDict());
        }
Esempio n. 2
0
        private static int ReloadXmlFile_config_goodspack()
        {
            int ret = GameManager.systemGoodsBaoGuoMgr.ReloadLoadFromXMlFile();
            int result;

            if (ret < 0)
            {
                result = ret;
            }
            else
            {
                result = GoodsBaoGuoCachingMgr.LoadGoodsBaoGuoDict();
            }
            return(result);
        }