Example #1
0
        private void WebSocket_OnOpen(object sender, EventArgs e)
        {
            JoinLobbyView view = appManager.ViewModel.GetView <JoinLobbyView>();

            view.SetServerStatus(true);
        }
Example #2
0
        private void WebSocket_OnClose(object sender, CloseEventArgs e)
        {
            JoinLobbyView view = appManager.ViewModel.GetView <JoinLobbyView>();

            view.SetServerStatus(false);
        }