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

◆ CanSwapEntities()

static proto native bool GameInventory::CanSwapEntities ( notnull EntityAI item1,
notnull EntityAI item2 )
staticprotected

test if ordinary swap can be performed.

Ordinary in the sense that the two items has equal sizes and can be swapped without additional space.

Аргументы
[in]item1first item
[in]item2second item
Возвращает
true if can be swapped

Используется в CanSwapEntitiesEx().