loaction and appdata added
This commit is contained in:
@ -1,3 +1,9 @@
|
||||
// You should use the field numbers 1 through 15
|
||||
// for the most-frequently-set fields.
|
||||
// Lower field number values take less space in the wire format.
|
||||
// For example, field numbers in the range 1 through 15 take one byte to encode.
|
||||
// Field numbers in the range 16 through 2047 take two bytes.
|
||||
|
||||
syntax = "proto3";
|
||||
package meowlib;
|
||||
option go_package = "forge.redroom.link/yves/meowlib";
|
||||
@ -126,6 +132,10 @@ message UserMessage {
|
||||
Group group = 8;
|
||||
|
||||
repeated File files = 9;
|
||||
|
||||
Location currentLocation = 10;
|
||||
|
||||
bytes appdata = 11;
|
||||
}
|
||||
|
||||
message File {
|
||||
@ -133,4 +143,11 @@ message File {
|
||||
uint64 size=2;
|
||||
uint32 chunk=3;
|
||||
bytes data=4;
|
||||
}
|
||||
|
||||
message Location {
|
||||
uint64 time=1;
|
||||
float latitude=2;
|
||||
float longitude=3;
|
||||
int32 altitude=4;
|
||||
}
|
Reference in New Issue
Block a user