| 132 | } |
| 133 | |
| 134 | auto 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 | |
| 161 | QString SideUtils::toString(Side side) |
| 162 | { |
no outgoing calls
no test coverage detected