Class InventoryRequestUpdate
InventoryRequestUpdate
Inherited Members
Namespace: Unity.Services.Apis.Economy
Assembly: Unity.Services.Apis.dll
Syntax
[DataContract(Name = "inventory-request-update")]
[Preserve]
public class InventoryRequestUpdate
Constructors
InventoryRequestUpdate(object, string)
Initializes a new instance of the InventoryRequestUpdate class.
Declaration
[Preserve]
public InventoryRequestUpdate(object instanceData = null, string writeLock = null)
Parameters
| Type | Name | Description |
|---|---|---|
| object | instanceData | Instance data to be saved against the inventory item. Max size when serialized 5 KB. (required). |
| string | writeLock | The write lock for the inventory item instance.. |
Properties
InstanceData
Instance data to be saved against the inventory item. Max size when serialized 5 KB.
Declaration
[DataMember(Name = "instanceData", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public object InstanceData { get; set; }
Property Value
| Type | Description |
|---|---|
| object | Instance data to be saved against the inventory item. Max size when serialized 5 KB. |
WriteLock
The write lock for the inventory item instance.
Declaration
[DataMember(Name = "writeLock", EmitDefaultValue = false)]
[Preserve]
public string WriteLock { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The write lock for the inventory item instance. |