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

Function dInven_AddObject

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

adds an object to the inventory (marked by it's objhandle)

Source from the content-addressed store, hash-verified

245
246// adds an object to the inventory (marked by it's objhandle)
247bool dInven_AddObject(Inventory *inven, int object_handle, int flags, char *description) {
248 return inven->AddObject(object_handle, flags, description);
249}
250
251// adds a special cased CounterMeasure into the inventory
252bool dInven_AddCounterMeasure(Inventory *inven, int id, int aux_type, int aux_id, int flags, char *description) {

Callers

nothing calls this directly

Calls 1

AddObjectMethod · 0.80

Tested by

no test coverage detected