private void OnDeletePresetInvoked(string presetKey) { if (Presets.Delete(presetKey)) { Screen.ShowNotification($"Client preset ~r~{presetKey}~w~ deleted"); } else { Screen.ShowNotification($"~r~ERROR~w~ No preset found with {presetKey} key."); } }
internal bool API_DeletePreset(string presetKey) { return(Presets.Delete(presetKey)); }