Join | roomId: int, roomType: int | None | Start matchmaking, roomType is always 0 |
ReJoin | None | None | Deprecated |
CancelJoin | None | None | Cancel matchmaking |
Confirm | None | None | Deprecated |
BackToHome | None | None | Deprecated |
Huansanzhang | None | None | Swap three tiles, only available in this mode |
Babei | None | None | Execute Babei |
Discard | tile: string, tsumogiri: bool | None | Discard a tile, tile is the tile name, tsumogiri indicates if it's the last drawn tile |
Riichi | tile: string, tsumogiri: bool | None | Declare Riichi, tile is the tile name, tsumogiri indicates if it's the last drawn tile |
Chii | tile0: string, tile1: string | None | Chii, tile0 and tile1 are the tiles to use for Chii |
Pon | tile0: string, tile1: string | None | Pon, tile0 and tile1 are the tiles to use for Pon |
Daimingkan | tile: string | None | Daimingkan, tile is the tile name |
Kakan | tile: string | None | Kakan, tile is the tile name |
Ankan | tile: string | None | Ankan, tile is the tile name |
Ryukyoku | None | None | Nine Terminal Tiles |
Tsumo | None | None | Tsumo (Self-draw win) |
Ron | None | None | Ron (Win by discard) |
Cancel | None | None | Cancel or skip |
ComeBack | None | None | "I'm back", called when a player is detected as leaving |