PGCGame.CoreTypes.ShipStats.GetHashCode C# (CSharp) 메소드

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int
        public override int GetHashCode()
        {
            unchecked // Overflow is fine, just wrap
            {
                int hash = 23;
                hash = hash * 31 + this.Type.GetHashCode();
                hash = hash * 31 + this.Tier.GetHashCode();
                return hash;
            }
        }