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

Function TryAddingKeyItem

TombEngine/Game/pickup/pickup_key_items.cpp:92–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90}
91
92bool TryAddingKeyItem(LaraInfo& lara, GAME_OBJECT_ID objectID, std::optional<int> amount)
93{
94 return TryModifyingKeyItem(lara, objectID, amount, ModificationType::Add);
95}
96
97bool TryRemovingKeyItem(LaraInfo& lara, GAME_OBJECT_ID objectID, std::optional<int> amount)
98{

Callers 1

PickedUpObjectFunction · 0.85

Calls 1

TryModifyingKeyItemFunction · 0.85

Tested by

no test coverage detected