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

◆ OnChange()

override bool ScriptConsoleGeneralTab::OnChange ( Widget w,
int x,
int y,
bool finished )
inlineprotected

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

602 {
603 super.OnChange(w, x, y, finished);
604
605 if (w == m_ShowOthers && g_Game.GetPlayer())
606 {
607 if (g_Game.IsDedicatedServer())
608 {
610 SHOW_OTHERS = true;
611 return true;
612 }
613
614 PluginRemotePlayerDebugClient plugin_remote_client = PluginRemotePlayerDebugClient.Cast(GetPluginSafe(PluginRemotePlayerDebugClient));
615 if (m_ShowOthers.IsChecked())
616 {
617 plugin_remote_client.RequestPlayerInfo(PlayerBase.Cast(g_Game.GetPlayer()), 1);
619 SHOW_OTHERS = true;
620 }
621 else
622 {
623 plugin_remote_client.RequestPlayerInfo(PlayerBase.Cast(g_Game.GetPlayer()), 0);
625 SHOW_OTHERS = false;
626 }
627 return true;
628 }
629 else if (w == m_TimeSlider || w == m_DateDay || w == m_DateYear || w == m_DateMonth || w == m_DateHour || w == m_DateMinute)
630 {
632 return true;
633 }
634
635 return false;
636 }
DayZGame g_Game
Определения DayZGame.c:4074
Icon x
Icon y
PluginBase GetPluginSafe(typename plugin_type)
Определения PluginManager.c:350
EditBoxWidget m_DateMinute
Определения ScriptConsoleGeneralTab.c:36
static bool SHOW_OTHERS
Определения ScriptConsoleGeneralTab.c:12
EditBoxWidget m_DateDay
Определения ScriptConsoleGeneralTab.c:34
bool m_UpdatePlayerPositions
Определения ScriptConsoleGeneralTab.c:26
CheckBoxWidget m_ShowOthers
Определения ScriptConsoleGeneralTab.c:57
EditBoxWidget m_DateHour
Определения ScriptConsoleGeneralTab.c:35
SliderWidget m_TimeSlider
Определения ScriptConsoleGeneralTab.c:23
EditBoxWidget m_DateMonth
Определения ScriptConsoleGeneralTab.c:33
void UpdateTime(bool slider_used)
Определения ScriptConsoleGeneralTab.c:470
EditBoxWidget m_DateYear
Определения ScriptConsoleGeneralTab.c:32

Перекрестные ссылки g_Game, GetPluginSafe(), m_DateDay, m_DateHour, m_DateMinute, m_DateMonth, m_DateYear, m_ShowOthers, m_TimeSlider, m_UpdatePlayerPositions, SHOW_OTHERS, UpdateTime(), x и y.