Cockatrice/libcockatrice_protocol/libcockatrice/protocol/pb/event_notify_user.proto
BruebachL 1ef07309d6
Turn Card, Deck_List, Protocol, RNG, Network (Client, Server), Settings and Utility into libraries and remove cockatrice_common. (#6212)
---------

Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
Co-authored-by: ebbit1q <ebbit1q@gmail.com>
2025-10-09 07:36:12 +02:00

21 lines
516 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;
}