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

Method IsObjectInInventory

TombEngine/Game/gui.cpp:1982–1985  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1980 }
1981
1982 int GuiController::IsObjectInInventory(int objectNumber)
1983 {
1984 return GetInventoryCount(from_underlying((short)objectNumber));
1985 }
1986
1987 void GuiController::SetupObjectListStartPosition2(int newObjectNumber)
1988 {

Callers 11

PuzzleHoleCollisionFunction · 0.80
KeyHoleCollisionFunction · 0.80
DoorCollisionFunction · 0.80
LagoonWitchControlFunction · 0.80
ControlSentryGunFunction · 0.80
CollideStatuePlinthFunction · 0.80
PickupCollisionFunction · 0.80
UseItemFunction · 0.80
SetUsedItemFunction · 0.80
SetFocusedItemFunction · 0.80
InteractMethod · 0.80

Calls 2

GetInventoryCountFunction · 0.85
from_underlyingFunction · 0.85

Tested by

no test coverage detected