mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-12 17:14:52 -07:00
Added server/client feature set communication
This commit is contained in:
parent
baa61d0571
commit
044c2356ff
26 changed files with 225 additions and 22 deletions
|
|
@ -37,6 +37,7 @@ message Response {
|
|||
RespActivationFailed = 32; // Server didn't accept a reg user activation token
|
||||
RespRegistrationAcceptedNeedsActivation = 33; // Server accepted cient registration, but it will need token activation
|
||||
RespClientIdRequired = 34; // Server requires client to generate and send its client id before allowing access
|
||||
RespClientUpdateRequired = 35; // Client is missing features that the server is requiring
|
||||
}
|
||||
enum ResponseType {
|
||||
JOIN_ROOM = 1000;
|
||||
|
|
|
|||
|
|
@ -11,4 +11,5 @@ message Response_Login {
|
|||
repeated ServerInfo_User ignore_list = 3;
|
||||
optional string denied_reason_str = 4;
|
||||
optional uint64 denied_end_time = 5;
|
||||
repeated string missing_features = 6;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -46,6 +46,7 @@ message Command_Login {
|
|||
optional string password = 2;
|
||||
optional string clientid = 3;
|
||||
optional string clientver = 4;
|
||||
repeated string clientfeatures = 5;
|
||||
}
|
||||
|
||||
message Command_Message {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue