Class ExternalValueProviderNames
Utility class to store all field names provided to IExternalValueProvider.
Namespace: UnityEngine.GameFoundation.DefaultCatalog
Syntax
public static class ExternalValueProviderNames
Remarks
Some names are abbreviated in case external systems only accept a limited amount of characters.
Fields
appleProductId
External name for appleId.
Declaration
public const string appleProductId = "appleId"
Field Value
Type | Description |
---|---|
String |
cooldownSeconds
External name for cooldownSeconds.
Declaration
public const string cooldownSeconds = "cooldownSeconds"
Field Value
Type | Description |
---|---|
String |
currencyType
External name for type.
Declaration
public const string currencyType = "type"
Field Value
Type | Description |
---|---|
String |
displayName
External name for displayName.
Declaration
public const string displayName = "displayName"
Field Value
Type | Description |
---|---|
String |
expirationSeconds
External name for expirationSeconds.
Declaration
public const string expirationSeconds = "expirationSeconds"
Field Value
Type | Description |
---|---|
String |
googleProductId
External name for googleId.
Declaration
public const string googleProductId = "googleId"
Field Value
Type | Description |
---|---|
String |
initialAllocation
External name for initialAllocation.
Declaration
public const string initialAllocation = "iniAlloc"
Field Value
Type | Description |
---|---|
String |
initialBalance
External name for initialBalance.
Declaration
public const string initialBalance = "iniBalance"
Field Value
Type | Description |
---|---|
String |
initialQuantityPerStack
External name for initialQuantityPerStack.
Declaration
public const string initialQuantityPerStack = "iniQuantity"
Field Value
Type | Description |
---|---|
String |
maximumBalance
External name for maximumBalance.
Declaration
public const string maximumBalance = "maxBalance"
Field Value
Type | Description |
---|---|
String |
mutablePropertyPrefix
External name prefix for UnityEngine.GameFoundation.DefaultCatalog.InventoryItemDefinitionAsset.mutableProperties.
Declaration
public const string mutablePropertyPrefix = "mtb-"
Field Value
Type | Description |
---|---|
String |
resetIfExpired
External name for resetIfExpired.
Declaration
public const string resetIfExpired = "resetIfExpired"
Field Value
Type | Description |
---|---|
String |
staticPropertyPrefix
External name prefix for UnityEngine.GameFoundation.DefaultCatalog.CatalogItemAsset.staticProperties.
Declaration
public const string staticPropertyPrefix = "stc-"
Field Value
Type | Description |
---|---|
String |
Methods
GetMutablePropertyName(String)
Get the mutable property name for the given propertyKey
to feed to an IExternalValueProvider.
Declaration
public static string GetMutablePropertyName(string propertyKey)
Parameters
Type | Name | Description |
---|---|---|
String | propertyKey | The property's key to build a name for. |
Returns
Type | Description |
---|---|
String | Return a name ready to use by an IExternalValueProvider. |
GetStaticPropertyName(String)
Get the static property name for the given propertyKey
to feed to an IExternalValueProvider.
Declaration
public static string GetStaticPropertyName(string propertyKey)
Parameters
Type | Name | Description |
---|---|---|
String | propertyKey | The property's key to build a name for. |
Returns
Type | Description |
---|---|
String | Return a name ready to use by an IExternalValueProvider. |