public void Reset(BulletTriggerDuration InBulletTrigger) { this.length = InBulletTrigger.length; this.targetId = InBulletTrigger.targetId; this.destId = InBulletTrigger.destId; this.MoveType = InBulletTrigger.MoveType; this.targetPosition = InBulletTrigger.targetPosition; this.offsetDir = InBulletTrigger.offsetDir; this.velocity = InBulletTrigger.velocity; this.acceleration = InBulletTrigger.acceleration; this.distance = InBulletTrigger.distance; this.gravity = InBulletTrigger.gravity; this.bMoveRotate = InBulletTrigger.bMoveRotate; this.bAdjustSpeed = InBulletTrigger.bAdjustSpeed; this.bBulletUseDir = InBulletTrigger.bBulletUseDir; this.bUseIndicatorDir = InBulletTrigger.bUseIndicatorDir; this.bReachDestStop = InBulletTrigger.bReachDestStop; this.lastVelocity = (this.lastLerpVelocity = 0); this.stopLerpCondtion = false; this.bResetMoveDistance = false; this.bMoveOnXAxis = InBulletTrigger.bMoveOnXAxis; this.distanceZ0 = InBulletTrigger.distanceZ0; this.distanceZ1 = InBulletTrigger.distanceZ1; this.distanceX = InBulletTrigger.distanceX; }
public override BaseEvent Clone() { BulletTriggerDuration bulletTriggerDuration = ClassObjPool <BulletTriggerDuration> .Get(); bulletTriggerDuration.CopyData(this); return(bulletTriggerDuration); }
public void Reset(BulletTriggerDuration InBulletTrigger) { this.triggerId = InBulletTrigger.triggerId; this.attackerId = InBulletTrigger.attackerId; this.triggerInterval = InBulletTrigger.triggerInterval; this.bFilterEnemy = InBulletTrigger.bFilterEnemy; this.bFilterFriend = InBulletTrigger.bFilterFriend; this.bFilterHero = InBulletTrigger.bFilterHero; this.bFileterMonter = InBulletTrigger.bFileterMonter; this.bFileterOrgan = InBulletTrigger.bFileterOrgan; this.bFilterEye = true; this.bFilterDead = InBulletTrigger.bFilterDead; this.bFilterMyself = InBulletTrigger.bFilterMyself; this.TriggerActorCount = InBulletTrigger.TriggerActorCount; this.SelectMode = InBulletTrigger.SelectMode; this.TriggerActorInterval = InBulletTrigger.TriggerActorInterval; this.CollideMaxCount = InBulletTrigger.CollideMaxCount; this.bEdgeCheck = InBulletTrigger.bEdgeCheck; this.bExtraBuff = InBulletTrigger.bExtraBuff; this.SelfSkillCombineID_1 = InBulletTrigger.SelfSkillCombineID_1; this.SelfSkillCombineID_2 = InBulletTrigger.SelfSkillCombineID_2; this.SelfSkillCombineID_3 = InBulletTrigger.SelfSkillCombineID_3; this.TargetSkillCombine_1 = InBulletTrigger.TargetSkillCombine_1; this.TargetSkillCombine_2 = InBulletTrigger.TargetSkillCombine_2; this.TargetSkillCombine_3 = InBulletTrigger.TargetSkillCombine_3; this.bTriggerBullet = InBulletTrigger.bTriggerBullet; this.BulletActionName = InBulletTrigger.BulletActionName; this.bAgeImmeExcute = InBulletTrigger.bAgeImmeExcute; this.bTriggerMode = false; }
protected override void CopyData(BaseEvent src) { base.CopyData(src); BulletTriggerDuration bulletTriggerDuration = src as BulletTriggerDuration; this.triggerId = bulletTriggerDuration.triggerId; this.attackerId = bulletTriggerDuration.attackerId; this.triggerInterval = bulletTriggerDuration.triggerInterval; this.bFilterEnemy = bulletTriggerDuration.bFilterEnemy; this.bFilterFriend = bulletTriggerDuration.bFilterFriend; this.bFilterHero = bulletTriggerDuration.bFilterHero; this.bFileterMonter = bulletTriggerDuration.bFileterMonter; this.bFileterOrgan = bulletTriggerDuration.bFileterOrgan; this.bFilterMyself = bulletTriggerDuration.bFilterMyself; this.bFilterDead = bulletTriggerDuration.bFilterDead; this.TriggerActorCount = bulletTriggerDuration.TriggerActorCount; this.SelectMode = bulletTriggerDuration.SelectMode; this.TriggerActorInterval = bulletTriggerDuration.TriggerActorInterval; this.CollideMaxCount = bulletTriggerDuration.CollideMaxCount; this.bEdgeCheck = bulletTriggerDuration.bEdgeCheck; this.bExtraBuff = bulletTriggerDuration.bExtraBuff; this.SelfSkillCombineID_1 = bulletTriggerDuration.SelfSkillCombineID_1; this.SelfSkillCombineID_2 = bulletTriggerDuration.SelfSkillCombineID_2; this.SelfSkillCombineID_3 = bulletTriggerDuration.SelfSkillCombineID_3; this.TargetSkillCombine_1 = bulletTriggerDuration.TargetSkillCombine_1; this.TargetSkillCombine_2 = bulletTriggerDuration.TargetSkillCombine_2; this.TargetSkillCombine_3 = bulletTriggerDuration.TargetSkillCombine_3; this.bTriggerBullet = bulletTriggerDuration.bTriggerBullet; this.BulletActionName = bulletTriggerDuration.BulletActionName; this.targetId = bulletTriggerDuration.targetId; this.destId = bulletTriggerDuration.destId; this.MoveType = bulletTriggerDuration.MoveType; this.targetPosition = bulletTriggerDuration.targetPosition; this.offsetDir = bulletTriggerDuration.offsetDir; this.velocity = bulletTriggerDuration.velocity; this.distance = bulletTriggerDuration.distance; this.gravity = bulletTriggerDuration.gravity; this.bMoveRotate = bulletTriggerDuration.bMoveRotate; this.bAdjustSpeed = bulletTriggerDuration.bAdjustSpeed; this.bBulletUseDir = bulletTriggerDuration.bBulletUseDir; this.bUseIndicatorDir = bulletTriggerDuration.bUseIndicatorDir; this.bReachDestStop = bulletTriggerDuration.bReachDestStop; this.acceleration = bulletTriggerDuration.acceleration; this.DependCheckType = bulletTriggerDuration.DependCheckType; this.bMoveOnXAxis = bulletTriggerDuration.bMoveOnXAxis; this.distanceZ0 = bulletTriggerDuration.distanceZ0; this.distanceZ1 = bulletTriggerDuration.distanceZ1; this.distanceX = bulletTriggerDuration.distanceX; this.HitTriggerContext.CopyData(ref bulletTriggerDuration.HitTriggerContext); this.MoveBulletContext.CopyData(ref bulletTriggerDuration.MoveBulletContext); }
public void Reset(BulletTriggerDuration InBulletTrigger) { this.length = InBulletTrigger.length; this.targetId = InBulletTrigger.targetId; this.destId = InBulletTrigger.destId; this.MoveType = InBulletTrigger.MoveType; this.targetPosition = InBulletTrigger.targetPosition; this.offsetDir = InBulletTrigger.offsetDir; this.velocity = InBulletTrigger.velocity; this.distance = InBulletTrigger.distance; this.gravity = InBulletTrigger.gravity; this.bMoveRotate = InBulletTrigger.bMoveRotate; this.bAdjustSpeed = InBulletTrigger.bAdjustSpeed; }
public void Reset(BulletTriggerDuration InBulletTrigger) { this.length = InBulletTrigger.length; this.targetId = InBulletTrigger.targetId; this.destId = InBulletTrigger.destId; this.MoveType = InBulletTrigger.MoveType; this.targetPosition = InBulletTrigger.targetPosition; this.offsetDir = InBulletTrigger.offsetDir; this.velocity = InBulletTrigger.velocity; this.acceleration = InBulletTrigger.acceleration; this.distance = InBulletTrigger.distance; this.gravity = InBulletTrigger.gravity; this.bMoveRotate = InBulletTrigger.bMoveRotate; this.bAdjustSpeed = InBulletTrigger.bAdjustSpeed; this.bBulletUseDir = InBulletTrigger.bBulletUseDir; this.lastVelocity = this.lastLerpVelocity = 0; this.stopLerpCondtion = false; }
protected override void CopyData(BaseEvent src) { base.CopyData(src); BulletTriggerDuration duration = src as BulletTriggerDuration; this.triggerId = duration.triggerId; this.attackerId = duration.attackerId; this.triggerInterval = duration.triggerInterval; this.bFilterEnemy = duration.bFilterEnemy; this.bFilterFriend = duration.bFilterFriend; this.bFilterHero = duration.bFilterHero; this.bFileterMonter = duration.bFileterMonter; this.bFileterOrgan = duration.bFileterOrgan; this.bFilterMyself = duration.bFilterMyself; this.bFilterDead = duration.bFilterDead; this.TriggerActorCount = duration.TriggerActorCount; this.TriggerActorInterval = duration.TriggerActorInterval; this.CollideMaxCount = duration.CollideMaxCount; this.bEdgeCheck = duration.bEdgeCheck; this.bExtraBuff = duration.bExtraBuff; this.SelfSkillCombineID_1 = duration.SelfSkillCombineID_1; this.SelfSkillCombineID_2 = duration.SelfSkillCombineID_2; this.SelfSkillCombineID_3 = duration.SelfSkillCombineID_3; this.TargetSkillCombine_1 = duration.TargetSkillCombine_1; this.TargetSkillCombine_2 = duration.TargetSkillCombine_2; this.TargetSkillCombine_3 = duration.TargetSkillCombine_3; this.bTriggerBullet = duration.bTriggerBullet; this.BulletActionName = duration.BulletActionName; this.targetId = duration.targetId; this.destId = duration.destId; this.MoveType = duration.MoveType; this.targetPosition = duration.targetPosition; this.offsetDir = duration.offsetDir; this.velocity = duration.velocity; this.distance = duration.distance; this.gravity = duration.gravity; this.bMoveRotate = duration.bMoveRotate; this.bAdjustSpeed = duration.bAdjustSpeed; this.DependCheckType = duration.DependCheckType; this.HitTriggerContext.CopyData(ref duration.HitTriggerContext); this.MoveBulletContext.CopyData(ref duration.MoveBulletContext); }