Class ContentCatalogData
Abstract base for format-specific catalog data containers.
Inherited Members
Namespace: UnityEngine.AddressableAssets.ResourceLocators
Assembly: Unity.Addressables.dll
Syntax
[Serializable]
public abstract class ContentCatalogData
Constructors
| Name | Description |
|---|---|
| ContentCatalogData() | Create a new ContentCatalogData object without any data. |
| ContentCatalogData(IList<ContentCatalogDataEntry>, string) | Creates a new ContentCatalogData object with the specified locator id. |
| ContentCatalogData(string) | Creates a new ContentCatalogData object with the specified locator id. |
Fields
| Name | Description |
|---|---|
| LocalHash | Stores the local catalog hash |
| kMagic | Magic number written at the start of binary catalog files, used to verify that a file is a valid catalog data file. |
| kVersion | Version of the binary catalog file format. |
Properties
| Name | Description |
|---|---|
| BuildResultHash | Stores the hash for the build result |
| InstanceProviderData | Data for the Addressables.ResourceManager.InstanceProvider initialization; |
| ProviderId | Stores the id of the data provider. |
| ResourceProviderData | The list of resource provider data. Each entry will add an IResourceProvider to the Addressables.ResourceManager.ResourceProviders list. |
| SceneProviderData | Data for the Addressables.ResourceManager.InstanceProvider initialization; |
Methods
| Name | Description |
|---|---|
| SerializeToByteArray() | |
| SetData(IList<ContentCatalogDataEntry>) |