|
OpenTTD Source 20260324-master-gd9c35037d4
|
Storage for accepted cargo history. More...
#include <town.h>
Public Member Functions | |
| AcceptedCargo (CargoType cargo) | |
| Construct AcceptedCargo. | |
Data Fields | |
| CargoType | cargo = INVALID_CARGO |
| Cargo type of accepted cargo. | |
| HistoryData< AcceptedHistory > | history {} |
| Histor data of accepted cargo. | |
|
inline |
Construct AcceptedCargo.
| cargo | Cargo type of this AcceptedCargo. |
Definition at line 124 of file town.h.
References cargo.
| CargoType Town::AcceptedCargo::cargo = INVALID_CARGO |
Cargo type of accepted cargo.
Definition at line 116 of file town.h.
Referenced by AcceptedCargo(), Town::GetCargoAccepted(), Town::GetOrCreateCargoAccepted(), and TownCargoGraphWindow::UpdateStatistics().
| HistoryData<AcceptedHistory> Town::AcceptedCargo::history {} |
Histor data of accepted cargo.
Definition at line 117 of file town.h.
Referenced by DeliverGoods(), SlTownAcceptedHistory::Load(), and SlTownAcceptedHistory::Save().