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

Method total

lib/modAssist_window_lib.js:1191–1193  ·  view source on GitHub ↗

* Increase (or reset) counter total * @param {number} amount amount to increase * @param {boolean} reset use amount as new value * @param {boolean} inMB use megabytes

(amount, reset = false, inMB = false)

Source from the content-addressed store, hash-verified

1189 * @param {boolean} inMB use megabytes
1190 */
1191 total (amount, reset = false, inMB = false) {
1192 this.#doCount('total', amount, reset, inMB)
1193 }
1194
1195 /**
1196 * Run callback when ready

Callers 2

processModFoldersFunction · 0.80

Calls 1

#doCountMethod · 0.95

Tested by

no test coverage detected