Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
SCR_ContentBrowserTileComponent Interface Reference

Component for a tile in the content browser You must call SetWorkshopItem() after tile creation to activate it. More...

Inheritance diagram for SCR_ContentBrowserTileComponent:
[legend]

Public Member Functions

override void HandlerAttached (Widget w)
 
override void HandlerDeattached (Widget w)
 
override bool OnFocus (Widget w, int x, int y)
 
override bool OnFocusLost (Widget w, int x, int y)
 
void SetWorkshopItem (SCR_WorkshopItem workshopItem)
 If a null pointer is passed, tile becomes hidden.
 
SCR_WorkshopItem GetWorkshopItem ()
 
ScriptInvokerScriptedWidgetComponent GetOnFocus ()
 
ScriptInvokerScriptedWidgetComponent GetOnFocusLost ()
 
ScriptInvokerScriptedWidgetComponent GetOnChange ()
 
- Public Member Functions inherited from SCR_ScriptedWidgetComponent
override void HandlerAttached (Widget w)
 
override bool OnClick (Widget w, int x, int y, int button)
 
Widget GetRootWidget ()
 
bool IsVisible ()
 

Static Public Member Functions

static SCR_ContentBrowserTileComponent FindComponent (notnull Widget w)
 
static int GetTileWidth ()
 
static int GetTileHeight ()
 
- Static Public Member Functions inherited from SCR_ScriptedWidgetComponent
static SCR_ScriptedWidgetComponent GetComponent (TypeName componentType, string name, Widget parent, bool searchAllChildren=true)
 Base method for component lookup through the widget library.
 

Protected Member Functions

void UpdateStateFlags ()
 
void UpdateNames ()
 
void UpdateNamesScrolling ()
 
void UpdateRating ()
 
void UpdateImage ()
 
void UpdateDependencyCountWidgets ()
 
void UpdateDownloadProgressBar ()
 
void UpdateFavouriteButton ()
 
void ShowBackendEnv ()
 
void UpdateWarningOverlay ()
 
void UpdateHeader ()
 
void UpdateAllWidgets ()
 
void HandleDownloadChanges ()
 
void StartContinuousUpdate ()
 
void StopContinuousUpdate ()
 
void ContinuousUpdate ()
 
void OnEnableButtonToggled (SCR_ModularButtonComponent comp)
 
void OnFavouriteButtonToggled (SCR_ModularButtonComponent comp, bool toggled)
 
void OnWarningButtonClicked (ScriptInvokerScriptedWidgetComponent comp)
 
void OnMainActionButtonClicked (SCR_ModularButtonComponent comp)
 
void OnWorkshopItemChange (SCR_WorkshopItem item)
 
void OnAnyNewDownload (SCR_WorkshopItem item, SCR_WorkshopItemActionDownload action)
 
void OnAnyDownloadError (SCR_WorkshopItemActionDownload action, int reason)
 
void OnAnyDownloadCompleted (SCR_WorkshopItemActionDownload action)
 
void OnTooltipShow (SCR_ScriptedWidgetTooltip tooltip)
 
void UpdateDependenciesTooltip ()
 
void UpdateHeaderTooltip ()
 
void UpdateEnableButtonTooltip ()
 

Protected Attributes

ref ScriptInvokerScriptedWidgetComponent m_OnFocus = new ScriptInvokerScriptedWidgetComponent()
 
ref ScriptInvokerScriptedWidgetComponent m_OnFocusLost = new ScriptInvokerScriptedWidgetComponent()
 
ref ScriptInvokerScriptedWidgetComponent m_OnChange = new ScriptInvokerScriptedWidgetComponent()
 
ref SCR_WorkshopTileWidgets m_Widgets = new SCR_WorkshopTileWidgets()
 
bool m_bFocused
 
bool m_bUpdatingContinuously
 
ref SCR_WorkshopItem m_Item
 
SCR_WorkshopItemBackendImageComponent m_BackendImageComponent
 
ref SCR_WorkshopDownloadSequence m_DownloadRequest
 
SCR_ERevisionAvailability m_eRevisionAvailability
 
SCR_EWorkshopTileErrorState m_eErrorState
 
SCR_EAddonPrimaryActionState m_ePrimaryActionState
 
SCR_ScriptedWidgetTooltip m_Tooltip
 
- Protected Attributes inherited from SCR_ScriptedWidgetComponent
Widget m_wRoot
 

Static Protected Attributes

static int s_iTileWidth = 285
 
static int s_iTileHeight = 224
 

Additional Inherited Members

- Public Attributes inherited from SCR_ScriptedWidgetComponent
ref ScriptInvoker m_OnClick = new ScriptInvoker
 

Detailed Description

Component for a tile in the content browser You must call SetWorkshopItem() after tile creation to activate it.

Member Function Documentation

◆ ContinuousUpdate()

void SCR_ContentBrowserTileComponent.ContinuousUpdate ( )
protected

◆ FindComponent()

static SCR_ContentBrowserTileComponent SCR_ContentBrowserTileComponent.FindComponent ( notnull Widget  w)
static

◆ GetOnChange()

ScriptInvokerScriptedWidgetComponent SCR_ContentBrowserTileComponent.GetOnChange ( )

◆ GetOnFocus()

ScriptInvokerScriptedWidgetComponent SCR_ContentBrowserTileComponent.GetOnFocus ( )

◆ GetOnFocusLost()

ScriptInvokerScriptedWidgetComponent SCR_ContentBrowserTileComponent.GetOnFocusLost ( )

◆ GetTileHeight()

static int SCR_ContentBrowserTileComponent.GetTileHeight ( )
static

◆ GetTileWidth()

static int SCR_ContentBrowserTileComponent.GetTileWidth ( )
static

◆ GetWorkshopItem()

SCR_WorkshopItem SCR_ContentBrowserTileComponent.GetWorkshopItem ( )

◆ HandleDownloadChanges()

void SCR_ContentBrowserTileComponent.HandleDownloadChanges ( )
protected

◆ HandlerAttached()

override void SCR_ContentBrowserTileComponent.HandlerAttached ( Widget  w)

◆ HandlerDeattached()

override void SCR_ContentBrowserTileComponent.HandlerDeattached ( Widget  w)

◆ OnAnyDownloadCompleted()

void SCR_ContentBrowserTileComponent.OnAnyDownloadCompleted ( SCR_WorkshopItemActionDownload  action)
protected

◆ OnAnyDownloadError()

void SCR_ContentBrowserTileComponent.OnAnyDownloadError ( SCR_WorkshopItemActionDownload  action,
int  reason 
)
protected

◆ OnAnyNewDownload()

void SCR_ContentBrowserTileComponent.OnAnyNewDownload ( SCR_WorkshopItem  item,
SCR_WorkshopItemActionDownload  action 
)
protected

◆ OnEnableButtonToggled()

void SCR_ContentBrowserTileComponent.OnEnableButtonToggled ( SCR_ModularButtonComponent  comp)
protected

◆ OnFavouriteButtonToggled()

void SCR_ContentBrowserTileComponent.OnFavouriteButtonToggled ( SCR_ModularButtonComponent  comp,
bool  toggled 
)
protected

◆ OnFocus()

override bool SCR_ContentBrowserTileComponent.OnFocus ( Widget  w,
int  x,
int  y 
)

◆ OnFocusLost()

override bool SCR_ContentBrowserTileComponent.OnFocusLost ( Widget  w,
int  x,
int  y 
)

◆ OnMainActionButtonClicked()

void SCR_ContentBrowserTileComponent.OnMainActionButtonClicked ( SCR_ModularButtonComponent  comp)
protected

◆ OnTooltipShow()

void SCR_ContentBrowserTileComponent.OnTooltipShow ( SCR_ScriptedWidgetTooltip  tooltip)
protected

◆ OnWarningButtonClicked()

void SCR_ContentBrowserTileComponent.OnWarningButtonClicked ( ScriptInvokerScriptedWidgetComponent  comp)
protected

◆ OnWorkshopItemChange()

void SCR_ContentBrowserTileComponent.OnWorkshopItemChange ( SCR_WorkshopItem  item)
protected

◆ SetWorkshopItem()

void SCR_ContentBrowserTileComponent.SetWorkshopItem ( SCR_WorkshopItem  workshopItem)

If a null pointer is passed, tile becomes hidden.

◆ ShowBackendEnv()

void SCR_ContentBrowserTileComponent.ShowBackendEnv ( )
protected

◆ StartContinuousUpdate()

void SCR_ContentBrowserTileComponent.StartContinuousUpdate ( )
protected

◆ StopContinuousUpdate()

void SCR_ContentBrowserTileComponent.StopContinuousUpdate ( )
protected

◆ UpdateAllWidgets()

void SCR_ContentBrowserTileComponent.UpdateAllWidgets ( )
protected

◆ UpdateDependenciesTooltip()

void SCR_ContentBrowserTileComponent.UpdateDependenciesTooltip ( )
protected

◆ UpdateDependencyCountWidgets()

void SCR_ContentBrowserTileComponent.UpdateDependencyCountWidgets ( )
protected

◆ UpdateDownloadProgressBar()

void SCR_ContentBrowserTileComponent.UpdateDownloadProgressBar ( )
protected

◆ UpdateEnableButtonTooltip()

void SCR_ContentBrowserTileComponent.UpdateEnableButtonTooltip ( )
protected

◆ UpdateFavouriteButton()

void SCR_ContentBrowserTileComponent.UpdateFavouriteButton ( )
protected

◆ UpdateHeader()

void SCR_ContentBrowserTileComponent.UpdateHeader ( )
protected

◆ UpdateHeaderTooltip()

void SCR_ContentBrowserTileComponent.UpdateHeaderTooltip ( )
protected

◆ UpdateImage()

void SCR_ContentBrowserTileComponent.UpdateImage ( )
protected

◆ UpdateNames()

void SCR_ContentBrowserTileComponent.UpdateNames ( )
protected

◆ UpdateNamesScrolling()

void SCR_ContentBrowserTileComponent.UpdateNamesScrolling ( )
protected

◆ UpdateRating()

void SCR_ContentBrowserTileComponent.UpdateRating ( )
protected

◆ UpdateStateFlags()

void SCR_ContentBrowserTileComponent.UpdateStateFlags ( )
protected

◆ UpdateWarningOverlay()

void SCR_ContentBrowserTileComponent.UpdateWarningOverlay ( )
protected

Member Data Documentation

◆ m_BackendImageComponent

SCR_WorkshopItemBackendImageComponent SCR_ContentBrowserTileComponent.m_BackendImageComponent
protected

◆ m_bFocused

bool SCR_ContentBrowserTileComponent.m_bFocused
protected

◆ m_bUpdatingContinuously

bool SCR_ContentBrowserTileComponent.m_bUpdatingContinuously
protected

◆ m_DownloadRequest

ref SCR_WorkshopDownloadSequence SCR_ContentBrowserTileComponent.m_DownloadRequest
protected

◆ m_eErrorState

SCR_EWorkshopTileErrorState SCR_ContentBrowserTileComponent.m_eErrorState
protected

◆ m_ePrimaryActionState

SCR_EAddonPrimaryActionState SCR_ContentBrowserTileComponent.m_ePrimaryActionState
protected

◆ m_eRevisionAvailability

SCR_ERevisionAvailability SCR_ContentBrowserTileComponent.m_eRevisionAvailability
protected

◆ m_Item

ref SCR_WorkshopItem SCR_ContentBrowserTileComponent.m_Item
protected

◆ m_OnChange

ref ScriptInvokerScriptedWidgetComponent SCR_ContentBrowserTileComponent.m_OnChange = new ScriptInvokerScriptedWidgetComponent()
protected

◆ m_OnFocus

ref ScriptInvokerScriptedWidgetComponent SCR_ContentBrowserTileComponent.m_OnFocus = new ScriptInvokerScriptedWidgetComponent()
protected

◆ m_OnFocusLost

ref ScriptInvokerScriptedWidgetComponent SCR_ContentBrowserTileComponent.m_OnFocusLost = new ScriptInvokerScriptedWidgetComponent()
protected

◆ m_Tooltip

SCR_ScriptedWidgetTooltip SCR_ContentBrowserTileComponent.m_Tooltip
protected

◆ m_Widgets

ref SCR_WorkshopTileWidgets SCR_ContentBrowserTileComponent.m_Widgets = new SCR_WorkshopTileWidgets()
protected

◆ s_iTileHeight

int SCR_ContentBrowserTileComponent.s_iTileHeight = 224
staticprotected

◆ s_iTileWidth

int SCR_ContentBrowserTileComponent.s_iTileWidth = 285
staticprotected

The documentation for this interface was generated from the following file: