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

◆ FoldBandanaToSlotLambda()

void FoldBandanaToSlotLambda::FoldBandanaToSlotLambda ( EntityAI old_item,
string new_item_type,
PlayerBase player,
int slot )
inlineprivate

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

50 {
51 InventoryLocation targetAtt = new InventoryLocation;
52 targetAtt.SetAttachment(player, NULL, slot);
53 OverrideNewLocation(targetAtt);
54 }
proto native void SetAttachment(notnull EntityAI parent, EntityAI e, int slotId)
sets current inventory location type to Attachment with slot id set to <slotId>

Перекрестные ссылки InventoryLocation::SetAttachment().