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

◆ ~ContainerWithCargoAndAttachments()

void ClosableContainer::~ContainerWithCargoAndAttachments ( )
inlineprotected

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

17 {
18 if ( m_Entity )
19 {
20 m_Entity.GetOnItemAttached().Remove( AttachmentAdded );
21 m_Entity.GetOnItemDetached().Remove( AttachmentRemoved );
22 }
23
24 if ( m_Atts )
25 delete m_Atts;
26
27 foreach ( EntityAI e, Attachments att : m_AttachmentAttachments )
28 {
29 delete att;
30 }
31
34
37
39 m_AttachmentCargos.Clear();
40 }
class LogManager EntityAI
EntityAI m_Entity
Определения ActionDebug.c:11
ref map< EntityAI, ref CargoContainer > m_AttachmentCargos
void AttachmentRemoved(EntityAI item, string slot, EntityAI parent)
ref map< EntityAI, ref Attachments > m_AttachmentAttachments
ref map< EntityAI, ref AttachmentsWrapper > m_AttachmentAttachmentsContainers
void AttachmentAdded(EntityAI item, string slot, EntityAI parent)
ref Attachments m_Atts

Перекрестные ссылки AttachmentAdded(), AttachmentRemoved(), m_AttachmentAttachments, m_AttachmentAttachmentsContainers, m_AttachmentCargos, m_Atts и m_Entity.