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

Method AddValue

lib/inifile/iniFile.cpp:358–368  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

356
357
358void cIniFile::AddValue(const AString & a_KeyName, const AString & a_ValueName, const AString & a_Value)
359{
360 int keyID = FindKey(a_KeyName);
361 if (keyID == noID)
362 {
363 keyID = int(AddKeyName(a_KeyName));
364 }
365
366 keys[keyID].names.push_back(a_ValueName);
367 keys[keyID].values.push_back(a_Value);
368}
369
370
371

Callers 1

InsertDefaultPluginsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected