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

Function InvGetTypeIDCount

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

Inventory GetTypeIDCount wrapper

Source from the content-addressed store, hash-verified

84
85// Inventory GetTypeIDCount wrapper
86int InvGetTypeIDCount(int playernum, int type, int id) {
87 ASSERT((playernum >= 0) && (playernum < MAX_PLAYERS));
88
89 return Players[playernum].inventory.GetTypeIDCount(type, id);
90}
91
92// Inventory Reset wrapper
93void InvReset(int playernum, bool reset_all) {

Callers

nothing calls this directly

Calls 1

GetTypeIDCountMethod · 0.80

Tested by

no test coverage detected