-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathutils.proto
66 lines (55 loc) · 1.16 KB
/
utils.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
65
66
syntax = "proto3";
// ida type: time_Duration
message Duration {
int32 seconds = 1;
int32 nanoseconds = 2;
}
// ida type: _ptr_time_Time
message Timestamp {
// when seconds = -2006054656, then value is null
int32 seconds = 1;
int32 nanoseconds = 2;
}
// ida type: map_string_string (use with repeated)
message StringMapEntry {
string key = 1;
string value = 2;
}
// ida type: context_LatLng
message Location {
float latitude = 1;
float longitude = 2;
}
// ida type: _ptr_geometry_GeoPoint
message GeoPoint {
double latitude = 1;
double longitude = 2;
double altitude = 3;
}
// ida type: _ptr_geometry_GeoRectangle
message GeoRectangle {
GeoPoint topLeft = 1;
GeoPoint bottomRight = 2;
}
// ida type: _ptr_services_Error
message Error {
// todo enum
uint32 code = 1;
string message = 2;
}
// used for *Value types (wrapping enums)
// idk why they are used but whatever lol
message EnumWrap {
uint32 value = 1;
}
// ida type: _ptr_types_BoolValue
message BoolValue {
bool value = 1;
}
// ida type: _ptr_types_BoolValue
message StringValue {
string value = 1;
}
message Empty {
// empty message
}