-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathuser_preferences.proto
64 lines (52 loc) · 1.38 KB
/
user_preferences.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
syntax = "proto3";
import "./utils.proto";
message UserPreferences {
message Descendants {
int32 count = 1;
int32 hintFlags = 2;
int32 lastSeenLevelThreshold = 3;
Timestamp lastSeenDate = 4;
bool hasSeenTutorial = 5;
}
message MapLenses {
repeated string enabledLenses = 1;
repeated string seenLenses = 2;
uint32 preferredFuelType = 3;
}
message PowerMoves {
repeated int32 seenVideos = 1;
bool easterEggShown = 2;
bool pageSeen = 3;
}
message Chat {
bool voiceNotePermissionGranted = 1;
}
message Chime {
bool friendOnlyPlaces = 1;
Timestamp lastSeenDate = 2;
}
message Flash {
bool flashSmallTutorialDisplayed = 1;
bool flashHeavyTutorialDisplayed = 2;
}
float bumpAccelerationThreshold = 1;
bool footstepsOnboardingDone = 2;
bool footstepsStartedOnce = 3;
bool coronaBumpDialogDisplayed = 6;
bool friendshipFactsDisplayed = 10;
Descendants descendants = 4;
MapLenses mapLenses = 8;
PowerMoves powerMoves = 11;
Chat chat = 12;
Chime chime = 13;
Flash flash = 14;
}
message UserPreferencesSetRequest {
UserPreferences preferences = 1;
}
message UserPreferencesSetResponse {
UserPreferencesSetError error = 1;
}
message UserPreferencesSetError {
Error error = 1;
}