servatrice/common/pb/event_notify_user.proto
Gavin Bisesi 0734b81e6e Remove 'syntax = proto2' from .proto files.
That marker is only recognized by pb3-compatible compilers, meaning that
tools which are otherwise compatible with our files break on them.
Notably, this includes hprotoc (for haskell).
2016-01-14 08:09:40 -05:00

16 lines
298 B
Protocol Buffer

import "session_event.proto";
message Event_NotifyUser {
enum NotificationType {
PROMOTED = 1;
WARNING = 2;
}
extend SessionEvent {
optional Event_NotifyUser ext = 1010;
}
optional NotificationType type = 1;
optional string warning_reason = 2;
}