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

Function dInven_UseObjHandle

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

uses an item in the inventory (given it's objhandle).

Source from the content-addressed store, hash-verified

263
264// uses an item in the inventory (given it's objhandle).
265bool dInven_UseObjHandle(Inventory *inven, int objhandle, object *parent) { return inven->Use(objhandle, parent); }
266
267// returns how many unique type/ids are in the inventory
268int dInven_Size(Inventory *inven) { return inven->Size(); }

Callers

nothing calls this directly

Calls 1

UseMethod · 0.80

Tested by

no test coverage detected