Merge pull request #2075 from thecodingmachine/codeAPI
Refactoring Error Screen
This commit is contained in:
@@ -217,10 +217,29 @@ message UserLeftMessage {
|
||||
int32 userId = 1;
|
||||
}
|
||||
|
||||
/*
|
||||
* ErrorMessage is only used to console.error the message in the front
|
||||
*/
|
||||
message ErrorMessage {
|
||||
string message = 1;
|
||||
}
|
||||
|
||||
/*
|
||||
* ErrorScreenMessage is used to show the ErrorScreen in the front
|
||||
*/
|
||||
message ErrorScreenMessage {
|
||||
string type = 1;
|
||||
google.protobuf.StringValue code = 2;
|
||||
google.protobuf.StringValue title = 3;
|
||||
google.protobuf.StringValue subtitle = 4;
|
||||
google.protobuf.StringValue details = 5;
|
||||
google.protobuf.Int32Value timeToRetry = 6;
|
||||
google.protobuf.BoolValue canRetryManual = 7;
|
||||
google.protobuf.StringValue urlToRedirect = 8;
|
||||
google.protobuf.StringValue buttonTitle = 9;
|
||||
google.protobuf.StringValue image = 10;
|
||||
}
|
||||
|
||||
message ItemStateMessage {
|
||||
int32 itemId = 1;
|
||||
string stateJson = 2;
|
||||
@@ -332,6 +351,7 @@ message ServerToClientMessage {
|
||||
FollowAbortMessage followAbortMessage = 23;
|
||||
InvalidTextureMessage invalidTextureMessage = 24;
|
||||
GroupUsersUpdateMessage groupUsersUpdateMessage = 25;
|
||||
ErrorScreenMessage errorScreenMessage = 26;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user