![]() |
Cockatrice 2026-09-01-Development-3.1.0-beta.10
A virtual tabletop for multiplayer card games
|
Response is the server-to-client message sent immediately after a command, using the same cmd_id to link to the originating command.
It provides a Response::ResponseCode and optionally a Response::ResponseType to guide client handling.
All possible outcome codes are defined in Response::ResponseCode
These describe the result of the command, e.g., success, failure, or special conditions like bans or registration requirements.
Responses are routed according to Response::ResponseType
Each ResponseType corresponds to a high-level category, like JOIN_ROOM or DECK_UPLOAD.