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

Function CompanyAdminUpdate

src/company_cmd.cpp:858–861  ·  view source on GitHub ↗

* Called whenever company related information changes in order to notify admins. * @param company The company data changed of. */

Source from the content-addressed store, hash-verified

856 * @param company The company data changed of.
857 */
858void CompanyAdminUpdate(const Company *company)
859{
860 if (_network_server) NetworkAdminCompanyUpdate(company);
861}
862
863/**
864 * Called whenever a company is removed in order to notify admins.

Callers 4

CmdSetCompanyColourFunction · 0.85
CmdRenameCompanyFunction · 0.85
CmdRenamePresidentFunction · 0.85
CompanyCheckBankruptFunction · 0.85

Calls 1

Tested by

no test coverage detected