Ejemplo n.º 1
0
        public override BaseEvent Clone()
        {
            SkillFuncDuration duration = ClassObjPool <SkillFuncDuration> .Get();

            duration.CopyData(this);
            return(duration);
        }
Ejemplo n.º 2
0
        protected override void CopyData(BaseEvent src)
        {
            base.CopyData(src);
            SkillFuncDuration duration = src as SkillFuncDuration;

            this.SkillFuncType = duration.SkillFuncType;
            this.m_context     = duration.m_context;
            this.m_bSucceeded  = duration.m_bSucceeded;
            this.bInit         = duration.bInit;
        }