MCPcopy Create free account
hub / github.com/TombEngine/TombEngine / TryRemoveMiscItem

Function TryRemoveMiscItem

TombEngine/Game/pickup/pickup_misc_items.cpp:164–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162}
163
164bool TryRemoveMiscItem(LaraInfo& lara, GAME_OBJECT_ID objectID)
165{
166 return TryModifyMiscCount(lara, objectID, std::nullopt, ModificationType::Remove);
167}
168
169std::optional<bool> HasMiscItem(LaraInfo& lara, GAME_OBJECT_ID objectID)
170{

Callers 1

Calls 1

TryModifyMiscCountFunction · 0.85

Tested by

no test coverage detected