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

◆ DestroyAtt()

void HandsContainer::DestroyAtt ( )
inlineprotected

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

889 {
890 if( m_Atts )
891 {
892 m_Body.RemoveItem( m_Atts.GetWrapper() );
893 delete m_Atts;
894
895 if( m_Entity )
896 {
897 m_Entity.GetOnItemAttached().Remove( AttachmentAdded );
898 m_Entity.GetOnItemDetached().Remove( AttachmentRemoved );
899 }
900 }
901
903 {
904 foreach( EntityAI ent, AttachmentsWrapper att : m_AttachmentAttachmentsContainers )
905 {
906 m_Body.RemoveItem( att );
907 m_AttachmentAttachments.Remove( ent );
908 delete att;
909 }
910 }
911
913 Refresh();
914 m_Parent.Refresh();
915 RecomputeOpenedContainers();
916 }
class LogManager EntityAI
EntityAI m_Entity
Определения ActionDebug.c:11
Widget m_Parent
Определения SizeToChild.c:92
ref map< EntityAI, AttachmentsWrapper > m_AttachmentAttachmentsContainers
Определения HandsContainer.c:11
ref map< EntityAI, ref Attachments > m_AttachmentAttachments
Определения HandsContainer.c:12
void AttachmentRemoved(EntityAI item, string slot, EntityAI parent)
Определения HandsContainer.c:1342
void AttachmentAdded(EntityAI item, string slot, EntityAI parent)
Определения HandsContainer.c:1287
ref Attachments m_Atts
Определения HandsContainer.c:7
override void Refresh()
Определения HandsContainer.c:323

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