#include <serverenvironment.h>
Collaboration diagram for LBMContentMapping:Public Types | |
| typedef std::vector< LoadingBlockModifierDef * > | lbm_vector |
| typedef std::unordered_map< content_t, lbm_vector > | lbm_map |
Public Member Functions | |
| LBMContentMapping ()=default | |
| void | addLBM (LoadingBlockModifierDef *lbm_def, IGameDef *gamedef) |
| const lbm_map::mapped_type * | lookup (content_t c) const |
| const lbm_vector & | getList () const |
| ~LBMContentMapping () | |
| DISABLE_CLASS_COPY (LBMContentMapping) | |
| ALLOW_CLASS_MOVE (LBMContentMapping) | |
Private Attributes | |
| lbm_vector | lbm_list |
| lbm_map | map |
| typedef std::unordered_map<content_t, lbm_vector> LBMContentMapping::lbm_map |
| typedef std::vector<LoadingBlockModifierDef*> LBMContentMapping::lbm_vector |
|
default |
| void LBMContentMapping::addLBM | ( | LoadingBlockModifierDef * | lbm_def, |
| IGameDef * | gamedef ) |
References IGameDef::allocateUnknownNodeId(), CONTAINS, CONTENT_IGNORE, FATAL_ERROR_IF, NodeDefManager::getIds(), lbm_list, map, LoadingBlockModifierDef::name, IGameDef::ndef(), SORT_AND_UNIQUE, LoadingBlockModifierDef::trigger_contents, and warningstream.
Referenced by LBMManager::loadIntroductionTimes().
Here is the call graph for this function:
Here is the caller graph for this function:| LBMContentMapping::ALLOW_CLASS_MOVE | ( | LBMContentMapping | ) |
| LBMContentMapping::DISABLE_CLASS_COPY | ( | LBMContentMapping | ) |
|
inline |
References lbm_list.
| const LBMContentMapping::lbm_vector * LBMContentMapping::lookup | ( | content_t | c | ) | const |
References map.
|
private |
Referenced by ~LBMContentMapping(), addLBM(), and getList().
|
private |
Referenced by ~LBMContentMapping(), addLBM(), and lookup().