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

◆ AttachmentRemoved()

void Attachments::AttachmentRemoved ( EntityAI item,
string slot,
EntityAI parent )
inlineprotected

См. определение в файле 5_Mission/DayZ/GUI/InventoryNew/Attachments.c строка 432

433 {
434 int slot_id = InventorySlots.GetSlotIdFromString(slot);
435 SlotsIcon icon = m_AttachmentSlots.Get(slot_id);
436 if (icon)
437 {
438 icon.Clear();
439 }
440 }
ref map< int, SlotsIcon > m_AttachmentSlots
override void Clear()
Определения SlotsIcon.c:65

Перекрестные ссылки SlotsIcon::Clear(), InventorySlots::GetSlotIdFromString() и m_AttachmentSlots.

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