servatrice/common/pb/event_notify_user.proto
woogerboy21 b64eab204c Added custom notify user event (#2398)
* Added custom notify user event.

* Untabbify
2017-02-08 18:00:53 -05:00

22 lines
518 B
Protocol Buffer

syntax = "proto2";
import "session_event.proto";
message Event_NotifyUser {
enum NotificationType {
UNKNOWN = 0; // Default enum value if no "type" is defined when used
PROMOTED = 1;
WARNING = 2;
IDLEWARNING = 3;
CUSTOM = 4;
}
extend SessionEvent {
optional Event_NotifyUser ext = 1010;
}
optional NotificationType type = 1;
optional string warning_reason = 2;
optional string custom_title = 3;
optional string custom_content = 4;
}