Struct ExchangeDefinitionConfig
Configurator for a ExchangeDefinition
Namespace: UnityEngine.GameFoundation.Configs
Syntax
public struct ExchangeDefinitionConfig : IEquatable<ExchangeDefinitionConfig>
Fields
amount
The amount of tradable to exchange.
Declaration
public long amount
Field Value
Type | Description |
---|---|
Int64 |
tradableKey
The identifier of the tradable definition.
Declaration
public string tradableKey
Field Value
Type | Description |
---|---|
String |
Methods
Equals(Object)
Tells whether this ExchangeDefinitionConfig instance equals obj
.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
Object | obj | The other object to compare this instance with. |
Returns
Type | Description |
---|---|
Boolean |
|
Overrides
Equals(ExchangeDefinitionConfig)
Declaration
public bool Equals(ExchangeDefinitionConfig other)
Parameters
Type | Name | Description |
---|---|---|
ExchangeDefinitionConfig | other |
Returns
Type | Description |
---|---|
Boolean |
GetHashCode()
Gets the hash code of this ExchangeDefinitionConfig instance. Returns the hash code of its tradableKey.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
Int32 | The hash code of this ExchangeDefinitionConfig instance. |