void BuildContentTypeStringList()
Build array of all strings corresponding to the content types.
~BaseNetworkContentDownloadStatusWindow()
Free everything associated with this window.
Callbacks for notifying others about incoming data.
virtual void DrawWidget(const Rect &r, int widget) const
Draw the contents of a nested widget.
Part of the network protocol handling content distribution.
virtual void OnDownloadProgress(const ContentInfo *ci, int bytes)
We have progress in the download of a file.
uint total_bytes
Number of bytes to download.
char name[48]
The current name of the downloaded file.
uint downloaded_files
Number of files downloaded.
uint total_files
Number of files to download.
uint downloaded_bytes
Number of bytes downloaded.
BaseNetworkContentDownloadStatusWindow(WindowDesc *desc)
Create the window with the given description.
Base window for showing the download status of content.
uint32 cur_id
The current ID of the downloaded file.
Container for all important information about a piece of content.