예제 #1
0
        private void OnConnectionLost(ConnectionLostReasons reason)
        {
            string msg;

            if (reason == ConnectionLostReasons.ServerNotFound)
            {
                msg = "*** Server not found";
            }
            else
            {
                msg = "*** Connection lost";
            }
            AddServerMessage(ChatColor.Red, msg);
            IsRegistered = false;
        }
예제 #2
0
        private void OnConnectionLost(ConnectionLostReasons reason)
        {
            string msg;

            if (reason == ConnectionLostReasons.ServerNotFound)
            {
                msg = "Server not found";
            }
            else
            {
                msg = "Connection lost";
            }

            SetConnectionResultMessage(ChatColor.Red, msg);
            _isRegistered = false;
            OnPropertyChanged("ConnectDisconnectLabel");
            OnPropertyChanged("IsNotRegistered");
        }
예제 #3
0
 private void OnConnectionLost(ConnectionLostReasons reason)
 {
     IsGameNotStarted = true;
 }
예제 #4
0
 private void OnConnectionLost(ConnectionLostReasons reason)
 {
     PlayerId   = -1;
     PlayerName = "Not playing";
     Team       = "";
 }
예제 #5
0
 private void OnConnectionLost(ConnectionLostReasons reason)
 {
     _isRegistered   = false;
     _isServerMaster = false;
     UpdateEnabilityAndLabel();
 }
예제 #6
0
 private void OnConnectionLost(ConnectionLostReasons reason)
 {
     RefreshMode();
 }
예제 #7
0
 private void OnConnectionLost(ConnectionLostReasons reason)
 {
     IsServerMaster   = false;
     IsGameNotStarted = true;
 }
예제 #8
0
 private void OnConnectionLost(ConnectionLostReasons reason)
 {
     ClearEntries();
     IsServerMaster = false;
 }
예제 #9
0
 private void OnConnectionLost(ConnectionLostReasons reason)
 {
     ExecuteOnUIThread.Invoke(ResetImmunity);
 }
예제 #10
0
 private void OnConnectionLost(ConnectionLostReasons reason)
 {
     IsRegistered       = false;
     ActiveTabItemIndex = ConnectionViewModel.TabIndex;
 }
예제 #11
0
 private void OnConnectionLost(ConnectionLostReasons reason)
 {
     RefreshResetEnable();
 }
예제 #12
0
 private void OnConnectionLost(ConnectionLostReasons reason)
 {
     ExecuteOnUIThread.Invoke(DesactivateContinuousSpecials);
 }
예제 #13
0
 private void OnConnectionLost(ConnectionLostReasons reason)
 {
     PlayerId = -1;
     HasLost  = false;
     Team     = "";
 }
예제 #14
0
 private void OnConnectionLost(ConnectionLostReasons reason)
 {
     StopTimer(false);
 }