MCPcopy Create free account
hub / github.com/ElyPrismLauncher/Launcher / getModLoaderAsString

Function getModLoaderAsString

launcher/modplatform/ModIndex.cpp:101–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99}
100
101auto getModLoaderAsString(ModLoaderType type) -> const QString
102{
103 switch (type) {
104 case NeoForge:
105 return "neoforge";
106 case Forge:
107 return "forge";
108 case Cauldron:
109 return "cauldron";
110 case LiteLoader:
111 return "liteloader";
112 case Fabric:
113 return "fabric";
114 case Quilt:
115 return "quilt";
116 case DataPack:
117 return "datapack";
118 case Babric:
119 return "babric";
120 case BTA:
121 return "bta-babric";
122 case LegacyFabric:
123 return "legacy-fabric";
124 case Ornithe:
125 return "ornithe";
126 case Rift:
127 return "rift";
128 default:
129 break;
130 }
131 return "";
132}
133
134auto getModLoaderFromString(QString type) -> ModLoaderType
135{

Callers 6

updateModIndexMethod · 0.85
checkVersionsResponseMethod · 0.85
getModLoaderStringsMethod · 0.85
loadSettingsMethod · 0.85
saveSelectedLoadersMethod · 0.85
loadersMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected