DisconnectEvent
DisconnectEvent
Properties
string roomName { get; }
The name of the room where the event originated.
bool quickmatchRoom { get; }
Whether the room was a Quickmatch room.
string quickmatchRoomGroupName { get; }
The Quickmatch room group name, if applicable.
string quickmatchRoomCode { get; }
The Quickmatch room code, if applicable.
int? quickmatchRoomCapacity { get; }
The Quickmatch room capacity, if applicable.
ConnectOptions connectOptions { get; }
The connection options used to connect to the room.
bool didConnectToRoom { get; }
Whether the room was successfully connected prior to being disconnected.
string message { get; }
A user-friendly description of the disconnect. It can be displayed to players in a GUI for example.
Methods
string ToString()
A detailed description of the disconnect. This can be included in the logs.