* Tell the admin that a new company was founded. * @param company_id The company that was founded. */
| 305 | * @param company_id The company that was founded. |
| 306 | */ |
| 307 | NetworkRecvStatus ServerNetworkAdminSocketHandler::SendCompanyNew(CompanyID company_id) |
| 308 | { |
| 309 | auto p = std::make_unique<Packet>(this, ADMIN_PACKET_SERVER_COMPANY_NEW); |
| 310 | p->Send_uint8(company_id); |
| 311 | |
| 312 | this->SendPacket(std::move(p)); |
| 313 | |
| 314 | return NETWORK_RECV_STATUS_OKAY; |
| 315 | } |
| 316 | |
| 317 | /** |
| 318 | * Send the admin some information about a company. |
no test coverage detected