The help implementation caches data parsed from the game_config. More...
#include <help.hpp>
Public Member Functions | |
| help_manager ()=default | |
| help_manager (const help_manager &)=delete | |
| help_manager & | operator= (const help_manager &)=delete |
| ~help_manager () | |
The help implementation caches data parsed from the game_config.
This class is used to control the lifecycle of that cache, so that the cache will be cleared before the game_config itself changes.
Note: it's okay to call any of the help::show_* functions without creating an instance of help_manager - that will simply mean that the cache is cleared before the show function returns.
Creating two instances of this will cause an assert.
|
default |
|
delete |
| help::help_manager::~help_manager | ( | ) |
Definition at line 99 of file help.cpp.
References help::section::clear(), help::default_toplevel, help::hidden_sections, help::last_num_encountered_terrains, and help::last_num_encountered_units.
|
delete |