4 PluginKeyBinding m_ModuleKeyBinding
28 m_ModuleServerInfo = PluginAdditionalInfo.Cast(
GetPlugin(PluginAdditionalInfo) );
34 InitialiseWorldData();
38 GetDayZGame().GetAnalyticsClient().RegisterEvents();
55 GetDayZGame().GetAnalyticsClient().UnregisterEvents();
62 return m_InventoryDropCallback;
67 string worldName =
"empty";
74 m_WorldData =
new ChernarusPlusData;
78 m_WorldData =
new EnochData;
82 m_WorldData =
new ChernarusPlusData;
89 return m_WorldLighting;
104#ifdef PLATFORM_CONSOLE
105 menu =
new MainMenuConsole;
111#ifdef PLATFORM_CONSOLE
112 menu =
new InGameMenuXbox;
114 menu =
new InGameMenu;
118 menu =
new CharacterCreationMenu;
121 menu =
new OptionsMenu;
124 menu =
new StartupMenu;
127 menu =
new LoadingMenu;
133 menu =
new InspectMenuNew;
136 menu =
new EarlyAccessMenu;
139 menu =
new ScriptConsole;
142 menu =
new ScriptConsoleNewPresetDialog;
145 menu =
new ScriptConsoleRenamePresetDialog;
148 menu =
new ChatInputMenu;
151 menu =
new PresetsMenu;
163 menu =
new SceneEditorMenu;
166 menu =
new HelpScreen;
169 menu =
new GesturesMenu;
172 menu =
new LogoutMenu;
175 menu =
new TitleScreenMenu;
178 menu =
new ControlsXboxNew;
181 menu =
new RadialQuickbarMenu;
184 menu =
new ServerBrowserMenuNew;
193 menu =
new CameraToolsMenu;
196 menu =
new MainMenuVideo;
199 menu =
new KeybindingsMenu;
202 menu =
new TutorialsMenu;
205 menu =
new CreditsMenu;
208 menu =
new InviteMenu;
211 menu =
new ItemDropWarningMenu;
214 menu =
new InputDeviceDisconnectWarningMenu;
217 menu =
new PlayerRepositionWarningMenu;
220 menu =
new RespawnDialogue;
226 menu =
new ScriptConsoleAddLocation;
258 super.OnKeyPress(key);
261 if ( PluginKeyBinding.instance )
263 PluginKeyBinding.instance.OnKeyPress(key);
277 Widget widget_root = current_menu.GetLayoutRoot();
282 m_WidgetsInvisible = 0;
284 Print( widget_root.GetName() +
" ("+ widget_root.GetTypeName() +
")");
286 DumpWidget(widget_root.GetChildren(), 1);
288 Print(
"Widgets TOTAL: "+ m_WidgetsTotal.ToString() +
" INVISIBLE: "+ m_WidgetsInvisible.ToString() +
" VISIBLE: "+ (m_WidgetsTotal - m_WidgetsInvisible).ToString() );
303 for (
int i = 0; i < tabs; i++)
308 string invisible =
"";
310 if ( !w.IsVisibleHierarchy() )
312 invisible =
"[invisible]";
313 m_WidgetsInvisible++;
316 Print( tmp +
"- "+ w.GetName() +
" ("+ w.GetTypeName() +
") "+ invisible );
318 bool collapse =
false;
319 if ( w.GetChildren() )
325 DumpWidget(w.GetChildren(), tabs + 1);
332 DumpWidget(w.GetSibling(), tabs);
337 super.OnKeyRelease(key);
341 if ( PluginKeyBinding.instance != NULL )
343 PluginKeyBinding.instance.OnKeyRelease(key);
350 super.OnMouseButtonPress(button);
354 if ( PluginKeyBinding.instance != NULL )
356 PluginKeyBinding.instance.OnMouseButtonPress(button);
363 super.OnMouseButtonRelease(button);
367 if ( PluginKeyBinding.instance != NULL )
369 PluginKeyBinding.instance.OnMouseButtonRelease(button);
376 if ( PluginDeveloper.GetInstance() )
380 PluginDeveloper.GetInstance().PrintLogClient(msg_log);
384 PluginDeveloper.GetInstance().PrintLogClient(msg_log);
391 for(
int i = 0; i < m_DummyPlayers.Count(); i++)
393 if (m_DummyPlayers.Get(i))
395 m_DummyPlayers.Get(i).OnTick();
402 m_DummyPlayers.Insert(
PlayerBase.Cast( player ));
406 void UpdateInputDeviceDiag()
411 void DisplayInputDebug(
bool show)
void SetDispatcher(Dispatcher dispatcher)
PluginBase GetPlugin(typename plugin_type)
void PluginManagerDelete()
proto void GetWorldName(out string world_name)
proto native UIManager GetUIManager()
LoginQueue position when using -connect since mission is not created yet.
LoginTime when using -connect since mission is not created yet.
override void UpdateInputDevicesAvailability()
ref WorldLighting m_WorldLighting
void DumpWidget(Widget w, int tabs)
override void OnKeyRelease(int key)
override ObjectSnapCallback GetInventoryDropCallback()
override void AddDummyPlayerToScheduler(Man player)
override void OnKeyPress(int key)
override UIScriptedWindow CreateScriptedWindow(int id)
override WorldLighting GetWorldLighting()
override void OnMouseButtonRelease(int button)
PluginDeveloper m_ModuleDeveloper
override void OnMouseButtonPress(int button)
ref WorldData m_WorldData
void InitialiseWorldData()
void UpdateInputDevicesAvailability()
autoptr ObjectSnapCallback m_InventoryDropCallback
void OnLog(string msg_log)
void DumpCurrentUILayout()
override WorldData GetWorldData()
override UIScriptedMenu CreateScriptedMenu(int id)
void UpdateDummyScheduler()
PluginKeyBinding m_ModuleKeyBinding PluginAdditionalInfo m_ModuleServerInfo
ref WidgetEventHandler m_WidgetEventHandler
Manager class for managing Effect (EffectParticle, EffectSound)
static void Cleanup()
Cleanup method to properly clean up the static data.
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.
static proto native void Begin(string windowTitle, float x=0, float y=0)
static proto void BeginCleanupScope()
static proto native void Text(string label)
static proto native void EndCleanupScope()
static proto native void End()
proto int ToLower()
Changes string to lowercase. Returns length.