|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | // 加载配置文件 | 
|---|
|  |  |  | HashSet<Type> configTypes = new HashSet<Type>() { | 
|---|
|  |  |  | typeof(ChatBubbleBoxConfig), | 
|---|
|  |  |  | typeof(ADAwardConfig), | 
|---|
|  |  |  | typeof(ChestsAwardConfig), | 
|---|
|  |  |  | typeof(CTGConfig), | 
|---|
|  |  |  | typeof(DailyLivenessRewardConfig), | 
|---|
|  |  |  | typeof(DailyQuestConfig), | 
|---|
|  |  |  | typeof(DailyQuestOpenTimeConfig), | 
|---|
|  |  |  | typeof(DienstgradConfig), | 
|---|
|  |  |  | typeof(DirtyNameConfig), | 
|---|
|  |  |  | typeof(DamageNumConfig), | 
|---|
|  |  |  | typeof(DirtyWordConfig), | 
|---|
|  |  |  | typeof(EffectConfig), | 
|---|
|  |  |  | typeof(EquipGSParamConfig), | 
|---|
|  |  |  | typeof(EquipPlaceMapConfig), | 
|---|
|  |  |  | typeof(FamilyEmblemConfig), | 
|---|
|  |  |  | typeof(FrameAnimationConfig), | 
|---|
|  |  |  | typeof(FuncConfigConfig), | 
|---|
|  |  |  | typeof(FuncOpenLVConfig), | 
|---|
|  |  |  | typeof(FunctionTeamSetConfig), | 
|---|
|  |  |  | typeof(GetItemWaysConfig), | 
|---|
|  |  |  | typeof(GmCmdConfig), | 
|---|
|  |  |  | typeof(HeroAwakeConfig), | 
|---|
|  |  |  | typeof(HeroConfig), | 
|---|
|  |  |  | typeof(DungeonConfig), | 
|---|
|  |  |  | typeof(DungeonOpenTimeConfig), | 
|---|
|  |  |  | typeof(FaceConfig), | 
|---|
|  |  |  | typeof(FightPowerRatioConfig), | 
|---|
|  |  |  | typeof(FirstChargeConfig), | 
|---|
|  |  |  | typeof(GoldRushCampConfig), | 
|---|
|  |  |  | typeof(GoldRushItemConfig), | 
|---|
|  |  |  | typeof(GoldRushWorkerConfig), | 
|---|
|  |  |  | typeof(HeroLineupHaloConfig), | 
|---|
|  |  |  | typeof(HeroQualityAwakeConfig), | 
|---|
|  |  |  | typeof(HeroQualityBreakConfig), | 
|---|
|  |  |  | typeof(HeroQualityConfig), | 
|---|
|  |  |  | typeof(HeroQualityLVConfig), | 
|---|
|  |  |  | typeof(HeroSkinConfig), | 
|---|
|  |  |  | typeof(InvestConfig), | 
|---|
|  |  |  | typeof(ItemConfig), | 
|---|
|  |  |  | typeof(KickOutReasonConfig), | 
|---|
|  |  |  | typeof(MainChapterConfig), | 
|---|
|  |  |  | typeof(MainLevelConfig), | 
|---|
|  |  |  | typeof(NPCConfig), | 
|---|
|  |  |  | typeof(NPCExConfig), | 
|---|
|  |  |  | typeof(NPCLineupConfig), | 
|---|
|  |  |  | typeof(OrderInfoConfig), | 
|---|
|  |  |  | typeof(PlayerAttrConfig), | 
|---|
|  |  |  | typeof(PlayerFaceConfig), | 
|---|
|  |  |  | typeof(PlayerLVConfig), | 
|---|
|  |  |  | typeof(PlayerPropertyConfig), | 
|---|
|  |  |  | typeof(priorbundleConfig), | 
|---|
|  |  |  | typeof(RealmConfig), | 
|---|
|  |  |  | typeof(RealmLVUPTaskConfig), | 
|---|
|  |  |  | typeof(RuleConfig), | 
|---|
|  |  |  | typeof(SkillConfig), | 
|---|
|  |  |  | typeof(TaskConfig), | 
|---|
|  |  |  | typeof(PriorBundleConfig), | 
|---|
|  |  |  | typeof(StoreConfig), | 
|---|
|  |  |  | typeof(SuccessConfig), | 
|---|
|  |  |  | typeof(SysInfoConfig), | 
|---|
|  |  |  | typeof(TitleStarUpConfig), | 
|---|
|  |  |  | typeof(TreasureCntAwardConfig), | 
|---|
|  |  |  | typeof(TreasureItemLibConfig), | 
|---|
|  |  |  | typeof(TreasureSetConfig), | 
|---|
|  |  |  | typeof(TreeLVConfig), | 
|---|
|  |  |  | typeof(WindowSearchConfig), | 
|---|
|  |  |  | typeof(XBGetItemConfig) | 
|---|
|  |  |  | }; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public override void Release() | 
|---|
|  |  |  | { | 
|---|
|  |  |  | // 清空 ChatBubbleBoxConfig 字典 | 
|---|
|  |  |  | ClearConfigDictionary<ChatBubbleBoxConfig>(); | 
|---|
|  |  |  | // 清空 ADAwardConfig 字典 | 
|---|
|  |  |  | ClearConfigDictionary<ADAwardConfig>(); | 
|---|
|  |  |  | // 清空 ChestsAwardConfig 字典 | 
|---|
|  |  |  | ClearConfigDictionary<ChestsAwardConfig>(); | 
|---|
|  |  |  | // 清空 CTGConfig 字典 | 
|---|
|  |  |  | ClearConfigDictionary<CTGConfig>(); | 
|---|
|  |  |  | // 清空 DailyLivenessRewardConfig 字典 | 
|---|
|  |  |  | ClearConfigDictionary<DailyLivenessRewardConfig>(); | 
|---|
|  |  |  | // 清空 DailyQuestConfig 字典 | 
|---|
|  |  |  | ClearConfigDictionary<DailyQuestConfig>(); | 
|---|
|  |  |  | // 清空 DailyQuestOpenTimeConfig 字典 | 
|---|
|  |  |  | ClearConfigDictionary<DailyQuestOpenTimeConfig>(); | 
|---|
|  |  |  | // 清空 DienstgradConfig 字典 | 
|---|
|  |  |  | ClearConfigDictionary<DienstgradConfig>(); | 
|---|
|  |  |  | // 清空 DirtyNameConfig 字典 | 
|---|
|  |  |  | ClearConfigDictionary<DirtyNameConfig>(); | 
|---|
|  |  |  | // 清空 DamageNumConfig 字典 | 
|---|
|  |  |  | ClearConfigDictionary<DamageNumConfig>(); | 
|---|
|  |  |  | // 清空 DirtyWordConfig 字典 | 
|---|
|  |  |  | ClearConfigDictionary<DirtyWordConfig>(); | 
|---|
|  |  |  | // 清空 EffectConfig 字典 | 
|---|
|  |  |  | ClearConfigDictionary<EffectConfig>(); | 
|---|
|  |  |  | // 清空 EquipGSParamConfig 字典 | 
|---|
|  |  |  | ClearConfigDictionary<EquipGSParamConfig>(); | 
|---|
|  |  |  | // 清空 EquipPlaceMapConfig 字典 | 
|---|
|  |  |  | ClearConfigDictionary<EquipPlaceMapConfig>(); | 
|---|
|  |  |  | // 清空 FamilyEmblemConfig 字典 | 
|---|
|  |  |  | ClearConfigDictionary<FamilyEmblemConfig>(); | 
|---|
|  |  |  | // 清空 FrameAnimationConfig 字典 | 
|---|
|  |  |  | ClearConfigDictionary<FrameAnimationConfig>(); | 
|---|
|  |  |  | // 清空 FuncConfigConfig 字典 | 
|---|
|  |  |  | ClearConfigDictionary<FuncConfigConfig>(); | 
|---|
|  |  |  | // 清空 FuncOpenLVConfig 字典 | 
|---|
|  |  |  | ClearConfigDictionary<FuncOpenLVConfig>(); | 
|---|
|  |  |  | // 清空 FunctionTeamSetConfig 字典 | 
|---|
|  |  |  | ClearConfigDictionary<FunctionTeamSetConfig>(); | 
|---|
|  |  |  | // 清空 GetItemWaysConfig 字典 | 
|---|
|  |  |  | ClearConfigDictionary<GetItemWaysConfig>(); | 
|---|
|  |  |  | // 清空 GmCmdConfig 字典 | 
|---|
|  |  |  | ClearConfigDictionary<GmCmdConfig>(); | 
|---|
|  |  |  | // 清空 HeroAwakeConfig 字典 | 
|---|
|  |  |  | ClearConfigDictionary<HeroAwakeConfig>(); | 
|---|
|  |  |  | // 清空 HeroConfig 字典 | 
|---|
|  |  |  | ClearConfigDictionary<HeroConfig>(); | 
|---|
|  |  |  | // 清空 DungeonConfig 字典 | 
|---|
|  |  |  | ClearConfigDictionary<DungeonConfig>(); | 
|---|
|  |  |  | // 清空 DungeonOpenTimeConfig 字典 | 
|---|
|  |  |  | ClearConfigDictionary<DungeonOpenTimeConfig>(); | 
|---|
|  |  |  | // 清空 FaceConfig 字典 | 
|---|
|  |  |  | ClearConfigDictionary<FaceConfig>(); | 
|---|
|  |  |  | // 清空 FightPowerRatioConfig 字典 | 
|---|
|  |  |  | ClearConfigDictionary<FightPowerRatioConfig>(); | 
|---|
|  |  |  | // 清空 FirstChargeConfig 字典 | 
|---|
|  |  |  | ClearConfigDictionary<FirstChargeConfig>(); | 
|---|
|  |  |  | // 清空 GoldRushCampConfig 字典 | 
|---|
|  |  |  | ClearConfigDictionary<GoldRushCampConfig>(); | 
|---|
|  |  |  | // 清空 GoldRushItemConfig 字典 | 
|---|
|  |  |  | ClearConfigDictionary<GoldRushItemConfig>(); | 
|---|
|  |  |  | // 清空 GoldRushWorkerConfig 字典 | 
|---|
|  |  |  | ClearConfigDictionary<GoldRushWorkerConfig>(); | 
|---|
|  |  |  | // 清空 HeroLineupHaloConfig 字典 | 
|---|
|  |  |  | ClearConfigDictionary<HeroLineupHaloConfig>(); | 
|---|
|  |  |  | // 清空 HeroQualityAwakeConfig 字典 | 
|---|
|  |  |  | ClearConfigDictionary<HeroQualityAwakeConfig>(); | 
|---|
|  |  |  | // 清空 HeroQualityBreakConfig 字典 | 
|---|
|  |  |  | ClearConfigDictionary<HeroQualityBreakConfig>(); | 
|---|
|  |  |  | // 清空 HeroQualityConfig 字典 | 
|---|
|  |  |  | ClearConfigDictionary<HeroQualityConfig>(); | 
|---|
|  |  |  | // 清空 HeroQualityLVConfig 字典 | 
|---|
|  |  |  | ClearConfigDictionary<HeroQualityLVConfig>(); | 
|---|
|  |  |  | // 清空 HeroSkinConfig 字典 | 
|---|
|  |  |  | ClearConfigDictionary<HeroSkinConfig>(); | 
|---|
|  |  |  | // 清空 InvestConfig 字典 | 
|---|
|  |  |  | ClearConfigDictionary<InvestConfig>(); | 
|---|
|  |  |  | // 清空 ItemConfig 字典 | 
|---|
|  |  |  | ClearConfigDictionary<ItemConfig>(); | 
|---|
|  |  |  | // 清空 KickOutReasonConfig 字典 | 
|---|
|  |  |  | ClearConfigDictionary<KickOutReasonConfig>(); | 
|---|
|  |  |  | // 清空 MainChapterConfig 字典 | 
|---|
|  |  |  | ClearConfigDictionary<MainChapterConfig>(); | 
|---|
|  |  |  | // 清空 MainLevelConfig 字典 | 
|---|
|  |  |  | ClearConfigDictionary<MainLevelConfig>(); | 
|---|
|  |  |  | // 清空 NPCConfig 字典 | 
|---|
|  |  |  | ClearConfigDictionary<NPCConfig>(); | 
|---|
|  |  |  | // 清空 NPCExConfig 字典 | 
|---|
|  |  |  | ClearConfigDictionary<NPCExConfig>(); | 
|---|
|  |  |  | // 清空 NPCLineupConfig 字典 | 
|---|
|  |  |  | ClearConfigDictionary<NPCLineupConfig>(); | 
|---|
|  |  |  | // 清空 OrderInfoConfig 字典 | 
|---|
|  |  |  | ClearConfigDictionary<OrderInfoConfig>(); | 
|---|
|  |  |  | // 清空 PlayerAttrConfig 字典 | 
|---|
|  |  |  | ClearConfigDictionary<PlayerAttrConfig>(); | 
|---|
|  |  |  | // 清空 PlayerFaceConfig 字典 | 
|---|
|  |  |  | ClearConfigDictionary<PlayerFaceConfig>(); | 
|---|
|  |  |  | // 清空 PlayerLVConfig 字典 | 
|---|
|  |  |  | ClearConfigDictionary<PlayerLVConfig>(); | 
|---|
|  |  |  | // 清空 PlayerPropertyConfig 字典 | 
|---|
|  |  |  | ClearConfigDictionary<PlayerPropertyConfig>(); | 
|---|
|  |  |  | // 清空 priorbundleConfig 字典 | 
|---|
|  |  |  | ClearConfigDictionary<priorbundleConfig>(); | 
|---|
|  |  |  | // 清空 RealmConfig 字典 | 
|---|
|  |  |  | ClearConfigDictionary<RealmConfig>(); | 
|---|
|  |  |  | // 清空 RealmLVUPTaskConfig 字典 | 
|---|
|  |  |  | ClearConfigDictionary<RealmLVUPTaskConfig>(); | 
|---|
|  |  |  | // 清空 RuleConfig 字典 | 
|---|
|  |  |  | ClearConfigDictionary<RuleConfig>(); | 
|---|
|  |  |  | // 清空 SkillConfig 字典 | 
|---|
|  |  |  | ClearConfigDictionary<SkillConfig>(); | 
|---|
|  |  |  | // 清空 TaskConfig 字典 | 
|---|
|  |  |  | ClearConfigDictionary<TaskConfig>(); | 
|---|
|  |  |  | // 清空 PriorBundleConfig 字典 | 
|---|
|  |  |  | ClearConfigDictionary<PriorBundleConfig>(); | 
|---|
|  |  |  | // 清空 StoreConfig 字典 | 
|---|
|  |  |  | ClearConfigDictionary<StoreConfig>(); | 
|---|
|  |  |  | // 清空 SuccessConfig 字典 | 
|---|
|  |  |  | ClearConfigDictionary<SuccessConfig>(); | 
|---|
|  |  |  | // 清空 SysInfoConfig 字典 | 
|---|
|  |  |  | ClearConfigDictionary<SysInfoConfig>(); | 
|---|
|  |  |  | // 清空 TitleStarUpConfig 字典 | 
|---|
|  |  |  | ClearConfigDictionary<TitleStarUpConfig>(); | 
|---|
|  |  |  | // 清空 TreasureCntAwardConfig 字典 | 
|---|
|  |  |  | ClearConfigDictionary<TreasureCntAwardConfig>(); | 
|---|
|  |  |  | // 清空 TreasureItemLibConfig 字典 | 
|---|
|  |  |  | ClearConfigDictionary<TreasureItemLibConfig>(); | 
|---|
|  |  |  | // 清空 TreasureSetConfig 字典 | 
|---|
|  |  |  | ClearConfigDictionary<TreasureSetConfig>(); | 
|---|
|  |  |  | // 清空 TreeLVConfig 字典 | 
|---|
|  |  |  | ClearConfigDictionary<TreeLVConfig>(); | 
|---|
|  |  |  | // 清空 WindowSearchConfig 字典 | 
|---|
|  |  |  | ClearConfigDictionary<WindowSearchConfig>(); | 
|---|
|  |  |  | // 清空 XBGetItemConfig 字典 | 
|---|
|  |  |  | ClearConfigDictionary<XBGetItemConfig>(); | 
|---|
|  |  |  | } | 
|---|