Class SaveItem
Request type for posting a Data Item to the Cloud Save service.
Inherited Members
Namespace: Unity.Services.CloudSave
Assembly: Unity.Services.CloudSave.dll
Syntax
public class SaveItem
Constructors
SaveItem(object, string)
Response type for a Data Item stored in the Cloud Save service.
Declaration
public SaveItem(object value, string writeLock)
Parameters
| Type | Name | Description |
|---|---|---|
| object | value | Any object |
| string | writeLock | Enforces conflict checking when updating an existing data item. This field should be omitted when creating a new data item. When updating an existing item, omitting this field ignores write conflicts. When present, an error response will be returned if the writeLock in the request does not match the stored writeLock. |
Properties
Value
Any object
Declaration
public object Value { get; }
Property Value
| Type | Description |
|---|---|
| object |
WriteLock
Enforces conflict checking when updating an existing data item. This field should be omitted when creating a new data item. When updating an existing item, omitting this field ignores write conflicts. When present, an error response will be returned if the writeLock in the request does not match the stored writeLock.
Declaration
public string WriteLock { get; }
Property Value
| Type | Description |
|---|---|
| string |