public static BlockConfigData LoadBlockConfigData() { Config.JsonReader reader = new Config.JsonReader(); BlockConfigData info = reader.LoadJsonDataConfig <BlockConfigData>(Config.JsonConfigPath.BlockConfigDataJsonPath); return(info); }
public void InitData() { _globalSetting = GlobalSetting.LoadGlobalSettting(); _playerConfig = PlayerConfig.LoadPlayerConfigData(); _rewardData = RewardData.LoadRewardData(); _exploreConfigData = ExploreGeneralConfig.LoadExploreConfigData(); _eventConfigData = EventConfig.LoadEventConfigData(); _assembleConfig = AssembleConfig.LoadAssembleConfigData(); _assemblePartsConfigData = AssemblePartsConfigData.LoadPartsCustomConfig(); _assembleShipPartConfigData = AssembleShipPartConfigData.LoadAssembleShipPartConfigData(); _mainShipConfigData = MainShipConfig.LoadMainShipConfig(); _mainShipMapConfig = MainShipMapConfig.LoadMainShipMapConfig(); _blockConfigData = BlockConfigData.LoadBlockConfigData(); _leaderPortraitConfig = LeaderPortraitConfig.LoadData(); }