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

◆ AttachToObject()

void Inventory_Base::AttachToObject ( ItemBase parent)
inlineprivate

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

28 {
29 //SetPilotLight( false );
30
31 m_AttachedTo = parent;
32 TurnOnItem( parent );
33
34 if ( GetCompEM().IsPlugged() )
35 {
36 parent.SetAnimationPhase( "Cord_plugged", 0);
37 parent.SetAnimationPhase( "Cord_folded", 1);
38 }
39 else
40 {
41 parent.SetAnimationPhase( "Cord_plugged", 1);
42 parent.SetAnimationPhase( "Cord_folded", 0);
43 }
44 }
void TurnOnItem(ItemBase item)
Определения XmasLights.c:55
ItemBase m_AttachedTo
Определения XmasLights.c:3

Перекрестные ссылки m_AttachedTo и TurnOnItem().