mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-28 00:42:19 -07:00
Took 6 minutes Took 3 minutes Took 8 seconds Took 11 minutes Took 12 minutes Took 7 minutes Took 15 seconds Took 2 minutes Took 1 minute Took 30 seconds Took 16 seconds
23 lines
573 B
Protocol Buffer
23 lines
573 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;
|
|
REPORT_RESOLVED = 5;
|
|
REPORT_COMMENT = 6;
|
|
}
|
|
|
|
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;
|
|
}
|