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

◆ AttachmentRemoved()

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

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

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

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

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