class ActionInfoGridBase
ActionInfoGridBase › LayoutHolder › ScriptedWidgetEventHandler › Managed
Constructors 1
void ActionInfoGridBase(LayoutHolder parent, Widget handledWidget)References InitInfoGrid()
Members 5
protected bool m_UpdateTargetprotected ActionInfoDataBase m_ActionInfoReferenced by Cleanup(), SetInfoData(), ConstructionActionInfoMaterialsGrid.UpdateInterval()
Show 1 more
, ConstructionActionInfoToolsGrid.UpdateInterval()protected ActionTarget m_Targetprotected ref array<ref GenericIconBase> m_Iconsprotected int m_IconVisibleCountReferenced by Cleanup(), UpdateInterval(), ConstructionActionInfoMaterialsGrid.UpdateInterval()
Show 1 more
, ConstructionActionInfoToolsGrid.UpdateInterval()Methods 7
protected void InitInfoGrid(LayoutHolder parent, Widget handledWidget)References Widget.GetChildren(), Widget.GetSibling(), Widget.Show()
Show 3 more
, m_Icons, LayoutHolder.m_MainWidget, and LayoutHolder.m_RootWidgetoverride void SetLayoutName()does not create unique layout, just a handler for an existing grid
References LayoutHolder.m_LayoutName
protected void CreateNewIcon(int idx = -1)We CAN add more icons during runtime if needed..
void SetInfoData(ActionInfoDataBase info, ActionTarget target)Referenced by TargetActionInfoPanelBase.UpdateInterval()
void Cleanup()References SlotsIconBase.Clear(), GenericIconBase.ResetIconValues(), m_ActionInfo
Show 3 more
, m_Icons, m_IconVisibleCount, and m_TargetReferenced by UpdateInterval(), ConstructionActionInfoGrid.Cleanup(), and TargetActionInfoPanelBase.Cleanup()
override void UpdateInterval()References Cleanup(), LayoutHolder.IsVisible(), Widget.Show()
Show 2 more
, m_IconVisibleCount, and LayoutHolder.m_RootWidgetoverride void SetParentWidget()parent to the main grid
References Widget.FindAnyWidget(), LayoutHolder.GetRootWidget(), LayoutHolder.m_Parent