implemened game sound effects for notifs

This commit is contained in:
choco
2025-10-06 21:55:45 +02:00
parent 83e4555e4b
commit 9b6d00570e
2 changed files with 55 additions and 37 deletions

View File

@@ -1,42 +1,64 @@
using LightlessSync.LightlessConfiguration.Models;
using LightlessSync.LightlessConfiguration.Models;
namespace LightlessSync.UI.Models;
/// <summary>
/// Common FFXIV sound effect IDs for notifications
/// Common FFXIV <se.#> sound effect IDs for notifications.
/// These correspond to the same sound IDs used in macros (116).
/// </summary>
public static class NotificationSounds
{
// ─────────────────────────────────────────────
// Base <se.#> IDs (116)
// 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──────────────────────────────────────────
/// <summary>
/// General notification sound (quest complete)
/// General notification sound (<se.2>)
/// </summary>
public const uint Info = 37;
public const uint Info = Se2;
/// <summary>
/// Warning/alert sound (system error)
/// Warning/alert sound (<se.15>)
/// </summary>
public const uint Warning = 15;
public const uint Warning = Se15;
/// <summary>
/// Error sound (action failed)
/// Error sound (<se.16>)
/// </summary>
public const uint Error = 16;
public const uint Error = Se16;
/// <summary>
/// Success sound (level up)
/// Success sound (<se.14>)
/// </summary>
public const uint Success = 25;
public const uint Success = Se14;
/// <summary>
/// Pair request sound (tell received)
/// Pair request sound (<se.13>, same as tell notification)
/// </summary>
public const uint PairRequest = 13;
public const uint PairRequest = Se13;
/// <summary>
/// Download complete sound (item obtained)
/// Download complete sound (<se.10>, a clean sparkle tone)
/// </summary>
public const uint DownloadComplete = 30;
public const uint DownloadComplete = Se10;
/// <summary>
/// Get default sound for notification type
/// </summary>