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

◆ SetGroundPosByOwner()

static bool GameInventory::SetGroundPosByOwner ( EntityAI owner,
notnull EntityAI item,
out InventoryLocation ground )
inlinestaticprotected

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

1256 {
1257 vector m4[4];
1258 Math3D.MatrixIdentity4(m4);
1259 bool success = GameInventory.PrepareDropEntityPos(owner, item, m4, false, GameConstants.INVENTORY_ENTITY_DROP_OVERLAP_DEPTH);
1260 ground.SetGround(item, m4);
1261 return success;
1262 }

Перекрестные ссылки GameConstants::INVENTORY_ENTITY_DROP_OVERLAP_DEPTH, Math3D::MatrixIdentity4() и PrepareDropEntityPos().

Используется в HandEventRemove::CanPerformEventEx(), HandEventRemove::CheckRequestEx(), DropEntity(), OnEntry(), ActionUnpackGift::OnFinishProgressServer() и StaticConstructionMethods::SpawnConstructionMaterialPiles().