Exemplo n.º 1
0
        public async Task OpenMissionInGameEditor(MissionFolder mission)
        {
            await HandleSixPlay().ConfigureAwait(false);

            ActiveItem = mission;
            await _launchManager.Value.StartGame().ConfigureAwait(false);
        }
Exemplo n.º 2
0
            void AddMissionFolderArgs(MissionFolder missionFolder)
            {
                if (missionFolder == null)
                {
                    return;
                }

                var folder = missionFolder.CustomPath.GetChildDirectoryWithName(missionFolder.FolderName);

                if (_spec.UseParFile)
                {
                    _par.Add(GetMissionFolderParameter(folder));
                }
                else
                {
                    _arguments.Add(GetMissionFolderParameter(folder));
                }
            }