public readonly record struct CatalogEntryOne addressable thing.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
⚠ An address and a reference are the same thing named twice, and both have to be here. An address is what a person types into LoadAsync and is chosen by a build; a reference is what a component holds and never changes when a file is renamed. Carrying the reference on the entry is what lets a runtime resolve the second into the first — see TryGetAddress — and until it did, nothing in the runtime could turn an AssetId into anything loadable at all.
Fields and properties (8)
public string AddressWhat a caller asks for — ui/textures/hero.
public ObjectId IdThe chunk, by content.
public string BundleWhich bundle holds it, or empty for a loose chunk at edit time.
public ContentProvider ProviderWhether that bundle is here or has to be fetched.
public ImmutableArray<string> DependenciesOther addresses that have to load first.
public ImmutableArray<string> LabelsGroupings a caller can load or download by.
public long SizeHow many bytes the chunk is, uncompressed.
public AssetReference ReferenceWhat the editor calls it — the vx: identity a scene, material or prefab stores — or Null for a chunk no authored asset claims.
Methods (3)
public CatalogEntry(string Address, ObjectId Id, string Bundle, ContentProvider Provider, ImmutableArray<string> Dependencies, ImmutableArray<string> Labels, long Size, AssetReference Reference = default(AssetReference))One addressable thing.
public bool Equals(CatalogEntry other)Whether two entries describe the same thing.
public override int GetHashCode()Returns the hash code for this instance.
Used by (23)
- GameModelsThirdPersonShooter
- AssetManagerVixen.Assets
- AssetMaterialSourceTestsVixen.Engine.Renderer.Tests
- AssetTextureSourceTestsVixen.Engine.Renderer.Tests
- CatalogBundleVixen.Assets
- CatalogFormatVixen.Assets
- CatalogFormatTestsVixen.Assets.Tests
- CatalogReferenceTestsVixen.Assets.Tests
- ClaimResolverVixen.Assets
- ContentCatalogVixen.Assets
- ContentCatalogExtensionsVixen.Assets
- ContentCatalogTestsVixen.Assets.Tests
- ReferenceWorldVixen.Assets.Tests
- RemoteWorldVixen.Assets.Tests
- StreamedContentTestsVixen.Assets.Tests
- UpdateWorldVixen.Assets.Tests
- WorldVixen.Assets.Tests
- WorldRendererTestsVixen.Engine.Renderer.Tests
- ContentBuilderVixen.Editor.Assets
- ContentBuilderTestsVixen.Editor.Assets.Tests
- LooseContentVixen.Editor.Assets
- LooseContentTestsVixen.Editor.Assets.Tests
- StartupSceneTestsVixen.App.Tests