The Battle for Wesnoth  1.15.3+dev
Public Member Functions | Public Attributes | List of all members
ng::create_engine::type_list Struct Reference

Public Member Functions

 type_list ()
void apply_filter (const int player_count, const std::string &name_filter)
void reset_filter ()

Public Attributes

std::vector< level_ptrgames
std::vector< std::size_t > games_filtered

Detailed Description

Definition at line 421 of file create_engine.hpp.

Constructor & Destructor Documentation

◆ type_list()

ng::create_engine::type_list::type_list ( )

Definition at line 423 of file create_engine.hpp.

Member Function Documentation

◆ apply_filter()

void ng::create_engine::type_list::apply_filter ( const int  player_count,
const std::string &  name_filter 

Definition at line 428 of file create_engine.hpp.

References ng::contains_ignore_case(), i, and ng::level::name().

◆ reset_filter()

void ng::create_engine::type_list::reset_filter ( )

Definition at line 441 of file create_engine.hpp.

Member Data Documentation

◆ games

std::vector<level_ptr> ng::create_engine::type_list::games

Definition at line 425 of file create_engine.hpp.

◆ games_filtered

std::vector<std::size_t> ng::create_engine::type_list::games_filtered

Definition at line 426 of file create_engine.hpp.

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