Download scripts/5_Mission/DayZ/GUI/ScriptsHudDebug/HudDebugWinVersion.c from FelonieZ/DayZ_Scripts: direct link, hf CLI and curl.
- Browser
- Download file 1.07 kB
-
https://huggingface.co/datasets/FelonieZ/DayZ_Scripts/resolve/main/scripts/5_Mission/DayZ/GUI/ScriptsHudDebug/HudDebugWinVersion.c
- Command line
-
hf download hf://datasets/FelonieZ/DayZ_Scripts/scripts/5_Mission/DayZ/GUI/ScriptsHudDebug/HudDebugWinVersion.c
-
curl -L -o HudDebugWinVersion.c https://huggingface.co/datasets/FelonieZ/DayZ_Scripts/resolve/main/scripts/5_Mission/DayZ/GUI/ScriptsHudDebug/HudDebugWinVersion.c
1.07 kB
| class HudDebugWinVersion extends HudDebugWinBase | |
| { | |
| private PluginDeveloper m_ModuleDeveloper; | |
| private TextWidget m_VersionTextWidget; | |
| //============================================ | |
| // HudDebugWinVersion | |
| //============================================ | |
| void HudDebugWinVersion(Widget widget_root) | |
| { | |
| m_VersionTextWidget = TextWidget.Cast( widget_root.FindAnyWidget("txt_Version") ); | |
| string version; | |
| g_Game.GetVersion(version); | |
| m_VersionTextWidget.SetText(string.Format("exe: %1 | scripts: %2", version, GetPBOAPI().GetPBOVersion("dta\\scripts.pbo"))); | |
| } | |
| //============================================ | |
| // ~HudDebugWinVersion | |
| //============================================ | |
| void ~HudDebugWinVersion() | |
| { | |
| } | |
| //============================================ | |
| // Update | |
| //============================================ | |
| override void Update() | |
| { | |
| super.Update(); | |
| } | |
| //============================================ | |
| // GetWinType | |
| //============================================ | |
| override int GetType() | |
| { | |
| return HudDebug.HUD_WIN_VERSION; | |
| } | |
| } | |