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

◆ DestroyAtt()

void HandsContainer::DestroyAtt ( )
inlineprotected

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

890 {
891 if( m_Atts )
892 {
893 m_Body.RemoveItem( m_Atts.GetWrapper() );
894 delete m_Atts;
895
896 if( m_Entity )
897 {
898 m_Entity.GetOnItemAttached().Remove( AttachmentAdded );
899 m_Entity.GetOnItemDetached().Remove( AttachmentRemoved );
900 }
901 }
902
904 {
905 foreach( EntityAI ent, AttachmentsWrapper att : m_AttachmentAttachmentsContainers )
906 {
907 m_Body.RemoveItem( att );
908 m_AttachmentAttachments.Remove( ent );
909 delete att;
910 }
911 }
912
914 Refresh();
915 m_Parent.Refresh();
916 RecomputeOpenedContainers();
917 }
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:1343
void AttachmentAdded(EntityAI item, string slot, EntityAI parent)
Определения HandsContainer.c:1288
ref Attachments m_Atts
Определения HandsContainer.c:7
override void Refresh()
Определения HandsContainer.c:324

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