Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
SCR_AssetCardFrontUIComponent Interface Reference
Inheritance diagram for SCR_AssetCardFrontUIComponent:
[legend]

Public Member Functions

ScriptInvoker GetOnCardInit ()
 
void UpdateBudgetCost (SCR_EntityBudgetValue entityBudgetCost=null)
 
void UpdateBlockingBudget (SCR_UIInfo blockingBudgetInfo=null)
 
void InitCard (int prefabID, SCR_UIInfo info, ResourceName prefab, SCR_UIInfo blockingBudgetInfo=null)
 Init card.
 
set< SCR_EditableEntityComponentFactionRecipients ()
 
SCR_UIInfo GetInfo ()
 Get Card info.
 
Widget GetButtonWidget ()
 Get Button Widget.
 
override bool OnMouseEnter (Widget w, int x, int y)
 
override bool OnMouseLeave (Widget w, Widget enterW, int x, int y)
 
ScriptInvoker GetOnHover ()
 Get ScriptInvoker onHover.
 
override bool OnFocus (Widget w, int x, int y)
 
override bool OnFocusLost (Widget w, int x, int y)
 
ScriptInvoker GetOnFocus ()
 Get ScriptInvoker onFocus.
 
int GetPrefabIndex ()
 
override void HandlerAttached (Widget w)
 
override void HandlerDeattached (Widget w)
 

Public Attributes

string m_sAssetCardNameFrameWidget
 

Protected Member Functions

bool FindTraitIcon (out int outIndex, out Widget traitWidget, out ImageWidget traitIcon)
 
void OnHoverScrollAnimation (Widget widget, int prefabIndex, bool hoverEntered)
 

Protected Attributes

string m_sIconSlotWidgetName
 
string m_sModIndicatorWidgetName
 
string m_sModIndicatorIconName
 
string m_sExceedBudgetLayoutName
 
string m_sExceedBudgetIconName
 
string m_sBudgetCostLayoutName
 
string m_sBudgetCostTextName
 
string m_sImageOverlayName
 
string m_sAreaName
 
ref array< string > m_aFactionColorNames
 
ref array< EEditableEntityLabelGroup > m_sTraitLabelGroups
 
ref array< string > m_sTraitNames
 
ref array< ResourceName > m_ImageOverlayTextures
 
ref ImageWidget m_EntityImageWidget
 
Widget m_BudgetCostLayout
 
Widget m_ExceedBudgetLayout
 
ref ScriptInvoker Event_OnCardInit = new ScriptInvoker()
 
Widget m_wAssetCardName int m_iPrefabIndex
 
ref ScriptInvoker m_OnHover = new ScriptInvoker()
 
ref ScriptInvoker m_OnFocus = new ScriptInvoker()
 

Detailed Description

Content Browser Card

Member Function Documentation

◆ FactionRecipients()

set< SCR_EditableEntityComponent > SCR_AssetCardFrontUIComponent.FactionRecipients ( )

◆ FindTraitIcon()

bool SCR_AssetCardFrontUIComponent.FindTraitIcon ( out int  outIndex,
out Widget  traitWidget,
out ImageWidget  traitIcon 
)
protected

◆ GetButtonWidget()

Widget SCR_AssetCardFrontUIComponent.GetButtonWidget ( )

Get Button Widget.

Returns
Widget button

◆ GetInfo()

SCR_UIInfo SCR_AssetCardFrontUIComponent.GetInfo ( )

Get Card info.

Returns
SCR_UIInfo

◆ GetOnCardInit()

ScriptInvoker SCR_AssetCardFrontUIComponent.GetOnCardInit ( )
Returns

◆ GetOnFocus()

ScriptInvoker SCR_AssetCardFrontUIComponent.GetOnFocus ( )

Get ScriptInvoker onFocus.

Returns
ScriptInvoker

◆ GetOnHover()

ScriptInvoker SCR_AssetCardFrontUIComponent.GetOnHover ( )

Get ScriptInvoker onHover.

Returns
ScriptInvoker

◆ GetPrefabIndex()

int SCR_AssetCardFrontUIComponent.GetPrefabIndex ( )
Returns
Prefab index from the list of placeable prefabs.

◆ HandlerAttached()

override void SCR_AssetCardFrontUIComponent.HandlerAttached ( Widget  w)

◆ HandlerDeattached()

override void SCR_AssetCardFrontUIComponent.HandlerDeattached ( Widget  w)

◆ InitCard()

void SCR_AssetCardFrontUIComponent.InitCard ( int  prefabID,
SCR_UIInfo  info,
ResourceName  prefab,
SCR_UIInfo  blockingBudgetInfo = null 
)

Init card.

Parameters
[in]prefabID
[in]info
[in]prefab
[in]blockingBudgetInfo

◆ OnFocus()

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

◆ OnFocusLost()

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

◆ OnHoverScrollAnimation()

void SCR_AssetCardFrontUIComponent.OnHoverScrollAnimation ( Widget  widget,
int  prefabIndex,
bool  hoverEntered 
)
protected

◆ OnMouseEnter()

override bool SCR_AssetCardFrontUIComponent.OnMouseEnter ( Widget  w,
int  x,
int  y 
)

◆ OnMouseLeave()

override bool SCR_AssetCardFrontUIComponent.OnMouseLeave ( Widget  w,
Widget  enterW,
int  x,
int  y 
)

◆ UpdateBlockingBudget()

void SCR_AssetCardFrontUIComponent.UpdateBlockingBudget ( SCR_UIInfo  blockingBudgetInfo = null)
Parameters
[in]blockingBudgetInfo

◆ UpdateBudgetCost()

void SCR_AssetCardFrontUIComponent.UpdateBudgetCost ( SCR_EntityBudgetValue  entityBudgetCost = null)
Parameters
[in]entityBudgetCost

Member Data Documentation

◆ Event_OnCardInit

ref ScriptInvoker SCR_AssetCardFrontUIComponent.Event_OnCardInit = new ScriptInvoker()
protected

◆ m_aFactionColorNames

ref array<string> SCR_AssetCardFrontUIComponent.m_aFactionColorNames
protected

◆ m_BudgetCostLayout

Widget SCR_AssetCardFrontUIComponent.m_BudgetCostLayout
protected

◆ m_EntityImageWidget

ref ImageWidget SCR_AssetCardFrontUIComponent.m_EntityImageWidget
protected

◆ m_ExceedBudgetLayout

Widget SCR_AssetCardFrontUIComponent.m_ExceedBudgetLayout
protected

◆ m_ImageOverlayTextures

ref array<ResourceName> SCR_AssetCardFrontUIComponent.m_ImageOverlayTextures
protected

◆ m_iPrefabIndex

Widget m_wAssetCardName int SCR_AssetCardFrontUIComponent.m_iPrefabIndex
protected

◆ m_OnFocus

ref ScriptInvoker SCR_AssetCardFrontUIComponent.m_OnFocus = new ScriptInvoker()
protected

◆ m_OnHover

ref ScriptInvoker SCR_AssetCardFrontUIComponent.m_OnHover = new ScriptInvoker()
protected

◆ m_sAreaName

string SCR_AssetCardFrontUIComponent.m_sAreaName
protected

◆ m_sAssetCardNameFrameWidget

string SCR_AssetCardFrontUIComponent.m_sAssetCardNameFrameWidget

◆ m_sBudgetCostLayoutName

string SCR_AssetCardFrontUIComponent.m_sBudgetCostLayoutName
protected

◆ m_sBudgetCostTextName

string SCR_AssetCardFrontUIComponent.m_sBudgetCostTextName
protected

◆ m_sExceedBudgetIconName

string SCR_AssetCardFrontUIComponent.m_sExceedBudgetIconName
protected

◆ m_sExceedBudgetLayoutName

string SCR_AssetCardFrontUIComponent.m_sExceedBudgetLayoutName
protected

◆ m_sIconSlotWidgetName

string SCR_AssetCardFrontUIComponent.m_sIconSlotWidgetName
protected

◆ m_sImageOverlayName

string SCR_AssetCardFrontUIComponent.m_sImageOverlayName
protected

◆ m_sModIndicatorIconName

string SCR_AssetCardFrontUIComponent.m_sModIndicatorIconName
protected

◆ m_sModIndicatorWidgetName

string SCR_AssetCardFrontUIComponent.m_sModIndicatorWidgetName
protected

◆ m_sTraitLabelGroups

ref array<EEditableEntityLabelGroup> SCR_AssetCardFrontUIComponent.m_sTraitLabelGroups
protected

◆ m_sTraitNames

ref array<string> SCR_AssetCardFrontUIComponent.m_sTraitNames
protected

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