Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PolyMC/PolyMC
/ toJson
Method
toJson
launcher/minecraft/Rule.cpp:91–96 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
89
}
90
91
QJsonObject ImplicitRule::toJson()
92
{
93
QJsonObject ruleObj;
94
ruleObj.insert(
"action"
, m_result == Allow ? QString(
"allow"
) : QString(
"disallow"
));
95
return ruleObj;
96
}
97
98
QJsonObject OsRule::toJson()
99
{
Callers
15
write
Function · 0.80
toText
Function · 0.80
saveGroupList
Method · 0.80
createLibrariesComponent
Method · 0.80
createPackComponent
Method · 0.80
matchFingerprints
Method · 0.80
getProjects
Method · 0.80
getFiles
Method · 0.80
currentVersions
Method · 0.80
latestVersion
Method · 0.80
latestVersions
Method · 0.80
downloadFinished
Method · 0.80
Calls
3
QString
Class · 0.85
insert
Method · 0.80
isEmpty
Method · 0.80
Tested by
3
writeJson
Method · 0.64
test_Through_Simple
Method · 0.64
test_Through
Method · 0.64