static int CloseWeb(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); GameSocket obj = (GameSocket)ToLua.CheckObject <GameSocket>(L, 1); obj.CloseWeb(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int CloseWeb(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); GameSocket obj = (GameSocket)ToLua.CheckObject <GameSocket>(L, 1); obj.CloseWeb(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }