using LightlessSync.LightlessConfiguration.Models;
namespace LightlessSync.UI.Models;
///
/// Common FFXIV sound effect IDs for notifications.
/// These correspond to the same sound IDs used in macros (1–16).
///
public static class NotificationSounds
{
// ─────────────────────────────────────────────
// Base IDs (1–16)
// https://ffxiv.consolegameswiki.com/wiki/Macros#Sound_Effects
// ─────────────────────────────────────────────
public const uint Se1 = 1; // Soft chime
public const uint Se2 = 2; // Higher chime
public const uint Se3 = 3; // Bell tone
public const uint Se4 = 4; // Harp tone
public const uint Se5 = 5; // Drum / percussion
public const uint Se6 = 6; // Mechanical click
public const uint Se7 = 7; // Metallic chime
public const uint Se8 = 8; // Wooden tone
public const uint Se9 = 9; // Wind / flute tone
public const uint Se10 = 10; // Magical sparkle
public const uint Se11 = 11; // Metallic ring
public const uint Se12 = 12; // Deep thud
public const uint Se13 = 13; // "Tell received" ping
public const uint Se14 = 14; // Success fanfare short
public const uint Se15 = 15; // System warning
public const uint Se16 = 16; // Error / failure──────────────────────────────────────────
///
/// General notification sound ()
///
public const uint Info = Se2;
///
/// Warning/alert sound ()
///
public const uint Warning = Se15;
///
/// Error sound ()
///
public const uint Error = Se16;
///
/// Success sound ()
///
public const uint Success = Se14;
///
/// Pair request sound (, same as tell notification)
///
public const uint PairRequest = Se13;
///
/// Download complete sound (, a clean sparkle tone)
///
public const uint DownloadComplete = Se10;
///
/// Get default sound for notification type
///
public static uint GetDefaultSound(NotificationType type) => type switch
{
NotificationType.Info => Info,
NotificationType.Warning => Warning,
NotificationType.Error => Error,
_ => Info
};
}