Download scripts/2_GameLib/DayZ/settings.c from FelonieZ/DayZ_Scripts: direct link, hf CLI and curl.
- Browser
- Download file 750 Bytes
-
https://huggingface.co/datasets/FelonieZ/DayZ_Scripts/resolve/main/scripts/2_GameLib/DayZ/settings.c
- Command line
-
hf download hf://datasets/FelonieZ/DayZ_Scripts/scripts/2_GameLib/DayZ/settings.c
-
curl -L -o settings.c https://huggingface.co/datasets/FelonieZ/DayZ_Scripts/resolve/main/scripts/2_GameLib/DayZ/settings.c
750 Bytes
| class Settings | |
| { | |
| static void OnChange(string variableName) {} | |
| static void OnAnyChange() {} | |
| static void OnLoad() {} | |
| static void OnSave() {} | |
| static void OnReset() {} | |
| static void OnRevert() {} | |
| static void OnApply() {} | |
| private void Settings() {} | |
| private void ~Settings() {} | |
| }; | |
| class GameSettings: Settings | |
| { | |
| [Attribute("false", "checkbox", "Is debug mode enabled")] | |
| static bool Debug; | |
| override static void OnAnyChange() | |
| { | |
| GetGame().SetDebug(Debug); | |
| } | |
| } | |
| class SettingsMenu: MenuBase | |
| { | |
| proto native external bool AddSettings(typename settingsClass); | |
| proto native void Save(); | |
| proto native void Reset(); | |
| proto native void Revert(); | |
| proto native void Apply(); | |
| proto native void Back(); | |
| }; | |