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

Method BaseNetworkContentDownloadStatusWindow

src/network/network_content_gui.cpp:106–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104);
105
106BaseNetworkContentDownloadStatusWindow::BaseNetworkContentDownloadStatusWindow(WindowDesc &desc) : Window(desc)
107{
108 _network_content_client.AddCallback(this);
109 _network_content_client.DownloadSelectedContent(this->total_files, this->total_bytes);
110
111 this->InitNested(WN_NETWORK_STATUS_WINDOW_CONTENT_DOWNLOAD);
112}
113
114void BaseNetworkContentDownloadStatusWindow::Close([[maybe_unused]] int data)
115{

Callers

nothing calls this directly

Calls 3

AddCallbackMethod · 0.80
InitNestedMethod · 0.80

Tested by

no test coverage detected