Exemple #1
0
    void OnServerNotifyRoomLeave(ServerMessage.NotifyRoomLeave message)
    {
        // TODO: Display popup notice
        if (message.Reason == RoomLeaveReason.KickedForAfk)
        {
            Popups.MakeMessagePopup(Strings.Popups.KickedForAfk).Show();
        }

        ChangeMenu(ViewBrowser);
    }
Exemple #2
0
 void OnConnectionClosed(object sender, EventArgs e)
 {
     Popups.MakeMessagePopup(Strings.Popups.ConnectionError, () => ChangeMenu(ViewLogin)).Show();
 }