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

◆ SetSameLevelPreviousActive()

void LayoutHolder::SetSameLevelPreviousActive ( )
inlineprotected

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

1102 {
1103 HideOwnedTooltip();
1104 Container active;
1105 if (m_OpenedContainers.Count())
1106 {
1108 }
1109
1110 if (active && active.IsActive())
1111 {
1112 SlotsIcon icon = GetFocusedSlotsIcon();
1113 if (icon && icon.GetParent() && SlotsContainer.Cast(icon.GetParent()))
1114 {
1115 SlotsContainer sc = SlotsContainer.Cast(icon.GetParent());
1116 AttachmentsGroupContainer agc = AttachmentsGroupContainer.Cast(sc.GetParent());
1117 if (agc)
1118 {
1119 agc.SetActive(false);
1120 }
1121 }
1122
1123 active.SetSameLevelPreviousActive();
1124 }
1125
1126 if (!active || !active.IsActive())
1127 {
1128 Container prev;
1130 {
1131 m_ActiveIndex--;
1132
1134 prev.SetLastActive();
1135 }
1136 else if (Container.Cast( GetParent() ))
1137 {
1138 SetActive(false);
1139 }
1140 else
1141 {
1142 SetActive(false);
1143 SetLastActive();
1144 }
1145 }
1146 }
void SetActive()
Определения TrapBase.c:414
override void SetActive(bool active)
Определения AttachmentsGroupContainer.c:26
override void SetLastActive()
Определения CargoContainer.c:744
void Container(LayoutHolder parent)
Определения Container.c:35
ref array< LayoutHolder > m_OpenedContainers
Определения Container.c:4
int m_ActiveIndex
Определения Container.c:5
override void SetLastActive()
Определения Container.c:779
bool IsFirstContainerFocused()
Определения Container.c:936
SlotsIcon GetFocusedSlotsIcon()
Определения Container.c:72
proto native Widget GetParent()
Get parent of the Effect.
Определения Effect.c:407

Перекрестные ссылки Container(), GetFocusedSlotsIcon(), GetParent(), IsFirstContainerFocused(), m_ActiveIndex, m_OpenedContainers, AttachmentsGroupContainer::SetActive(), SetActive() и Container::SetLastActive().