public override BaseEvent Clone() { SetNextSkillTargetTick setNextSkillTargetTick = ClassObjPool <SetNextSkillTargetTick> .Get(); setNextSkillTargetTick.CopyData(this); return(setNextSkillTargetTick); }
protected override void CopyData(BaseEvent src) { base.CopyData(src); SetNextSkillTargetTick setNextSkillTargetTick = src as SetNextSkillTargetTick; this.targetId = setNextSkillTargetTick.targetId; this.nextSkillTargetID = setNextSkillTargetTick.nextSkillTargetID; this.slotType = setNextSkillTargetTick.slotType; this.clear = setNextSkillTargetTick.clear; }