periodicallyimpact(starttime, center_x, center_y, center_z, relativeToTarget, duration, interval);
Наследование: AbstractSkillTriger
        protected override ISkillTriger OnClone()
        {
            PeriodicallyImpactTrigger copy = new PeriodicallyImpactTrigger();

            copy.m_RelativeCenter   = m_RelativeCenter;
            copy.m_RelativeToTarget = m_RelativeToTarget;
            copy.m_DurationTime     = m_DurationTime;
            copy.m_IntervalTime     = m_IntervalTime;
            return(copy);
        }
Пример #2
0
 static public int Reset(IntPtr l)
 {
     try {
         GameFramework.Skill.Trigers.PeriodicallyImpactTrigger self = (GameFramework.Skill.Trigers.PeriodicallyImpactTrigger)checkSelf(l);
         self.Reset();
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Пример #3
0
 static public int constructor(IntPtr l)
 {
     try {
         GameFramework.Skill.Trigers.PeriodicallyImpactTrigger o;
         o = new GameFramework.Skill.Trigers.PeriodicallyImpactTrigger();
         pushValue(l, true);
         pushValue(l, o);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Пример #4
0
 static public int Execute(IntPtr l)
 {
     try {
         GameFramework.Skill.Trigers.PeriodicallyImpactTrigger self = (GameFramework.Skill.Trigers.PeriodicallyImpactTrigger)checkSelf(l);
         System.Object a1;
         checkType(l, 2, out a1);
         SkillSystem.SkillInstance a2;
         checkType(l, 3, out a2);
         System.Int64 a3;
         checkType(l, 4, out a3);
         System.Int64 a4;
         checkType(l, 5, out a4);
         var ret = self.Execute(a1, a2, a3, a4);
         pushValue(l, true);
         pushValue(l, ret);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
        protected override ISkillTriger OnClone()
        {
            PeriodicallyImpactTrigger copy = new PeriodicallyImpactTrigger();

            copy.m_RelativeCenter = m_RelativeCenter;
            copy.m_RelativeToTarget = m_RelativeToTarget;
            copy.m_DurationTime = m_DurationTime;
            copy.m_IntervalTime = m_IntervalTime;
                        return copy;
        }