#include <blockmodifier.h>
◆ lbm_lookup_map
◆ LBMManager()
| LBMManager::LBMManager |
( |
| ) |
|
|
default |
◆ ~LBMManager()
| LBMManager::~LBMManager |
( |
| ) |
|
◆ addLBMDef()
References ModError::ModError(), FATAL_ERROR_IF, LBM_NAME_ALLOWED_CHARS, m_lbm_defs, m_query_mode, LoadingBlockModifierDef::name, str_starts_with(), and string_allowed().
Referenced by LBMManager(), ServerEnvironment::addLoadingBlockModifierDef(), TestLBMManager::testExisting(), and TestLBMManager::testNew().
◆ applyLBMs()
References CONTENT_IGNORE, FATAL_ERROR_IF, NodeDefManager::get(), MapNode::getContent(), Environment::getGameDef(), getLBMsIntroducedAfter(), MapBlock::getNodeNoCheck(), MapBlock::getPos(), MapBlock::isOrphan(), m_lbm_lookup, m_query_mode, MAP_BLOCKSIZE, ContentFeatures::name, IGameDef::ndef(), and tracestream.
Referenced by LBMManager(), and ServerEnvironment::activateBlock().
◆ createIntroductionTimesString()
| std::string LBMManager::createIntroductionTimesString |
( |
| ) |
|
◆ getLBMsIntroducedAfter()
| lbm_lookup_map::const_iterator LBMManager::getLBMsIntroducedAfter |
( |
u32 | time | ) |
|
|
inlineprivate |
◆ loadIntroductionTimes()
| void LBMManager::loadIntroductionTimes |
( |
const std::string & | times, |
|
|
IGameDef * | gamedef, |
|
|
u32 | now ) |
- Parameters
-
References infostream, m_lbm_defs, m_lbm_lookup, m_query_mode, parseIntroductionTimesString(), U32_MAX, and warningstream.
Referenced by LBMManager(), ServerEnvironment::loadDefaultMeta(), ServerEnvironment::loadMeta(), TestLBMManager::testDiscard(), TestLBMManager::testExisting(), and TestLBMManager::testNew().
◆ parseIntroductionTimesString()
| std::unordered_map< std::string, u32 > LBMManager::parseIntroductionTimesString |
( |
const std::string & | times | ) |
|
|
staticprivate |
◆ m_lbm_defs
◆ m_lbm_lookup
◆ m_query_mode
| bool LBMManager::m_query_mode = false |
|
private |
The documentation for this class was generated from the following files: