Exemplo n.º 1
0
 private static void SetAddFiles(IGameFile mainFile, FileLoadHandler handler, List <IGameFile> addFiles)
 {
     mainFile.SettingsFiles           = string.Join(";", addFiles.Select(x => x.FileName));
     mainFile.SettingsFilesIWAD       = string.Join(";", addFiles.Intersect(handler.GetIWadFiles()).Select(x => x.FileName));
     mainFile.SettingsFilesSourcePort = string.Join(";", addFiles.Intersect(handler.GetSourcePortFiles()).Select(x => x.FileName));
 }
Exemplo n.º 2
0
 public List <IGameFile> GetSourcePortAdditionalFiles()
 {
     return(GetAdditionalFiles().Intersect(m_handler.GetSourcePortFiles()).ToList());
 }