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

◆ ShowHairDebugValues()

void MissionBase::ShowHairDebugValues ( bool state)
inlineprotected

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

1489 {
1490#ifdef DIAG_DEVELOPER
1491 if ( state )
1492 {
1493 PluginDiagMenuClient diagmenu = PluginDiagMenuClient.Cast(GetPlugin(PluginDiagMenuClient));
1494
1495 int i = DiagMenu.GetValue(DiagMenuIDs.MISC_HAIR_LEVEL);
1496 bool bState = diagmenu.m_HairHidingStateMap.Get(i);
1497 string selectionState;
1498 if (!bState)
1499 selectionState = "Hidden";
1500 else
1501 selectionState = "Shown";
1502 string selectionName = diagmenu.m_HairSelectionArray.Get(i);
1503
1504 DbgUI.BeginCleanupScope();
1505 DbgUI.Begin("Hair Debug", 50, 150);
1506 DbgUI.Text("Current Hair Selection:" + selectionName);
1507 DbgUI.Text("State: " + selectionState);
1508
1509 DbgUI.End();
1510 DbgUI.EndCleanupScope();
1511 }
1512 else
1513 {
1514 DbgUI.BeginCleanupScope();
1515 DbgUI.Begin("Hair Debug", 50, 50);
1516 DbgUI.End();
1517 DbgUI.EndCleanupScope();
1518 }
1519#endif
1520 }
DiagMenuIDs
Определения EDiagMenuIDs.c:2
PluginBase GetPlugin(typename plugin_type)
Определения PluginManager.c:325

Перекрестные ссылки DbgUI::Begin(), DbgUI::BeginCleanupScope(), DbgUI::End(), DbgUI::EndCleanupScope(), GetPlugin(), DiagMenu::GetValue() и DbgUI::Text().

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