#include <itemdef.h>
◆ IItemDefManager()
IItemDefManager::IItemDefManager |
( |
| ) |
|
|
default |
◆ ~IItemDefManager()
virtual IItemDefManager::~IItemDefManager |
( |
| ) |
|
|
virtualdefault |
◆ get()
virtual const ItemDefinition & IItemDefManager::get |
( |
const std::string & | name | ) |
const |
|
pure virtual |
Implemented in CItemDefManager.
Referenced by ItemStack::ItemStack(), craftToolRepair(), ItemStack::deSerialize(), ItemStack::getDefinition(), ItemStack::getStackMax(), ItemStack::getToolCapabilities(), ItemStack::getWearBarParams(), inputItemMatchesRecipe(), ModApiClient::l_get_item_def(), ModApiItem::l_unregister_item_raw(), and TestCraft::registerItemWithGroups().
◆ getAlias()
virtual const std::string & IItemDefManager::getAlias |
( |
const std::string & | name | ) |
const |
|
pure virtual |
◆ getAll()
virtual void IItemDefManager::getAll |
( |
std::set< std::string > & | result | ) |
const |
|
pure virtual |
◆ getInventoryTexture()
virtual video::ITexture * IItemDefManager::getInventoryTexture |
( |
const ItemStack & | item, |
|
|
Client * | client ) const |
|
inlinevirtual |
◆ getItemstackColor()
virtual video::SColor IItemDefManager::getItemstackColor |
( |
const ItemStack & | stack, |
|
|
Client * | client ) const |
|
inlinevirtual |
◆ getPalette()
◆ getWieldMesh()
Get wield mesh.
- Returns
- nullptr if there is an inventory image
◆ isKnown()
virtual bool IItemDefManager::isKnown |
( |
const std::string & | name | ) |
const |
|
pure virtual |
◆ serialize()
virtual void IItemDefManager::serialize |
( |
std::ostream & | os, |
|
|
u16 | protocol_version ) |
|
pure virtual |
The documentation for this class was generated from the following file: