Add a wrapper.

Took 35 minutes
This commit is contained in:
Lukas Brübach 2025-10-04 23:49:11 +02:00
parent e5f23f1906
commit 1d1de904e0
164 changed files with 25 additions and 34 deletions

View file

@ -0,0 +1,21 @@
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;
}