#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(), TestMapgen::testBiomeGen(), 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 RollbackAction::applyRevert(), CraftDefinitionCooking::check(), CraftDefinitionFuel::check(), CraftDefinitionShaped::check(), CraftDefinitionShapeless::check(), craftDecrementOrReplaceInput(), craftGetItemName(), craftToolRepair(), TestGameDef::defineSomeNodes(), Server::emergePlayer(), CCraftDefManager::getCraftResult(), ModApiItem::l_get_content_id(), ModApiCraft::l_get_craft_result(), ModApiClient::l_get_item_def(), ScriptApiEntity::luaentity_GetProperties(), and read_items().
◆ isClient()
| virtual bool IGameDef::isClient |
( |
| ) |
|
|
pure virtual |
◆ 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 RollbackNode::RollbackNode(), SmokePuffCSO::SmokePuffCSO(), LBMContentMapping::addLBM(), LBMManager::applyLBMs(), RollbackAction::applyRevert(), ModApiMapgen::calc_lighting(), MapBlock::correctBlockNodeIds(), TestGameDef::defineSomeNodes(), LocalPlayer::getSlipFactor(), LocalPlayer::handleAutojump(), 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(), ModApiMapgen::l_spawn_tree_on_vmanip(), 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(), TestVoxelManipulator::runTests(), TestVoxelAlgorithms::testLighting(), ModApiMapgen::update_liquids(), and Particle::updateLight().
◆ 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: