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

◆ GetAttachmentPosition()

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

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

55 {
56 if (m_AttData == NULL)
57 {
59 }
60
61 string type_name = e.GetType();
62
63 if (!m_AttData.Contains(type_name))
64 {
65 map<int, vector> att = CreateAttachmentPosition(e);
66
67 m_AttData.Insert(type_name, att);
68 }
69
70 return m_AttData.Get(type_name).Get(slot_id);
71 }
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:73

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

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