public void Reset(HitTriggerDuration InTriggerDuration) { this.triggerId = InTriggerDuration.triggerId; this.attackerId = InTriggerDuration.attackerId; this.triggerInterval = InTriggerDuration.triggerInterval; this.bFilterEnemy = InTriggerDuration.bFilterEnemy; this.bFilterFriend = InTriggerDuration.bFilterFriend; this.bFilterHero = InTriggerDuration.bFilterHero; this.bFileterMonter = InTriggerDuration.bFileterMonter; this.bFileterOrgan = InTriggerDuration.bFileterOrgan; this.bFilterEye = InTriggerDuration.bFilterEye; this.bFilterDead = InTriggerDuration.bFilterDead; this.bFilterMyself = InTriggerDuration.bFilterMyself; this.TriggerActorCount = InTriggerDuration.TriggerActorCount; this.SelectMode = InTriggerDuration.SelectMode; this.TriggerActorInterval = InTriggerDuration.TriggerActorInterval; this.CollideMaxCount = InTriggerDuration.CollideMaxCount; this.bEdgeCheck = InTriggerDuration.bEdgeCheck; this.bExtraBuff = InTriggerDuration.bExtraBuff; this.SelfSkillCombineID_1 = InTriggerDuration.SelfSkillCombineID_1; this.SelfSkillCombineID_2 = InTriggerDuration.SelfSkillCombineID_2; this.SelfSkillCombineID_3 = InTriggerDuration.SelfSkillCombineID_3; this.TargetSkillCombine_1 = InTriggerDuration.TargetSkillCombine_1; this.TargetSkillCombine_2 = InTriggerDuration.TargetSkillCombine_2; this.TargetSkillCombine_3 = InTriggerDuration.TargetSkillCombine_3; this.bTriggerBullet = InTriggerDuration.bTriggerBullet; this.BulletActionName = InTriggerDuration.BulletActionName; this.bAgeImmeExcute = InTriggerDuration.bAgeImmeExcute; this.bUseTriggerObj = InTriggerDuration.bUseTriggerObj; this.bCheckSight = InTriggerDuration.bCheckSight; this.bTriggerMode = InTriggerDuration.bTriggerMode; }
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); }
protected override void CopyData(BaseEvent src) { base.CopyData(src); HitTriggerDuration hitTriggerDuration = src as HitTriggerDuration; this.triggerId = hitTriggerDuration.triggerId; this.attackerId = hitTriggerDuration.attackerId; this.triggerInterval = hitTriggerDuration.triggerInterval; this.bFilterEnemy = hitTriggerDuration.bFilterEnemy; this.bFilterFriend = hitTriggerDuration.bFilterFriend; this.bFilterHero = hitTriggerDuration.bFilterHero; this.bFileterMonter = hitTriggerDuration.bFileterMonter; this.bFileterOrgan = hitTriggerDuration.bFileterOrgan; this.bFilterEye = hitTriggerDuration.bFilterEye; this.bFilterMyself = hitTriggerDuration.bFilterMyself; this.bFilterDead = hitTriggerDuration.bFilterDead; this.bFilterDeadControlHero = hitTriggerDuration.bFilterDeadControlHero; this.bFilterCurrentTarget = hitTriggerDuration.bFilterCurrentTarget; this.bFilterMoveDirection = hitTriggerDuration.bFilterMoveDirection; this.Angle = hitTriggerDuration.Angle; this.TriggerActorCount = hitTriggerDuration.TriggerActorCount; this.SelectMode = hitTriggerDuration.SelectMode; this.TriggerActorInterval = hitTriggerDuration.TriggerActorInterval; this.CollideMaxCount = hitTriggerDuration.CollideMaxCount; this.bEdgeCheck = hitTriggerDuration.bEdgeCheck; this.bExtraBuff = hitTriggerDuration.bExtraBuff; this.SelfSkillCombineID_1 = hitTriggerDuration.SelfSkillCombineID_1; this.SelfSkillCombineID_2 = hitTriggerDuration.SelfSkillCombineID_2; this.SelfSkillCombineID_3 = hitTriggerDuration.SelfSkillCombineID_3; this.TargetSkillCombine_1 = hitTriggerDuration.TargetSkillCombine_1; this.TargetSkillCombine_2 = hitTriggerDuration.TargetSkillCombine_2; this.TargetSkillCombine_3 = hitTriggerDuration.TargetSkillCombine_3; this.bTriggerBullet = hitTriggerDuration.bTriggerBullet; this.BulletActionName = hitTriggerDuration.BulletActionName; this.bAgeImmeExcute = hitTriggerDuration.bAgeImmeExcute; this.bUseTriggerObj = hitTriggerDuration.bUseTriggerObj; this.bCheckSight = hitTriggerDuration.bCheckSight; this.bTriggerMode = hitTriggerDuration.bTriggerMode; this.bTriggerBounceBullet = hitTriggerDuration.bTriggerBounceBullet; this.TargetSkillLeaveRemove_1 = hitTriggerDuration.TargetSkillLeaveRemove_1; this.TargetSkillLeaveRemove_2 = hitTriggerDuration.TargetSkillLeaveRemove_2; this.TargetSkillLeaveRemove_3 = hitTriggerDuration.TargetSkillLeaveRemove_3; this.Context.CopyData(ref hitTriggerDuration.Context); }
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.bFilterDeadControlHero = true; this.bFilterCurrentTarget = false; this.bFilterMoveDirection = false; 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; this.bTriggerBounceBullet = false; this.TargetSkillLeaveRemove_1 = false; this.TargetSkillLeaveRemove_2 = false; this.TargetSkillLeaveRemove_3 = false; }
public HitTriggerDurationContext() { this.triggerId = 0; this.attackerId = 0; this.triggerInterval = 30; this.bFilterEnemy = false; this.bFilterFriend = true; this.bFilterHero = false; this.bFileterMonter = false; this.bFileterOrgan = false; this.bFilterMyself = true; this.bFilterDead = true; this.bFilterDeadControlHero = true; this.bFilterMoveDirection = false; this.Angle = -1; this.TriggerActorCount = -1; this.SelectMode = HitTriggerSelectMode.RandomMode; this.TriggerActorInterval = 30; this.CollideMaxCount = -1; this.bEdgeCheck = false; this.bExtraBuff = false; this.SelfSkillCombineID_1 = 0; this.SelfSkillCombineID_2 = 0; this.SelfSkillCombineID_3 = 0; this.TargetSkillCombine_1 = 0; this.TargetSkillCombine_2 = 0; this.TargetSkillCombine_3 = 0; this.bTriggerBullet = false; this.BulletActionName = null; this.bAgeImmeExcute = false; this.triggerHeroList = new List <PoolObjHandle <ActorRoot> >(); this.triggerMonsterList = new List <PoolObjHandle <ActorRoot> >(); this.triggerOrganList = new List <PoolObjHandle <ActorRoot> >(); this.triggerEyeList = new List <PoolObjHandle <ActorRoot> >(); this.triggerPriority = new List <PoolObjHandle <ActorRoot> >(); this.collidedActors = new List <PoolObjHandle <ActorRoot> >(); this.hit = false; this.residueActorCount = 0; this.collideCountMap = new Dictionary <uint, int>(); this.collideTimeMap = new Dictionary <uint, int>(); this.attackActor = default(PoolObjHandle <ActorRoot>); this.triggerActor = default(PoolObjHandle <ActorRoot>); this.lastTime = 0; this.localTime = 0; this.deltaTime = 0; this.bFirstProcess = true; this.bUseTriggerObj = true; this.bCheckSight = false; this.bHitTargetHero = false; this.HitTargetHeroPos = VInt3.zero; this._coordInActor = default(PoolObjHandle <ActorRoot>); this._coordShape = null; this._coordHandler = new SceneManagement.Process(this.FilterCoordActor); this.bTriggerMode = false; this.bTriggerBounceBullet = false; this.TriggeredBuffContextList = new List <HitTriggerDurationContext.STriggeredBuffContext>(); this.bFilterEye = true; this.TargetSkillLeaveRemove_1 = false; this.TargetSkillLeaveRemove_2 = false; this.TargetSkillLeaveRemove_3 = false; this.RemoveSkillList = new List <BuffSkill>(); this.skillContext = null; }