refactor(core): 핵심 서비스 로직 개선

- audio_service: 오디오 처리 로직 수정
- ad_service: 광고 서비스 개선
- character_roll_service: 캐릭터 롤 로직 수정
- iap_service: 인앱 결제 로직 개선
- progress_loop: 진행 루프 업데이트
- return_rewards_service: 복귀 보상 로직 개선
- settings_repository: 설정 저장소 수정
This commit is contained in:
JiWoong Sul
2026-01-19 15:50:18 +09:00
parent 724de9a63c
commit ffc19c7ca6
7 changed files with 161 additions and 100 deletions

View File

@@ -89,6 +89,14 @@ class ProgressLoop {
_speedMultiplier = _availableSpeeds[nextIndex];
}
/// 특정 배속으로 직접 설정
/// 가용 배속 목록에 있는 경우에만 설정
void setSpeed(int speed) {
if (_availableSpeeds.contains(speed)) {
_speedMultiplier = speed;
}
}
/// 가용 배속 목록 업데이트 (명예의 전당 상태 변경 시)
void updateAvailableSpeeds(List<int> speeds) {
if (speeds.isEmpty) return;