예제 #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (AdminName.Length != 0)
            {
                hash ^= AdminName.GetHashCode();
            }
            if (AdminId != 0UL)
            {
                hash ^= AdminId.GetHashCode();
            }
            if (AdminTel.Length != 0)
            {
                hash ^= AdminTel.GetHashCode();
            }
            if (ClubGold != 0L)
            {
                hash ^= ClubGold.GetHashCode();
            }
            if (CreatePower != false)
            {
                hash ^= CreatePower.GetHashCode();
            }
            if (ClubId != 0)
            {
                hash ^= ClubId.GetHashCode();
            }
            return(hash);
        }
예제 #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (CodeId != 0)
            {
                hash ^= CodeId.GetHashCode();
            }
            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (AdminName.Length != 0)
            {
                hash ^= AdminName.GetHashCode();
            }
            if (AdminId != 0UL)
            {
                hash ^= AdminId.GetHashCode();
            }
            if (AdminTel.Length != 0)
            {
                hash ^= AdminTel.GetHashCode();
            }
            if (ClubGold != 0L)
            {
                hash ^= ClubGold.GetHashCode();
            }
            hash ^= playerGuid_.GetHashCode();
            hash ^= playerList_.GetHashCode();
            hash ^= applicationList_.GetHashCode();
            if (CreatePower != 0)
            {
                hash ^= CreatePower.GetHashCode();
            }
            hash ^= adminList_.GetHashCode();
            if (HasCreatePower != false)
            {
                hash ^= HasCreatePower.GetHashCode();
            }
            return(hash);
        }