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

            if (InstanceId != 0)
            {
                hash ^= InstanceId.GetHashCode();
            }
            if (deck_ != null)
            {
                hash ^= Deck.GetHashCode();
            }
            if (Gold != 0)
            {
                hash ^= Gold.GetHashCode();
            }
            if (Food != 0)
            {
                hash ^= Food.GetHashCode();
            }
            hash ^= items_.GetHashCode();
            hash ^= equips_.GetHashCode();
            hash ^= buffs_.GetHashCode();
            return(hash);
        }
Example #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (accessPointsConfig_ != null)
            {
                hash ^= AccessPointsConfig.GetHashCode();
            }
            if (SessKey.Length != 0)
            {
                hash ^= SessKey.GetHashCode();
            }
            if (InstanceId != 0L)
            {
                hash ^= InstanceId.GetHashCode();
            }
            if (sdkOption_ != null)
            {
                hash ^= SdkOption.GetHashCode();
            }
            if (accessPointsCOnfigIpv6_ != null)
            {
                hash ^= AccessPointsCOnfigIpv6.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Example #3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Timestamp != 0L)
            {
                hash ^= Timestamp.GetHashCode();
            }
            if (GlobalTxId.Length != 0)
            {
                hash ^= GlobalTxId.GetHashCode();
            }
            if (LocalTxId.Length != 0)
            {
                hash ^= LocalTxId.GetHashCode();
            }
            if (ParentTxId.Length != 0)
            {
                hash ^= ParentTxId.GetHashCode();
            }
            if (Type.Length != 0)
            {
                hash ^= Type.GetHashCode();
            }
            if (CompensationMethod.Length != 0)
            {
                hash ^= CompensationMethod.GetHashCode();
            }
            if (Payloads.Length != 0)
            {
                hash ^= Payloads.GetHashCode();
            }
            if (ServiceName.Length != 0)
            {
                hash ^= ServiceName.GetHashCode();
            }
            if (InstanceId.Length != 0)
            {
                hash ^= InstanceId.GetHashCode();
            }
            if (Timeout != 0)
            {
                hash ^= Timeout.GetHashCode();
            }
            if (Retries != 0)
            {
                hash ^= Retries.GetHashCode();
            }
            if (RetryMethod.Length != 0)
            {
                hash ^= RetryMethod.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
 public override int GetHashCode()
 {
     unchecked
     {
         int hashCode = InstanceId.GetHashCode();
         hashCode = (hashCode * 397) ^ OriginatingIdentity.GetHashCode();
         return(hashCode);
     }
 }
Example #5
0
        public override int GetHashCode()
        {
            int result = _role.GetHashCode();

            result = 31 * result + _instanceId.GetHashCode();
            result = 31 * result + _clusterUri.GetHashCode();
            result = 31 * result + _roleUri.GetHashCode();
            return(result);
        }
Example #6
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (EndpointName != null ? EndpointName.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (InstanceId != null ? InstanceId.GetHashCode() : 0);
         return(hashCode);
     }
 }
Example #7
0
 public override int GetHashCode()
 {
     unchecked
     {
         var result = _difficultyIndex;
         result = (result * 397) ^ BindTime.GetHashCode();
         result = (result * 397) ^ MapId.GetHashCode();
         result = (result * 397) ^ InstanceId.GetHashCode();
         return(result);
     }
 }
        /// <inheritdoc />
        public override int GetHashCode()
        {
            unchecked
            {
                var hashCode = AppId.GetHashCode();
                hashCode = (hashCode * 397) ^ ClassId.GetHashCode();
                hashCode = (hashCode * 397) ^ InstanceId.GetHashCode();

                return(hashCode);
            }
        }
Example #9
0
        /// <inheritdoc />
        public override int GetHashCode()
        {
            unchecked
            {
                // ReSharper disable NonReadonlyMemberInGetHashCode - this property is not supposed to be changed except by asset analysis
                var hashCode = BasePartAsset != null?BasePartAsset.GetHashCode() : 0;

                // ReSharper restore NonReadonlyMemberInGetHashCode
                hashCode = (hashCode * 397) ^ BasePartId.GetHashCode();
                hashCode = (hashCode * 397) ^ InstanceId.GetHashCode();
                return(hashCode);
            }
        }
Example #10
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);
        }
Example #11
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (appInfo_ != null)
            {
                hash ^= AppInfo.GetHashCode();
            }
            if (deviceInfo_ != null)
            {
                hash ^= DeviceInfo.GetHashCode();
            }
            if (envInfo_ != null)
            {
                hash ^= EnvInfo.GetHashCode();
            }
            if (PresenceStatus != global::AcFunDanmu.RegisterRequest.Types.PresenceStatus.KPresenceOffline)
            {
                hash ^= PresenceStatus.GetHashCode();
            }
            if (AppActiveStatus != global::AcFunDanmu.RegisterRequest.Types.ActiveStatus.KInvalid)
            {
                hash ^= AppActiveStatus.GetHashCode();
            }
            if (AppCustomStatus.Length != 0)
            {
                hash ^= AppCustomStatus.GetHashCode();
            }
            if (pushServiceToken_ != null)
            {
                hash ^= PushServiceToken.GetHashCode();
            }
            if (InstanceId != 0L)
            {
                hash ^= InstanceId.GetHashCode();
            }
            hash ^= pushServiceTokenList_.GetHashCode();
            if (KeepaliveIntervalSec != 0)
            {
                hash ^= KeepaliveIntervalSec.GetHashCode();
            }
            if (ztCommonInfo_ != null)
            {
                hash ^= ZtCommonInfo.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (instanceId_ != null)
            {
                hash ^= InstanceId.GetHashCode();
            }
            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            return(hash);
        }
Example #13
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Result != 0)
            {
                hash ^= Result.GetHashCode();
            }
            if (InstanceId != 0)
            {
                hash ^= InstanceId.GetHashCode();
            }
            if (mapPlayerData_ != null)
            {
                hash ^= MapPlayerData.GetHashCode();
            }
            return(hash);
        }
Example #14
0
        public override int GetHashCode()
        {
            int hashcode = 0;

            if (InstanceId != null)
            {
                hashcode ^= InstanceId.GetHashCode();
            }

            if (TargetName != null)
            {
                hashcode ^= TargetName.GetHashCode();
            }

            if (DatabaseId != null)
            {
                hashcode ^= DatabaseId.GetHashCode();
            }

            return(hashcode);
        }
Example #15
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (playerData_ != null)
            {
                hash ^= PlayerData.GetHashCode();
            }
            if (PlayerPosX != 0)
            {
                hash ^= PlayerPosX.GetHashCode();
            }
            if (PlayerPosY != 0)
            {
                hash ^= PlayerPosY.GetHashCode();
            }
            if (PlayerModelId != 0)
            {
                hash ^= PlayerModelId.GetHashCode();
            }
            if (InstanceId != 0)
            {
                hash ^= InstanceId.GetHashCode();
            }
            if (deck_ != null)
            {
                hash ^= Deck.GetHashCode();
            }
            hash ^= cards_.GetHashCode();
            hash ^= equips_.GetHashCode();
            hash ^= buffs_.GetHashCode();
            hash ^= items_.GetHashCode();
            if (AddedExp != 0)
            {
                hash ^= AddedExp.GetHashCode();
            }
            hash ^= rewardCards_.GetHashCode();
            hash ^= rewardItems_.GetHashCode();
            return(hash);
        }
Example #16
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (InstanceId.Length != 0)
            {
                hash ^= InstanceId.GetHashCode();
            }
            if (Database.Length != 0)
            {
                hash ^= Database.GetHashCode();
            }
            if (Type != global::Google.Cloud.DataCatalog.V1.CloudSqlBigQueryConnectionSpec.Types.DatabaseType.Unspecified)
            {
                hash ^= Type.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (LayerIndex != 0)
            {
                hash ^= LayerIndex.GetHashCode();
            }
            if (InstanceId != 0)
            {
                hash ^= InstanceId.GetHashCode();
            }
            if (PlayerX != 0)
            {
                hash ^= PlayerX.GetHashCode();
            }
            if (PlayerY != 0)
            {
                hash ^= PlayerY.GetHashCode();
            }
            return(hash);
        }
Example #18
0
 public override int GetHashCode()
 {
     return(_instanceId.GetHashCode());
 }
Example #19
0
 public override int GetHashCode()
 {
     return(InstanceId.GetHashCode() ^ Connection.GetHashCode() ^ ImplementedInterface.GetHashCode());
 }
Example #20
0
 // override object.GetHashCode
 public override int GetHashCode()
 {
     return(TypeId.GetHashCode() ^
            GroupContainer.GetHashCode() ^
            InstanceId.GetHashCode());
 }
 public override int GetHashCode()
 {
     unchecked
     {
         return(((Id != null ? Id.GetHashCode() : 0) * 397) ^ (InstanceId != null ? InstanceId.GetHashCode() : 0));
     }
 }
Example #22
0
        public override int GetHashCode()
        {
            var result = 31 * 1 + ((InstanceId == null) ? 0 : InstanceId.GetHashCode());

            return(result);
        }
Example #23
0
 public override int GetHashCode()
 {
     return(-676353417 + InstanceId.GetHashCode());
 }
Example #24
0
 public override int GetHashCode()
 {
     return(((_difficultyIndex * 397 ^ BindTime.GetHashCode()) * 397 ^ MapId.GetHashCode()) *
            397 ^ InstanceId.GetHashCode());
 }