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

◆ CheckForHybridAttachments()

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

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

1227 {
1228 if (!GetGame().IsMultiplayer() || GetGame().IsServer())
1229 {
1230 //if this is a hybrid attachment, set damage of appropriate damage zone. Zone name must match slot name...WIP
1231 if (m_HybridAttachments && m_HybridAttachments.Find(slot_name) != -1)
1232 {
1233 SetHealth(slot_name,"Health",item.GetHealth());
1234 }
1235 }
1236 }
ref array< string > m_HybridAttachments
Определения BaseBuildingBase.c:35
proto native CGame GetGame()

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