OpenTTD Source
20241121-master-g67a0fccfad
|
Asynchronous callback. More...
Public Member Functions | |
void | OnConnect (bool success) override |
void | OnDisconnect () override |
Callback for when the connection got disconnected. | |
void | OnDownloadComplete (ContentID cid) override |
Public Member Functions inherited from ContentCallback | |
virtual void | OnConnect ([[maybe_unused]] bool success) |
Callback for when the connection has finished. More... | |
virtual void | OnReceiveContentInfo ([[maybe_unused]] const ContentInfo *ci) |
We received a content info. More... | |
virtual void | OnDownloadProgress ([[maybe_unused]] const ContentInfo *ci, [[maybe_unused]] int bytes) |
We have progress in the download of a file. More... | |
virtual void | OnDownloadComplete ([[maybe_unused]] ContentID cid) |
We have finished downloading a file. More... | |
virtual | ~ContentCallback ()=default |
Silentium. | |
Asynchronous callback.
Definition at line 2112 of file console_cmds.cpp.