35 lines
721 B
Protocol Buffer
35 lines
721 B
Protocol Buffer
|
syntax = "proto2";
|
||
|
|
||
|
package tm;
|
||
|
|
||
|
import "match.proto";
|
||
|
message MobileDevice {
|
||
|
enum DeviceRole {
|
||
|
MATCH_SCORING = 0;
|
||
|
SKILLS_SCORING = 1;
|
||
|
FIELD_CONTROL = 2;
|
||
|
INSPECTION = 3;
|
||
|
ANNOUNCER = 4;
|
||
|
}
|
||
|
optional string devId = 1;
|
||
|
optional string name = 2;
|
||
|
optional bool enabled = 3;
|
||
|
optional uint32 expires = 4;
|
||
|
optional bool activated = 5 [default = false];
|
||
|
optional string devKey = 6;
|
||
|
repeated tm.MobileDevice.DeviceRole roles = 7;
|
||
|
}
|
||
|
|
||
|
message MobileDeviceList {
|
||
|
repeated tm.MobileDevice devices = 1;
|
||
|
}
|
||
|
|
||
|
message MobileDeviceMatchLock {
|
||
|
optional string devId = 1;
|
||
|
optional tm.MatchTuple matchTuple = 2;
|
||
|
}
|
||
|
|
||
|
message MobileDeviceMatchLockList {
|
||
|
repeated tm.MobileDeviceMatchLock devices = 1;
|
||
|
}
|