Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_EditorAttributeUIInfo.c
Go to the documentation of this file.
1
4{
5 [Attribute("1 1 1 1", UIWidgets.ColorPicker, desc: "Description Icon Color")]
7
8 //------------------------------------------------------------------------------------------------
13 void CopyFromEditorAttributeUIInfo(notnull SCR_EditorAttributeUIInfo source, LocalizedString overwriteDescription = string.Empty, Color overwriteColor = null)
14 {
15 CopyFrom(source);
16
17 if (!overwriteDescription.IsEmpty())
18 Description = overwriteDescription;
19
20 if (overwriteColor)
21 m_cDescriptionIconColor = overwriteColor;
22 }
23
24 //------------------------------------------------------------------------------------------------
25 override void CopyFrom(SCR_UIName source)
26 {
28 if (sourceInfo)
29 {
30 Icon = sourceInfo.Icon;
31 IconSetName = sourceInfo.IconSetName;
32 Description = sourceInfo.Description;
34 }
35
36 super.CopyFrom(source);
37 }
38
39 //------------------------------------------------------------------------------------------------
43 {
44 return Color.FromInt(m_cDescriptionIconColor.PackToInt());
45 }
46}
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
SCR_PlayerCommandingConfigActionPair Managed SCR_BaseContainerLocalizedTitleField("m_sCommandName")
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
Definition Color.c:13
UIInfo used by editor attribute system.
override void CopyFrom(SCR_UIName source)
void CopyFromEditorAttributeUIInfo(notnull SCR_EditorAttributeUIInfo source, LocalizedString overwriteDescription=string.Empty, Color overwriteColor=null)
LocalizedString Description
string IconSetName
Definition SCR_UIInfo.c:13
ResourceName Icon
Definition SCR_UIInfo.c:10
SCR_FieldOfViewSettings Attribute