Beispiel #1
0
 static public int get_name(IntPtr l)
 {
     try {
         BSFramework.Bundle self = (BSFramework.Bundle)checkSelf(l);
         pushValue(l, true);
         pushValue(l, self.name);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Beispiel #2
0
 static public int UnLoad(IntPtr l)
 {
     try {
         BSFramework.Bundle self = (BSFramework.Bundle)checkSelf(l);
         self.UnLoad();
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Beispiel #3
0
 static public int set_name(IntPtr l)
 {
     try {
         BSFramework.Bundle self = (BSFramework.Bundle)checkSelf(l);
         System.String      v;
         checkType(l, 2, out v);
         self.name = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Beispiel #4
0
 static public int LoadAssetAsync(IntPtr l)
 {
     try {
         BSFramework.Bundle self = (BSFramework.Bundle)checkSelf(l);
         System.String      a1;
         checkType(l, 2, out a1);
         System.Type a2;
         checkType(l, 3, out a2);
         var ret = self.LoadAssetAsync(a1, a2);
         pushValue(l, true);
         pushValue(l, ret);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Beispiel #5
0
 static public int constructor(IntPtr l)
 {
     try {
         BSFramework.Bundle o;
         System.String      a1;
         checkType(l, 2, out a1);
         System.String a2;
         checkType(l, 3, out a2);
         System.String a3;
         checkType(l, 4, out a3);
         o = new BSFramework.Bundle(a1, a2, a3);
         pushValue(l, true);
         pushValue(l, o);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }