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

Method Close

src/bootstrap_gui.cpp:209–213  ·  view source on GitHub ↗

Stop listening to the content client events. */

Source from the content-addressed store, hash-verified

207
208 /** Stop listening to the content client events. */
209 void Close([[maybe_unused]] int data = 0) override
210 {
211 _network_content_client.RemoveCallback(this);
212 this->Window::Close();
213 }
214
215 void UpdateWidgetSize(WidgetID widget, Dimension &size, [[maybe_unused]] const Dimension &padding, [[maybe_unused]] Dimension &fill, [[maybe_unused]] Dimension &resize) override
216 {

Callers 2

OnConnectMethod · 0.95
OnReceiveContentInfoMethod · 0.95

Calls 1

RemoveCallbackMethod · 0.80

Tested by

no test coverage detected