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

◆ UnplugThis()

void ComponentEnergyManager::UnplugThis ( )
inlineprotected

Energy manager: Unplugs this device from its power source.

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

504 {
505 if (g_Game)
506 {
508 {
509 GetEnergySource().GetCompEM().UnplugDevice(m_ThisEntityAI);
510 }
511 }
512 }
DayZGame g_Game
Определения DayZGame.c:3942
EntityAI m_ThisEntityAI
Определения Component.c:24
EntityAI GetEnergySource()
Energy manager: Returns the energy source this device is plugged into.
Определения ComponentEnergyManager.c:1337

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

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