Arma Reforger Script API
|
Public Member Functions | |
override void | HandlerAttached (Widget w) |
override void | HandlerDeattached (Widget w) |
void | SetWorkshopItem (SCR_WorkshopItem item) |
SCR_WorkshopItem | GetItem () |
![]() | |
override bool | OnUpdate (Widget w) |
![]() | |
override bool | OnClick (Widget w, int x, int y, int button) |
Widget | GetRootWidget () |
bool | IsVisible () |
Protected Member Functions | |
void | UpdateAllWidgets () |
Updates properties which never change at run time (addon description, size, etc) This is called only when new addon is assigned or at start. | |
void | UpdateImage () |
void | UpdateMANWVisuals () |
void | UpdateInfo () |
void | UpdateTypes () |
void | UpdateDependencies () |
void | UpdateErrorMessage () |
void | Callback_OnChanged () |
void | OnGetAsset (SCR_WorkshopItem item) |
![]() | |
void | UpdateSize () |
DetailsPanelContentPreset | FallbackContentByTag (string contentTag) |
Get fallback content by tag. | |
void | SetDescriptionText (string text) |
Set description text with enforced text lenght limit. | |
Widget | AddTypeDisplay (string image, ResourceName imageset, ResourceName glowImageset) |
void | ClearTypeDisplays () |
Protected Attributes | |
ref SCR_AddonInfoWidgets | m_InfoWidgets = new SCR_AddonInfoWidgets() |
ref SCR_WorkshopItem | m_Item |
SCR_WorkshopItemBackendImageComponent | m_BackendImageComponent |
![]() | |
ref SCR_ContentDetailsPanelBaseWidgets | m_CommonWidgets = new SCR_ContentDetailsPanelBaseWidgets |
ref DetailsPanelContentPresetConfig | m_FallbackContent |
int | m_iMaxDescriptionLenght |
bool | m_bDisplayAdditionalInfo |
ResourceName | m_sTypeDisplayLayout |
int | m_iMaxTypeImages |
SCR_SimpleWarningOverlayComponent | m_WarningOverlay |
ref array< Widget > | m_aTypeImages = {} |
![]() | |
Widget | m_wRoot |
Static Protected Attributes | |
const int | MAX_ADDON_TYPE_IMAGES = 12 |
![]() | |
const int | DESCRIPTION_LENGHT_OFFSET = 10 |
Additional Inherited Members | |
![]() | |
static SCR_ScriptedWidgetComponent | GetComponent (TypeName componentType, string name, Widget parent, bool searchAllChildren=true) |
Base method for component lookup through the widget library. | |
![]() | |
ref ScriptInvoker | m_OnClick = new ScriptInvoker |
|
protected |
SCR_WorkshopItem SCR_AddonDetailsPanelComponent.GetItem | ( | ) |
override void SCR_AddonDetailsPanelComponent.HandlerAttached | ( | Widget | w | ) |
Implements SCR_ContentDetailsPanelBase.
override void SCR_AddonDetailsPanelComponent.HandlerDeattached | ( | Widget | w | ) |
|
protected |
void SCR_AddonDetailsPanelComponent.SetWorkshopItem | ( | SCR_WorkshopItem | item | ) |
|
protected |
Updates properties which never change at run time (addon description, size, etc) This is called only when new addon is assigned or at start.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |