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

◆ SwapCheckExclusionMaskLocal()

bool SwapCheckExclusionMaskLocal ( notnull InventoryLocation src1,
notnull InventoryLocation src2,
notnull InventoryLocation dst1,
notnull InventoryLocation dst2 )
protected

Local, checks only stuff that is in guaranteed sync.

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

3063 {
3064 bool failed = false;
3065
3066 if (dst1.GetType() == InventoryLocationType.ATTACHMENT)
3067 {
3068 failed |= !dst1.GetParent().CheckAttachmentReceiveExclusion(dst1.GetItem(),dst1.GetSlot());
3069 }
3070
3071 if (dst2.GetType() == InventoryLocationType.ATTACHMENT)
3072 {
3073 failed |= !dst2.GetParent().CheckAttachmentReceiveExclusion(dst2.GetItem(),dst2.GetSlot());
3074 }
3075 return !failed;
3076 }
InventoryLocationType
types of Inventory Location
Определения InventoryLocation.c:4

Используется в ValidateSwap().