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

Function InvRemove

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

Inventory Remove wrapper

Source from the content-addressed store, hash-verified

77
78// Inventory Remove wrapper
79bool InvRemove(int playernum, int type, int id) {
80 ASSERT((playernum >= 0) && (playernum < MAX_PLAYERS));
81
82 return Players[playernum].inventory.Remove(type, id);
83}
84
85// Inventory GetTypeIDCount wrapper
86int InvGetTypeIDCount(int playernum, int type, int id) {

Callers

nothing calls this directly

Calls 1

RemoveMethod · 0.80

Tested by

no test coverage detected