class ConstructionMaterialInfoIcon
ConstructionMaterialInfoIcon › ConstructionInfoIcon › GenericIconBase › SlotsIconBase › LayoutHolder › ScriptedWidgetEventHandler › Managed
Full hierarchyFull members 181
- Managed
- ScriptedWidgetEventHandler
- LayoutHolder
- SlotsIconBase
- GenericIconBase
- ConstructionInfoIcon
- ConstructionMaterialInfoIcon
- ConstructionInfoIcon
- GenericIconBase
- SlotsIconBase
- LayoutHolder
- ScriptedWidgetEventHandler
Constants 2
const string QUANTITY_TEXT_COLOR_DARKER_ARGB = "0xFF7C7C7C"const string QUANTITY_TEXT_COLOR_LIGHTER_ARGB = "0xFFC8C8C8"Members 4
protected bool m_ProcessDataChangesonly true when a part or target entity changed //TODO: figure out something better?
Referenced by InitIcon(), ResetIconValues(), SetConstructionPart()
Show 2 more
, SetTargetEntity(), and UpdateInterval()protected int m_LastSufficientMaterialStateprotected EntityAI m_TargetedEntityowner of the construction part (and inventory)
Referenced by CheckDisplayableAttachment(), InitMaterialInfo(), ResetIconValues()
Show 1 more
, SetTargetEntity()protected ConstructionMaterialData m_MaterialDataReferenced by CheckDisplayableAttachment(), GetContextualSlotMax(), InitGhostIcon()
Show 2 more
, InitMaterialInfo(), and ResetIconValues()Methods 11
override protected void InitIcon(LayoutHolder parent, Widget root, int index, EntityAI slot_parent)protected void InitGhostIcon()Referenced by InitMaterialInfo()
void SetTargetEntity(EntityAI targetEnt)Referenced by ConstructionActionInfoMaterialsGrid.UpdateInterval()
override void SetConstructionPart(ConstructionPart part)References ConstructionInfoIcon.SetConstructionPart(), ConstructionInfoIcon.m_Part, and m_ProcessDataChanges
Referenced by ConstructionActionInfoMaterialsGrid.UpdateInterval()
override void ResetIconValues()References ConstructionInfoIcon.ResetIconValues(), m_MaterialData, m_ProcessDataChanges
Show 1 more
, m_TargetedEntityprotected void InitMaterialInfo()References CheckDisplayableAttachment(), array.Count(), ErrorEx()
Show 13 more
, ConstructionPart.GetMaterialsData(), InitGhostIcon(), LayoutHolder.OnHide(), LayoutHolder.OnShow(), SlotsIconBase.SetSlotID(), InventorySlots.INVALID, GenericIconBase.m_IconIndex, ConstructionInfoIcon.m_ItemState, m_MaterialData, ConstructionMaterialData.m_MaterialSlotID, ConstructionMaterialData.m_MaterialSlotName, ConstructionInfoIcon.m_Part, and m_TargetedEntityReferenced by UpdateInterval()
protected bool CheckDisplayableAttachment()override void UpdateInterval()References CheckDisplayableAttachment(), ConstructionInfoIcon.Clear(), InitMaterialInfo()
Show 2 more
, SlotsIconBase.UpdateInterval(), and m_ProcessDataChangesReferenced by ConstructionActionInfoMaterialsGrid.UpdateInterval()
override void SetQuantity()References Class.Cast(), string.Format(), GetContextualSlotMax()
Show 27 more
, InventoryItemType.GetGhostIconImagepath(), InventoryItem.GetInventoryItemType(), QuantityConversions.GetItemQuantity(), QuantityConversions.HasItemQuantity(), ImageWidget.LoadImageFile(), Widget.SetColor(), ImageWidget.SetImage(), TextWidget.SetText(), Widget.Show(), Widget.Show(), Widget.Show(), Widget.Show(), Widget.Show(), int.ToString(), float.ToString(), float.ToString(), SlotsIconBase.m_ColWidget, SlotsIconBase.m_CurrQuantity, SlotsIconBase.m_GhostSlot, SlotsIconBase.m_Item, SlotsIconBase.m_ItemPreview, m_LastSufficientMaterialState, SlotsIconBase.m_QuantityItem, SlotsIconBase.m_QuantityProgress, SlotsIconBase.m_QuantityStack, QUANTITY_TEXT_COLOR_DARKER_ARGB, and QUANTITY_TEXT_COLOR_LIGHTER_ARGBoverride void ClearRemainSelected()References Class.Cast(), SlotsIconBase.ClearRemainSelected(), string.Format()
Show 24 more
, GetContextualSlotMax(), SlotsIconBase.GetSlotID(), Widget.SetColor(), ImageWidget.SetImage(), TextWidget.SetText(), Widget.Show(), Widget.Show(), Widget.Show(), Widget.Show(), Widget.Show(), Widget.Show(), int.ToString(), InventorySlots.INVALID, SlotsIconBase.m_GhostSlot, SlotsIconBase.m_ItemPreview, m_LastSufficientMaterialState, ConstructionInfoIcon.m_OriginalGhostIconColor, SlotsIconBase.m_PanelWidget, SlotsIconBase.m_QuantityItem, SlotsIconBase.m_QuantityPanel, SlotsIconBase.m_QuantityProgress, SlotsIconBase.m_QuantityStack, QUANTITY_TEXT_COLOR_DARKER_ARGB, and QUANTITY_TEXT_COLOR_LIGHTER_ARGBoverride protected int GetContextualSlotMax()