#include <gamedef.h>
◆ allocateUnknownNodeId()
virtual u16 IGameDef::allocateUnknownNodeId |
( |
const std::string & | name | ) |
|
|
pure virtual |
◆ cdef()
◆ getCraftDefManager()
◆ getGameSpec()
virtual const SubgameSpec * IGameDef::getGameSpec |
( |
| ) |
const |
|
inlinevirtual |
◆ getItemDefManager()
◆ getModChannel()
virtual ModChannel * IGameDef::getModChannel |
( |
const std::string & | channel | ) |
|
|
pure virtual |
◆ getModDataPath()
virtual std::string IGameDef::getModDataPath |
( |
| ) |
const |
|
inlinevirtual |
◆ getModIPCStore()
◆ getMods()
virtual const std::vector< ModSpec > & IGameDef::getMods |
( |
| ) |
const |
|
pure virtual |
◆ getModSpec()
virtual const ModSpec * IGameDef::getModSpec |
( |
const std::string & | modname | ) |
const |
|
pure virtual |
◆ getModStorageDatabase()
◆ getNodeDefManager()
Implemented in Client, DummyGameDef, and Server.
Referenced by ObjDefManager::ObjDefManager(), add_area_node_boxes(), ndef(), TestMapNode::runTests(), TestNodeResolver::runTests(), TestSchematic::runTests(), TestVoxelManipulator::runTests(), TestMapBlock::testLoad20(), TestMapBlock::testLoad29(), TestMapBlock::testLoadNonStd(), TestMapBlock::testSave29(), and TestMapBlock::testSaveLoad().
◆ getRollbackManager()
◆ getWorldPath()
virtual std::string IGameDef::getWorldPath |
( |
| ) |
const |
|
inlinevirtual |
◆ idef()
References getItemDefManager().
Referenced by GenericCAO::addToScene(), RollbackAction::applyRevert(), CraftDefinitionCooking::check(), CraftDefinitionFuel::check(), CraftDefinitionShaped::check(), CraftDefinitionShapeless::check(), craftDecrementOrReplaceInput(), craftGetItemName(), craftToolRepair(), TestGameDef::defineSomeNodes(), MapBlock::deSerialize(), MapBlock::deSerialize_pre22(), GenericCAO::directReportPunch(), GUIItemImage::draw(), TextDrawer::draw(), Server::emergePlayer(), CCraftDefManager::getCraftResult(), NodeMetaRef::getmeta(), ModApiCraft::l_clear_craft(), ModApiItem::l_get_content_id(), ModApiCraft::l_get_craft_result(), ModApiClient::l_get_item_def(), GUIFormSpecMenu::OnEvent(), GUIFormSpecMenu::parseItemImageButton(), and read_items().
◆ joinModChannel()
virtual bool IGameDef::joinModChannel |
( |
const std::string & | channel | ) |
|
|
pure virtual |
◆ leaveModChannel()
virtual bool IGameDef::leaveModChannel |
( |
const std::string & | channel | ) |
|
|
pure virtual |
◆ ndef()
References getNodeDefManager().
Referenced by ABMHandler::ABMHandler(), RollbackNode::RollbackNode(), SmokePuffCSO::SmokePuffCSO(), LBMContentMapping::addLBM(), Map::addNodeAndUpdate(), RollbackAction::applyRevert(), ModApiMapgen::calc_lighting(), correctBlockNodeIds(), TestGameDef::defineSomeNodes(), MapBlock::deSerialize_pre22(), MeshUpdateQueue::fillDataFromMapBlocks(), ServerEnvironment::findSunlight(), LocalPlayer::getSlipFactor(), LocalPlayer::handleAutojump(), ParticleManager::handleParticleEvent(), RollbackAction::isImportant(), ModApiEnvVM::l_find_node_near(), ModApiEnvVM::l_find_nodes_in_area(), ModApiEnvVM::l_find_nodes_in_area_under_air(), ModApiItem::l_get_content_id(), ModApiItem::l_get_name_from_content_id(), ModApiClient::l_get_node_def(), ModApiMapgen::l_read_schematic(), ModApiEnvVM::l_spawn_tree(), LocalPlayer::move(), ScriptApiNode::node_after_destruct(), ScriptApiNode::node_on_construct(), ScriptApiNode::node_on_destruct(), ScriptApiNode::node_on_dig(), ScriptApiNode::node_on_flood(), ScriptApiNode::node_on_punch(), ScriptApiNode::node_on_receive_fields(), ScriptApiNode::node_on_timer(), ScriptApiNodemeta::nodemeta_inventory_AllowMove(), ScriptApiNodemeta::nodemeta_inventory_AllowPut(), ScriptApiNodemeta::nodemeta_inventory_AllowTake(), ScriptApiNodemeta::nodemeta_inventory_OnMove(), ScriptApiNodemeta::nodemeta_inventory_OnPut(), ScriptApiNodemeta::nodemeta_inventory_OnTake(), LocalPlayer::old_move(), ServerEnvironment::removeNode(), MapBlock::serialize(), Map::setNode(), ServerEnvironment::setNode(), ParticleSpawner::spawnParticle(), ClientEnvironment::step(), GenericCAO::step(), PlayerSAO::step(), TestVoxelAlgorithms::testLighting(), Camera::update(), ModApiMapgen::update_liquids(), GenericCAO::updateLight(), Particle::updateLight(), and LocalPlayer::updateSneakNode().
◆ rollback()
◆ sendModChannelMessage()
virtual bool IGameDef::sendModChannelMessage |
( |
const std::string & | channel, |
|
|
const std::string & | message ) |
|
pure virtual |
The documentation for this class was generated from the following file: