Table of Contents

Interface ICommonAssetStore

Namespace
Shard.Assets
Assembly
Shard.Assets.dll

Read access to the loaded common assets (System B: content-addressed client media).

public interface ICommonAssetStore

Properties

All

IReadOnlyCollection<CommonAsset> All { get; }

Property Value

IReadOnlyCollection<CommonAsset>

Methods

TryGetByHash(string, out CommonAsset?)

bool TryGetByHash(string hash, out CommonAsset? asset)

Parameters

hash string
asset CommonAsset

Returns

bool

TryGetByName(string, out CommonAsset?)

bool TryGetByName(string name, out CommonAsset? asset)

Parameters

name string
asset CommonAsset

Returns

bool