* Send GameScript JSON output. * @param json The JSON string. */
| 548 | * @param json The JSON string. |
| 549 | */ |
| 550 | NetworkRecvStatus ServerNetworkAdminSocketHandler::SendGameScript(std::string_view json) |
| 551 | { |
| 552 | auto p = std::make_unique<Packet>(this, ADMIN_PACKET_SERVER_GAMESCRIPT); |
| 553 | |
| 554 | p->Send_string(json); |
| 555 | this->SendPacket(std::move(p)); |
| 556 | |
| 557 | return NETWORK_RECV_STATUS_OKAY; |
| 558 | } |
| 559 | |
| 560 | /** Send ping-reply (pong) to admin **/ |
| 561 | NetworkRecvStatus ServerNetworkAdminSocketHandler::SendPong(uint32_t d1) |
no test coverage detected