Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cuberite/cuberite
/ GetMapData
Method
GetMapData
src/MapManager.cpp:63–73 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
61
62
63
cMap * cMapManager::GetMapData(unsigned int a_ID)
64
{
65
if (a_ID < m_MapData.size())
66
{
67
return &m_MapData[a_ID];
68
}
69
else
70
{
71
return NULL;
72
}
73
}
74
75
76
Callers
1
OnUpdate
Method · 0.80
Calls
1
size
Method · 0.80
Tested by
no test coverage detected