| 310 | } |
| 311 | |
| 312 | void OnConnect(bool success) override |
| 313 | { |
| 314 | if (!success) { |
| 315 | EM_ASM({ if (window["openttd_bootstrap_failed"]) openttd_bootstrap_failed(); }); |
| 316 | return; |
| 317 | } |
| 318 | |
| 319 | /* Once connected, request the metadata. */ |
| 320 | _network_content_client.RequestContentList(CONTENT_TYPE_BASE_GRAPHICS); |
| 321 | } |
| 322 | |
| 323 | void OnReceiveContentInfo(const ContentInfo &ci) override |
| 324 | { |
nothing calls this directly
no test coverage detected