#include <craftdef.h>
◆ CraftDefinitionShapeless() [1/2]
CraftDefinitionShapeless::CraftDefinitionShapeless |
( |
| ) |
|
|
delete |
◆ CraftDefinitionShapeless() [2/2]
CraftDefinitionShapeless::CraftDefinitionShapeless |
( |
const std::string & | output_, |
|
|
const std::vector< std::string > & | recipe_, |
|
|
const CraftReplacements & | replacements_ ) |
◆ ~CraftDefinitionShapeless()
virtual CraftDefinitionShapeless::~CraftDefinitionShapeless |
( |
| ) |
|
|
virtualdefault |
◆ check()
bool CraftDefinitionShapeless::check |
( |
const CraftInput & | input, |
|
|
IGameDef * | gamedef ) const |
|
virtual |
Implements CraftDefinition.
References CRAFT_METHOD_NORMAL, craftGetItemNames(), errorstream, hash_inited, hopcroft_karp_can_match_all(), IGameDef::idef(), inputItemMatchesRecipe(), CraftInput::items, CraftInput::method, recipe, recipe_names, and SHAPELESS_GROUPS_MAX.
◆ decrementInput()
void CraftDefinitionShapeless::decrementInput |
( |
CraftInput & | input, |
|
|
std::vector< ItemStack > & | output_replacements, |
|
|
IGameDef * | gamedef ) const |
|
virtual |
◆ dump()
std::string CraftDefinitionShapeless::dump |
( |
| ) |
const |
|
virtual |
◆ getHash()
u64 CraftDefinitionShapeless::getHash |
( |
CraftHashType | type | ) |
const |
|
virtual |
◆ getInput()
◆ getName()
std::string CraftDefinitionShapeless::getName |
( |
| ) |
const |
|
virtual |
◆ getOutput()
◆ initHash()
void CraftDefinitionShapeless::initHash |
( |
IGameDef * | gamedef | ) |
|
|
virtual |
◆ hash_inited
bool CraftDefinitionShapeless::hash_inited = false |
|
private |
◆ output
std::string CraftDefinitionShapeless::output |
|
private |
◆ recipe
std::vector<std::string> CraftDefinitionShapeless::recipe |
|
private |
◆ recipe_names
std::vector<std::string> CraftDefinitionShapeless::recipe_names |
|
private |
◆ replacements
The documentation for this class was generated from the following files: