Exemple #1
0
        public override BaseEvent Clone()
        {
            GetSubObjectTick tick = ClassObjPool <GetSubObjectTick> .Get();

            tick.CopyData(this);
            return(tick);
        }
Exemple #2
0
        protected override void CopyData(BaseEvent src)
        {
            base.CopyData(src);
            GetSubObjectTick tick = src as GetSubObjectTick;

            this.targetId      = tick.targetId;
            this.parentId      = tick.parentId;
            this.isGetByName   = tick.isGetByName;
            this.subObjectName = tick.subObjectName;
        }