OpenTTD Source  20240919-master-gdf0233f4c2
LinkProperties Struct Reference

Monthly statistics for a link between two stations. More...

#include <linkgraph_gui.h>

Public Member Functions

uint Usage () const
 Return the usage of the link to display.
 

Data Fields

CargoID cargo
 Cargo type of the link.
 
uint capacity
 Capacity of the link.
 
uint usage
 Actual usage of the link.
 
uint planned
 Planned usage of the link.
 
uint32_t time
 Travel time of the link.
 
bool shared
 If this is a shared link to be drawn dashed.
 

Detailed Description

Monthly statistics for a link between two stations.

Only the cargo type of the most saturated linkgraph is taken into account.

Definition at line 23 of file linkgraph_gui.h.


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