()
| 1229 | } |
| 1230 | |
| 1231 | get allModList() { |
| 1232 | const returnList = {} |
| 1233 | const currentVer = this.#settings.get('game_version') |
| 1234 | |
| 1235 | for ( const CKey of this.collections ) { |
| 1236 | returnList[CKey] = this.#list_allMods[CKey] |
| 1237 | if ( !this.isValidForList(CKey, currentVer) ) { |
| 1238 | returnList[CKey].mods = {} |
| 1239 | } |
| 1240 | } |
| 1241 | return returnList |
| 1242 | } |
| 1243 | /** |
| 1244 | * Send mod list to renderer |
| 1245 | * @param {Object} extra more data to include in opts |
nothing calls this directly
no test coverage detected