mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-14 22:42:14 -07:00
Turn things in common into separate libs.
Took 2 hours 27 minutes
This commit is contained in:
parent
53d80efab8
commit
01378b8314
389 changed files with 336 additions and 233 deletions
|
|
@ -1,21 +0,0 @@
|
|||
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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue