improvfmeents

This commit is contained in:
Michal Vrba
2026-09-04 11:31:52 +02:00
parent 7ca0e08637
commit d4e0071f95
14 changed files with 941 additions and 61 deletions
+10
View File
@@ -198,6 +198,16 @@ public class FxService
try { await _js.InvokeVoidAsync("FaraonFx.triggerDopamineBanner", title, subtitle, type); } catch { }
}
public async ValueTask PlayCardWhooshAsync()
{
try { await _js.InvokeVoidAsync("FaraonFx.playCardWhoosh"); } catch { }
}
public async ValueTask PlayBotSfxAsync(string? personalityId, string? emotion = null)
{
try { await _js.InvokeVoidAsync("FaraonFx.playBotPersonalitySfx", personalityId, emotion); } catch { }
}
public async ValueTask<bool> ToggleMuteAsync()
{
try { return await _js.InvokeAsync<bool>("FaraonFx.toggleMute"); } catch { return false; }