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

◆ EEItemLocationChanged()

override void EEItemLocationChanged ( notnull InventoryLocation oldLoc,
notnull InventoryLocation newLoc )
protected

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

102 {
103 super.EEItemLocationChanged(oldLoc, newLoc);
104
105 if (g_Game.IsServer())
106 {
107 EntityAI oldParent = oldLoc.GetParent();
108 if (oldParent && oldParent.CanUseConstruction() && oldLoc.GetType() == InventoryLocationType.ATTACHMENT)
109 SetTakeable(true);
110 }
111 }
DayZGame g_Game
Определения DayZGame.c:4074
InventoryLocationType
types of Inventory Location
Определения InventoryLocation.c:4
override void SetTakeable(bool pState)
Определения ItemBase.c:4362

Перекрестные ссылки g_Game и SetTakeable().