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

            if (UserId != 0UL)
            {
                hash ^= UserId.GetHashCode();
            }
            if (CharacterId != 0)
            {
                hash ^= CharacterId.GetHashCode();
            }
            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            return(hash);
        }
Beispiel #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (LotteryName.Length != 0)
            {
                hash ^= LotteryName.GetHashCode();
            }
            if (CharacterId != 0UL)
            {
                hash ^= CharacterId.GetHashCode();
            }
            if (DropRate != 0)
            {
                hash ^= DropRate.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Beispiel #3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (PlayerId != 0UL)
            {
                hash ^= PlayerId.GetHashCode();
            }
            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (CharacterId != 0)
            {
                hash ^= CharacterId.GetHashCode();
            }
            if (Level != 0)
            {
                hash ^= Level.GetHashCode();
            }
            if (Exp != 0)
            {
                hash ^= Exp.GetHashCode();
            }
            if (Hp != 0)
            {
                hash ^= Hp.GetHashCode();
            }
            if (MaxHp != 0)
            {
                hash ^= MaxHp.GetHashCode();
            }
            if (Mp != 0)
            {
                hash ^= Mp.GetHashCode();
            }
            if (MaxMp != 0)
            {
                hash ^= MaxMp.GetHashCode();
            }
            if (Food != 0)
            {
                hash ^= Food.GetHashCode();
            }
            if (MaxFood != 0)
            {
                hash ^= MaxFood.GetHashCode();
            }
            if (Gold != 0)
            {
                hash ^= Gold.GetHashCode();
            }
            if (HeadIcon != 0)
            {
                hash ^= HeadIcon.GetHashCode();
            }
            if (MapSkillId != 0)
            {
                hash ^= MapSkillId.GetHashCode();
            }
            if (BattleSkillId != 0)
            {
                hash ^= BattleSkillId.GetHashCode();
            }
            hash ^= equips_.GetHashCode();
            return(hash);
        }