docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class SaveItem

    Request type for posting a Data Item to the Cloud Save service.

    Inheritance
    object
    SaveItem
    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.Models
    Assembly: Unity.Services.CloudSave.dll
    Syntax
    public class SaveItem

    Constructors

    SaveItem(object, string)

    Request type for posting a Data Item to the Cloud Save service.

    Declaration
    public SaveItem(object value, string writeLock)
    Parameters
    Type Name Description
    object value

    Any data 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 data 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
    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)