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

◆ CheckDisplayableAttachment()

bool CheckDisplayableAttachment ( )
protected

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

261 {
262 if (GetSlotID() != InventorySlots.INVALID && m_TargetedEntity.CanDisplayAttachmentSlot(m_MaterialData.m_MaterialSlotID))
263 {
264 EntityAI child = m_TargetedEntity.FindAttachmentBySlotName(m_MaterialData.m_MaterialSlotName);
265 if (child)
266 {
268 Init(child);
269 }
270 else if (m_ItemState != eConstructionIconItemState.HIDDEN)
271 {
272 Clear();
273 }
274
275 return true;
276 }
277
278 return false;
279 }
eConstructionIconItemState
Определения ConstructionInfoIcons.c:2
override void Clear()
Определения ConstructionInfoIcons.c:41
EntityAI m_TargetedEntity
Определения ConstructionInfoIcons.c:167
ConstructionMaterialData m_MaterialData
Определения ConstructionInfoIcons.c:168
eConstructionIconItemState m_ItemState
Определения ConstructionInfoIcons.c:12
override Widget Init()
Определения DayZGame.c:127
const int INVALID
Invalid slot (-1)
Определения InventorySlots.c:17
provides access to slot configuration
Определения InventorySlots.c:6

Перекрестные ссылки Clear(), Init(), InventorySlots::INVALID, m_ItemState, m_MaterialData и m_TargetedEntity.

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