DayZ 1.27
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;
156 m_Entity.GetInventory().GetCurrentInventoryLocation( loc );
157 if( loc.IsValid() )
158 {
159 int slot = loc.GetSlot();
160 Inventory.MoveAttachmentUp( slot );
161 UpdateSelectionIcons();
162 }
163 }
164 }
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.