mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-26 02:17:33 -05:00
--------- Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de> Co-authored-by: ebbit1q <ebbit1q@gmail.com>
17 lines
452 B
Protocol Buffer
17 lines
452 B
Protocol Buffer
syntax = "proto2";
|
|
import "session_event.proto";
|
|
|
|
message Event_ServerIdentification {
|
|
extend SessionEvent {
|
|
optional Event_ServerIdentification ext = 500;
|
|
}
|
|
enum ServerOptions {
|
|
NoOptions = 0;
|
|
SupportsPasswordHash = 1;
|
|
}
|
|
optional string server_name = 1;
|
|
optional string server_version = 2;
|
|
optional uint32 protocol_version = 3;
|
|
optional ServerOptions server_options = 4 [default = NoOptions];
|
|
}
|