MCPcopy Create free account
hub / github.com/WarFrontIO/client / option

Method option

src/util/settings/SingleSelectSetting.ts:24–29  ·  view source on GitHub ↗

* Registers a new option with the given key and value. * @param key The key of the option. Must be unique, not contain ',' and shouldn't change in the future * @param value The value of the option * @param label The label of the option, displayed in the UI * @throws InvalidArgumentException

(key: string, value: S, label: string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

fillOptionsMethod · 0.95

Calls 2

setMethod · 0.80
broadcastMethod · 0.45

Tested by

no test coverage detected