DayZ 1.27
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;
171 m_Entity.GetInventory().GetCurrentInventoryLocation( loc );
172 if( loc.IsValid() )
173 {
174 int slot = loc.GetSlot();
175 Inventory.MoveAttachmentDown( slot );
176 UpdateSelectionIcons();
177 }
178 }
179 }
void Inventory(LayoutHolder parent)
Определения Inventory.c:74
EntityAI m_Entity
Определения ActionDebug.c:11
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.