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

Method currentUnits

lib/modUtilLib.js:360–371  ·  view source on GitHub ↗

* MARK: units * @property {Object} currentUnits Get current measurement units

()

Source from the content-addressed store, hash-verified

358 * @property {Object} currentUnits Get current measurement units
359 */
360 get currentUnits() {
361 return {
362 hp : this.syncStringLookup('unit_hp'),
363 kph : this.syncStringLookup('unit_kph'),
364 mph : this.syncStringLookup('unit_mph'),
365 rpm : this.syncStringLookup('unit_rpm'),
366 unit_hp : this.syncStringLookup('unit_hp'),
367 unit_kph : this.syncStringLookup('unit_kph'),
368 unit_mph : this.syncStringLookup('unit_mph'),
369 unit_rpm : this.syncStringLookup('unit_rpm'),
370 }
371 }
372
373 /**
374 * MARK: load Lang files

Callers

nothing calls this directly

Calls 1

syncStringLookupMethod · 0.95

Tested by

no test coverage detected