OpenTTD Source: RoadWaypointPickerSelection Struct Reference

OpenTTD Source 15.0-beta1

Data Fields
RoadWaypointPickerSelection Struct Reference

## Data Fields
RoadStopClassID | sel_class
| Selected road waypoint class.
uint16_t | sel_type
| Selected road waypoint type within the class.

## Detailed Description

Definition at line 69 of file road_gui.cpp.

## Field Documentation

## ◆ sel_class

RoadStopClassID RoadWaypointPickerSelection::sel_class

Selected road waypoint class.

Definition at line 70 of file road_gui.cpp.

Referenced by RoadWaypointPickerCallbacks::GetSelectedClass(), BuildRoadToolbarWindow::OnPlaceMouseUp(), and RoadWaypointPickerCallbacks::SetSelectedClass().

## ◆ sel_type

uint16_t RoadWaypointPickerSelection::sel_type

Selected road waypoint type within the class.

Definition at line 71 of file road_gui.cpp.

Referenced by RoadWaypointPickerCallbacks::GetSelectedType(), BuildRoadToolbarWindow::OnPlaceMouseUp(), and RoadWaypointPickerCallbacks::SetSelectedType().

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

- src/road_gui.cpp