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

◆ CheckForHybridAttachments()

void ItemBase::CheckForHybridAttachments ( EntityAI item,
string slot_name )
inlineprotected

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

1207 {
1208 if (!GetGame().IsMultiplayer() || GetGame().IsServer())
1209 {
1210 //if this is a hybrid attachment, set damage of appropriate damage zone. Zone name must match slot name...WIP
1211 if (m_HybridAttachments && m_HybridAttachments.Find(slot_name) != -1)
1212 {
1213 SetHealth(slot_name,"Health",item.GetHealth());
1214 }
1215 }
1216 }
ref array< string > m_HybridAttachments
Определения BaseBuildingBase.c:35
proto native CGame GetGame()

Перекрестные ссылки GetGame() и m_HybridAttachments.