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

Function InvCheckItem

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

Inventory CheckItem wrapper

Source from the content-addressed store, hash-verified

63
64// Inventory CheckItem wrapper
65bool InvCheckItem(int playernum, int type, int id) {
66 ASSERT((playernum >= 0) && (playernum < MAX_PLAYERS));
67
68 return Players[playernum].inventory.CheckItem(type, id);
69}
70
71// Inventory AddItemTypeID wrapper
72bool InvAddTypeID(int playernum, int type, int id, int aux_type, int aux_id, int flags, const char *description) {

Callers

nothing calls this directly

Calls 1

CheckItemMethod · 0.80

Tested by

no test coverage detected