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

◆ SetGroundPosByOwner()

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

См. определение в файле 3_Game/DayZ/Systems/Inventory/Inventory.c строка 1214

1215 {
1216 vector m4[4];
1217 Math3D.MatrixIdentity4(m4);
1218 bool success = GameInventory.PrepareDropEntityPos(owner, item, m4, false, GameConstants.INVENTORY_ENTITY_DROP_OVERLAP_DEPTH);
1219 ground.SetGround(item, m4);
1220 return success;
1221 }

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

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