/** * @brief 读取数据 * * @param node * * @return */ public bool CollectData(SkillConfigType type, string file, string rootLabel) { bool result = false; switch (type) { case SkillConfigType.SCT_SKILL: { result = skillLogicDataMgr.CollectDataFromDBC(file, rootLabel); } break; case SkillConfigType.SCT_IMPACT: { result = impactLogicDataMgr.CollectDataFromDBC(file, rootLabel); } break; case SkillConfigType.SCT_EFFECT: { result = effectLogicDataMgr.CollectDataFromDBC(file, rootLabel); } break; case SkillConfigType.SCT_SOUND: { result = soundLogicDataMgr.CollectDataFromDBC(file, rootLabel); } break; default: { LogSystem.Assert(false, "SkillConfigProvider.CollectData type error!"); } break; } return(result); }