MCPcopy Create free account
hub / github.com/EasyRPG/Player / GetItemCount

Method GetItemCount

src/game_party.cpp:141–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139}
140
141int Game_Party::GetItemCount(int item_id) const {
142 auto ip = GetItemIndex(item_id);
143 return ip.second ? data.item_counts[ip.first] : 0;
144}
145
146int Game_Party::GetEquippedItemCount(int item_id) const {
147 int number = 0;

Callers 1

GetEquippedItemCountMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected