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

◆ DisplayGeneralInfo()

void WeaponDebug::DisplayGeneralInfo ( )
inlineprivate

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

188 {
189 DbgUI.Begin("sway weight", 50, 50);
190 DayZPlayerImplement player = DayZPlayerImplement.Cast(g_Game.GetPlayer());
191 float sway_weight = player.GetAimingModel().GetSwayWeight();
192 DbgUI.Text("value: " + sway_weight.ToString());
193 DbgUI.Text("Hold P to draw debug line");
194 DbgUI.Text("Press X to simulate fire");
195 //DbgUI.Text("Press Z to cycle debug modes");
196 //DbgUI.Text("Debug " +m_DebugModesNames.Get(m_CurrentMode) );
197 //DbgUI.Text("");
198 DbgUI.End();
199 }
DayZGame g_Game
Определения DayZGame.c:4074
proto string ToString(bool simple=true)

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

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