Tell the admin the date. */
| 205 | |
| 206 | /** Tell the admin the date. */ |
| 207 | NetworkRecvStatus ServerNetworkAdminSocketHandler::SendDate() |
| 208 | { |
| 209 | auto p = std::make_unique<Packet>(this, ADMIN_PACKET_SERVER_DATE); |
| 210 | |
| 211 | p->Send_uint32(TimerGameCalendar::date.base()); |
| 212 | this->SendPacket(std::move(p)); |
| 213 | |
| 214 | return NETWORK_RECV_STATUS_OKAY; |
| 215 | } |
| 216 | |
| 217 | /** |
| 218 | * Tell the admin that a client joined. |
no test coverage detected