static int IsAudlt(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); SDKInterface obj = (SDKInterface)ToLua.CheckObject <SDKInterface>(L, 1); bool o = obj.IsAudlt(); LuaDLL.lua_pushboolean(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }