public override int GetHashCode()
        {
            int hash = 1;

            if (Id != 0UL)
            {
                hash ^= Id.GetHashCode();
            }
            if (PlayerCount != 0)
            {
                hash ^= PlayerCount.GetHashCode();
            }
            if (PlayerMax != 0)
            {
                hash ^= PlayerMax.GetHashCode();
            }
            if (State != 0)
            {
                hash ^= State.GetHashCode();
            }
            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (Id.Length != 0)
            {
                hash ^= Id.GetHashCode();
            }
            if (Receiver != 0)
            {
                hash ^= Receiver.GetHashCode();
            }
            if (TargetReward != 0)
            {
                hash ^= TargetReward.GetHashCode();
            }
            if (Modifier != 0F)
            {
                hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Modifier);
            }
            if (bonusKindCase_ == BonusKindOneofCase.PlayerCount)
            {
                hash ^= PlayerCount.GetHashCode();
            }
            if (bonusKindCase_ == BonusKindOneofCase.FastCompletion)
            {
                hash ^= FastCompletion.GetHashCode();
            }
            if (bonusKindCase_ == BonusKindOneofCase.RuneLevel)
            {
                hash ^= RuneLevel.GetHashCode();
            }
            if (bonusKindCase_ == BonusKindOneofCase.DefeatedMobCount)
            {
                hash ^= DefeatedMobCount.GetHashCode();
            }
            if (bonusKindCase_ == BonusKindOneofCase.PlayerRatio)
            {
                hash ^= PlayerRatio.GetHashCode();
            }
            hash ^= (int)bonusKindCase_;
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
                public override int GetHashCode()
                {
                    int hash = 1;

                    if (room_ != null)
                    {
                        hash ^= Room.GetHashCode();
                    }
                    if (PlayerCount != 0)
                    {
                        hash ^= PlayerCount.GetHashCode();
                    }
                    if (MaxPlayers != 0)
                    {
                        hash ^= MaxPlayers.GetHashCode();
                    }
                    if (_unknownFields != null)
                    {
                        hash ^= _unknownFields.GetHashCode();
                    }
                    return(hash);
                }
Exemple #4
0
                public override int GetHashCode()
                {
                    int hash = 1;

                    if (ChamberTemplateGmtId.Length != 0)
                    {
                        hash ^= ChamberTemplateGmtId.GetHashCode();
                    }
                    if (PlayerCount != 0)
                    {
                        hash ^= PlayerCount.GetHashCode();
                    }
                    if (StartTimeMs != 0L)
                    {
                        hash ^= StartTimeMs.GetHashCode();
                    }
                    if (_unknownFields != null)
                    {
                        hash ^= _unknownFields.GetHashCode();
                    }
                    return(hash);
                }