public override BaseEvent Clone() { GetSubObjectTick tick = ClassObjPool <GetSubObjectTick> .Get(); tick.CopyData(this); return(tick); }
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; }