improvfmeents
This commit is contained in:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user