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

            if (Id != 0)
            {
                hash ^= Id.GetHashCode();
            }
            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (Desc.Length != 0)
            {
                hash ^= Desc.GetHashCode();
            }
            if (HeroId != 0)
            {
                hash ^= HeroId.GetHashCode();
            }
            if (IsMale != false)
            {
                hash ^= IsMale.GetHashCode();
            }
            hash ^= modelMale_.GetHashCode();
            hash ^= modelFemale_.GetHashCode();
            if (CarrerIconPath.Length != 0)
            {
                hash ^= CarrerIconPath.GetHashCode();
            }
            return(hash);
        }
Beispiel #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Id != 0)
            {
                hash ^= Id.GetHashCode();
            }
            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (Level != 0)
            {
                hash ^= Level.GetHashCode();
            }
            if (Type != 0)
            {
                hash ^= Type.GetHashCode();
            }
            if (Desc.Length != 0)
            {
                hash ^= Desc.GetHashCode();
            }
            if (IsOpen != false)
            {
                hash ^= IsOpen.GetHashCode();
            }
            if (SkillId.Length != 0)
            {
                hash ^= SkillId.GetHashCode();
            }
            if (HeroId.Length != 0)
            {
                hash ^= HeroId.GetHashCode();
            }
            hash ^= levelDesc_.GetHashCode();
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Beispiel #3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (HeroId != 0)
            {
                hash ^= HeroId.GetHashCode();
            }
            if (PlayerHeroValue != 0)
            {
                hash ^= PlayerHeroValue.GetHashCode();
            }
            if (HeroPlayerValue != 0)
            {
                hash ^= HeroPlayerValue.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Beispiel #4
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (HeroId != 0L)
            {
                hash ^= HeroId.GetHashCode();
            }
            hash ^= equip_.GetHashCode();
            if (PetId != 0L)
            {
                hash ^= PetId.GetHashCode();
            }
            if (HorseId != 0L)
            {
                hash ^= HorseId.GetHashCode();
            }
            if (MingjiangId != 0L)
            {
                hash ^= MingjiangId.GetHashCode();
            }
            return(hash);
        }
Beispiel #5
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (HeroId != 0L)
            {
                hash ^= HeroId.GetHashCode();
            }
            if (ConfId != 0)
            {
                hash ^= ConfId.GetHashCode();
            }
            if (Level != 0)
            {
                hash ^= Level.GetHashCode();
            }
            if (BreakLevel != 0)
            {
                hash ^= BreakLevel.GetHashCode();
            }
            if (Exp != 0)
            {
                hash ^= Exp.GetHashCode();
            }
            hash ^= awakeInfo_.GetHashCode();
            if (AwakeLevel != 0)
            {
                hash ^= AwakeLevel.GetHashCode();
            }
            if (TianmingLevel != 0)
            {
                hash ^= TianmingLevel.GetHashCode();
            }
            hash ^= Attributes.GetHashCode();
            return(hash);
        }