MCPcopy Create free account
hub / github.com/FreesmTeam/FreesmLauncher / serializeFormatVersion

Function serializeFormatVersion

launcher/meta/JsonFormat.cpp:117–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115}
116
117void serializeFormatVersion(QJsonObject& obj, Meta::MetadataVersion version)
118{
119 if (version == MetadataVersion::Invalid) {
120 return;
121 }
122 obj.insert("formatVersion", int(version));
123}
124
125void parseIndex(const QJsonObject& obj, Index* ptr)
126{

Callers 1

versionFileToJsonMethod · 0.85

Calls 1

insertMethod · 0.80

Tested by

no test coverage detected