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

◆ SlotsContainer()

void SlotsContainer::SlotsContainer ( LayoutHolder parent,
EntityAI slot_parent )
inlineprotected

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

7 {
8 m_Icons = new array<ref SlotsIcon>;
9 for ( int i = 0; i < ITEMS_IN_ROW; i++ )
10 {
11 if ( GetRootWidget().FindAnyWidget( "Icon" + i ) )
12 m_Icons.Insert( new SlotsIcon( this, GetRootWidget().FindAnyWidget( "Icon" + i ), i , slot_parent) );
13 /*else
14 {
15 Widget child = GetRootWidget().GetChildren();
16 while ( child )
17 {
18 child = child.GetSibling();
19 }
20 }*/
21 }
22 }
const int ITEMS_IN_ROW
Определения Attachments.c:1
ref array< ref SlotsIcon > m_Icons
Определения SlotsContainer.c:3
proto native Widget FindAnyWidget(string pathname)

Перекрестные ссылки FindAnyWidget(), ITEMS_IN_ROW и m_Icons.