![]() |
Cockatrice 2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
|
Classes | |
| struct | SessionEvent |
Public Types | |
| enum | ServerOptions { NoOptions = 0 , SupportsPasswordHash = 1 } |
Public Attributes | |
| optional string | server_name = 1 |
| optional string | server_version = 2 |
| optional uint32 | protocol_version = 3 |
| optional ServerOptions | server_options = 4 [default = NoOptions] |
| optional bool | supports_challenge_response = 5 |
| optional uint32 Event_ServerIdentification::protocol_version = 3 |
| optional string Event_ServerIdentification::server_name = 1 |
| optional ServerOptions Event_ServerIdentification::server_options = 4 [default = NoOptions] |
| optional string Event_ServerIdentification::server_version = 2 |
| optional bool Event_ServerIdentification::supports_challenge_response = 5 |
Advertises challenge-response authentication separately from server_options. server_options must stay exactly SupportsPasswordHash on the wire: it is a proto2 enum (closed), so already-released clients compiled without any new enumerator parse an unknown value as NoOptions and fall back to sending the plaintext password. New clients check this field instead.