示例#1
0
        public override BaseEvent Clone()
        {
            SetNextSkillTargetTick setNextSkillTargetTick = ClassObjPool <SetNextSkillTargetTick> .Get();

            setNextSkillTargetTick.CopyData(this);
            return(setNextSkillTargetTick);
        }
示例#2
0
        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;
        }