servatrice/common/pb/event_connection_closed.proto
woogerboy21 a9acb3f1cc Total Max User Restriction
Syntax correction.
2015-07-13 17:54:03 -04:00

18 lines
386 B
Protocol Buffer

import "session_event.proto";
message Event_ConnectionClosed {
extend SessionEvent {
optional Event_ConnectionClosed ext = 1002;
}
enum CloseReason {
OTHER = 1;
SERVER_SHUTDOWN = 2;
TOO_MANY_CONNECTIONS = 3;
BANNED = 4;
USERNAMEINVALID = 5;
USER_LIMIT_REACHED = 6;
}
optional CloseReason reason = 1;
optional string reason_str = 2;
optional uint32 end_time = 3;
}