MCPcopy Create free account
hub / github.com/cuberite/cuberite / StringToItem

Function StringToItem

src/BlockID.cpp:218–221  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216
217
218bool StringToItem(const AString & a_ItemTypeString, cItem & a_Item)
219{
220 return gsBlockIDMap.ResolveItem(TrimString(a_ItemTypeString), a_Item);
221}
222
223
224

Callers 2

GetIniItemSetFunction · 0.85
ParseItemMethod · 0.85

Calls 2

TrimStringFunction · 0.85
ResolveItemMethod · 0.80

Tested by

no test coverage detected