Arma Reforger Script API
|
Dynamic description for SCR_DateEditorAttribute to show sunrise, sunset and moonphase. More...
Public Member Functions | |
override void | InitDynamicDescription (notnull SCR_BaseEditorAttribute attribute, notnull SCR_BaseEditorAttributeUIComponent attributeUi) |
Init the dynamic description. | |
override bool | IsValid (notnull SCR_BaseEditorAttribute attribute, notnull SCR_BaseEditorAttributeUIComponent attributeUi) |
Check if conditions are valid to display the Dynamic description. | |
override void | GetDescriptionData (notnull SCR_BaseEditorAttribute attribute, notnull SCR_BaseEditorAttributeUIComponent attributeUi, out SCR_EditorAttributeUIInfo uiInfo, out string param1=string.Empty, out string param2=string.Empty, out string param3=string.Empty) |
Init the dynamic description. | |
Protected Attributes | |
string | m_sNoSunriseSunSet |
TimeAndWeatherManagerEntity | m_TimeAndWeatherManager |
SCR_AttributesManagerEditorComponent | m_AttributeManager |
![]() | |
ref SCR_EditorAttributeUIInfo | m_DescriptionDisplayInfo |
bool | m_bEnabled |
Dynamic description for SCR_DateEditorAttribute to show sunrise, sunset and moonphase.
override void SCR_DateAttributeDynamicDescription.GetDescriptionData | ( | notnull SCR_BaseEditorAttribute | attribute, |
notnull SCR_BaseEditorAttributeUIComponent | attributeUi, | ||
out SCR_EditorAttributeUIInfo | uiInfo, | ||
out string | param1 = string::Empty, | ||
out string | param2 = string::Empty, | ||
out string | param3 = string::Empty ) |
Init the dynamic description.
attribute | Attribute linked to the desciption | |
[out] | uiInfo | UiInfo with icon, description and color to display the description |
[out] | param1 | Optional param 1 to add to the description |
[out] | param2 | Optional param 2 to add to the description |
[out] | param3 | Optional param 3 to add to the description |
Implements SCR_BaseAttributeDynamicDescription.
override void SCR_DateAttributeDynamicDescription.InitDynamicDescription | ( | notnull SCR_BaseEditorAttribute | attribute, |
notnull SCR_BaseEditorAttributeUIComponent | attributeUi ) |
Init the dynamic description.
attribute | Attribute linked to the desciption |
Implements SCR_BaseAttributeDynamicDescription.
override bool SCR_DateAttributeDynamicDescription.IsValid | ( | notnull SCR_BaseEditorAttribute | attribute, |
notnull SCR_BaseEditorAttributeUIComponent | attributeUi ) |
Check if conditions are valid to display the Dynamic description.
attribute | Attribute linked to the desciption |
Implements SCR_BaseAttributeDynamicDescription.
|
protected |
|
protected |
|
protected |