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
BannerCode
[DataSourceProperty]
public string BannerCode { get; set; }
Property Value
Methods
GetPrimaryColor()
public uint GetPrimaryColor()
Returns
GetPrimaryColorId()
public int GetPrimaryColorId()
Returns
GetSecondaryColorId()
public int GetSecondaryColorId()
Returns
GetSigilColor()
public uint GetSigilColor()
Returns
GetSigilColorId()
public int GetSigilColorId()
Returns
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).