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

            if (Uid != 0L)
            {
                hash ^= Uid.GetHashCode();
            }
            if (PlayerID != 0)
            {
                hash ^= PlayerID.GetHashCode();
            }
            if (PlayerName.Length != 0)
            {
                hash ^= PlayerName.GetHashCode();
            }
            if (Score != 0)
            {
                hash ^= Score.GetHashCode();
            }
            if (IsAI != false)
            {
                hash ^= IsAI.GetHashCode();
            }
            if (IsOut != false)
            {
                hash ^= IsOut.GetHashCode();
            }
            return(hash);
        }
예제 #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Api.Length != 0)
            {
                hash ^= Api.GetHashCode();
            }
            if (Sid.Length != 0)
            {
                hash ^= Sid.GetHashCode();
            }
            if (Uid.Length != 0)
            {
                hash ^= Uid.GetHashCode();
            }
            if (Key.Length != 0)
            {
                hash ^= Key.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
예제 #3
0
        public override int GetHashCode()
        {
            var hashCode = -2125747154;

            hashCode = hashCode * -1521134295 + Uid.GetHashCode();
            hashCode = hashCode * -1521134295 + Ifnr.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Text);

            hashCode = hashCode * -1521134295 + MinValue.GetHashCode();
            hashCode = hashCode * -1521134295 + MaxValue.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Datatype);

            hashCode = hashCode * -1521134295 + Group.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Modify);

            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Visible);

            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(FunctionPointer);

            hashCode = hashCode * -1521134295 + PropertyBitMask.GetHashCode();
            hashCode = hashCode * -1521134295 + ParentUserDirCode.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <ComboBoxInput> .Default.GetHashCode(ComboBox);

            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(TextBox);

            return(hashCode);
        }
예제 #4
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Code != 0)
            {
                hash ^= Code.GetHashCode();
            }
            if (Msg.Length != 0)
            {
                hash ^= Msg.GetHashCode();
            }
            if (Uid != 0L)
            {
                hash ^= Uid.GetHashCode();
            }
            if (Mid != 0)
            {
                hash ^= Mid.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
예제 #5
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Ret != 0)
            {
                hash ^= Ret.GetHashCode();
            }
            if (ManagerIp.Length != 0)
            {
                hash ^= ManagerIp.GetHashCode();
            }
            if (ManagerPort != 0)
            {
                hash ^= ManagerPort.GetHashCode();
            }
            if (Uid != 0L)
            {
                hash ^= Uid.GetHashCode();
            }
            if (Key.Length != 0)
            {
                hash ^= Key.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hashCode = 718353637;

            if (Uid != null)
            {
                hashCode += Uid.GetHashCode();
            }

            if (Cadence != null)
            {
                hashCode += Cadence.GetHashCode();
            }

            if (Periods != null)
            {
                hashCode += Periods.GetHashCode();
            }

            if (RecurringPriceMoney != null)
            {
                hashCode += RecurringPriceMoney.GetHashCode();
            }

            if (Ordinal != null)
            {
                hashCode += Ordinal.GetHashCode();
            }

            return(hashCode);
        }
예제 #7
0
    public override int GetHashCode()
    {
        int hash = 1;

        if (Error != 0)
        {
            hash ^= Error.GetHashCode();
        }
        if (LoginRet != 0)
        {
            hash ^= LoginRet.GetHashCode();
        }
        if (Uid != 0)
        {
            hash ^= Uid.GetHashCode();
        }
        if (UserName.Length != 0)
        {
            hash ^= UserName.GetHashCode();
        }
        if (_unknownFields != null)
        {
            hash ^= _unknownFields.GetHashCode();
        }
        return(hash);
    }
예제 #8
0
        public override int GetHashCode()
        {
            int hashCode = 141089450;

            if (Uid != null)
            {
                hashCode += Uid.GetHashCode();
            }

            if (CatalogObjectId != null)
            {
                hashCode += CatalogObjectId.GetHashCode();
            }

            if (Name != null)
            {
                hashCode += Name.GetHashCode();
            }

            if (BasePriceMoney != null)
            {
                hashCode += BasePriceMoney.GetHashCode();
            }

            if (TotalPriceMoney != null)
            {
                hashCode += TotalPriceMoney.GetHashCode();
            }

            return(hashCode);
        }
예제 #9
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Uid.Length != 0)
            {
                hash ^= Uid.GetHashCode();
            }
            if (Email.Length != 0)
            {
                hash ^= Email.GetHashCode();
            }
            if (DisplayName.Length != 0)
            {
                hash ^= DisplayName.GetHashCode();
            }
            if (PhotoURL.Length != 0)
            {
                hash ^= PhotoURL.GetHashCode();
            }
            if (ProviderId.Length != 0)
            {
                hash ^= ProviderId.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
예제 #10
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Ret != 0)
            {
                hash ^= Ret.GetHashCode();
            }
            if (ConId != 0L)
            {
                hash ^= ConId.GetHashCode();
            }
            if (Uid != 0L)
            {
                hash ^= Uid.GetHashCode();
            }
            if (Key.Length != 0)
            {
                hash ^= Key.GetHashCode();
            }
            if (Ip.Length != 0)
            {
                hash ^= Ip.GetHashCode();
            }
            if (Port != 0)
            {
                hash ^= Port.GetHashCode();
            }
            return(hash);
        }
예제 #11
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Uid != 0UL)
            {
                hash ^= Uid.GetHashCode();
            }
            if (Recharge != 0)
            {
                hash ^= Recharge.GetHashCode();
            }
            if (Diamonds != 0)
            {
                hash ^= Diamonds.GetHashCode();
            }
            if (VipLevel != 0)
            {
                hash ^= VipLevel.GetHashCode();
            }
            if (Username.Length != 0)
            {
                hash ^= Username.GetHashCode();
            }
            return(hash);
        }
예제 #12
0
파일: Master.cs 프로젝트: hiank/tank_demo
        public override int GetHashCode()
        {
            int hash = 1;

            if (Uid != 0UL)
            {
                hash ^= Uid.GetHashCode();
            }
            if (ModelId != 0)
            {
                hash ^= ModelId.GetHashCode();
            }
            if (ModelLv != 0)
            {
                hash ^= ModelLv.GetHashCode();
            }
            if (Cup != 0)
            {
                hash ^= Cup.GetHashCode();
            }
            if (Uname.Length != 0)
            {
                hash ^= Uname.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
예제 #13
0
파일: Msg.cs 프로젝트: musickhz/dotanet
        public override int GetHashCode()
        {
            int hash = 1;

            if (ModeType.Length != 0)
            {
                hash ^= ModeType.GetHashCode();
            }
            if (Uid != 0)
            {
                hash ^= Uid.GetHashCode();
            }
            if (MsgType.Length != 0)
            {
                hash ^= MsgType.GetHashCode();
            }
            if (ConnectId != 0)
            {
                hash ^= ConnectId.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
예제 #14
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Ip != 0UL)
            {
                hash ^= Ip.GetHashCode();
            }
            if (Port != 0)
            {
                hash ^= Port.GetHashCode();
            }
            if (Status != 0)
            {
                hash ^= Status.GetHashCode();
            }
            if (Uid != 0L)
            {
                hash ^= Uid.GetHashCode();
            }
            if (Notice.Length != 0)
            {
                hash ^= Notice.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
예제 #15
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Uid != 0)
            {
                hash ^= Uid.GetHashCode();
            }
            if (Result != false)
            {
                hash ^= Result.GetHashCode();
            }
            if (Token.Length != 0)
            {
                hash ^= Token.GetHashCode();
            }
            if (Reason.Length != 0)
            {
                hash ^= Reason.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
예제 #16
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Uid.Length != 0)
            {
                hash ^= Uid.GetHashCode();
            }
            if (Phone.Length != 0)
            {
                hash ^= Phone.GetHashCode();
            }
            if (Money != 0)
            {
                hash ^= Money.GetHashCode();
            }
            if (Gcode != 0)
            {
                hash ^= Gcode.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
예제 #17
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Uid.Length != 0)
            {
                hash ^= Uid.GetHashCode();
            }
            if (Gid != 0)
            {
                hash ^= Gid.GetHashCode();
            }
            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (Price != 0)
            {
                hash ^= Price.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
예제 #18
0
    public override int GetHashCode()
    {
        int hash = 1;

        if (Uid != 0)
        {
            hash ^= Uid.GetHashCode();
        }
        if (MoveDirectionX != 0)
        {
            hash ^= MoveDirectionX.GetHashCode();
        }
        if (MoveDirectionY != 0)
        {
            hash ^= MoveDirectionY.GetHashCode();
        }
        if (AttackType != 0)
        {
            hash ^= AttackType.GetHashCode();
        }
        if (AttackDirectionX != 0)
        {
            hash ^= AttackDirectionX.GetHashCode();
        }
        if (AttackDirectionY != 0)
        {
            hash ^= AttackDirectionY.GetHashCode();
        }
        if (_unknownFields != null)
        {
            hash ^= _unknownFields.GetHashCode();
        }
        return(hash);
    }
예제 #19
0
        public override int GetHashCode()
        {
            int hashCode = -1406942862;

            if (Uid != null)
            {
                hashCode += Uid.GetHashCode();
            }

            if (RelativeScheduledDays != null)
            {
                hashCode += RelativeScheduledDays.GetHashCode();
            }

            if (Message != null)
            {
                hashCode += Message.GetHashCode();
            }

            if (Status != null)
            {
                hashCode += Status.GetHashCode();
            }

            if (SentAt != null)
            {
                hashCode += SentAt.GetHashCode();
            }

            return(hashCode);
        }
예제 #20
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Uid.Length != 0)
            {
                hash ^= Uid.GetHashCode();
            }
            if (DeviceId.Length != 0)
            {
                hash ^= DeviceId.GetHashCode();
            }
            if (Type != 0)
            {
                hash ^= Type.GetHashCode();
            }
            if (Msg.Length != 0)
            {
                hash ^= Msg.GetHashCode();
            }
            if (Time != 0L)
            {
                hash ^= Time.GetHashCode();
            }
            if (App.Length != 0)
            {
                hash ^= App.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
예제 #21
0
 /// <summary>
 ///     Returns a hash code for this instance.
 /// </summary>
 /// <returns>
 ///     A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
 /// </returns>
 public override int GetHashCode( )
 {
     if (Uid != null)
     {
         return(Uid.GetHashCode( ));
     }
     return(base.GetHashCode( ));
 }
예제 #22
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Primary != false)
            {
                hash ^= Primary.GetHashCode();
            }
            if (Username.Length != 0)
            {
                hash ^= Username.GetHashCode();
            }
            if (Uid != 0L)
            {
                hash ^= Uid.GetHashCode();
            }
            if (Gid != 0L)
            {
                hash ^= Gid.GetHashCode();
            }
            if (HomeDirectory.Length != 0)
            {
                hash ^= HomeDirectory.GetHashCode();
            }
            if (Shell.Length != 0)
            {
                hash ^= Shell.GetHashCode();
            }
            if (Gecos.Length != 0)
            {
                hash ^= Gecos.GetHashCode();
            }
            if (SystemId.Length != 0)
            {
                hash ^= SystemId.GetHashCode();
            }
            if (AccountId.Length != 0)
            {
                hash ^= AccountId.GetHashCode();
            }
            if (OperatingSystemType != global::Google.Cloud.OsLogin.Common.OperatingSystemType.Unspecified)
            {
                hash ^= OperatingSystemType.GetHashCode();
            }
            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
예제 #23
0
 public override int GetHashCode() {
   int hash = 1;
   if (HasUri) hash ^= Uri.GetHashCode();
   if (HasUid) hash ^= Uid.GetHashCode();
   if (HasGid) hash ^= Gid.GetHashCode();
   hash ^= Metadata.GetHashCode();
   if (_unknownFields != null) {
     hash ^= _unknownFields.GetHashCode();
   }
   return hash;
 }
예제 #24
0
        public override int GetHashCode()
        {
            unchecked
            {
                var hashCode = Label != null?Label.GetHashCode() : 0;

                hashCode = (hashCode * 397) ^ (Uid != null ? Uid.GetHashCode() : 0);
                hashCode = (hashCode * 397) ^ (Description != null ? Description.GetHashCode() : 0);
                hashCode = (hashCode * 397) ^ (Tags != null ? Tags.GetHashCode() : 0);
                hashCode = (hashCode * 397) ^ (Visibility != null ? Visibility.GetHashCode() : 0);
                return(hashCode);
            }
        }
        public override int GetHashCode()
        {
            int hashCode = 1132361355;

            if (Uid != null)
            {
                hashCode += Uid.GetHashCode();
            }

            if (SourceDiscountUid != null)
            {
                hashCode += SourceDiscountUid.GetHashCode();
            }

            if (CatalogObjectId != null)
            {
                hashCode += CatalogObjectId.GetHashCode();
            }

            if (Name != null)
            {
                hashCode += Name.GetHashCode();
            }

            if (Type != null)
            {
                hashCode += Type.GetHashCode();
            }

            if (Percentage != null)
            {
                hashCode += Percentage.GetHashCode();
            }

            if (AmountMoney != null)
            {
                hashCode += AmountMoney.GetHashCode();
            }

            if (AppliedMoney != null)
            {
                hashCode += AppliedMoney.GetHashCode();
            }

            if (Scope != null)
            {
                hashCode += Scope.GetHashCode();
            }

            return(hashCode);
        }
예제 #26
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (AppId != 0)
            {
                hash ^= AppId.GetHashCode();
            }
            if (Uid != 0L)
            {
                hash ^= Uid.GetHashCode();
            }
            if (InstanceId != 0L)
            {
                hash ^= InstanceId.GetHashCode();
            }
            if (Flags != 0)
            {
                hash ^= Flags.GetHashCode();
            }
            if (EncodingType != global::AcFunDanmu.PacketHeader.Types.EncodingType.KEncodingNone)
            {
                hash ^= EncodingType.GetHashCode();
            }
            if (DecodedPayloadLen != 0)
            {
                hash ^= DecodedPayloadLen.GetHashCode();
            }
            if (EncryptionMode != global::AcFunDanmu.PacketHeader.Types.EncryptionMode.KEncryptionNone)
            {
                hash ^= EncryptionMode.GetHashCode();
            }
            if (tokenInfo_ != null)
            {
                hash ^= TokenInfo.GetHashCode();
            }
            if (SeqId != 0L)
            {
                hash ^= SeqId.GetHashCode();
            }
            hash ^= features_.GetHashCode();
            if (Kpn.Length != 0)
            {
                hash ^= Kpn.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hashCode = -687616842;

            if (Uid != null)
            {
                hashCode += Uid.GetHashCode();
            }

            if (CatalogObjectId != null)
            {
                hashCode += CatalogObjectId.GetHashCode();
            }

            if (Name != null)
            {
                hashCode += Name.GetHashCode();
            }

            if (Type != null)
            {
                hashCode += Type.GetHashCode();
            }

            if (Percentage != null)
            {
                hashCode += Percentage.GetHashCode();
            }

            if (Metadata != null)
            {
                hashCode += Metadata.GetHashCode();
            }

            if (AppliedMoney != null)
            {
                hashCode += AppliedMoney.GetHashCode();
            }

            if (Scope != null)
            {
                hashCode += Scope.GetHashCode();
            }

            if (AutoApplied != null)
            {
                hashCode += AutoApplied.GetHashCode();
            }

            return(hashCode);
        }
예제 #28
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Uid != 0L)
            {
                hash ^= Uid.GetHashCode();
            }
            if (Key.Length != 0)
            {
                hash ^= Key.GetHashCode();
            }
            return(hash);
        }
예제 #29
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Uid != 0L)
            {
                hash ^= Uid.GetHashCode();
            }
            if (Nickname.Length != 0)
            {
                hash ^= Nickname.GetHashCode();
            }
            return(hash);
        }
예제 #30
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Uid != 0L)
            {
                hash ^= Uid.GetHashCode();
            }
            if (ConId != 0L)
            {
                hash ^= ConId.GetHashCode();
            }
            return(hash);
        }