Exemple #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Id.Length != 0)
            {
                hash ^= Id.GetHashCode();
            }
            if (Company.Length != 0)
            {
                hash ^= Company.GetHashCode();
            }
            if (profileCreated_ != null)
            {
                hash ^= ProfileCreated.GetHashCode();
            }
            if (IsInactive != false)
            {
                hash ^= IsInactive.GetHashCode();
            }
            if (IsCompanyHidden != false)
            {
                hash ^= IsCompanyHidden.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Exemple #2
0
 private void OnDisable()
 {
     if (!_objectPool)
     {
         return;
     }
     _isBecomingInactive = false;
     IsInactive?.Invoke(this);
     for (int i = 0; i < AREA_ROWS; i++)
     {
         for (int j = 0; j < AREA_COLUMNS; j++)
         {
             if (_points[i, j].childCount > 0)
             {
                 var go = _points[i, j].GetChild(0);
                 go.transform.parent = _objectPool.transform;
                 go.gameObject.SetActive(false);
                 _occupiedPoints[i, j] = false;
             }
             if (_occupiedPoints[i, j])
             {
                 _occupiedPoints[i, j] = false;
             }
         }
     }
 }
Exemple #3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Id.Length != 0)
            {
                hash ^= Id.GetHashCode();
            }
            if (Login.Length != 0)
            {
                hash ^= Login.GetHashCode();
            }
            if (Password.Length != 0)
            {
                hash ^= Password.GetHashCode();
            }
            if (created_ != null)
            {
                hash ^= Created.GetHashCode();
            }
            if (passwordUpdate_ != null)
            {
                hash ^= PasswordUpdate.GetHashCode();
            }
            if (agreementAccepted_ != null)
            {
                hash ^= AgreementAccepted.GetHashCode();
            }
            if (IsLocked != false)
            {
                hash ^= IsLocked.GetHashCode();
            }
            if (IsInactive != false)
            {
                hash ^= IsInactive.GetHashCode();
            }
            if (EmailAddress.Length != 0)
            {
                hash ^= EmailAddress.GetHashCode();
            }
            if (PhoneNumber.Length != 0)
            {
                hash ^= PhoneNumber.GetHashCode();
            }
            if (FullName.Length != 0)
            {
                hash ^= FullName.GetHashCode();
            }
            if (PrefferredLanguage.Length != 0)
            {
                hash ^= PrefferredLanguage.GetHashCode();
            }
            if (ForceChangePassword != false)
            {
                hash ^= ForceChangePassword.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }