GET /ws/room/:roomId
type
join
error
{ type, playerId, nickname, trip, wishRole, iconPath }
gm_set_channel_restrictions
chdis
targetPlayerId
roomId
openVote
selfVote
voteStatus
lastWordsEnabled
gameStateFields
phase
day
hostId
revoteCount
commonTalkVisible
channelRestrictions
players
votes
votedPlayerIds
ownNightActionTarget
lobbyStartVotedPlayerIds
lobbyKickVoteTargets
objectionCounts
roomEndVotedPlayerIds
winner
phaseEndsAt
suddenDeathWarningAt
log
common_chat
playerId
common_voice
gm_set_common_voice
actionAckActions
start_game
vote
night_kill
divine
guard
child_fox_divine
cat_revive
kick_player
leave_room
room_end_vote
gm_advance_phase
gm_end_game
gm_set_alive
gm_set_role
gm_set_flag
src/types.ts
src/validation.ts
src/room.ts
/api/protocol
README.md#websocket-protocol