DayZ 1.29
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 {
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
Entity m_Entity
Определения CachedEquipmentStorageBase.c:14
Entity m_Parent
Определения CachedEquipmentStorageBase.c:15
ScriptInvoker GetOnItemAttached()
ScriptInvoker GetOnItemDetached()
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
proto bool Remove(func fn, int flags=EScriptInvokerRemoveFlags.ALL)
remove specific call from list

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