Table of Contents

Class BannerViewModel

Namespace
TaleWorlds.Core.ViewModelCollection.BannerEditor
Assembly
TaleWorlds.Core.ViewModelCollection.dll
public class BannerViewModel : ViewModel, IViewModel, INotifyPropertyChanged
Inheritance
BannerViewModel
Implements
Inherited Members

Constructors

BannerViewModel(Banner)

public BannerViewModel(Banner banner)

Parameters

banner Banner

Properties

Banner

public Banner Banner { get; }

Property Value

Banner

BannerCode

[DataSourceProperty]
public string BannerCode { get; set; }

Property Value

string

Methods

GetPrimaryColor()

public uint GetPrimaryColor()

Returns

uint

GetPrimaryColorId()

public int GetPrimaryColorId()

Returns

int

GetSecondaryColorId()

public int GetSecondaryColorId()

Returns

int

GetSigilColor()

public uint GetSigilColor()

Returns

uint

GetSigilColorId()

public int GetSigilColorId()

Returns

int

SetCode(string)

public void SetCode(string code)

Parameters

code string

SetIconMeshID(int)

public void SetIconMeshID(int meshID)

Parameters

meshID int

SetIconSize(int)

public void SetIconSize(int newSize)

Parameters

newSize int

SetPrimaryColorId(int)

public void SetPrimaryColorId(int colorID)

Parameters

colorID int

SetSecondaryColorId(int)

public void SetSecondaryColorId(int colorID)

Parameters

colorID int

SetSigilColorId(int)

public void SetSigilColorId(int colorID)

Parameters

colorID int

This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).