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

Method Size

Descent3/Inventory.cpp:974–977  ·  view source on GitHub ↗

returns how many items are in the inventory

Source from the content-addressed store, hash-verified

972
973// returns how many items are in the inventory
974int Inventory::Size(void) {
975 // mprintf(0,"Inventory System: Size\n");
976 return count;
977}
978
979// returns true if there is an item in the inventory with the given type/id
980bool Inventory::CheckItem(int type, int id) {

Callers 5

DoKeyboardMiscFunction · 0.80
DoControllerMiscFunction · 0.80
msafe_GetValueFunction · 0.80
dInven_SizeFunction · 0.80
PlayerSpewInventoryFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected