OpenTTD Source 20250206-master-g6089ed8059
NetworkCompanyStats Struct Reference

Simple calculated statistics of a company. More...

#include <network_type.h>

Inheritance diagram for NetworkCompanyStats:
NetworkCompanyInfo

Data Fields

uint16_t num_vehicle [NETWORK_VEH_END]
 How many vehicles are there of this type?
 
uint16_t num_station [NETWORK_VEH_END]
 How many stations are there of this type?
 
bool ai
 Is this company an AI.
 

Detailed Description

Simple calculated statistics of a company.

Definition at line 65 of file network_type.h.

Field Documentation

◆ ai

bool NetworkCompanyStats::ai

Is this company an AI.

Definition at line 68 of file network_type.h.

◆ num_station

uint16_t NetworkCompanyStats::num_station[NETWORK_VEH_END]

How many stations are there of this type?

Definition at line 67 of file network_type.h.

Referenced by NetworkPopulateCompanyStats(), and ServerNetworkAdminSocketHandler::SendCompanyStats().

◆ num_vehicle

uint16_t NetworkCompanyStats::num_vehicle[NETWORK_VEH_END]

How many vehicles are there of this type?

Definition at line 66 of file network_type.h.

Referenced by NetworkPopulateCompanyStats(), and ServerNetworkAdminSocketHandler::SendCompanyStats().


The documentation for this struct was generated from the following file: