|
| BadgeDropdownFilter (const BadgeFilterChoices &conf) |
|
bool | Filter (std::span< const BadgeID > badges) const |
| Test if the given badges matches the filtered badge list.
|
|
|
const BadgeFilterChoices & | badges |
|
Definition at line 80 of file newgrf_badge.h.
◆ BadgeDropdownFilter()
BadgeDropdownFilter::BadgeDropdownFilter |
( |
const BadgeFilterChoices & |
conf | ) |
|
|
inline |
◆ Filter()
bool BadgeDropdownFilter::Filter |
( |
std::span< const BadgeID > |
badges | ) |
const |
Test if the given badges matches the filtered badge list.
- Parameters
-
- Returns
- true iff all required badges are present in the provided list.
Definition at line 350 of file newgrf_badge.cpp.
◆ badges
const BadgeFilterChoices& BadgeDropdownFilter::badges |
|
private |
The documentation for this class was generated from the following files: