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
| Name | Type | Description |
|---|---|---|
viewKey | ProjectVHeaderViewKey | The header slot, such as ProjectVHeaderViewKeys.Credit. Must be unique within one catalog. |
currencyId | ProjectVCurrencyId | The wallet currency to show in that slot, such as core_dust. |
Properties
| Property | Type | Description |
|---|---|---|
ViewKey | ProjectVHeaderViewKey | The header slot this currency is shown in. |
CurrencyId | ProjectVCurrencyId | The wallet currency shown in ViewKey. |