Skip to main content

ProjectVHeaderCurrencyBinding class

Links one header slot (such as the credit counter) to the wallet currency it shows.

Namespace: SilverTiger.ProjectV.Unity.Presentation.Header

public sealed class ProjectVHeaderCurrencyBinding

Constructors​

ProjectVHeaderCurrencyBinding(ProjectVHeaderViewKey viewKey, ProjectVCurrencyId currencyId)​

Creates a binding that shows currencyId in the header slot viewKey.

public ProjectVHeaderCurrencyBinding(ProjectVHeaderViewKey viewKey, ProjectVCurrencyId currencyId);

Parameters

NameTypeDescription
viewKeyProjectVHeaderViewKeyThe header slot, such as ProjectVHeaderViewKeys.Credit. Must be unique within one catalog.
currencyIdProjectVCurrencyIdThe wallet currency to show in that slot, such as core_dust.

Properties​

PropertyTypeDescription
ViewKeyProjectVHeaderViewKeyThe header slot this currency is shown in.
CurrencyIdProjectVCurrencyIdThe wallet currency shown in ViewKey.