Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DFHack/dfhack
/ get_itemdef
Function
get_itemdef
plugins/orders.cpp:250–253 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
248
249
template<typename D>
250
static df::itemdef *get_itemdef(int16_t subtype)
251
{
252
return D::find(subtype);
253
}
254
255
template<typename D>
256
static df::itemdef *get_itemdef(const std::string & subtype)
Callers
2
orders_export_command
Function · 0.85
orders_import
Function · 0.85
Calls
2
enum_item_key
Function · 0.85
find
Function · 0.50
Tested by
no test coverage detected