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

Function dInven_Size

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

returns how many unique type/ids are in the inventory

Source from the content-addressed store, hash-verified

266
267// returns how many unique type/ids are in the inventory
268int dInven_Size(Inventory *inven) { return inven->Size(); }
269
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)

Callers

nothing calls this directly

Calls 1

SizeMethod · 0.80

Tested by

no test coverage detected