DayZ 1.30
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ ClearRemainSelected()

override void ClearRemainSelected ( )
protected

См. определение в файле ConstructionInfoIcons.c строка 363

364 {
365 super.ClearRemainSelected();
366
367 m_GhostSlot.SetImage(0);
368 m_GhostSlot.SetColor(m_OriginalGhostIconColor);
370
371 if (GetSlotID() != InventorySlots.INVALID)
372 {
373 int stackMax = GetContextualSlotMax();
374 if (stackMax > 0)
375 {
376 m_QuantityPanel.Show(true);
377 RichTextWidget.Cast(m_QuantityItem).SetText(string.Format("<color hex=\"%1\">%2</color><color hex=\"%3\">/%4</color>", QUANTITY_TEXT_COLOR_DARKER_ARGB, "0", QUANTITY_TEXT_COLOR_LIGHTER_ARGB, GetContextualSlotMax().ToString()));
378 //m_QuantityItem.SetAlpha(0.5019); //TODO: ffs...
379 m_QuantityItem.Show(true);
380 m_QuantityStack.Show(true);
381 m_QuantityProgress.Show(false);
382 m_PanelWidget.Show(true);
383 m_ItemPreview.Show(false);
384 }
385 }
386 }
const string QUANTITY_TEXT_COLOR_LIGHTER_ARGB
Определения ConstructionInfoIcons.c:164
int GetContextualSlotMax()
Определения ConstructionInfoIcons.c:388
int m_LastSufficientMaterialState
Определения ConstructionInfoIcons.c:166
ConstructionToolInfoIcon QUANTITY_TEXT_COLOR_DARKER_ARGB
enum eConstructionIconItemState m_OriginalGhostIconColor
proto string ToString()
const int INVALID
Invalid slot (-1)
Определения InventorySlots.c:17
provides access to slot configuration
Определения InventorySlots.c:6
Определения gameplay.c:317

Перекрестные ссылки GetContextualSlotMax(), InventorySlots::INVALID, m_LastSufficientMaterialState, m_OriginalGhostIconColor, QUANTITY_TEXT_COLOR_DARKER_ARGB, QUANTITY_TEXT_COLOR_LIGHTER_ARGB и ToString().