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

◆ UnplugThis()

void ComponentEnergyManager::UnplugThis ( )
inlineprotected

Energy manager: Unplugs this device from its power source.

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

491 {
492 if (g_Game)
493 {
495 {
496 GetEnergySource().GetCompEM().UnplugDevice(m_ThisEntityAI);
497 }
498 }
499 }
DayZGame g_Game
Определения DayZGame.c:4074
EntityAI m_ThisEntityAI
Определения Component.c:24
EntityAI GetEnergySource()
Energy manager: Returns the energy source this device is plugged into.
Определения ComponentEnergyManager.c:1324

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

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