26 lines
580 B
Protocol Buffer
26 lines
580 B
Protocol Buffer
|
syntax = "proto2";
|
||
|
|
||
|
package tm;
|
||
|
|
||
|
import "match.proto";
|
||
|
message TextMessageConfig {
|
||
|
optional bool inUse = 1;
|
||
|
optional bool enabled = 2;
|
||
|
optional uint32 firstCallInSecs = 3 [default = 1200];
|
||
|
optional uint32 secondCallInSecs = 4 [default = 600];
|
||
|
}
|
||
|
|
||
|
message TextMessageNotice {
|
||
|
enum MessageType {
|
||
|
MSG_SENT = 1;
|
||
|
MSG_FAILED = 2;
|
||
|
ERROR = 3;
|
||
|
}
|
||
|
required tm.TextMessageNotice.MessageType noticeType = 1;
|
||
|
repeated string teams = 2;
|
||
|
optional tm.MatchTuple match = 3;
|
||
|
optional uint32 timeSent = 4;
|
||
|
optional uint32 callNum = 5;
|
||
|
optional string errMsg = 6;
|
||
|
}
|