Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cuberite/cuberite
/ HowManyCanFit
Method
HowManyCanFit
src/Inventory.cpp:49–52 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
47
48
49
int cInventory::HowManyCanFit(const cItem & a_ItemStack, bool a_ConsiderEmptySlots)
50
{
51
return HowManyCanFit(a_ItemStack, 0, invNumSlots - 1, a_ConsiderEmptySlots);
52
}
53
54
55
Callers
nothing calls this directly
Calls
4
ItemHandler
Function · 0.85
IsEqual
Method · 0.80
GetMaxStackSize
Method · 0.45
IsEmpty
Method · 0.45
Tested by
no test coverage detected