Esempio n. 1
0
 static public int IsLevelLoaded(IntPtr l)
 {
     try {
         mg.org.LevelMgr self = (mg.org.LevelMgr)checkSelf(l);
         System.String   a1;
         checkType(l, 2, out a1);
         var ret = self.IsLevelLoaded(a1);
         pushValue(l, true);
         pushValue(l, ret);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Esempio n. 2
0
 static public int LoadSync(IntPtr l)
 {
     try {
         mg.org.LevelMgr self = (mg.org.LevelMgr)checkSelf(l);
         System.String   a1;
         checkType(l, 2, out a1);
         System.Boolean a2;
         checkType(l, 3, out a2);
         self.LoadSync(a1, a2);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Esempio n. 3
0
 static public int LoadAsync(IntPtr l)
 {
     try {
         mg.org.LevelMgr self = (mg.org.LevelMgr)checkSelf(l);
         System.String   a1;
         checkType(l, 2, out a1);
         System.Boolean a2;
         checkType(l, 3, out a2);
         mg.org.CALLBACK_1 a3;
         checkDelegate(l, 4, out a3);
         System.Object a4;
         checkType(l, 5, out a4);
         var ret = self.LoadAsync(a1, a2, a3, a4);
         pushValue(l, true);
         pushValue(l, ret);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }