Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_AssetCardFrontUIComponent Class Reference

Content Browser Card. More...

Inheritance diagram for SCR_AssetCardFrontUIComponent:
SCR_ScriptedWidgetComponent

Protected Member Functions

bool FindTraitIcon (out int outIndex, out Widget traitWidget, out ImageWidget traitIcon)
void OnHoverScrollAnimation (Widget widget, int prefabIndex, bool hoverEntered)
SCR_UIInfo GetInfo ()
void SetBackgroundImage (ResourceName imageName)
void SetHoverImage (ResourceName imageName)
void SetImage (ResourceName imageName)
void SetText (string newText)
void SetHover (bool state)
void SetBackgroundColor (Color newColor, float transition=UIConstants.FADE_RATE_FAST)
void SetImageColor (Color newColor, float transition=UIConstants.FADE_RATE_FAST)
Widget GetButtonWidget ()
override bool OnMouseEnter (Widget w, int x, int y)
override bool OnMouseLeave (Widget w, Widget enterW, int x, int y)
ScriptInvoker GetOnHover ()
override bool OnFocus (Widget w, int x, int y)
override bool OnFocusLost (Widget w, int x, int y)
ScriptInvoker GetOnFocus ()
int GetPrefabIndex ()
override void HandlerAttached (Widget w)
override void HandlerDeattached (Widget w)

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_sImageHoverName
string m_sImageName
string m_sImageBackgroundName
string m_sAreaName
bool m_bEnableHover
ref array< stringm_aFactionColorNames
ref array< EEditableEntityLabelGroupm_sTraitLabelGroups
ref array< stringm_sTraitNames
ref array< ResourceNamem_ImageOverlayTextures
string m_sAssetCardNameFrameWidget
ref ImageWidget m_EntityImageWidget
ref ImageWidget m_wHoverImageWidget
Widget m_BudgetCostLayout
Widget m_ExceedBudgetLayout
ref ScriptInvoker Event_OnCardInit = new ScriptInvoker()
ImageWidget m_wBackground
int m_iPrefabIndex
ref ScriptInvoker m_OnHover = new ScriptInvoker()
ref ScriptInvoker m_OnFocus = new ScriptInvoker()

Detailed Description

Content Browser Card.

Definition at line 4 of file SCR_AssetCardFrontUIComponent.c.

Member Function Documentation

◆ FindTraitIcon()

bool SCR_AssetCardFrontUIComponent::FindTraitIcon ( out int outIndex,
out Widget traitWidget,
out ImageWidget traitIcon )
inlineprotected

Definition at line 377 of file SCR_AssetCardFrontUIComponent.c.

◆ GetButtonWidget()

Widget SCR_AssetCardFrontUIComponent::GetButtonWidget ( )
inlineprotected

Get Button Widget

Returns
Widget button

Definition at line 537 of file SCR_AssetCardFrontUIComponent.c.

◆ GetInfo()

SCR_UIInfo SCR_AssetCardFrontUIComponent::GetInfo ( )
inlineprotected

Get Card info

Returns
SCR_UIInfo

Definition at line 422 of file SCR_AssetCardFrontUIComponent.c.

◆ GetOnFocus()

ScriptInvoker SCR_AssetCardFrontUIComponent::GetOnFocus ( )
inlineprotected

Get ScriptInvoker onFocus

Returns
ScriptInvoker

Definition at line 595 of file SCR_AssetCardFrontUIComponent.c.

◆ GetOnHover()

ScriptInvoker SCR_AssetCardFrontUIComponent::GetOnHover ( )
inlineprotected

Get ScriptInvoker onHover

Returns
ScriptInvoker

Definition at line 563 of file SCR_AssetCardFrontUIComponent.c.

◆ GetPrefabIndex()

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

Definition at line 602 of file SCR_AssetCardFrontUIComponent.c.

◆ HandlerAttached()

override void SCR_AssetCardFrontUIComponent::HandlerAttached ( Widget w)
inlineprotected

Definition at line 608 of file SCR_AssetCardFrontUIComponent.c.

◆ HandlerDeattached()

override void SCR_AssetCardFrontUIComponent::HandlerDeattached ( Widget w)
inlineprotected

Definition at line 625 of file SCR_AssetCardFrontUIComponent.c.

◆ OnFocus()

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

Definition at line 569 of file SCR_AssetCardFrontUIComponent.c.

◆ OnFocusLost()

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

Definition at line 581 of file SCR_AssetCardFrontUIComponent.c.

◆ OnHoverScrollAnimation()

void SCR_AssetCardFrontUIComponent::OnHoverScrollAnimation ( Widget widget,
int prefabIndex,
bool hoverEntered )
inlineprotected

Definition at line 395 of file SCR_AssetCardFrontUIComponent.c.

◆ OnMouseEnter()

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

Definition at line 543 of file SCR_AssetCardFrontUIComponent.c.

◆ OnMouseLeave()

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

Definition at line 552 of file SCR_AssetCardFrontUIComponent.c.

◆ SetBackgroundColor()

void SCR_AssetCardFrontUIComponent::SetBackgroundColor ( Color newColor,
float transition = UIConstants.FADE_RATE_FAST )
inlineprotected

Set faction color of specific widgets

Parameters
[in]newColor

Definition at line 519 of file SCR_AssetCardFrontUIComponent.c.

◆ SetBackgroundImage()

void SCR_AssetCardFrontUIComponent::SetBackgroundImage ( ResourceName imageName)
inlineprotected

Set Background Image

Parameters
[in]imageName

Definition at line 430 of file SCR_AssetCardFrontUIComponent.c.

◆ SetHover()

void SCR_AssetCardFrontUIComponent::SetHover ( bool state)
inlineprotected

Set faction color of specific widgets

Parameters
[in]newColor

Definition at line 507 of file SCR_AssetCardFrontUIComponent.c.

◆ SetHoverImage()

void SCR_AssetCardFrontUIComponent::SetHoverImage ( ResourceName imageName)
inlineprotected

Set Image

Parameters
[in]imageName

Definition at line 449 of file SCR_AssetCardFrontUIComponent.c.

◆ SetImage()

void SCR_AssetCardFrontUIComponent::SetImage ( ResourceName imageName)
inlineprotected

Set Image

Parameters
[in]imageName

Definition at line 468 of file SCR_AssetCardFrontUIComponent.c.

◆ SetImageColor()

void SCR_AssetCardFrontUIComponent::SetImageColor ( Color newColor,
float transition = UIConstants.FADE_RATE_FAST )
inlineprotected

Set faction color of specific widgets

Parameters
[in]newColor

Definition at line 528 of file SCR_AssetCardFrontUIComponent.c.

◆ SetText()

void SCR_AssetCardFrontUIComponent::SetText ( string newText)
inlineprotected

Set Image

Parameters
[in]imageName

Definition at line 487 of file SCR_AssetCardFrontUIComponent.c.

Member Data Documentation

◆ Event_OnCardInit

ref ScriptInvoker SCR_AssetCardFrontUIComponent::Event_OnCardInit = new ScriptInvoker()
protected

Definition at line 78 of file SCR_AssetCardFrontUIComponent.c.

◆ m_aFactionColorNames

ref array<string> SCR_AssetCardFrontUIComponent::m_aFactionColorNames
protected

Definition at line 56 of file SCR_AssetCardFrontUIComponent.c.

◆ m_bEnableHover

bool SCR_AssetCardFrontUIComponent::m_bEnableHover
protected

Definition at line 53 of file SCR_AssetCardFrontUIComponent.c.

◆ m_BudgetCostLayout

Widget SCR_AssetCardFrontUIComponent::m_BudgetCostLayout
protected

Definition at line 76 of file SCR_AssetCardFrontUIComponent.c.

◆ m_EntityImageWidget

ref ImageWidget SCR_AssetCardFrontUIComponent::m_EntityImageWidget
protected

Definition at line 73 of file SCR_AssetCardFrontUIComponent.c.

◆ m_ExceedBudgetLayout

Widget SCR_AssetCardFrontUIComponent::m_ExceedBudgetLayout
protected

Definition at line 77 of file SCR_AssetCardFrontUIComponent.c.

◆ m_ImageOverlayTextures

ref array<ResourceName> SCR_AssetCardFrontUIComponent::m_ImageOverlayTextures
protected

Definition at line 68 of file SCR_AssetCardFrontUIComponent.c.

◆ m_iPrefabIndex

int SCR_AssetCardFrontUIComponent::m_iPrefabIndex
protected

Definition at line 86 of file SCR_AssetCardFrontUIComponent.c.

◆ m_OnFocus

ref ScriptInvoker SCR_AssetCardFrontUIComponent::m_OnFocus = new ScriptInvoker()
protected

Definition at line 89 of file SCR_AssetCardFrontUIComponent.c.

◆ m_OnHover

ref ScriptInvoker SCR_AssetCardFrontUIComponent::m_OnHover = new ScriptInvoker()
protected

Definition at line 88 of file SCR_AssetCardFrontUIComponent.c.

◆ m_sAreaName

string SCR_AssetCardFrontUIComponent::m_sAreaName
protected

Definition at line 50 of file SCR_AssetCardFrontUIComponent.c.

◆ m_sAssetCardNameFrameWidget

string SCR_AssetCardFrontUIComponent::m_sAssetCardNameFrameWidget
protected

Definition at line 71 of file SCR_AssetCardFrontUIComponent.c.

◆ m_sBudgetCostLayoutName

string SCR_AssetCardFrontUIComponent::m_sBudgetCostLayoutName
protected

Definition at line 32 of file SCR_AssetCardFrontUIComponent.c.

◆ m_sBudgetCostTextName

string SCR_AssetCardFrontUIComponent::m_sBudgetCostTextName
protected

Definition at line 35 of file SCR_AssetCardFrontUIComponent.c.

◆ m_sExceedBudgetIconName

string SCR_AssetCardFrontUIComponent::m_sExceedBudgetIconName
protected

Definition at line 29 of file SCR_AssetCardFrontUIComponent.c.

◆ m_sExceedBudgetLayoutName

string SCR_AssetCardFrontUIComponent::m_sExceedBudgetLayoutName
protected

Definition at line 26 of file SCR_AssetCardFrontUIComponent.c.

◆ m_sIconSlotWidgetName

string SCR_AssetCardFrontUIComponent::m_sIconSlotWidgetName
protected

Definition at line 17 of file SCR_AssetCardFrontUIComponent.c.

◆ m_sImageBackgroundName

string SCR_AssetCardFrontUIComponent::m_sImageBackgroundName
protected

Definition at line 47 of file SCR_AssetCardFrontUIComponent.c.

◆ m_sImageHoverName

string SCR_AssetCardFrontUIComponent::m_sImageHoverName
protected

Definition at line 41 of file SCR_AssetCardFrontUIComponent.c.

◆ m_sImageName

string SCR_AssetCardFrontUIComponent::m_sImageName
protected

Definition at line 44 of file SCR_AssetCardFrontUIComponent.c.

◆ m_sImageOverlayName

string SCR_AssetCardFrontUIComponent::m_sImageOverlayName
protected

Definition at line 38 of file SCR_AssetCardFrontUIComponent.c.

◆ m_sModIndicatorIconName

string SCR_AssetCardFrontUIComponent::m_sModIndicatorIconName
protected

Definition at line 23 of file SCR_AssetCardFrontUIComponent.c.

◆ m_sModIndicatorWidgetName

string SCR_AssetCardFrontUIComponent::m_sModIndicatorWidgetName
protected

Definition at line 20 of file SCR_AssetCardFrontUIComponent.c.

◆ m_sTraitLabelGroups

ref array<EEditableEntityLabelGroup> SCR_AssetCardFrontUIComponent::m_sTraitLabelGroups
protected

Definition at line 59 of file SCR_AssetCardFrontUIComponent.c.

◆ m_sTraitNames

ref array<string> SCR_AssetCardFrontUIComponent::m_sTraitNames
protected

Definition at line 62 of file SCR_AssetCardFrontUIComponent.c.

◆ m_wBackground

ImageWidget SCR_AssetCardFrontUIComponent::m_wBackground
protected

Definition at line 83 of file SCR_AssetCardFrontUIComponent.c.

◆ m_wHoverImageWidget

ref ImageWidget SCR_AssetCardFrontUIComponent::m_wHoverImageWidget
protected

Definition at line 74 of file SCR_AssetCardFrontUIComponent.c.


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