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

            if (lobby_ != null)
            {
                hash ^= Lobby.GetHashCode();
            }
            if (raidBattle_ != null)
            {
                hash ^= RaidBattle.GetHashCode();
            }
            if (PlayerCanJoinLobby != false)
            {
                hash ^= PlayerCanJoinLobby.GetHashCode();
            }
            if (Result != 0)
            {
                hash ^= Result.GetHashCode();
            }
            if (raidInfo_ != null)
            {
                hash ^= RaidInfo.GetHashCode();
            }
            if (TicketUsed != false)
            {
                hash ^= TicketUsed.GetHashCode();
            }
            if (FreeTicketAvailable != false)
            {
                hash ^= FreeTicketAvailable.GetHashCode();
            }
            if (ThrowsRemaining != 0)
            {
                hash ^= ThrowsRemaining.GetHashCode();
            }
            if (ReceivedRewards != false)
            {
                hash ^= ReceivedRewards.GetHashCode();
            }
            if (NumPlayersInLobby != 0)
            {
                hash ^= NumPlayersInLobby.GetHashCode();
            }
            if (ServerMs != 0L)
            {
                hash ^= ServerMs.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (RaidTelemetryId != 0)
            {
                hash ^= RaidTelemetryId.GetHashCode();
            }
            if (BundleVersion.Length != 0)
            {
                hash ^= BundleVersion.GetHashCode();
            }
            if (TimeSinceEnterRaid != 0F)
            {
                hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(TimeSinceEnterRaid);
            }
            if (TimeSinceLastRaidTelemetry != 0F)
            {
                hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(TimeSinceLastRaidTelemetry);
            }
            if (RaidLevel != 0)
            {
                hash ^= RaidLevel.GetHashCode();
            }
            if (PrivateLobby != false)
            {
                hash ^= PrivateLobby.GetHashCode();
            }
            if (TicketItem.Length != 0)
            {
                hash ^= TicketItem.GetHashCode();
            }
            if (NumPlayersInLobby != 0)
            {
                hash ^= NumPlayersInLobby.GetHashCode();
            }
            if (BattlePartyNumber != 0)
            {
                hash ^= BattlePartyNumber.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }