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

Method current

lib/modAssist_window_lib.js:1181–1183  ·  view source on GitHub ↗

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

(amount = 1, reset = false, inMB = false)

Source from the content-addressed store, hash-verified

1179 * @param {boolean} inMB use megabytes
1180 */
1181 current (amount = 1, reset = false, inMB = false) {
1182 this.#doCount('current', amount, reset, inMB)
1183 }
1184
1185 /**
1186 * Increase (or reset) counter total

Callers 3

processModFoldersFunction · 0.80
#addModToDataMethod · 0.80

Calls 1

#doCountMethod · 0.95

Tested by

no test coverage detected