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

Method stringGroup

lib/modUtilLib.js:516–518  ·  view source on GitHub ↗

* Retrieve multiple MA strings * @param {Array. } stringIDs Array of stringIDs * @returns {Array. } [[stringID, Translated String], ...]

(stringIDs)

Source from the content-addressed store, hash-verified

514 * @returns {Array.<Array>} [[stringID, Translated String], ...]
515 */
516 async stringGroup(stringIDs) {
517 return this.#langPromise.then(() => [...stringIDs].map((x) => [x, this.syncStringLookup(x)]) )
518 }
519
520 /**
521 * Retrieve base game string

Callers

nothing calls this directly

Calls 1

syncStringLookupMethod · 0.95

Tested by

no test coverage detected