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

◆ Death_Start()

void PluginDayzPlayerDebug_OtherCmds::Death_Start ( )
inlineprivate

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

128 {
129 DayZPlayer player = DayZPlayer.Cast( GetGame().GetPlayer() );
130 if( !player )
131 return;
132
133 int deathType = m_DeathTypeCB.GetCurrentItem();
134 if( deathType > 0 )
135 deathType += 9;
136
137 float deathDirection = m_DeathDirectionEdit.GetText().ToInt();
138
139
140 player.StartCommand_Death(deathType, deathDirection, HumanCommandDeathCallback);
141 }
PlayerBase GetPlayer()
Определения ModifierBase.c:51
proto native CGame GetGame()

Перекрестные ссылки GetGame(), GetPlayer(), m_DeathDirectionEdit и m_DeathTypeCB.

Используется в CommandHandler().