OpenTTD Source: NetworkCompanyStats Struct Reference

OpenTTD Source 15.0-RC2

Data Fields
NetworkCompanyStats Struct Reference

Simple calculated statistics of a company. More...

`#include <network_type.h>`

Inheritance diagram for NetworkCompanyStats:

## 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 56 of file network_type.h.

## Field Documentation

## ◆ ai

bool NetworkCompanyStats::ai

Is this company an AI.

Definition at line 59 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 58 of file network_type.h.

Referenced by NetworkGetCompanyStats().

## ◆ num_vehicle

uint16_t NetworkCompanyStats::num_vehicle[NETWORK_VEH_END]

How many vehicles are there of this type?

Definition at line 57 of file network_type.h.

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

- src/network/network_type.h