void S_SyncSkill_0x822(S_SyncSkill_0x822 msg) { Debug.LogFormat("<color=yellow> =====receive pvp use skill :{0}====</color>", msg.skill_id); if (!War.isGameing) { return; } War.skillWarManager.DealSkillForPvp(msg); }
public static S_SyncSkill_0x822 To__S_SyncSkill_0x822(C_SyncSkill_0x822 c) { S_SyncSkill_0x822 msg = new S_SyncSkill_0x822(); msg.uid = c.uid; msg.skill_id = c.skill_id; msg.skill_id_2 = c.skill_id_2; msg.src_id = c.src_id; for (int i = 0; i < c.skill_effect_item.Count; i++) { msg.skill_effect_item.Add(c.skill_effect_item[i]); } for (int i = 0; i < c.skill2_effect_item.Count; i++) { msg.skill2_effect_item.Add(c.skill2_effect_item[i]); } return(msg); }
/** 技能 */ public void ExeSkill(S_SyncSkill_0x822 msg) { War.skillWarManager.DealSkillForPvp(msg); }