FrannHammer.Models.BaseCharacterAttributeModel.GetHashCode C# (CSharp) Method

GetHashCode() public method

public GetHashCode ( ) : int
return int
        public override int GetHashCode()
        {
            unchecked
            {
                var hashCode = OwnerId;
                hashCode = (hashCode * 397) ^ (Rank != null ? Rank.GetHashCode() : 0);
                hashCode = (hashCode * 397) ^ (Value != null ? Value.GetHashCode() : 0);
                hashCode = (hashCode * 397) ^ (Name != null ? Name.GetHashCode() : 0);
                hashCode = (hashCode * 397) ^ Id;
                hashCode = (hashCode * 397) ^ SmashAttributeTypeId;
                hashCode = (hashCode * 397) ^ CharacterAttributeTypeId.GetHashCode();
                return hashCode;
            }
        }
BaseCharacterAttributeModel