OpenTTD Source: CargoIconOverlay Struct Reference

OpenTTD Source 15.0-beta1

Public Member Functions | Data Fields
CargoIconOverlay Struct Reference

## Public Member Functions
constexpr | CargoIconOverlay (int left, int right, CargoID cargo_type, uint cargo_cap)

## Data Fields
int | left
int | right
CargoID | cargo_type
uint | cargo_cap

## Detailed Description

Definition at line 142 of file vehicle_gui_base.h.

## Constructor & Destructor Documentation

## ◆ CargoIconOverlay()

constexpr CargoIconOverlay::CargoIconOverlay | ( | int | left,
|  | int | right,
|  | CargoID | cargo_type,
|  | uint | cargo_cap
| ) |  |
| inlineconstexpr

Definition at line 148 of file vehicle_gui_base.h.

## Field Documentation

## ◆ cargo_cap

uint CargoIconOverlay::cargo_cap

Definition at line 146 of file vehicle_gui_base.h.

## ◆ cargo_type

CargoID CargoIconOverlay::cargo_type

Definition at line 145 of file vehicle_gui_base.h.

## ◆ left

int CargoIconOverlay::left

Definition at line 143 of file vehicle_gui_base.h.

## ◆ right

int CargoIconOverlay::right

Definition at line 144 of file vehicle_gui_base.h.

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

- src/vehicle_gui_base.h