MCPcopy Create free account
hub / github.com/TurningWheel/Barony / isNodeFromPlayerInventory

Method isNodeFromPlayerInventory

src/interface/interface.cpp:11050–11057  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11048}
11049
11050bool GenericGUIMenu::isNodeFromPlayerInventory(node_t* node)
11051{
11052 if ( stats[gui_player] && node )
11053 {
11054 return (node->list == &stats[gui_player]->inventory);
11055 }
11056 return false;
11057}
11058
11059bool GenericGUIMenu::isItemSalvageable(const Item* item, int player)
11060{

Calls

no outgoing calls

Tested by

no test coverage detected