Class ContentCatalogDataEntry | Addressables | 1.13.1
docs.unity3d.com
    Show / Hide Table of Contents

    Class ContentCatalogDataEntry

    Contains serializable data for an IResourceLocation

    Inheritance
    Object
    ContentCatalogDataEntry
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEngine.AddressableAssets.ResourceLocators
    Syntax
    public class ContentCatalogDataEntry

    Constructors

    ContentCatalogDataEntry(Type, String, String, IEnumerable<Object>, IEnumerable<Object>, Object)

    Construct a new ContentCatalogEntry.

    Declaration
    public ContentCatalogDataEntry(Type type, string internalId, string provider, IEnumerable<object> keys, IEnumerable<object> dependencies = null, object extraData = null)
    Parameters
    Type Name Description
    Type type
    String internalId

    The internal id.

    String provider

    The provider id.

    IEnumerable<Object> keys

    The collection of keys that can be used to retrieve this entry.

    IEnumerable<Object> dependencies

    Optional collection of keys for dependencies.

    Object extraData

    Optional additional data to be passed to the provider. For example, AssetBundleProviders use this for cache and crc data.

    Properties

    Data

    Serializable data for the provider.

    Declaration
    public object Data { get; set; }
    Property Value
    Type Description
    Object

    Dependencies

    Dependency keys.

    Declaration
    public List<object> Dependencies { get; }
    Property Value
    Type Description
    List<Object>

    InternalId

    Internl id.

    Declaration
    public string InternalId { get; set; }
    Property Value
    Type Description
    String

    Keys

    Keys for this location.

    Declaration
    public List<object> Keys { get; }
    Property Value
    Type Description
    List<Object>

    Provider

    IResourceProvider identifier.

    Declaration
    public string Provider { get; }
    Property Value
    Type Description
    String

    ResourceType

    The type of the resource for th location.

    Declaration
    public Type ResourceType { get; }
    Property Value
    Type Description
    Type
    In This Article
    • Constructors
      • ContentCatalogDataEntry(Type, String, String, IEnumerable<Object>, IEnumerable<Object>, Object)
    • Properties
      • Data
      • Dependencies
      • InternalId
      • Keys
      • Provider
      • ResourceType
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023