示例#1
0
 static public int ForceExit(IntPtr l)
 {
     try {
         LBoot.LuaBaseBehaviour self = (LBoot.LuaBaseBehaviour)checkSelf(l);
         self.ForceExit();
         return(0);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
示例#2
0
 static public int get_Lua(IntPtr l)
 {
     try {
         LBoot.LuaBaseBehaviour self = (LBoot.LuaBaseBehaviour)checkSelf(l);
         pushValue(l, self.Lua);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
示例#3
0
 static public int set_Lua(IntPtr l)
 {
     try {
         LBoot.LuaBaseBehaviour self = (LBoot.LuaBaseBehaviour)checkSelf(l);
         SLua.LuaTable          v;
         checkType(l, 2, out v);
         self.Lua = v;
         return(0);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }