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

Function dInven_GetPosTypeID

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

returns the type/id of the item at the current position return true if it is a real object (meaning it was placed in the inventory via an object handle...so id will be -1)

Source from the content-addressed store, hash-verified

294// return true if it is a real object (meaning it was placed in the inventory
295// via an object handle...so id will be -1)
296bool dInven_GetPosTypeID(Inventory *inven, int &type, int &id) { return inven->GetPosTypeID(type, id); }
297
298// returns the aux type/id of the item
299// return true if it is a real object (meaning it was placed in the inventory

Callers

nothing calls this directly

Calls 1

GetPosTypeIDMethod · 0.80

Tested by

no test coverage detected