static int _m_Disconnect_xlua_st_(RealStatePtr L) { try { { NetWorkClient.Disconnect( ); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
public static int Disconnect(IntPtr l) { int result; try { NetWorkClient netWorkClient = (NetWorkClient)LuaObject.checkSelf(l); bool b = netWorkClient.Disconnect(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, b); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }