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

Function getModLoaderAsString

launcher/modplatform/ModIndex.cpp:115–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113}
114
115auto getModLoaderAsString(ModLoaderType type) -> const QString
116{
117 switch (type) {
118 case NeoForge:
119 return "neoforge";
120 case Forge:
121 return "forge";
122 case Cauldron:
123 return "cauldron";
124 case LiteLoader:
125 return "liteloader";
126 case Fabric:
127 return "fabric";
128 case Quilt:
129 return "quilt";
130 default:
131 break;
132 }
133 return "";
134}
135
136auto getModLoaderFromString(QString type) -> ModLoaderType
137{

Callers 4

updateModIndexMethod · 0.85
checkVersionsResponseMethod · 0.85
getModLoaderStringsMethod · 0.85
dataMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected