Struct ProductKey
Assembly: tt-net-api.dll
Syntax
public struct ProductKey : IEquatable<ProductKey>, IComparable<ProductKey>
Constructors
ProductKey(MarketId, ProductType, string)
Declaration
public ProductKey(MarketId marketId, ProductType type, string name)
Parameters
Fields
Empty
Declaration
public static ProductKey Empty
Field Value
EmptyId
Declaration
public static ulong EmptyId
Field Value
Properties
MarketId
Declaration
public MarketId MarketId { get; }
Property Value
Name
Declaration
public string Name { get; }
Property Value
ProductId
Declaration
public ulong ProductId { get; }
Property Value
Type
Declaration
public ProductType Type { get; }
Property Value
Methods
Equals(object)
Declaration
public override bool Equals(object other)
Parameters
Type |
Name |
Description |
object |
other |
|
Returns
Overrides
Equals(ProductKey)
Declaration
public bool Equals(ProductKey rhs)
Parameters
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
IsEmpty(ProductKey)
Declaration
public static bool IsEmpty(ProductKey key)
Parameters
Returns
IsSynthetic()
Declaration
public bool IsSynthetic()
Returns
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
operator ==(ProductKey, ProductKey)
Declaration
public static bool operator ==(ProductKey lhs, ProductKey rhs)
Parameters
Returns
operator !=(ProductKey, ProductKey)
Declaration
public static bool operator !=(ProductKey lhs, ProductKey rhs)
Parameters
Returns
Implements