6 protected ref array<ref SCR_EditorAttributeFloatStringValueHolder> m_aValues;
9 override int GetEntries(notnull array<ref SCR_BaseEditorAttributeEntry> outEntries)
12 return outEntries.Count();
20 protected ResourceName m_Icon;
22 [
Attribute(uiwidget: UIWidgets.LocaleEditBox)]
25 [
Attribute(uiwidget: UIWidgets.LocaleEditBox)]
29 protected float m_fEntryFloatValue;
32 void SetIcon(ResourceName newIcon)
37 ResourceName GetIcon()
42 void SetName(
string newName)
44 m_sEntryName = newName;
52 void SetDescription(
string newDescription)
54 m_sEntryDescription = newDescription;
57 string GetDescription()
59 return m_sEntryDescription;
62 void SetFloatValue(
float newValue)
64 m_fEntryFloatValue = newValue;
69 return m_fEntryFloatValue;
72 void SetWithUIInfo(
SCR_UIInfo info,
float value)
74 SetName(info.GetName());
75 SetIcon(info.GetIconPath());
79 void SetWithUIInfo(
UIInfo info,
float value)
81 SetName(info.GetName());
82 SetIcon(info.GetIconPath());