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

◆ SetSameLevelNextActive()

void LayoutHolder::SetSameLevelNextActive ( )
inlineprotected

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

1057 {
1058 HideOwnedTooltip();
1059 Container active, next;
1060 if (m_OpenedContainers.Count())
1061 {
1063 }
1064
1065 if (active && active.IsActive())
1066 {
1067 SlotsIcon icon = GetFocusedSlotsIcon();
1068 if (icon && icon.GetParent() && SlotsContainer.Cast(icon.GetParent()))
1069 {
1070 SlotsContainer sc = SlotsContainer.Cast(icon.GetParent());
1071 AttachmentsGroupContainer agc = AttachmentsGroupContainer.Cast(sc.GetParent());
1072 if (agc)
1073 {
1074 agc.SetActive(false);
1075 }
1076 }
1077
1078 active.SetSameLevelNextActive();
1079 }
1080
1081 if (!active || !active.IsActive())
1082 {
1084 {
1085 m_ActiveIndex++;
1087 next.SetActive(true);
1088 }
1089 else if (Container.Cast(GetParent()))
1090 {
1091 SetActive(false);
1092 }
1093 else
1094 {
1095 SetActive(false);
1097 }
1098 }
1099 }
void SetActive()
Определения TrapBase.c:414
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:823
ref array< LayoutHolder > m_OpenedContainers
Определения Container.c:4
int m_ActiveIndex
Определения Container.c:5
bool IsLastContainerFocused()
Определения Container.c:941
SlotsIcon GetFocusedSlotsIcon()
Определения Container.c:72
proto native Widget GetParent()
Get parent of the Effect.
Определения Effect.c:407

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