#include <Item.hpp>
◆ Item()
◆ ~Item()
◆ addToRecipeManager()
| void Item::addToRecipeManager |
( |
| ) |
|
|
virtual |
◆ attachInformation()
◆ canUseInRecipe()
| virtual bool Item::canUseInRecipe |
( |
Recipe * |
_recipe | ) |
|
|
inlinevirtual |
◆ currentTexture()
| Texture * Item::currentTexture |
( |
| ) |
|
|
virtual |
Reimplemented from WorldObject.
Reimplemented in Item_Marker_Green_Small, Item_Marker_Red, Item_Shelter, Item_Waterskin, Item_LeatherClothes, Item_HumanMeat, Item_HumanSkin, Item_DeerMeat, Item_DeerPelt, Item_PlantFibre, Item_Floor, Item_Wall, Item_Plank, Item_Campfire, Item_Fish, Item_Log, Item_Axe, Item_Shovel, Item_Fishrod, Item_Pickaxe, Item_Spear, Item_Longbow, Item_Knife, Item_Sword, Item_Hoe, and Item_Hand.
◆ getColumn()
| std::string Item::getColumn |
( |
std::string |
_column | ) |
|
◆ getColumnType()
| std::string Item::getColumnType |
( |
std::string |
_column | ) |
|
◆ getExtendedInfo()
| std::string Item::getExtendedInfo |
( |
| ) |
|
|
virtual |
◆ getInteractName() [1/2]
| virtual std::string Item::getInteractName |
( |
WorldObject * |
_w | ) |
|
|
inlinevirtual |
◆ getInteractName() [2/2]
| virtual std::string Item::getInteractName |
( |
LocalTile * |
_w | ) |
|
|
inlinevirtual |
◆ getInteractNames() [1/6]
| virtual Vector<std::string>* Item::getInteractNames |
( |
WorldObject * |
_w | ) |
|
|
inlinevirtual |
◆ getInteractNames() [2/6]
| virtual Vector<std::string>* Item::getInteractNames |
( |
Item * |
_w | ) |
|
|
inlinevirtual |
◆ getInteractNames() [3/6]
| virtual Vector<std::string>* Item::getInteractNames |
( |
Character * |
_w | ) |
|
|
inlinevirtual |
◆ getInteractNames() [4/6]
| virtual Vector<std::string>* Item::getInteractNames |
( |
Creature * |
_w | ) |
|
|
inlinevirtual |
◆ getInteractNames() [5/6]
| virtual Vector<std::string>* Item::getInteractNames |
( |
LocalTile * |
_w | ) |
|
|
inlinevirtual |
◆ getInteractNames() [6/6]
| virtual Vector<std::string>* Item::getInteractNames |
( |
Static * |
_w | ) |
|
|
inlinevirtual |
◆ getName()
| std::string Item::getName |
( |
| ) |
|
|
virtual |
Reimplemented from WorldObject.
Reimplemented in Item_Marker_Green_Small, Item_Marker_Red, Item_Shelter, Item_Waterskin, Item_LeatherClothes, Item_HumanMeat, Item_HumanSkin, Item_DeerMeat, Item_DeerPelt, Item_Plank, Item_Campfire, Item_Fish, Item_Log, Item_Axe, Item_Shovel, Item_Fishrod, Item_Pickaxe, Item_Spear, Item_Longbow, Item_Knife, Item_Sword, Item_Hoe, and Item_Hand.
◆ getQuality()
| std::string Item::getQuality |
( |
| ) |
|
|
virtual |
◆ getSaveData()
| std::string Item::getSaveData |
( |
| ) |
|
◆ getStockpileRequirement()
◆ interact() [1/5]
| virtual void Item::interact |
( |
WorldObject * |
obj, |
|
|
int |
interactionType = 0 |
|
) |
| |
|
inlinevirtual |
◆ interact() [2/5]
| virtual void Item::interact |
( |
LocalTile * |
obj, |
|
|
int |
interactionType = 0 |
|
) |
| |
|
inlinevirtual |
◆ interact() [3/5]
| virtual void Item::interact |
( |
Item * |
obj, |
|
|
int |
interactionType = 0 |
|
) |
| |
|
inlinevirtual |
◆ interact() [4/5]
| virtual void Item::interact |
( |
Character * |
obj, |
|
|
int |
interactionType = 0 |
|
) |
| |
|
inlinevirtual |
◆ interact() [5/5]
| virtual void Item::interact |
( |
Creature * |
obj, |
|
|
int |
interactionType = 0 |
|
) |
| |
|
inlinevirtual |
◆ interactTime() [1/2]
◆ interactTime() [2/2]
| virtual int Item::interactTime |
( |
LocalTile * |
_w | ) |
|
|
inlinevirtual |
◆ loadData()
| void Item::loadData |
( |
std::string |
_saveData | ) |
|
◆ sameType() [1/2]
◆ sameType() [2/2]
| bool Item::sameType |
( |
Item * |
_item | ) |
|
|
inline |
◆ ammunitionType
| char Item::ammunitionType |
◆ attributes
◆ bluntDamage
◆ chopTreeCost
◆ consumeTime
◆ count
◆ fishingCost
◆ hungerRestore
◆ information
◆ mAction
| std::unordered_map<ItemAction, char> Item::mAction |
◆ meleeDamage
| short int Item::meleeDamage |
◆ owner
◆ pierceDamage
◆ reach
◆ slashDamage
◆ throwDamage
| short int Item::throwDamage |
◆ throwMultiplier
| float Item::throwMultiplier |
◆ type
The documentation for this class was generated from the following files: