51 lines
1.2 KiB
C#
51 lines
1.2 KiB
C#
using LightlessSync.LightlessConfiguration.Models;
|
|
|
|
namespace LightlessSync.UI.Models;
|
|
|
|
/// <summary>
|
|
/// Common FFXIV sound effect IDs for notifications
|
|
/// </summary>
|
|
public static class NotificationSounds
|
|
{
|
|
/// <summary>
|
|
/// General notification sound (quest complete)
|
|
/// </summary>
|
|
public const uint Info = 37;
|
|
|
|
/// <summary>
|
|
/// Warning/alert sound (system error)
|
|
/// </summary>
|
|
public const uint Warning = 15;
|
|
|
|
/// <summary>
|
|
/// Error sound (action failed)
|
|
/// </summary>
|
|
public const uint Error = 16;
|
|
|
|
/// <summary>
|
|
/// Success sound (level up)
|
|
/// </summary>
|
|
public const uint Success = 25;
|
|
|
|
/// <summary>
|
|
/// Pair request sound (tell received)
|
|
/// </summary>
|
|
public const uint PairRequest = 13;
|
|
|
|
/// <summary>
|
|
/// Download complete sound (item obtained)
|
|
/// </summary>
|
|
public const uint DownloadComplete = 30;
|
|
|
|
/// <summary>
|
|
/// Get default sound for notification type
|
|
/// </summary>
|
|
public static uint GetDefaultSound(NotificationType type) => type switch
|
|
{
|
|
NotificationType.Info => Info,
|
|
NotificationType.Warning => Warning,
|
|
NotificationType.Error => Error,
|
|
_ => Info
|
|
};
|
|
}
|