Пример #1
0
 public void LoadGameConfig(IFileLoader fileLoader, ConfigSetting cfgSetting)
 {
     this.LoadConfig <ClientServerCommon.PartnerConfig>(fileLoader, cfgSetting);
     this.LoadConfig <ClientServerCommon.StringsConfig>(fileLoader, cfgSetting);
     this.LoadConfig <ClientServerCommon.SceneConfig>(fileLoader, cfgSetting);
     this.LoadConfig <ClientServerCommon.AvatarAssetConfig>(fileLoader, cfgSetting);
     this.LoadConfig <ClientServerCommon.AnimationConfig>(fileLoader, cfgSetting);
     this.LoadConfig <ClientServerCommon.ActionConfig>(fileLoader, cfgSetting);
     this.LoadConfig <ClientServerCommon.EquipmentConfig>(fileLoader, cfgSetting);
     this.LoadConfig <ClientServerCommon.AvatarConfig>(fileLoader, cfgSetting);
     this.LoadConfig <ClientServerCommon.LevelConfig>(fileLoader, cfgSetting);
     this.LoadConfig <ClientServerCommon.GameConfig>(fileLoader, cfgSetting);
     this.LoadConfig <ClientServerCommon.AssetDescConfig>(fileLoader, cfgSetting);
     this.LoadConfig <ClientServerCommon.ItemConfig>(fileLoader, cfgSetting);
     this.LoadConfig <ClientServerCommon.GoodConfig>(fileLoader, cfgSetting);
     this.LoadConfig <ClientServerCommon.SkillConfig>(fileLoader, cfgSetting);
     this.LoadConfig <ClientServerCommon.CampaignConfig>(fileLoader, cfgSetting);
     this.LoadConfig <ClientServerCommon.ArenaConfig>(fileLoader, cfgSetting);
     this.LoadConfig <ClientServerCommon.DailySignInConfig>(fileLoader, cfgSetting);
     this.LoadConfig <ClientServerCommon.InitPlayerConfig>(fileLoader, cfgSetting);
     this.LoadConfig <ClientServerCommon.PveConfig>(fileLoader, cfgSetting);
     this.LoadConfig <ClientServerCommon.ClientManifest>(fileLoader, cfgSetting);
     this.LoadConfig <ClientServerCommon.GuideConfig>(fileLoader, cfgSetting);
     this.LoadConfig <ClientServerCommon.AppleGoodConfig>(fileLoader, cfgSetting);
     this.LoadConfig <ClientServerCommon.VipConfig>(fileLoader, cfgSetting);
     this.LoadConfig <ClientServerCommon.TaskConfig>(fileLoader, cfgSetting);
     this.LoadConfig <ClientServerCommon.DialogueConfig>(fileLoader, cfgSetting);
     this.LoadConfig <ClientServerCommon.LocalNotificationConfig>(fileLoader, cfgSetting);
     this.LoadConfig <ClientServerCommon.LevelRewardConfig>(fileLoader, cfgSetting);
     this.LoadConfig <ClientServerCommon.TavernConfig>(fileLoader, cfgSetting);
     this.LoadConfig <ClientServerCommon.TutorialConfig>(fileLoader, cfgSetting);
     this.LoadConfig <ClientServerCommon.QuestConfig>(fileLoader, cfgSetting);
     this.LoadConfig <ClientServerCommon.MeridianConfig>(fileLoader, cfgSetting);
     this.LoadConfig <ClientServerCommon.MysteryShopConfig>(fileLoader, cfgSetting);
     this.LoadConfig <ClientServerCommon.StartServerRewardConfig>(fileLoader, cfgSetting);
     this.LoadConfig <ClientServerCommon.DomineerConfig>(fileLoader, cfgSetting);
     this.LoadConfig <ClientServerCommon.PositionConfig>(fileLoader, cfgSetting);
     this.LoadConfig <ClientServerCommon.SuiteConfig>(fileLoader, cfgSetting);
     this.LoadConfig <ClientServerCommon.DinerConfig>(fileLoader, cfgSetting);
     this.LoadConfig <ClientServerCommon.IllustrationConfig>(fileLoader, cfgSetting);
     this.LoadConfig <ClientServerCommon.LevelRewardConfig>(fileLoader, cfgSetting);
     this.LoadConfig <ClientServerCommon.TreasureBowlConfig>(fileLoader, cfgSetting);
     this.LoadConfig <ClientServerCommon.MonthCardConfig>(fileLoader, cfgSetting);
     this.LoadConfig <ClientServerCommon.MarvellousAdventureConfig>(fileLoader, cfgSetting);
     this.LoadConfig <ClientServerCommon.MelaleucaFloorConfig>(fileLoader, cfgSetting);
     this.LoadConfig <ClientServerCommon.WolfSmokeConfig>(fileLoader, cfgSetting);
     this.LoadConfig <ClientServerCommon.DanConfig>(fileLoader, cfgSetting);
     this.LoadConfig <ClientServerCommon.IllusionConfig>(fileLoader, cfgSetting);
     this.LoadConfig <ClientServerCommon.FriendCampaignConfig>(fileLoader, cfgSetting);
     this.LoadConfig <ClientServerCommon.SpecialGoodsConfig>(fileLoader, cfgSetting);
     this.LoadConfig <ClientServerCommon.QinInfoConfig>(fileLoader, cfgSetting);
     this.LoadConfig <ClientServerCommon.FriendConfig>(fileLoader, cfgSetting);
     this.LoadConfig <ClientServerCommon.OperationConfig>(fileLoader, cfgSetting);
     this.LoadConfig <ClientServerCommon.SevenElevenGiftConfig>(fileLoader, cfgSetting);
     this.LoadConfig <ClientServerCommon.GuildConfig>(fileLoader, cfgSetting);
     this.LoadConfig <ClientServerCommon.GuildPublicShopConfig>(fileLoader, cfgSetting);
     this.LoadConfig <ClientServerCommon.GuildPrivateShopConfig>(fileLoader, cfgSetting);
     this.LoadConfig <ClientServerCommon.GuildExchangeShopConfig>(fileLoader, cfgSetting);
     this.LoadConfig <ClientServerCommon.GuildStageConfig>(fileLoader, cfgSetting);
     this.LoadConfig <ClientServerCommon.ChangeNameConfig>(fileLoader, cfgSetting);
     this.LoadConfig <ClientServerCommon.PowerConfig>(fileLoader, cfgSetting);
     this.LoadConfig <ClientServerCommon.BeastConfig>(fileLoader, cfgSetting);
 }
Пример #2
0
 public void LoadAll(IFileLoader fileLoader, ConfigSetting cfgSetting)
 {
     this.LoadConfig <ClientServerCommon.ClientConfig>(fileLoader, cfgSetting);
     this.LoadGameConfig(fileLoader, cfgSetting);
 }