OpenTTD Source 20241224-master-gf74b0cf984
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 67 of file network_type.h.

Field Documentation

◆ ai

bool NetworkCompanyStats::ai

Is this company an AI.

Definition at line 70 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 69 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 68 of file network_type.h.

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


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