Specify reason when on game leave; fix #2624 (#2633)

* fix #2624

* feedback++
This commit is contained in:
ctrlaltca 2017-04-24 22:20:08 +02:00 committed by GitHub
parent 38ad71b06a
commit 29904c49da
8 changed files with 48 additions and 16 deletions

View file

@ -5,4 +5,11 @@ 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;
}