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

◆ DisplayGeneralInfo()

void WeaponDebug::DisplayGeneralInfo ( )
inlineprivate

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

286 {
287 DbgUI.Begin("sway weight", 50, 50);
288 DayZPlayerImplement player = DayZPlayerImplement.Cast(GetGame().GetPlayer());
289 float sway_weight = player.GetAimingModel().GetSwayWeight();
290 DbgUI.Text("value: " + sway_weight.ToString());
291 DbgUI.Text("Hold LWIN to draw debug line");
292 DbgUI.Text("Press X to simulate fire");
293 DbgUI.Text("Press Z to cycle debug modes");
294 DbgUI.Text("Debug " +m_DebugModesNames.Get(m_CurrentMode) );
295 DbgUI.Text("");
296 DbgUI.End();
297 }
PlayerBase GetPlayer()
Определения ModifierBase.c:51
ref map< int, string > m_DebugModesNames
Определения WeaponDebug.c:30
eDebugMode m_CurrentMode
Определения WeaponDebug.c:26
proto string ToString(bool simple=true)
proto native CGame GetGame()

Перекрестные ссылки DbgUI::Begin(), DbgUI::End(), GetGame(), GetPlayer(), m_CurrentMode, m_DebugModesNames, DbgUI::Text() и float::ToString().

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