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

Function dInven_GetTypeIDCount

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

returns how many of an type/id is in the inventory for object handle items, pass the object handle in as the type and leave id as -1

Source from the content-addressed store, hash-verified

348// for object handle items, pass the object handle in as the type and leave
349// id as -1
350int dInven_GetTypeIDCount(Inventory *inven, int type, int id) { return inven->GetTypeIDCount(type, id); }
351
352// searches the inventory for the specified type/id, sets the pos to it
353// for object handle items, pass the object handle in as the type and leave

Callers

nothing calls this directly

Calls 1

GetTypeIDCountMethod · 0.80

Tested by

no test coverage detected