OpenTTD Source 20260421-master-gc2fbc6fdeb
network_base.h File Reference

Base core network types and some helper functions to access them. More...

Go to the source code of this file.

Data Structures

struct  NetworkClientInfo
 Container for all information known about a client. More...

Typedefs

using NetworkClientInfoPool = Pool<NetworkClientInfo, ClientPoolID, 8, PoolType::NetworkClient>
 Type for the pool with client information.

Variables

NetworkClientInfoPool _networkclientinfo_pool
 Make sure both pools have the same size.

Detailed Description

Base core network types and some helper functions to access them.

Definition in file network_base.h.

Typedef Documentation

◆ NetworkClientInfoPool

Type for the pool with client information.

Definition at line 20 of file network_base.h.

Variable Documentation

◆ _networkclientinfo_pool

NetworkClientInfoPool _networkclientinfo_pool
extern

Make sure both pools have the same size.

The pool with client information.

Definition at line 64 of file network.cpp.

Referenced by NetworkClientInfo::NetworkClientInfo().