OpenTTD Source  20240919-master-gdf0233f4c2
LinkRefresher::RefitDesc Struct Reference

Simulated cargo type and capacity for prediction of future links. More...

#include <refresh.h>

Public Member Functions

 RefitDesc (CargoID cargo, uint16_t capacity, uint16_t remaining)
 

Data Fields

CargoID cargo
 Cargo type the vehicle will be carrying.
 
uint16_t capacity
 Capacity the vehicle will have.
 
uint16_t remaining
 Capacity remaining from before the previous refit.
 

Detailed Description

Simulated cargo type and capacity for prediction of future links.

Definition at line 39 of file refresh.h.


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