docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class Item

    Response type for a Data Item stored in the Cloud Save service.

    Inheritance
    object
    Item
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Services.CloudSave
    Assembly: Unity.Services.CloudSave.dll
    Syntax
    public class Item

    Constructors

    Item(IDeserializable, string)

    Response type for a Data Item stored in the Cloud Save service.

    Declaration
    public Item(IDeserializable value, string writeLock)
    Parameters
    Type Name Description
    IDeserializable value

    Any JSON serializable structure

    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 JSON serializable structure

    Declaration
    public IDeserializable Value { get; }
    Property Value
    Type Description
    IDeserializable

    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
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)