OpenTTD Source 20261112-master-gbcbec5e63f
LeagueTable Struct Reference

Struct about custom league tables. More...

#include <league_base.h>

Inheritance diagram for LeagueTable:

Public Member Functions

 LeagueTable (LeagueTableID index, const EncodedString &title={}, const EncodedString &header={}, const EncodedString &footer={})

Data Fields

EncodedString title {}
 Title of the table.
EncodedString header {}
 Text to show above the table.
EncodedString footer {}
 Text to show below the table.

Detailed Description

Struct about custom league tables.

Definition at line 46 of file league_base.h.

Constructor & Destructor Documentation

◆ LeagueTable()

LeagueTable::LeagueTable ( LeagueTableID index,
const EncodedString & title = {},
const EncodedString & header = {},
const EncodedString & footer = {} )
inline

Definition at line 51 of file league_base.h.

Field Documentation

◆ footer

EncodedString LeagueTable::footer {}

Text to show below the table.

Definition at line 49 of file league_base.h.

Referenced by ScriptLeagueWindow::DrawWidget(), and ScriptLeagueWindow::UpdateWidgetSize().

◆ header

EncodedString LeagueTable::header {}

Text to show above the table.

Definition at line 48 of file league_base.h.

Referenced by ScriptLeagueWindow::DrawWidget(), and ScriptLeagueWindow::UpdateWidgetSize().

◆ title

EncodedString LeagueTable::title {}

Title of the table.

Definition at line 47 of file league_base.h.

Referenced by ScriptLeagueWindow::BuildTable().


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