5~7단계 게임: 숨긴 유튜브 동기화 재생(전원 준비·버퍼링이면 모두 멈춤·30초 늦은 사람 제외·재생 오류 곡 교체), 정답 판정·점수·정답 블록, 입력 중·단축키, 힌트·스킵·다시듣기 투표, 3모드, 결과·이어풀기·다시 하기, 퀴즈 저장·불러오기 + 마지막 사람이 나가면 방 바로 닫기
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -98,6 +98,22 @@ export class Gateway {
|
||||
return err(rooms.kick(ws, m.userId));
|
||||
case 'host':
|
||||
return err(rooms.giveHost(ws, m.userId));
|
||||
case 'start':
|
||||
return err(rooms.start(ws));
|
||||
case 'audio':
|
||||
return rooms.audio(ws, m.n, m.ev, m.code);
|
||||
case 'vote':
|
||||
return err(rooms.vote(ws, m.kind));
|
||||
case 'typing':
|
||||
return rooms.typing(ws, m.on);
|
||||
case 'game':
|
||||
return err(rooms.gameAction(ws, m.action));
|
||||
case 'exclude':
|
||||
return err(rooms.exclude(ws, m.userId));
|
||||
case 'save':
|
||||
return err(rooms.save(ws, m.name));
|
||||
case 'load':
|
||||
return err(rooms.load(ws, m.id));
|
||||
case 'chat': {
|
||||
const g = this.d.chatGuard?.();
|
||||
if (g?.on) {
|
||||
|
||||
Reference in New Issue
Block a user