Commit 11b1309d authored by Chunchi Che's avatar Chunchi Che

add playEffect on chat service

parent 1605f068
import { ygopro } from "@/api";
import { AudioActionType, playEffect } from "@/infra/audio";
import { chatStore } from "@/stores";
export default function handleChat(pb: ygopro.YgoStocMsg) {
playEffect(AudioActionType.SOUND_CHAT);
const chat = pb.stoc_chat;
chatStore.message = chat.msg;
chatStore.sender = chat.player;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment