Пример #1
0
 static public int get_StartTime(IntPtr l)
 {
     try {
         SkillSystem.ISkillTriger self = (SkillSystem.ISkillTriger)checkSelf(l);
         pushValue(l, true);
         pushValue(l, self.StartTime);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Пример #2
0
 static public int Reset(IntPtr l)
 {
     try {
         SkillSystem.ISkillTriger self = (SkillSystem.ISkillTriger)checkSelf(l);
         self.Reset();
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Пример #3
0
 static public int set_StartTime(IntPtr l)
 {
     try {
         SkillSystem.ISkillTriger self = (SkillSystem.ISkillTriger)checkSelf(l);
         System.Int64             v;
         checkType(l, 2, out v);
         self.StartTime = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Пример #4
0
 static public int set_IsFinal(IntPtr l)
 {
     try {
         SkillSystem.ISkillTriger self = (SkillSystem.ISkillTriger)checkSelf(l);
         bool v;
         checkType(l, 2, out v);
         self.IsFinal = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Пример #5
0
 static public int set_OrderInSection(IntPtr l)
 {
     try {
         SkillSystem.ISkillTriger self = (SkillSystem.ISkillTriger)checkSelf(l);
         int v;
         checkType(l, 2, out v);
         self.OrderInSection = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Пример #6
0
 static public int Init(IntPtr l)
 {
     try {
         SkillSystem.ISkillTriger self = (SkillSystem.ISkillTriger)checkSelf(l);
         Dsl.ISyntaxComponent     a1;
         checkType(l, 2, out a1);
         SkillSystem.SkillInstance a2;
         checkType(l, 3, out a2);
         self.Init(a1, a2);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Пример #7
0
 static public int Execute(IntPtr l)
 {
     try {
         SkillSystem.ISkillTriger self = (SkillSystem.ISkillTriger)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));
     }
 }