- Game importing happens on a separate thread to avoid UI blocking - Server requests per-game are done in parallel to cut down on import times - Media downloading is done in parallel - Library import progress shown in title bar - Enabled WAL mode for SQLite for better performance - Fix potential issues with deferred imports causing infinite loops or lockups
20 lines
No EOL
639 B
C#
20 lines
No EOL
639 B
C#
using LANCommander.SDK.Models.Manifest;
|
|
|
|
namespace LANCommander.Launcher.Services.Import;
|
|
|
|
public class ImportItemInfo<T> : IImportItemInfo where T : class
|
|
{
|
|
public string Key { get; set; }
|
|
public string Type { get; set; }
|
|
public string Name { get; set; }
|
|
public bool Processed { get; set; }
|
|
public BaseManifest Manifest { get; set; }
|
|
public T Record { get; set; }
|
|
public int DeferCount { get; set; }
|
|
public Guid? GameId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Cached local entity loaded during ExistsAsync to avoid redundant DB lookups.
|
|
/// </summary>
|
|
public object? ExistingEntity { get; set; }
|
|
} |