Example #1
0
        /// <summary>
        /// 加载参数配置文件
        /// </summary>
        /// <returns></returns>
        private static int ReloadXmlFile_config_systemparams()
        {
            int ret = GameManager.systemParamsList.ReloadLoadParamsList();

            //解析插旗战的日期和时间
            JunQiManager.ParseWeekDaysTimes();

            //解析皇城战的日期和时间
            HuangChengManager.ParseWeekDaysTimes();

            //解析王城战的日期和时间
            WangChengManager.ParseWeekDaysTimes();

            //重置皇城地图编号
            Global.ResetHuangChengMapCode();

            //重置皇宫的地图编号
            Global.ResetHuangGongMapCode();

            //坐骑的名称
            Global.HorseNamesList = null;

            //坐骑的速度
            Global.HorseSpeedList = null;

            //生肖竞猜配置
            GameManager.ShengXiaoGuessMgr.ReloadConfig();

            //古墓配置
            Global.InitGuMuMapCodes();
            Global.InitVipGumuExpMultiple();

            //充值限制掉落的时间项
            GameManager.GoodsPackMgr.ResetLimitTimeRange();

            //缓存的二锅头物品列表
            Global.ErGuoTouGoodsIDList = null;

            //绑定铜钱符每日使用次数列表缓存
            Global._VipUseBindTongQianGoodsIDNum = null;

            //自动给予的物品的
            GameManager.AutoGiveGoodsIDList = null;

            //加载采集配置
            CaiJiLogic.LoadConfig();

            return(ret);
        }
Example #2
0
        private static int ReloadXmlFile_config_systemparams()
        {
            int ret = GameManager.systemParamsList.ReloadLoadParamsList();

            JunQiManager.ParseWeekDaysTimes();
            LuoLanChengZhanManager.getInstance().InitConfig();
            Global.ResetHuangChengMapCode();
            Global.ResetHuangGongMapCode();
            Global.HorseNamesList = null;
            Global.HorseSpeedList = null;
            GameManager.ShengXiaoGuessMgr.ReloadConfig(false);
            Global.InitGuMuMapCodes();
            Global.InitVipGumuExpMultiple();
            GameManager.GoodsPackMgr.ResetLimitTimeRange();
            Global.ErGuoTouGoodsIDList           = null;
            Global._VipUseBindTongQianGoodsIDNum = null;
            GameManager.AutoGiveGoodsIDList      = null;
            CaiJiLogic.LoadConfig();
            GameManager.MagicSwordMgr.LoadMagicSwordData();
            GameManager.SummonerMgr.LoadSummonerData();
            GameManager.MerlinMagicBookMgr.LoadMerlinSystemParamsConfigData();
            Global.LoadItemLogMark();
            Global.LoadLogTradeGoods();
            Global.LoadForgeSystemParams();
            KuaFuManager.getInstance().InitCopyTime();
            SingletonTemplate <SoulStoneManager> .Instance().LoadJingHuaExpConfig();

            SingletonTemplate <MonsterAttackerLogManager> .Instance().LoadRecordMonsters();

            SingletonTemplate <CreateRoleLimitManager> .Instance().LoadConfig();

            SingletonTemplate <SpeedUpTickCheck> .Instance().LoadConfig();

            SingletonTemplate <NameManager> .Instance().LoadConfig();

            SingletonTemplate <CoupleArenaManager> .Instance().InitSystenParams();

            return(ret);
        }
Example #3
0
        /// <summary>
        /// 加载参数配置文件
        /// </summary>
        /// <returns></returns>
        private static int ReloadXmlFile_config_systemparams()
        {
            int ret = GameManager.systemParamsList.ReloadLoadParamsList();

            //解析插旗战的日期和时间
            JunQiManager.ParseWeekDaysTimes();

            if (GameManager.OPT_ChengZhanType == 0)
            {
                //解析皇城战的日期和时间
                HuangChengManager.ParseWeekDaysTimes();

                //解析王城战的日期和时间
                WangChengManager.ParseWeekDaysTimes();
            }

            //重新读取罗兰城战配置文件
            LuoLanChengZhanManager.getInstance().InitConfig();

            //重置皇城地图编号
            Global.ResetHuangChengMapCode();

            //重置皇宫的地图编号
            Global.ResetHuangGongMapCode();

            //坐骑的名称
            Global.HorseNamesList = null;

            //坐骑的速度
            Global.HorseSpeedList = null;

            //生肖竞猜配置
            GameManager.ShengXiaoGuessMgr.ReloadConfig();

            //古墓配置
            Global.InitGuMuMapCodes();
            Global.InitVipGumuExpMultiple();

            //充值限制掉落的时间项
            GameManager.GoodsPackMgr.ResetLimitTimeRange();

            //缓存的二锅头物品列表
            Global.ErGuoTouGoodsIDList = null;

            //绑定铜钱符每日使用次数列表缓存
            Global._VipUseBindTongQianGoodsIDNum = null;

            //自动给予的物品的
            GameManager.AutoGiveGoodsIDList = null;

            //加载采集配置
            CaiJiLogic.LoadConfig();

            // 加载魔剑士静态数据 [XSea 2015/4/14]
            GameManager.MagicSwordMgr.LoadMagicSwordData();

            // 加载梅林魔法书静态数据 [XSea 2015/6/19]
            GameManager.MerlinMagicBookMgr.LoadMerlinSystemParamsConfigData();

            // LogGoods
            Global.LoadItemLogMark();

            // logTradeGoods
            Global.LoadLogTradeGoods();

            //强化最大等级相关配置
            Global.LoadForgeSystemParams();

            // 副本惩罚时间
            KuaFuManager.getInstance().InitCopyTime();

            // 魂石精华的经验配置
            SoulStoneManager.Instance().LoadJingHuaExpConfig();

            // 加载需要记录日志的怪物
            MonsterAttackerLogManager.Instance().LoadRecordMonsters();

            // 玩家创建角色限制管理
            CreateRoleLimitManager.Instance().LoadConfig();

            SpeedUpTickCheck.Instance().LoadConfig();

            NameManager.Instance().LoadConfig();

            CoupleArenaManager.Instance().InitSystenParams();

            return(ret);
        }