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

            hash ^= lobbyId_.GetHashCode();
            hash ^= players_.GetHashCode();
            if (PlayerJoinEndMs != 0L)
            {
                hash ^= PlayerJoinEndMs.GetHashCode();
            }
            if (PokemonSelectionEndMs != 0L)
            {
                hash ^= PokemonSelectionEndMs.GetHashCode();
            }
            if (RaidBattleStartMs != 0L)
            {
                hash ^= RaidBattleStartMs.GetHashCode();
            }
            if (RaidBattleEndMs != 0L)
            {
                hash ^= RaidBattleEndMs.GetHashCode();
            }
            if (RaidBattleId.Length != 0)
            {
                hash ^= RaidBattleId.GetHashCode();
            }
            if (OwnerNickname.Length != 0)
            {
                hash ^= OwnerNickname.GetHashCode();
            }
            if (Private != false)
            {
                hash ^= Private.GetHashCode();
            }
            if (CreationMs != 0L)
            {
                hash ^= CreationMs.GetHashCode();
            }
            if (BattlePlfeInstance != 0)
            {
                hash ^= BattlePlfeInstance.GetHashCode();
            }
            if (WeatherCondition != 0)
            {
                hash ^= WeatherCondition.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Exemplo n.º 2
0
        public override int GetHashCode()
        {
            int hash = 1;

            hash ^= lobbyId_.GetHashCode();
            hash ^= players_.GetHashCode();
            if (PlayerJoinEndMs != 0L)
            {
                hash ^= PlayerJoinEndMs.GetHashCode();
            }
            if (PokemonSelectionEndMs != 0L)
            {
                hash ^= PokemonSelectionEndMs.GetHashCode();
            }
            if (RaidBattleStartMs != 0L)
            {
                hash ^= RaidBattleStartMs.GetHashCode();
            }
            if (RaidBattleEndMs != 0L)
            {
                hash ^= RaidBattleEndMs.GetHashCode();
            }
            if (RaidBattleId.Length != 0)
            {
                hash ^= RaidBattleId.GetHashCode();
            }
            if (OwnerNickname.Length != 0)
            {
                hash ^= OwnerNickname.GetHashCode();
            }
            if (Private != false)
            {
                hash ^= Private.GetHashCode();
            }
            if (CreationMs != 0L)
            {
                hash ^= CreationMs.GetHashCode();
            }
            return(hash);
        }