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

Function getModLoaderFromString

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

Source from the content-addressed store, hash-verified

132}
133
134auto getModLoaderFromString(QString type) -> ModLoaderType
135{
136 if (type == "neoforge")
137 return NeoForge;
138 if (type == "forge")
139 return Forge;
140 if (type == "cauldron")
141 return Cauldron;
142 if (type == "liteloader")
143 return LiteLoader;
144 if (type == "fabric")
145 return Fabric;
146 if (type == "quilt")
147 return Quilt;
148 if (type == "babric")
149 return Babric;
150 if (type == "bta-babric")
151 return BTA;
152 if (type == "legacy-fabric")
153 return LegacyFabric;
154 if (type == "ornithe")
155 return Ornithe;
156 if (type == "rift")
157 return Rift;
158 return {};
159}
160
161QString SideUtils::toString(Side side)
162{

Callers 2

getIndexForModMethod · 0.85
prepareBasicFilterMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected