Skip to main content

ProjectVHeaderCurrencyCatalog class

The list of currencies the header shows, one binding per header slot. Usually built from a ProjectVHeaderCurrencyCatalogAsset.

Namespace: SilverTiger.ProjectV.Unity.Presentation.Header

public sealed class ProjectVHeaderCurrencyCatalog

Constructors​

ProjectVHeaderCurrencyCatalog(IEnumerable<ProjectVHeaderCurrencyBinding> bindings)​

Creates a catalog from the given bindings, keeping their order.

public ProjectVHeaderCurrencyCatalog(IEnumerable<ProjectVHeaderCurrencyBinding> bindings);

Parameters

NameTypeDescription
bindingsIEnumerable<ProjectVHeaderCurrencyBinding>The header slots to show, in display order. No entry may be null and each view key may appear only once. An empty list shows no currencies.

Exceptions

ExceptionWhen
ArgumentNullExceptionbindings is null.
ArgumentExceptionA binding is null, or two bindings use the same view key.

Properties​

PropertyTypeDescription
BindingsIReadOnlyList<ProjectVHeaderCurrencyBinding>The bindings in display order.