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

◆ GetAttachedDevice()

ItemBase ActionPlugIn::GetAttachedDevice ( ItemBase parent)
inlineprivate

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

88 {
89 if (parent.IsInherited(CarBattery) || parent.IsInherited(TruckBattery))
90 {
91 ItemBase parentAttachment = ItemBase.Cast(parent.GetAttachmentByType(MetalWire));
92 if (!parentAttachment)
93 parentAttachment = ItemBase.Cast(parent.GetAttachmentByType(BarbedWire));
94
95 return parentAttachment;
96 }
97
98 return null;
99 }
class GP5GasMask extends MaskBase ItemBase

Используется в ActionCondition() и OnExecuteServer().