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

Method GetKeyComment

lib/inifile/iniFile.cpp:736–743  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

734
735
736AString cIniFile::GetKeyComment(const int keyID, const int commentID) const
737{
738 if ((keyID < (int)keys.size()) && (commentID < (int)keys[keyID].comments.size()))
739 {
740 return keys[keyID].comments[commentID];
741 }
742 return "";
743}
744
745
746

Callers 1

LoadWorldsMethod · 0.80

Calls 1

sizeMethod · 0.80

Tested by

no test coverage detected