Exemplo n.º 1
0
 static int OnReset(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 4);
         UI.HandleState obj  = (UI.HandleState)ToLua.CheckObject(L, 1, typeof(UI.HandleState));
         UI.Handle      arg0 = (UI.Handle)ToLua.CheckObject(L, 2, typeof(UI.Handle));
         bool           arg1 = LuaDLL.luaL_checkboolean(L, 3);
         bool           arg2 = LuaDLL.luaL_checkboolean(L, 4);
         obj.OnReset(arg0, arg1, arg2);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }