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
bannerBanner
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
codestring
SetIconMeshID(int)
public void SetIconMeshID(int meshID)
Parameters
meshIDint
SetIconSize(int)
public void SetIconSize(int newSize)
Parameters
newSizeint
SetPrimaryColorId(int)
public void SetPrimaryColorId(int colorID)
Parameters
colorIDint
SetSecondaryColorId(int)
public void SetSecondaryColorId(int colorID)
Parameters
colorIDint
SetSigilColorId(int)
public void SetSigilColorId(int colorID)
Parameters
colorIDint
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).