Dayz Explorer 1.28.160049
Loading...
Searching...
No Matches
huddebugwinversion.c
Go to the documentation of this file.
1class HudDebugWinVersion extends HudDebugWinBase
2{
3 private PluginDeveloper m_ModuleDeveloper;
4
5 private TextWidget m_VersionTextWidget;
6
7 //============================================
8 // HudDebugWinVersion
9 //============================================
10 void HudDebugWinVersion(Widget widget_root)
11 {
12 m_VersionTextWidget = TextWidget.Cast( widget_root.FindAnyWidget("txt_Version") );
13
14 string version;
15 g_Game.GetVersion(version);
16 m_VersionTextWidget.SetText(string.Format("exe: %1 | scripts: %2", version, GetPBOAPI().GetPBOVersion("dta\\scripts.pbo")));
17 }
18
19 //============================================
20 // ~HudDebugWinVersion
21 //============================================
22 void ~HudDebugWinVersion()
23 {
24 }
25
26 //============================================
27 // Update
28 //============================================
29 override void Update()
30 {
31 super.Update();
32 }
33
34 //============================================
35 // GetWinType
36 //============================================
37 override int GetType()
38 {
39 return HudDebug.HUD_WIN_VERSION;
40 }
41}
DayZGame g_Game
Definition dayzgame.c:3868
void HudDebug()
Definition huddebug.c:108
proto native owned string GetPBOVersion(string openName)
class PBOAPI GetPBOAPI()