OpenTTD Source 20260421-master-gc2fbc6fdeb
BaseSetTraits< struct SoundsSet > Struct Reference

Instantiation of BaseSetTraits for a SoundsSet. More...

#include <base_media_sounds.h>

Static Public Attributes

static constexpr size_t num_files = 1
 Number of files in a sound set.
static constexpr bool search_in_tars = true
 Sounds can be in a tar file.
static constexpr std::string_view set_type = "sounds"
 The type of set.

Detailed Description

Instantiation of BaseSetTraits for a SoundsSet.

Definition at line 16 of file base_media_sounds.h.

Field Documentation

◆ num_files

size_t BaseSetTraits< struct SoundsSet >::num_files = 1
staticconstexpr

Number of files in a sound set.

Definition at line 17 of file base_media_sounds.h.

◆ search_in_tars

bool BaseSetTraits< struct SoundsSet >::search_in_tars = true
staticconstexpr

Sounds can be in a tar file.

Definition at line 18 of file base_media_sounds.h.

◆ set_type

std::string_view BaseSetTraits< struct SoundsSet >::set_type = "sounds"
staticconstexpr

The type of set.

Definition at line 19 of file base_media_sounds.h.


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