9 private bool useColorHighlight;
14 this.useColorHighlight = useColorHighlight;
20 return base.MustRetrieveValue();
23 public override bool Loaded => nestedStr.Loaded;
31 if (!inputType.HasValue) {
continue; }
33 string keyBindText = GameSettings.CurrentConfig.KeyMap.KeyBindText(inputType.Value).Value;
34 if (useColorHighlight)
36 keyBindText = $
"‖color:gui.orange‖{keyBindText}‖end‖";
39 cachedValue =
cachedValue.Replace($
"[InputType.{inputType}]", keyBindText, StringComparison.OrdinalIgnoreCase);