|
OpenTTD Source 20260311-master-g511d3794ce
|
Simple calculated statistics of a company. More...
#include <network_type.h>
Public Types | |
| using | NetworkVehicleTypeArray = EnumClassIndexContainer<std::array<uint16_t, to_underlying(NetworkVehicleType::End)>, NetworkVehicleType> |
| Array indexed by NetworkVehicleType. | |
Data Fields | |
| NetworkVehicleTypeArray | num_vehicle |
| How many vehicles are there of this type? | |
| NetworkVehicleTypeArray | num_station |
| How many stations are there of this type? | |
Simple calculated statistics of a company.
Definition at line 56 of file network_type.h.
| using NetworkCompanyStats::NetworkVehicleTypeArray = EnumClassIndexContainer<std::array<uint16_t, to_underlying(NetworkVehicleType::End)>, NetworkVehicleType> |
Array indexed by NetworkVehicleType.
Definition at line 58 of file network_type.h.
| NetworkVehicleTypeArray NetworkCompanyStats::num_station |
How many stations are there of this type?
Definition at line 60 of file network_type.h.
Referenced by NetworkGetCompanyStats().
| NetworkVehicleTypeArray NetworkCompanyStats::num_vehicle |
How many vehicles are there of this type?
Definition at line 59 of file network_type.h.