facetotarget(starttime,remaintime[,rotate,selecttype]);
상속: AbstractSkillTriger
예제 #1
0
        protected override ISkillTriger OnClone()
        {
            FaceToTargetTrigger copy = new FaceToTargetTrigger();

            copy.m_RemainTime        = m_RemainTime;
            copy.m_IsHaveRotateSpeed = m_IsHaveRotateSpeed;
            copy.m_RotateSpeed       = m_RotateSpeed;
            copy.m_SelectTargetType  = m_SelectTargetType;
            return(copy);
        }
 static public int Reset(IntPtr l)
 {
     try {
         GameFramework.Skill.Trigers.FaceToTargetTrigger self = (GameFramework.Skill.Trigers.FaceToTargetTrigger)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.FaceToTargetTrigger o;
         o = new GameFramework.Skill.Trigers.FaceToTargetTrigger();
         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.FaceToTargetTrigger self = (GameFramework.Skill.Trigers.FaceToTargetTrigger)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()
        {
            FaceToTargetTrigger copy = new FaceToTargetTrigger();

            copy.m_RemainTime = m_RemainTime;
            copy.m_IsHaveRotateSpeed = m_IsHaveRotateSpeed;
            copy.m_RotateSpeed = m_RotateSpeed;
            copy.m_SelectTargetType = m_SelectTargetType;
                        copy.m_RealSelectTargetType = m_RealSelectTargetType;
            return copy;
        }