#include <serverenvironment.h>
Public Types | |
typedef std::unordered_map< content_t, std::vector< LoadingBlockModifierDef * > > | lbm_map |
Public Member Functions | |
void | deleteContents () |
void | addLBM (LoadingBlockModifierDef *lbm_def, IGameDef *gamedef) |
const lbm_map::mapped_type * | lookup (content_t c) const |
Public Attributes | |
lbm_map | map |
std::vector< LoadingBlockModifierDef * > | lbm_list |
typedef std::unordered_map<content_t, std::vector<LoadingBlockModifierDef *> > LBMContentMapping::lbm_map |
void LBMContentMapping::addLBM | ( | LoadingBlockModifierDef * | lbm_def, |
IGameDef * | gamedef ) |
References IGameDef::allocateUnknownNodeId(), CONTENT_IGNORE, NodeDefManager::getIds(), lbm_list, map, LoadingBlockModifierDef::name, IGameDef::ndef(), LoadingBlockModifierDef::trigger_contents, and warningstream.
Referenced by LBMManager::loadIntroductionTimes().
void LBMContentMapping::deleteContents | ( | ) |
References lbm_list.
const std::vector< LoadingBlockModifierDef * > * LBMContentMapping::lookup | ( | content_t | c | ) | const |
References map.
std::vector<LoadingBlockModifierDef *> LBMContentMapping::lbm_list |
Referenced by addLBM(), and deleteContents().