public override BaseEvent Clone() { GetLinkedActorTick getLinkedActorTick = ClassObjPool <GetLinkedActorTick> .Get(); getLinkedActorTick.CopyData(this); return(getLinkedActorTick); }
protected override void CopyData(BaseEvent src) { base.CopyData(src); GetLinkedActorTick getLinkedActorTick = src as GetLinkedActorTick; if (getLinkedActorTick != null) { this.tempId = getLinkedActorTick.tempId; this.srcId = getLinkedActorTick.srcId; this.bIsHostHeroGetCallActor = getLinkedActorTick.bIsHostHeroGetCallActor; this.bIsHostHeroGetMonster = getLinkedActorTick.bIsHostHeroGetMonster; this.bIsCallActorGetHostHero = getLinkedActorTick.bIsCallActorGetHostHero; this.bIsMonsterGetHostHero = getLinkedActorTick.bIsMonsterGetHostHero; } }