curvemove(triggertime, is_lock_rotate, [movetime, speedx, speedy, speedz, accelx, accely, accelz]+)
Inheritance: AbstractSkillTriger
コード例 #1
0
        protected override ISkillTriger OnClone()
        {
            CurveMovementTrigger copy = new CurveMovementTrigger();

            copy.m_SectionList.AddRange(m_SectionList);
            copy.m_IsCurveMoving = true;
            copy.m_IsFreeMove    = m_IsFreeMove;
            return(copy);
        }
 static public int Reset(IntPtr l)
 {
     try {
         GameFramework.Skill.Trigers.CurveMovementTrigger self = (GameFramework.Skill.Trigers.CurveMovementTrigger)checkSelf(l);
         self.Reset();
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static public int constructor(IntPtr l)
 {
     try {
         GameFramework.Skill.Trigers.CurveMovementTrigger o;
         o = new GameFramework.Skill.Trigers.CurveMovementTrigger();
         pushValue(l, true);
         pushValue(l, o);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static public int Execute(IntPtr l)
 {
     try {
         GameFramework.Skill.Trigers.CurveMovementTrigger self = (GameFramework.Skill.Trigers.CurveMovementTrigger)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));
     }
 }
コード例 #5
0
        protected override ISkillTriger OnClone()
        {
            CurveMovementTrigger copy = new CurveMovementTrigger();

            copy.m_IsLockRotate = m_IsLockRotate;
            copy.m_SectionList.AddRange(m_SectionList);
            copy.m_IsCurveMoving = true;
                        return copy;
        }