MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / Close

Method Close

src/network/network_gui.cpp:2151–2155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2149 }
2150
2151 void Close(int data = 0) override
2152 {
2153 if (data == NRWCD_UNHANDLED) _network_coordinator_client.ConnectFailure(this->token, 0);
2154 this->Window::Close();
2155 }
2156
2157 void UpdateWidgetSize(WidgetID widget, Dimension &size, [[maybe_unused]] const Dimension &padding, [[maybe_unused]] Dimension &fill, [[maybe_unused]] Dimension &resize) override
2158 {

Callers 2

OnClickMethod · 0.95
OnClickMethod · 0.45

Calls 1

ConnectFailureMethod · 0.45

Tested by

no test coverage detected