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

Method AddKeyComment

lib/inifile/iniFile.cpp:708–716  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

706
707
708bool cIniFile::AddKeyComment(const int keyID, const AString & comment)
709{
710 if (keyID < (int)keys.size())
711 {
712 keys[keyID].comments.resize(keys[keyID].comments.size() + 1, comment);
713 return true;
714 }
715 return false;
716}
717
718
719

Callers 2

LoadWorldsMethod · 0.80
InsertDefaultPluginsMethod · 0.80

Calls 2

sizeMethod · 0.80
resizeMethod · 0.80

Tested by

no test coverage detected