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

◆ CanReceiveItemIntoCargo() [2/2]

override bool Container_Base::CanReceiveItemIntoCargo ( EntityAI item)
inlineprotected

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

15 {
16 if (!super.CanReceiveItemIntoCargo(item))
17 return false;
18
19 if (GameInventory.GetInventoryCheckContext() == InventoryCheckContext.DEFAULT)
20 {
21 if (!GetGame().IsDedicatedServer())
22 return IsOpen();
23 }
24
25 return true;
26 }
InventoryCheckContext
Определения Inventory.c:58
override bool IsOpen()
Определения GiftBox_Base.c:41
proto native CGame GetGame()

Перекрестные ссылки GetGame(), GameInventory::GetInventoryCheckContext() и IsOpen().