Esempio n. 1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Account.Length != 0)
            {
                hash ^= Account.GetHashCode();
            }
            if (Pwd.Length != 0)
            {
                hash ^= Pwd.GetHashCode();
            }
            if (Servernumber != 0)
            {
                hash ^= Servernumber.GetHashCode();
            }
            if (Mac.Length != 0)
            {
                hash ^= Mac.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Esempio n. 2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Channel.Length != 0)
            {
                hash ^= Channel.GetHashCode();
            }
            if (ChannelInfo.Length != 0)
            {
                hash ^= ChannelInfo.GetHashCode();
            }
            if (Account.Length != 0)
            {
                hash ^= Account.GetHashCode();
            }
            if (Pwd.Length != 0)
            {
                hash ^= Pwd.GetHashCode();
            }
            if (MobileOs != 0)
            {
                hash ^= MobileOs.GetHashCode();
            }
            if (ClientVersion.Length != 0)
            {
                hash ^= ClientVersion.GetHashCode();
            }
            if (Language != 0)
            {
                hash ^= Language.GetHashCode();
            }
            if (ServerId.Length != 0)
            {
                hash ^= ServerId.GetHashCode();
            }
            if (Mac.Length != 0)
            {
                hash ^= Mac.GetHashCode();
            }
            if (Idfa.Length != 0)
            {
                hash ^= Idfa.GetHashCode();
            }
            if (Driver.Length != 0)
            {
                hash ^= Driver.GetHashCode();
            }
            if (Ts.Length != 0)
            {
                hash ^= Ts.GetHashCode();
            }
            return(hash);
        }
Esempio n. 3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Uid.Length != 0)
            {
                hash ^= Uid.GetHashCode();
            }
            if (Pwd.Length != 0)
            {
                hash ^= Pwd.GetHashCode();
            }
            if (VerCode.Length != 0)
            {
                hash ^= VerCode.GetHashCode();
            }
            return(hash);
        }
Esempio n. 4
0
 public override int GetHashCode()
 {
     return
         (((Id == null) ? 0 : Id.GetHashCode())
          ^ ((Username == null) ? 0 : Username.GetHashCode())
          ^ ((Pwd == null) ? 0 : Pwd.GetHashCode())
          ^ ((DtStart == null) ? 0 : DtStart.Value.GetHashCode())
          ^ ((DtEnd == null) ? 0 : DtEnd.Value.GetHashCode())
          ^ Active.GetHashCode()
          ^ ((AuthModeId == null) ? 0 : AuthModeId.GetHashCode())
          ^ ((FirstName == null) ? 0 : FirstName.GetHashCode())
          ^ ((LastName == null) ? 0 : LastName.GetHashCode())
          ^ ((MiddleName == null) ? 0 : MiddleName.GetHashCode())
          ^ ((Telephone1 == null) ? 0 : Telephone1.GetHashCode())
          ^ ((Telephone2 == null) ? 0 : Telephone2.GetHashCode())
          ^ ((Email == null) ? 0 : Email.GetHashCode())
          ^ ((SessionId == null) ? 0 : SessionId.GetHashCode())
         );
 }
Esempio n. 5
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (opts_ != null)
            {
                hash ^= Opts.GetHashCode();
            }
            if (Pwd.Length != 0)
            {
                hash ^= Pwd.GetHashCode();
            }
            if (SessionID != 0UL)
            {
                hash ^= SessionID.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Esempio n. 6
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (opts_ != null)
            {
                hash ^= Opts.GetHashCode();
            }
            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (Pwd.Length != 0)
            {
                hash ^= Pwd.GetHashCode();
            }
            if (VertPwd != false)
            {
                hash ^= VertPwd.GetHashCode();
            }
            if (Ip.Length != 0)
            {
                hash ^= Ip.GetHashCode();
            }
            if (Time != 0L)
            {
                hash ^= Time.GetHashCode();
            }
            if (Channel != 0)
            {
                hash ^= Channel.GetHashCode();
            }
            if (Browser != 0)
            {
                hash ^= Browser.GetHashCode();
            }
            if (Platform != 0)
            {
                hash ^= Platform.GetHashCode();
            }
            if (UnionID.Length != 0)
            {
                hash ^= UnionID.GetHashCode();
            }
            if (Nickname.Length != 0)
            {
                hash ^= Nickname.GetHashCode();
            }
            if (Avatar.Length != 0)
            {
                hash ^= Avatar.GetHashCode();
            }
            if (Gender != 0)
            {
                hash ^= Gender.GetHashCode();
            }
            if (Money != 0)
            {
                hash ^= Money.GetHashCode();
            }
            if (Diamoned != 0)
            {
                hash ^= Diamoned.GetHashCode();
            }
            if (Rank != 0)
            {
                hash ^= Rank.GetHashCode();
            }
            if (Exp != 0)
            {
                hash ^= Exp.GetHashCode();
            }
            if (Champions.Length != 0)
            {
                hash ^= Champions.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Esempio n. 7
0
 public override int GetHashCode()
 {
     unchecked
     {
         return(((Command != null ? Command.GetHashCode() : 0) * 397) ^ (Pwd != null ? Pwd.GetHashCode() : 0));
     }
 }