Download CommonLua/X/XTemplates/InGameMenu.lua from sirnii/myspace: direct link, hf CLI and curl.
- Browser
- Download file 1.61 kB
-
https://huggingface.co/spaces/sirnii/myspace/resolve/main/CommonLua/X/XTemplates/InGameMenu.lua
- Command line
-
hf download hf://spaces/sirnii/myspace/CommonLua/X/XTemplates/InGameMenu.lua
-
curl -L -o InGameMenu.lua https://huggingface.co/spaces/sirnii/myspace/resolve/main/CommonLua/X/XTemplates/InGameMenu.lua
1.61 kB
| -- ========== GENERATED BY XTemplate Editor (Alt-F3) DO NOT EDIT MANUALLY! ========== | |
| PlaceObj('XTemplate', { | |
| __is_kind_of = "XDialog", | |
| group = "Common", | |
| id = "InGameMenu", | |
| save_in = "Common", | |
| PlaceObj('XTemplateWindow', { | |
| '__class', "XDialog", | |
| }, { | |
| PlaceObj('XTemplateWindow', { | |
| '__class', "XHideDialogs", | |
| }), | |
| PlaceObj('XTemplateLayer', { | |
| 'layer', "XCameraLockLayer", | |
| }), | |
| PlaceObj('XTemplateLayer', { | |
| 'layer', "XPauseLayer", | |
| }), | |
| PlaceObj('XTemplateLayer', { | |
| 'layer', "ScreenBlur", | |
| }), | |
| PlaceObj('XTemplateAction', { | |
| 'ActionId', "idClose", | |
| 'ActionName', T(374427918878, --[[XTemplate InGameMenu ActionName]] "Close"), | |
| 'ActionToolbar', "ActionBar", | |
| 'ActionShortcut', "Escape", | |
| 'ActionGamepad', "ButtonB", | |
| 'OnActionEffect', "close", | |
| }), | |
| PlaceObj('XTemplateFunc', { | |
| 'name', "OnDelete", | |
| 'func', function (self, ...) | |
| Msg("InGameMenuClose") | |
| end, | |
| }), | |
| PlaceObj('XTemplateWindow', { | |
| '__class', "XContentTemplate", | |
| }, { | |
| PlaceObj('XTemplateMode', nil, { | |
| PlaceObj('XTemplateTemplate', { | |
| '__template', "IGMain", | |
| }), | |
| }), | |
| PlaceObj('XTemplateMode', { | |
| 'mode', "Options", | |
| }, { | |
| PlaceObj('XTemplateTemplate', { | |
| '__template', "OptionsDialog", | |
| }), | |
| }), | |
| PlaceObj('XTemplateMode', { | |
| 'mode', "Load", | |
| }, { | |
| PlaceObj('XTemplateTemplate', { | |
| '__template', "SaveLoadGameDialog", | |
| }), | |
| }), | |
| PlaceObj('XTemplateMode', { | |
| 'mode', "Save", | |
| }, { | |
| PlaceObj('XTemplateTemplate', { | |
| '__template', "SaveLoadGameDialog", | |
| 'InitialMode', "save", | |
| }), | |
| }), | |
| }), | |
| }), | |
| }) | |