4 PluginKeyBinding m_ModuleKeyBinding
32 GetDayZGame().GetAnalyticsClient().RegisterEvents();
64 GetDayZGame().GetAnalyticsClient().UnregisterEvents();
86 super.OnUpdate(timeslice);
99 super.OnEvent(eventTypeId, params);
106 string worldName =
"empty";
112 case "chernarusplus":
127 #ifdef PLATFORM_CONSOLE
128 case "mainmenuscenexbox":
192#ifdef PLATFORM_CONSOLE
193 menu =
new MainMenuConsole;
199#ifdef PLATFORM_CONSOLE
200 menu =
new InGameMenuXbox;
202 menu =
new InGameMenu;
206 menu =
new CharacterCreationMenu;
209 menu =
new OptionsMenu;
212 menu =
new StartupMenu;
215 menu =
new LoadingMenu;
221 menu =
new InspectMenuNew;
224 menu =
new EarlyAccessMenu;
227 menu =
new ScriptConsole;
230 menu =
new ScriptConsoleNewPresetDialog;
233 menu =
new ScriptConsoleRenamePresetDialog;
236 menu =
new ScriptConsoleUniversalInfoDialog;
239 menu =
new ChatInputMenu;
242 menu =
new PresetsMenu;
254 menu =
new SceneEditorMenu;
257 menu =
new HelpScreen;
260 menu =
new GesturesMenu;
263 menu =
new LogoutMenu;
266 menu =
new TitleScreenMenu;
269 menu =
new ControlsXboxNew;
272 menu =
new RadialQuickbarMenu;
275 menu =
new ServerBrowserMenuNew;
284 menu =
new CameraToolsMenu;
287 menu =
new MainMenuVideo;
290 menu =
new KeybindingsMenu;
293 menu =
new TutorialsMenu;
296 menu =
new CreditsMenu;
299 menu =
new InviteMenu;
302 menu =
new ItemDropWarningMenu;
305 menu =
new InputDeviceDisconnectWarningMenu;
311 menu =
new RespawnDialogue;
317 menu =
new ScriptConsoleAddLocation;
320 menu =
new MissionLoader;
323 menu =
new ConnectionDialogue;
339 g_Game.RefreshMouseCursorVisibility();
344 super.OnKeyPress(key);
347 if ( PluginKeyBinding.instance )
349 PluginKeyBinding.instance.OnKeyPress(key);
363 Widget widget_root = current_menu.GetLayoutRoot();
370 Print( widget_root.GetName() +
" ("+ widget_root.GetTypeName() +
")");
389 for (
int i = 0; i < tabs; i++)
394 string invisible =
"";
396 if ( !w.IsVisibleHierarchy() )
398 invisible =
"[invisible]";
402 Print( tmp +
"- "+ w.GetName() +
" ("+ w.GetTypeName() +
") "+ invisible );
404 bool collapse =
false;
405 if ( w.GetChildren() )
423 super.OnKeyRelease(key);
427 if ( PluginKeyBinding.instance != NULL )
429 PluginKeyBinding.instance.OnKeyRelease(key);
436 super.OnMouseButtonPress(button);
440 if ( PluginKeyBinding.instance != NULL )
442 PluginKeyBinding.instance.OnMouseButtonPress(button);
449 super.OnMouseButtonRelease(button);
453 if ( PluginKeyBinding.instance != NULL )
455 PluginKeyBinding.instance.OnMouseButtonRelease(button);
462 if ( PluginDeveloper.GetInstance() )
466 PluginDeveloper.GetInstance().PrintLogClient(msg_log);
470 PluginDeveloper.GetInstance().PrintLogClient(msg_log);
491 #ifdef DIAG_DEVELOPER
492 void UpdateInputDeviceDiag()
497 void DisplayInputDebug(
bool show)
499 DbgUI.BeginCleanupScope();
500 DbgUI.Begin(
"InputDeviceDebug", 60, 60);
504 DbgUI.Text(
"Gamepad: " +
g_Game.GetInput().IsActiveGamepadSelected());
505 DbgUI.Text(
"Mouse: " +
g_Game.GetInput().IsMouseConnected());
506 DbgUI.Text(
"Keyboard: " +
g_Game.GetInput().IsKeyboardConnected());
510 DbgUI.EndCleanupScope();
void SetDispatcher(Dispatcher dispatcher)
void PluginManagerDelete()
void YieldItemJunk(int baseWeight, string type)
proto native UIManager GetUIManager()
proto void GetWorldName(out string world_name)
void RegisterYieldItem(YieldItemBase data)
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()
proto native UIScriptedMenu GetMenu()
Returns most-top open menu.
Keeps information about currently loaded world, like temperature.
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
proto native CGame GetGame()
proto void Print(void var)
Prints content of variable to console/log.
proto int ToLower()
Changes string to lowercase. Returns length.