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

◆ UnplugThis()

void ComponentEnergyManager::UnplugThis ( )
inlineprotected

Energy manager: Unplugs this device from its power source.

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

495 {
496 if (GetGame())
497 {
498 if (GetEnergySource())
499 {
500 GetEnergySource().GetCompEM().UnplugDevice(m_ThisEntityAI);
501 }
502 }
503 }
EntityAI m_ThisEntityAI
Определения Component.c:24
EntityAI GetEnergySource()
Energy manager: Returns the energy source this device is plugged into.
Определения ComponentEnergyManager.c:1292
proto native CGame GetGame()

Перекрестные ссылки GetEnergySource(), GetGame() и Component::m_ThisEntityAI.

Используется в OnAttachmentRemoved(), OnDeviceDestroyed() и UpdatePlugState().