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

◆ LocationCanMoveEntity()

static proto native bool GameInventory::LocationCanMoveEntity ( notnull InventoryLocation src,
notnull InventoryLocation dst )
staticprotected

queries if the entity contained in inv_loc.m_item can be moved to another location This is a shorthand for CanRemove + CanAdd query

Возвращает
true if can be moved, false otherwise

Используется в HandEventBase::CanPerformEvent(), HandEventBase::CanPerformEventEx(), HandGuardBase::GuardCondition(), LocationCanMoveEntitySyncCheck(), OnAbort(), WeaponStateBase::OnAbort(), WeaponStateBase::OnExit() и ValidateSyncMove().