static int UnloadAll(IntPtr L) { try { ToLua.CheckArgsCount(L, 0); ABManager.UnloadAll(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }