OpenTTD Source: src/network/network.h File Reference

OpenTTD Source 13.2.1

Functions | Variables
network.h File Reference

Go to the source code of this file.

## Functions
void | NetworkStartUp ()
| This tries to launch the network for a given OS.
void | NetworkShutDown ()
| This shuts the network down.
void | NetworkDrawChatMessage ()
| Draw the chat message-box.
bool | HasClients ()
| Return whether there is any client connected or trying to connect at all. More...

## Variables
bool | _networking
| are we in networking mode?
bool | _network_server
| network-server is active
bool | _network_available
| is network mode available?
bool | _network_dedicated
| are we a dedicated server?
bool | _is_network_server
| Does this client wants to be a network-server?

## Detailed Description

Basic functions/variables used all over the place.

Definition in file network.h.

## Function Documentation

## ◆ HasClients()

bool HasClients | ( |  | ) |

Return whether there is any client connected or trying to connect at all.

Returns
  whether we have any client activity

Definition at line 95 of file network.cpp.