OpenTTD Source: ConsoleContentCallback Struct Reference

OpenTTD Source 14.0-beta1

Public Member Functions
ConsoleContentCallback Struct Reference

Asynchronous callback. More...

Inheritance diagram for ConsoleContentCallback:

## 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.

## Detailed Description

Asynchronous callback.

Definition at line 1953 of file console_cmds.cpp.

The documentation for this struct was generated from the following file:

- src/console_cmds.cpp