Inheritance: Hugula.Loader.CResLoader
Exemplo n.º 1
0
 static public int get_onProgressFn(IntPtr l)
 {
     try {
         Hugula.Loader.LResLoader self = (Hugula.Loader.LResLoader)checkSelf(l);
         pushValue(l, true);
         pushValue(l, self.onProgressFn);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Exemplo n.º 2
0
 static public int RemoveAllEvents(IntPtr l)
 {
     try {
         Hugula.Loader.LResLoader self = (Hugula.Loader.LResLoader)checkSelf(l);
         self.RemoveAllEvents();
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Exemplo n.º 3
0
 static public int set_onProgressFn(IntPtr l)
 {
     try {
         Hugula.Loader.LResLoader self = (Hugula.Loader.LResLoader)checkSelf(l);
         SLua.LuaFunction         v;
         checkType(l, 2, out v);
         self.onProgressFn = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Exemplo n.º 4
0
 static public int LoadLuaTable(IntPtr l)
 {
     try {
         Hugula.Loader.LResLoader self = (Hugula.Loader.LResLoader)checkSelf(l);
         SLua.LuaTable            a1;
         checkType(l, 2, out a1);
         System.Action <System.Object> a2;
         LuaDelegation.checkDelegate(l, 3, out a2);
         System.Action <Hugula.Loader.LoadingEventArg> a3;
         LuaDelegation.checkDelegate(l, 4, out a3);
         self.LoadLuaTable(a1, a2, a3);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }