* Send a notification indicating the rcon command has completed. * @param command The original command sent. */
| 459 | * @param command The original command sent. |
| 460 | */ |
| 461 | NetworkRecvStatus ServerNetworkAdminSocketHandler::SendRconEnd(std::string_view command) |
| 462 | { |
| 463 | auto p = std::make_unique<Packet>(this, ADMIN_PACKET_SERVER_RCON_END); |
| 464 | |
| 465 | p->Send_string(command); |
| 466 | this->SendPacket(std::move(p)); |
| 467 | |
| 468 | return NETWORK_RECV_STATUS_OKAY; |
| 469 | } |
| 470 | |
| 471 | /** |
| 472 | * Send the reply of an rcon command. |
no test coverage detected