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

Function NetworkClientRequestMove

src/network/network_client.cpp:1214–1217  ·  view source on GitHub ↗

* Notify the server of this client wanting to be moved to another company. * @param company_id id of the company the client wishes to be moved to. */

Source from the content-addressed store, hash-verified

1212 * @param company_id id of the company the client wishes to be moved to.
1213 */
1214void NetworkClientRequestMove(CompanyID company_id)
1215{
1216 MyClient::SendMove(company_id);
1217}
1218
1219/**
1220 * Move the clients of a company to the spectators.

Callers 4

MenuClickCompanyFunction · 0.85
ConJoinCompanyFunction · 0.85
OnClickMethod · 0.85
OnClickCompanyJoinMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected