Пример #1
0
 private static void SkinImpact(ref SysSkillMainVo baseData, ref SysSkillSkinVo skinData)
 {
     if (!SkillUtility.CheckStringDefault(skinData.skill_name))
     {
         baseData.skill_name = skinData.skill_name;
     }
     if (!SkillUtility.CheckStringDefault(skinData.skill_description))
     {
         baseData.skill_description = skinData.skill_description;
     }
     if (!SkillUtility.CheckStringDefault(skinData.skill_description2))
     {
         baseData.skill_description2 = skinData.skill_description2;
     }
     if (!SkillUtility.CheckStringDefault(skinData.skill_description3))
     {
         baseData.skill_description3 = skinData.skill_description3;
     }
     if (!SkillUtility.CheckStringDefault(skinData.skill_icon))
     {
         baseData.skill_icon = skinData.skill_icon;
     }
     if (!SkillUtility.CheckIntDefault(skinData.skill_index))
     {
         baseData.skill_index = skinData.skill_index;
     }
     if (!SkillUtility.CheckIntDefault(skinData.skill_type))
     {
         baseData.skill_type = skinData.skill_type;
     }
     if (!SkillUtility.CheckIntDefault(skinData.skill_logic_type))
     {
         baseData.skill_logic_type = skinData.skill_logic_type;
     }
     if (!SkillUtility.CheckIntDefault(skinData.skill_trigger))
     {
         baseData.skill_trigger = skinData.skill_trigger;
     }
     if (!SkillUtility.CheckIntDefault(skinData.skill_prop))
     {
         baseData.skill_prop = skinData.skill_prop;
     }
     if (!SkillUtility.CheckFloatDefault(skinData.distance))
     {
         baseData.distance = skinData.distance;
     }
     if (!SkillUtility.CheckStringDefault(skinData.target_type))
     {
         baseData.target_type = skinData.target_type;
     }
     if (!SkillUtility.CheckStringDefault(skinData.effective_range))
     {
         baseData.effective_range = skinData.effective_range;
     }
     if (!SkillUtility.CheckIntDefault(skinData.max_num))
     {
         baseData.max_num = skinData.max_num;
     }
     if (!SkillUtility.CheckStringDefault(skinData.need_target))
     {
         baseData.need_target = skinData.need_target;
     }
     if (!SkillUtility.CheckFloatDefault(skinData.sing_time))
     {
         baseData.sing_time = skinData.sing_time;
     }
     if (!SkillUtility.CheckStringDefault(skinData.guide_time))
     {
         baseData.guide_time = skinData.guide_time;
     }
     if (!SkillUtility.CheckIntDefault(skinData.interrupt))
     {
         baseData.interrupt = skinData.interrupt;
     }
     if (!SkillUtility.CheckStringDefault(skinData.cost))
     {
         baseData.cost = skinData.cost;
     }
     if (!SkillUtility.CheckFloatDefault(skinData.cost_upgrade))
     {
         baseData.cost_upgrade = skinData.cost_upgrade;
     }
     if (!SkillUtility.CheckStringDefault(skinData.skill_phase))
     {
         baseData.skill_phase = skinData.skill_phase;
     }
     if (!SkillUtility.CheckFloatDefault(skinData.skill_interval))
     {
         baseData.skill_interval = skinData.skill_interval;
     }
     if (!SkillUtility.CheckFloatDefault(skinData.cd))
     {
         baseData.cd = skinData.cd;
     }
     if (!SkillUtility.CheckFloatDefault(skinData.cd_upgrade))
     {
         baseData.cd_upgrade = skinData.cd_upgrade;
     }
     if (!SkillUtility.CheckFloatDefault(skinData.hard_cd))
     {
         baseData.hard_cd = skinData.hard_cd;
     }
     if (!SkillUtility.CheckStringDefault(skinData.skill_mutex))
     {
         baseData.skill_mutex = skinData.skill_mutex;
     }
     if (!SkillUtility.CheckStringDefault(skinData.ready_action_ids))
     {
         baseData.ready_action_ids = skinData.ready_action_ids;
     }
     if (!SkillUtility.CheckStringDefault(skinData.start_action_ids))
     {
         baseData.start_action_ids = skinData.start_action_ids;
     }
     if (!SkillUtility.CheckStringDefault(skinData.hit_action_ids))
     {
         baseData.hit_action_ids = skinData.hit_action_ids;
     }
     if (!SkillUtility.CheckStringDefault(skinData.end_action_ids))
     {
         baseData.end_action_ids = skinData.end_action_ids;
     }
     if (!SkillUtility.CheckStringDefault(skinData.init_higheff_ids))
     {
         baseData.init_higheff_ids = skinData.init_higheff_ids;
     }
     if (!SkillUtility.CheckStringDefault(skinData.start_higheff_ids))
     {
         baseData.start_higheff_ids = skinData.start_higheff_ids;
     }
     if (!SkillUtility.CheckStringDefault(skinData.hit_higheff_ids))
     {
         baseData.hit_higheff_ids = skinData.hit_higheff_ids;
     }
     if (!SkillUtility.CheckStringDefault(skinData.start_buff_ids))
     {
         baseData.start_buff_ids = skinData.start_buff_ids;
     }
     if (!SkillUtility.CheckStringDefault(skinData.hit_buff_ids))
     {
         baseData.hit_buff_ids = skinData.hit_buff_ids;
     }
     if (!SkillUtility.CheckIntDefault(skinData.hit_trigger_type))
     {
         baseData.hit_trigger_type = skinData.hit_trigger_type;
     }
     if (!SkillUtility.CheckStringDefault(skinData.hit_time))
     {
         baseData.hit_time = skinData.hit_time;
     }
     if (!SkillUtility.CheckStringDefault(skinData.damage_id))
     {
         baseData.damage_id = skinData.damage_id;
     }
 }