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

◆ MoveContainerDown()

void Container::MoveContainerDown ( Widget cont)
inlineprotected

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

167 {
168 if( m_Entity )
169 {
170 InventoryLocation loc = new InventoryLocation;
172 if( loc.IsValid() )
173 {
174 int slot = loc.GetSlot();
175 Inventory.MoveAttachmentDown( slot );
176 UpdateSelectionIcons();
177 }
178 }
179 }
void Inventory(LayoutHolder parent)
Entity m_Entity
Определения CachedEquipmentStorageBase.c:14
proto native GameInventory GetInventory()
proto native bool GetCurrentInventoryLocation(out notnull InventoryLocation loc)
returns information about current item location
proto native bool IsValid()
verify current set inventory location
proto native int GetSlot()
returns slot id if current type is Attachment

Перекрестные ссылки InventoryLocation::GetSlot(), Inventory(), InventoryLocation::IsValid() и m_Entity.