* Check whether the client is actually connected (and in the game). * @return True when the client is connected. */
| 482 | * @return True when the client is connected. |
| 483 | */ |
| 484 | bool ClientNetworkGameSocketHandler::IsConnected() |
| 485 | { |
| 486 | return my_client != nullptr && my_client->status == STATUS_ACTIVE; |
| 487 | } |
| 488 | |
| 489 | |
| 490 | /*********** |