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

◆ SetSameLevelPreviousActive()

void LayoutHolder::SetSameLevelPreviousActive ( )
inlineprotected

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

1098 {
1099 HideOwnedTooltip();
1100 Container active;
1101 if (m_OpenedContainers.Count())
1102 {
1104 }
1105
1106 if (active && active.IsActive())
1107 {
1108 SlotsIcon icon = GetFocusedSlotsIcon();
1109 if (icon && icon.GetParent() && SlotsContainer.Cast(icon.GetParent()))
1110 {
1111 SlotsContainer sc = SlotsContainer.Cast(icon.GetParent());
1112 AttachmentsGroupContainer agc = AttachmentsGroupContainer.Cast(sc.GetParent());
1113 if (agc)
1114 {
1115 agc.SetActive(false);
1116 }
1117 }
1118
1119 active.SetSameLevelPreviousActive();
1120 }
1121
1122 if (!active || !active.IsActive())
1123 {
1124 Container prev;
1126 {
1127 m_ActiveIndex--;
1128
1130 prev.SetLastActive();
1131 }
1132 else if (Container.Cast( GetParent() ))
1133 {
1134 SetActive(false);
1135 }
1136 else
1137 {
1138 SetActive(false);
1139 SetLastActive();
1140 }
1141 }
1142 }
void SetActive()
Определения TrapBase.c:413
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:775
bool IsFirstContainerFocused()
Определения Container.c:932
SlotsIcon GetFocusedSlotsIcon()
Определения Container.c:72
proto native Widget GetParent()
Get parent of the Effect.
Определения Effect.c:422

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