4 PluginKeyBinding m_ModuleKeyBinding
33 GetDayZGame().GetAnalyticsClient().RegisterEvents();
65 GetDayZGame().GetAnalyticsClient().UnregisterEvents();
87 super.OnUpdate(timeslice);
102 super.OnEvent(eventTypeId, params);
109 string worldName =
"empty";
110 g_Game.GetWorldName(worldName);
115 case "chernarusplus":
140 #ifdef PLATFORM_CONSOLE
141 case "mainmenuscenexbox":
205#ifdef PLATFORM_CONSOLE
206 menu =
new MainMenuConsole;
212#ifdef PLATFORM_CONSOLE
213 menu =
new InGameMenuXbox;
215 menu =
new InGameMenu;
219 menu =
new CharacterCreationMenu;
222 menu =
new OptionsMenu;
225 menu =
new StartupMenu;
228 menu =
new LoadingMenu;
234 menu =
new InspectMenuNew;
237 menu =
new EarlyAccessMenu;
243 menu =
new ScriptConsoleNewPresetDialog;
246 menu =
new ScriptConsoleRenamePresetDialog;
249 menu =
new ScriptConsoleUniversalInfoDialog;
252 menu =
new ChatInputMenu;
255 menu =
new PresetsMenu;
267 menu =
new SceneEditorMenu;
270 menu =
new HelpScreen;
273 menu =
new GesturesMenu;
276 menu =
new LogoutMenu;
279 menu =
new TitleScreenMenu;
282 menu =
new ControlsXboxNew;
285 menu =
new RadialQuickbarMenu;
288 menu =
new ServerBrowserMenuNew;
297 menu =
new CameraToolsMenu;
300 menu =
new MainMenuVideo;
303 menu =
new KeybindingsMenu;
306 menu =
new TutorialsMenu;
309 menu =
new CreditsMenu;
312 menu =
new InviteMenu;
315 menu =
new ItemDropWarningMenu;
318 menu =
new InputDeviceDisconnectWarningMenu;
324 menu =
new RespawnDialogue;
330 menu =
new ScriptConsoleAddLocation;
333 menu =
new MissionLoader;
336 menu =
new ConnectionDialogue;
343 menu =
new UndergroundTriggerEditorMenu();
360 g_Game.RefreshMouseCursorVisibility();
365 super.OnKeyPress(key);
368 if ( PluginKeyBinding.instance )
370 PluginKeyBinding.instance.OnKeyPress(key);
384 Widget widget_root = current_menu.GetLayoutRoot();
391 Print( widget_root.GetName() +
" ("+ widget_root.GetTypeName() +
")");
410 for (
int i = 0; i < tabs; i++)
415 string invisible =
"";
417 if ( !w.IsVisibleHierarchy() )
419 invisible =
"[invisible]";
423 Print( tmp +
"- "+ w.GetName() +
" ("+ w.GetTypeName() +
") "+ invisible );
425 bool collapse =
false;
426 if ( w.GetChildren() )
444 super.OnKeyRelease(key);
448 if ( PluginKeyBinding.instance != NULL )
450 PluginKeyBinding.instance.OnKeyRelease(key);
457 super.OnMouseButtonPress(button);
461 if ( PluginKeyBinding.instance != NULL )
463 PluginKeyBinding.instance.OnMouseButtonPress(button);
470 super.OnMouseButtonRelease(button);
474 if ( PluginKeyBinding.instance != NULL )
476 PluginKeyBinding.instance.OnMouseButtonRelease(button);
483 if ( PluginDeveloper.GetInstance() )
487 PluginDeveloper.GetInstance().PrintLogClient(msg_log);
491 PluginDeveloper.GetInstance().PrintLogClient(msg_log);
512 #ifdef DIAG_DEVELOPER
513 void UpdateInputDeviceDiag()
518 void DisplayInputDebug(
bool show)
520 DbgUI.BeginCleanupScope();
521 DbgUI.Begin(
"InputDeviceDebug", 60, 60);
525 DbgUI.Text(
"Gamepad: " +
g_Game.GetInput().IsActiveGamepadSelected());
526 DbgUI.Text(
"Mouse: " +
g_Game.GetInput().IsMouseConnected());
527 DbgUI.Text(
"Keyboard: " +
g_Game.GetInput().IsKeyboardConnected());
531 DbgUI.EndCleanupScope();
void SetDispatcher(Dispatcher dispatcher)
void DynamicMusicPlayer(DynamicMusicPlayerRegistry configuration)
void PluginManagerDelete()
void YieldItemJunk(int baseWeight, string type)
void RegisterYieldItem(YieldItemBase data)
Static part of the construction system, for global handling mostly.
LoginQueue position when using -connect since mission is not created yet.
LoginTime when using -connect since mission is not created yet.
override void AddDummyPlayerToScheduler(Man player)
ref DynamicMusicPlayer m_DynamicMusicPlayer
PluginDeveloper m_ModuleDeveloper
override void OnEvent(EventType eventTypeId, Param params)
override void OnMouseButtonRelease(int button)
void DumpWidget(Widget w, int tabs)
override void OnKeyPress(int key)
void InitWorldYieldDataDefaults(CatchYieldBank bank)
Used to initialize defaults to WorldData base class from 4_World module. For proper init of your cust...
ref array< PlayerBase > m_DummyPlayers
override DynamicMusicPlayer GetDynamicMusicPlayer()
PluginKeyBinding m_ModuleKeyBinding ref WidgetEventHandler m_WidgetEventHandler
override ObjectSnapCallback GetInventoryDropCallback()
autoptr ObjectSnapCallback m_InventoryDropCallback
void UpdateInputDevicesAvailability()
void OnLog(string msg_log)
ref DynamicMusicPlayerRegistry m_DynamicMusicPlayerRegistry
override void OnMouseButtonPress(int button)
override WorldLighting GetWorldLighting()
override void OnUpdate(float timeslice)
ref WorldData m_WorldData
override WorldData GetWorldData()
override void OnKeyRelease(int key)
PluginAdditionalInfo m_ModuleServerInfo
DEPRECATED.
override UIScriptedMenu CreateScriptedMenu(int id)
void InitialiseWorldData()
void DumpCurrentUILayout()
ref WorldLighting m_WorldLighting
void UpdateDummyScheduler()
static void Update(float timeslice)
Base Param Class with no parameters. Used as general purpose parameter overloaded with Param1 to Para...
static void Cleanup()
Cleanup method to properly clean up the static data.
Manager class for managing Effect (EffectParticle, EffectSound)
static void DestroyInstance()
Keeps information about currently loaded world, like temperature.
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
proto void Print(void var)
Prints content of variable to console/log.
proto int ToLower()
Changes string to lowercase. Returns length.