6 protected ref array<InventoryItemComponent> m_pInventoryItemsComponent =
new array<InventoryItemComponent>();
7 private array<IEntity> m_pItems;
18 if ( m_InventoryStorage )
19 m_Storage = m_InventoryStorage.GetWeaponStorage();
21 m_wStorageName.SetText(
"#AR-Editor_TooltipDetail_Weapons_Name" );
33 override int CreateSlots( )
37 array<IEntity> pItemsInStorage =
new array<IEntity>();
40 if( !pItemsInStorage )
43 foreach ( IEntity pItem: pItemsInStorage )
47 m_aSlots.Insert( CreateWeaponSlotUI( pComponent ) );
54 override void HandlerAttached( Widget w )
56 super.HandlerAttached( w );
68 SetSlotAreaType( slotID );
71 m_iMatrix =
new SCR_Matrix( m_iMaxColumns, m_iMaxRows );
72 m_sGridPath =
"GridLayout0";