Ejemplo n.º 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;
        }
Ejemplo n.º 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");
        }
Ejemplo n.º 3
0
 private void OnConnectionLost(ConnectionLostReasons reason)
 {
     IsGameNotStarted = true;
 }
Ejemplo n.º 4
0
 private void OnConnectionLost(ConnectionLostReasons reason)
 {
     PlayerId   = -1;
     PlayerName = "Not playing";
     Team       = "";
 }
Ejemplo n.º 5
0
 private void OnConnectionLost(ConnectionLostReasons reason)
 {
     _isRegistered   = false;
     _isServerMaster = false;
     UpdateEnabilityAndLabel();
 }
Ejemplo n.º 6
0
 private void OnConnectionLost(ConnectionLostReasons reason)
 {
     RefreshMode();
 }
Ejemplo n.º 7
0
 private void OnConnectionLost(ConnectionLostReasons reason)
 {
     IsServerMaster   = false;
     IsGameNotStarted = true;
 }
Ejemplo n.º 8
0
 private void OnConnectionLost(ConnectionLostReasons reason)
 {
     ClearEntries();
     IsServerMaster = false;
 }
Ejemplo n.º 9
0
 private void OnConnectionLost(ConnectionLostReasons reason)
 {
     ExecuteOnUIThread.Invoke(ResetImmunity);
 }
Ejemplo n.º 10
0
 private void OnConnectionLost(ConnectionLostReasons reason)
 {
     IsRegistered       = false;
     ActiveTabItemIndex = ConnectionViewModel.TabIndex;
 }
Ejemplo n.º 11
0
 private void OnConnectionLost(ConnectionLostReasons reason)
 {
     RefreshResetEnable();
 }
Ejemplo n.º 12
0
 private void OnConnectionLost(ConnectionLostReasons reason)
 {
     ExecuteOnUIThread.Invoke(DesactivateContinuousSpecials);
 }
Ejemplo n.º 13
0
 private void OnConnectionLost(ConnectionLostReasons reason)
 {
     PlayerId = -1;
     HasLost  = false;
     Team     = "";
 }
Ejemplo n.º 14
0
 private void OnConnectionLost(ConnectionLostReasons reason)
 {
     StopTimer(false);
 }