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

◆ SetAttachment()

proto native void InventoryLocation::SetAttachment ( notnull EntityAI parent,
EntityAI e,
int slotId )
private

sets current inventory location type to Attachment with slot id set to <slotId>

Аргументы
[in]parentparent entity the item <e> will be attached to
[in]eentity with this inventory location (null for new spawns)
[in]slotIdslot id where the item will be attached

Используется в CoverHeadOfTargetPlayerLambda::CoverHeadOfTargetPlayerLambda(), FoldBandanaToSlotLambda::FoldBandanaToSlotLambda(), FirearmActionAttachMagazine::InventoryReservation(), FirearmActionAttachMagazineQuick::InventoryReservation(), WeaponStateBase::OnEntry(), ActionAttachWithSwitch::OnExecuteClient(), ActionAttachWithSwitch::OnExecuteServer(), WeaponManager::OnInputUserDataProcess(), OnUpdate(), ReadFromContext(), HumanInventory::TakeEntityAsAttachmentEx() и GameInventory::TakeEntityAsTargetAttachmentEx().