Beispiel #1
0
        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);
            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);
        }