OpenTTD Source: Listing Struct Reference

OpenTTD Source 15.0-beta1

Data Fields
Listing Struct Reference

Data structure describing how to show the list (what sort direction and criteria). More...

`#include <sortlist_type.h>`

## Data Fields
bool | order
| Ascending/descending.
uint8_t | criteria
| Sorting criteria.

## Detailed Description

Data structure describing how to show the list (what sort direction and criteria).

Definition at line 30 of file sortlist_type.h.

## Field Documentation

## ◆ criteria

uint8_t Listing::criteria

Sorting criteria.

Definition at line 32 of file sortlist_type.h.

Referenced by GUIList< T, P, F >::GetListing(), and GUIList< T, P, F >::SetListing().

## ◆ order

bool Listing::order

Ascending/descending.

Definition at line 31 of file sortlist_type.h.

Referenced by GUIList< T, P, F >::GetListing(), TownDirectoryWindow::OnClick(), and GUIList< T, P, F >::SetListing().

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

- src/sortlist_type.h