Cockatrice/libcockatrice_protocol/libcockatrice/protocol/pb/event_notify_user.proto
Lukas Brübach b8a70c48a4 [Server/Client/Protocol] Reporting users + moderation queue functionality
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
2026-08-21 10:43:15 +02:00

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;
}