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

◆ SetSameLevelNextActive()

void LayoutHolder::SetSameLevelNextActive ( )
inlineprotected

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

1053 {
1054 HideOwnedTooltip();
1055 Container active, next;
1056 if (m_OpenedContainers.Count())
1057 {
1059 }
1060
1061 if (active && active.IsActive())
1062 {
1063 SlotsIcon icon = GetFocusedSlotsIcon();
1064 if (icon && icon.GetParent() && SlotsContainer.Cast(icon.GetParent()))
1065 {
1066 SlotsContainer sc = SlotsContainer.Cast(icon.GetParent());
1067 AttachmentsGroupContainer agc = AttachmentsGroupContainer.Cast(sc.GetParent());
1068 if (agc)
1069 {
1070 agc.SetActive(false);
1071 }
1072 }
1073
1074 active.SetSameLevelNextActive();
1075 }
1076
1077 if (!active || !active.IsActive())
1078 {
1080 {
1081 m_ActiveIndex++;
1083 next.SetActive(true);
1084 }
1085 else if (Container.Cast(GetParent()))
1086 {
1087 SetActive(false);
1088 }
1089 else
1090 {
1091 SetActive(false);
1093 }
1094 }
1095 }
void SetActive()
Определения TrapBase.c:413
override void SetActive(bool active)
Определения AttachmentsGroupContainer.c:26
override void SetActive(bool active)
Определения CargoContainer.c:769
void Container(LayoutHolder parent)
Определения Container.c:35
override void SetFirstActive()
Определения Container.c:819
ref array< LayoutHolder > m_OpenedContainers
Определения Container.c:4
int m_ActiveIndex
Определения Container.c:5
bool IsLastContainerFocused()
Определения Container.c:937
SlotsIcon GetFocusedSlotsIcon()
Определения Container.c:72
proto native Widget GetParent()
Get parent of the Effect.
Определения Effect.c:422

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