MCPcopy Create free account
hub / github.com/cuberite/cuberite / GetNumValues

Method GetNumValues

lib/inifile/iniFile.cpp:304–311  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

302
303
304int cIniFile::GetNumValues(const int keyID) const
305{
306 if (keyID < (int)keys.size())
307 {
308 return (int)keys[keyID].names.size();
309 }
310 return 0;
311}
312
313
314

Callers 3

cBlockIDMapMethod · 0.80
LoadWorldsMethod · 0.80
ReloadPluginsNowMethod · 0.80

Calls 1

sizeMethod · 0.80

Tested by

no test coverage detected