using System.IO; using System.Linq; using Godot; namespace KeepersCompound.TMV.UI; public partial class MissionSelector : Control { [Signal] public delegate void LoadMissionEventHandler(string path); private InstallPaths _installPaths; private FileDialog _FolderSelect; private LineEdit _FolderPath; private Button _BrowseButton; private ItemList _Campaigns; private ItemList _Missions; private Button _LoadButton; private Button _CancelButton; public override void _Ready() { // TODO: Load initial folderpath from config and prefil everything _FolderSelect = GetNode("%FolderSelect"); _FolderPath = GetNode("%FolderPath"); _BrowseButton = GetNode