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

◆ MoveContainerUp()

void Container::MoveContainerUp ( Widget cont)
inlineprotected

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

152 {
153 if( m_Entity )
154 {
155 InventoryLocation loc = new InventoryLocation;
157 if( loc.IsValid() )
158 {
159 int slot = loc.GetSlot();
160 Inventory.MoveAttachmentUp( slot );
161 UpdateSelectionIcons();
162 }
163 }
164 }
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.