MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / dInven_CheckItem

Function dInven_CheckItem

Descent3/DllWrappers.cpp:272–272  ·  view source on GitHub ↗

returns true if there is an item in the inventory with the given type/id (or objhandle if id is -1, pass the object handle as the type parameter)

Source from the content-addressed store, hash-verified

270// returns true if there is an item in the inventory with the given type/id (or objhandle if id is -1, pass the object
271// handle as the type parameter)
272bool dInven_CheckItem(Inventory *inven, int type, int id) { return inven->CheckItem(type, id); }
273
274// Resets the inventory, cleaning it out
275// in_game: set to true if this is being called from during gameplay

Callers

nothing calls this directly

Calls 1

CheckItemMethod · 0.80

Tested by

no test coverage detected