static int ProcessIpAndAddressFamily(IntPtr L) { try { ToLua.CheckArgsCount(L, 4); GameSDKInterface obj = (GameSDKInterface)ToLua.CheckObject <GameSDKInterface>(L, 1); string arg0 = ToLua.CheckString(L, 2); string arg1 = null; System.Net.Sockets.AddressFamily arg2; bool o = obj.ProcessIpAndAddressFamily(arg0, out arg1, out arg2); LuaDLL.lua_pushboolean(L, o); LuaDLL.lua_pushstring(L, arg1); ToLua.Push(L, arg2); return(3); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }