diff --git a/lib/src/core/audio/audio_service.dart b/lib/src/core/audio/audio_service.dart index a21b8e2..2acdb54 100644 --- a/lib/src/core/audio/audio_service.dart +++ b/lib/src/core/audio/audio_service.dart @@ -443,8 +443,15 @@ enum BgmType { title, town, battle, + battleAct4, // Act IV 전용 전투 BGM + battleAct5, // Act V 전용 전투 BGM boss, + actBoss, // Act 보스 전용 BGM + elite, // 엘리트 몬스터 전투 BGM victory, + death, // 사망 BGM + actCinematic, // Act 전환 시네마틱 BGM + ending, // 엔딩 BGM } /// SFX 타입 열거형 @@ -463,7 +470,20 @@ enum SfxType { /// BgmType을 파일명으로 변환 extension BgmTypeExtension on BgmType { - String get fileName => name; + String get fileName => switch (this) { + BgmType.title => 'title', + BgmType.town => 'town', + BgmType.battle => 'battle', + BgmType.battleAct4 => 'battle_act4', + BgmType.battleAct5 => 'battle_act5', + BgmType.boss => 'boss', + BgmType.actBoss => 'act_boss', + BgmType.elite => 'elite', + BgmType.victory => 'victory', + BgmType.death => 'death', + BgmType.actCinematic => 'act_cinemetic', // 파일명 오타 유지 + BgmType.ending => 'ending', + }; } /// SfxType을 파일명으로 변환