|
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_EditableEntityComponent > | FactionRecipients () |
|
SCR_UIInfo | GetInfo () |
| Get Card info.
|
|
void | SetBackgroundImage (ResourceName imageName) |
| Set Background Image.
|
|
void | SetHoverImage (ResourceName imageName) |
| Set Image.
|
|
void | SetImage (ResourceName imageName) |
| Set Image.
|
|
void | SetText (string newText) |
| Set Image.
|
|
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) |
|
override bool | OnClick (Widget w, int x, int y, int button) |
|
Widget | GetRootWidget () |
|
bool | IsVisible () |
|
◆ 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 |
( |
| ) |
|
◆ GetOnCardInit()
ScriptInvoker SCR_AssetCardFrontUIComponent.GetOnCardInit |
( |
| ) |
|
◆ 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 ) |
◆ SetBackgroundColor()
Set faction color of specific widgets.
- Parameters
-
◆ SetBackgroundImage()
void SCR_AssetCardFrontUIComponent.SetBackgroundImage |
( |
ResourceName | imageName | ) |
|
Set Background Image.
- Parameters
-
◆ SetHover()
void SCR_AssetCardFrontUIComponent.SetHover |
( |
bool | state | ) |
|
|
protected |
Set faction color of specific widgets.
- Parameters
-
◆ SetHoverImage()
void SCR_AssetCardFrontUIComponent.SetHoverImage |
( |
ResourceName | imageName | ) |
|
◆ SetImage()
void SCR_AssetCardFrontUIComponent.SetImage |
( |
ResourceName | imageName | ) |
|
◆ SetImageColor()
Set faction color of specific widgets.
- Parameters
-
◆ SetText()
void SCR_AssetCardFrontUIComponent.SetText |
( |
string | newText | ) |
|
◆ UpdateBlockingBudget()
void SCR_AssetCardFrontUIComponent.UpdateBlockingBudget |
( |
SCR_UIInfo | blockingBudgetInfo = null | ) |
|
◆ UpdateBudgetCost()
◆ Event_OnCardInit
ref ScriptInvoker SCR_AssetCardFrontUIComponent.Event_OnCardInit = new ScriptInvoker() |
|
protected |
◆ m_aFactionColorNames
ref array<string> SCR_AssetCardFrontUIComponent.m_aFactionColorNames |
|
protected |
◆ m_bEnableHover
bool SCR_AssetCardFrontUIComponent.m_bEnableHover |
|
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
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_sImageBackgroundName
string SCR_AssetCardFrontUIComponent.m_sImageBackgroundName |
|
protected |
◆ m_sImageHoverName
string SCR_AssetCardFrontUIComponent.m_sImageHoverName |
|
protected |
◆ m_sImageName
string SCR_AssetCardFrontUIComponent.m_sImageName |
|
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 |
◆ m_wBackground
Widget m_wAssetCardName ImageWidget SCR_AssetCardFrontUIComponent.m_wBackground |
|
protected |
◆ m_wHoverImageWidget
ref ImageWidget SCR_AssetCardFrontUIComponent.m_wHoverImageWidget |
|
protected |
The documentation for this interface was generated from the following file:
- Game/UI/Components/AssetCardComponents/SCR_AssetCardFrontUIComponent.c