4 [
Attribute(
"0.0 0.0 0.0 1.0", uiwidget: UIWidgets.ColorPicker)]
5 private ref Color m_TextColor;
8 private ResourceName m_TitleBackground;
11 private ResourceName m_Image;
13 [
Attribute(
"1.0 1.0 1.0 1.0", uiwidget: UIWidgets.ColorPicker)]
14 private ref Color m_FactionColor;
17 private ResourceName m_IconBackground;
20 private bool m_bModded;
23 private ResourceName m_ModsetIcon;
26 private ResourceName m_ModsetFrame;
29 private ResourceName m_ModsetLabel;
32 private ResourceName m_CardBackground;
34 [
Attribute(
"1", UIWidgets.ComboBox, enums: ParamEnumArray.FromEnum(EAssetTrait))]
35 private ref array<EAssetTrait> m_aTraits;
41 return Color.FromInt(m_TextColor.PackToInt());
46 ResourceName GetTitleBackgroundPath()
48 return m_TitleBackground;
53 ResourceName GetImagePath()
60 Color GetFactionColor()
62 return Color.FromInt(m_FactionColor.PackToInt());
67 ResourceName GetIconBackgroundPath()
69 return m_IconBackground;
81 ResourceName GetModsetIcon()
88 ResourceName GetModsetFrame()
95 ResourceName GetModsetLabel()
102 ResourceName GetCardBackground()
104 return m_CardBackground;
109 int GetTraits(out notnull array<EAssetTrait> outTraits)
111 if (!m_aTraits)
return 0;
112 return outTraits.Copy(m_aTraits);