MCPcopy Create free account
hub / github.com/FSGModding/FSG_Mod_Assistant / constructor

Method constructor

lib/modCheckLib.js:1550–1557  ·  view source on GitHub ↗

* * @param {Array} initArray original simple array of badges * @param {Object} transBadges localization for badges

(initArray = [], transBadges)

Source from the content-addressed store, hash-verified

1548 * @param {Object} transBadges localization for badges
1549 */
1550 constructor(initArray = [], transBadges) {
1551 this.#baseSet = new Set()
1552 this.#l10nNames = transBadges
1553
1554 for ( const key of initArray ) {
1555 this.add(key)
1556 }
1557 }
1558
1559 /**
1560 * @type {Array.<badgeHandleList>}

Callers

nothing calls this directly

Calls 1

addMethod · 0.95

Tested by

no test coverage detected