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

◆ GetAttachmentPosition()

static vector AttachmentsOutOfReach::GetAttachmentPosition ( EntityAI e,
int slot_id )
inlinestaticprotected

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

62 {
63 if ( m_AttData == NULL )
64 {
66 }
67
68 string type_name = e.GetType();
69
70 if ( !m_AttData.Contains( type_name ) )
71 {
73
74 m_AttData.Insert( type_name, att );
75 }
76
77 return m_AttData.Get( type_name ).Get( slot_id );
78 }
map
Определения ControlsXboxNew.c:4
static ref map< string, ref map< int, vector > > m_AttData
Определения AttachmentsOutOfReach.c:3
map< int, vector > CreateAttachmentPosition(EntityAI entity)
Определения AttachmentsOutOfReach.c:80

Перекрестные ссылки CreateAttachmentPosition() и m_AttData.

Используется в IsAttachmentReachable().