Turn things in common into separate libs.

Took 2 hours 27 minutes
This commit is contained in:
Lukas Brübach 2025-10-04 15:10:20 +02:00
parent 53d80efab8
commit 01378b8314
389 changed files with 336 additions and 233 deletions

15
libs/pb/event_leave.proto Normal file
View file

@ -0,0 +1,15 @@
syntax = "proto2";
import "game_event.proto";
message Event_Leave {
extend GameEvent {
optional Event_Leave ext = 1001;
}
enum LeaveReason {
OTHER = 1;
USER_KICKED = 2;
USER_LEFT = 3;
USER_DISCONNECTED = 4;
}
optional LeaveReason reason = 1;
}