| 527 | } |
| 528 | |
| 529 | void NetworkBase::UpdateServer() |
| 530 | { |
| 531 | for (auto& connection : client_connection_list) |
| 532 | { |
| 533 | // This can be called multiple times before the connection is removed. |
| 534 | if (!connection->isValid()) |
| 535 | continue; |
| 536 | |
| 537 | connection->update(); |
| 538 | } |
| 539 | } |
| 540 | |
| 541 | void NetworkBase::TickServer() |
| 542 | { |