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

Function dInven_FindPos

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

searches the inventory for the specified type/id, sets the pos to it 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

353// for object handle items, pass the object handle in as the type and leave
354// id as -1
355bool dInven_FindPos(Inventory *inven, int type, int id) { return inven->FindPos(type, id); }
356
357// gets a detailed list of information about what is in the inventory
358// returns the number of items filled in.

Callers

nothing calls this directly

Calls 1

FindPosMethod · 0.80

Tested by

no test coverage detected