2024-02-16 00:22:01 -06:00
|
|
|
|
using AutoMapper;
|
2024-08-04 18:44:33 -05:00
|
|
|
|
using LANCommander.Server.Data;
|
|
|
|
|
|
using LANCommander.Server.Data.Models;
|
2024-10-07 18:04:26 -05:00
|
|
|
|
using LANCommander.Server.Services.Extensions;
|
2023-01-14 15:09:45 -06:00
|
|
|
|
using LANCommander.SDK;
|
2023-12-14 19:09:00 -06:00
|
|
|
|
using LANCommander.SDK.Enums;
|
2024-05-07 23:08:22 -05:00
|
|
|
|
using System.Linq.Expressions;
|
|
|
|
|
|
using ZiggyCreatures.Caching.Fusion;
|
2024-10-07 18:04:26 -05:00
|
|
|
|
using LANCommander.Server.Services.Models;
|
|
|
|
|
|
using Microsoft.Extensions.Logging;
|
2025-02-09 18:53:40 -06:00
|
|
|
|
using Microsoft.AspNetCore.Http;
|
2024-10-11 01:09:12 -05:00
|
|
|
|
using Microsoft.EntityFrameworkCore;
|
2023-01-09 01:05:40 -06:00
|
|
|
|
|
2024-08-04 18:44:33 -05:00
|
|
|
|
namespace LANCommander.Server.Services
|
2023-01-09 01:05:40 -06:00
|
|
|
|
{
|
2025-02-01 02:21:34 -06:00
|
|
|
|
public class GameService(
|
|
|
|
|
|
ILogger<GameService> logger,
|
|
|
|
|
|
IFusionCache cache,
|
|
|
|
|
|
IMapper mapper,
|
2025-02-09 18:53:40 -06:00
|
|
|
|
IHttpContextAccessor httpContextAccessor,
|
2025-02-01 02:21:34 -06:00
|
|
|
|
IDbContextFactory<DatabaseContext> contextFactory,
|
|
|
|
|
|
ArchiveService archiveService,
|
2025-02-16 10:08:05 -06:00
|
|
|
|
MediaService mediaService) : BaseDatabaseService<Game>(logger, cache, mapper, httpContextAccessor, contextFactory)
|
2023-01-09 01:05:40 -06:00
|
|
|
|
{
|
2024-11-12 18:32:46 -06:00
|
|
|
|
public override async Task<Game> AddAsync(Game entity)
|
2024-05-07 23:08:22 -05:00
|
|
|
|
{
|
2025-02-23 08:49:43 -06:00
|
|
|
|
return await base.AddAsync(entity, async context =>
|
|
|
|
|
|
{
|
|
|
|
|
|
await context.UpdateRelationshipAsync(g => g.Actions);
|
|
|
|
|
|
await context.UpdateRelationshipAsync(g => g.Archives);
|
|
|
|
|
|
await context.UpdateRelationshipAsync(g => g.BaseGame);
|
|
|
|
|
|
await context.UpdateRelationshipAsync(g => g.Categories);
|
|
|
|
|
|
await context.UpdateRelationshipAsync(g => g.Collections);
|
|
|
|
|
|
await context.UpdateRelationshipAsync(g => g.CustomFields);
|
|
|
|
|
|
await context.UpdateRelationshipAsync(g => g.Developers);
|
|
|
|
|
|
await context.UpdateRelationshipAsync(g => g.Engine);
|
|
|
|
|
|
await context.UpdateRelationshipAsync(g => g.Genres);
|
|
|
|
|
|
await context.UpdateRelationshipAsync(g => g.Keys);
|
|
|
|
|
|
await context.UpdateRelationshipAsync(g => g.Libraries);
|
|
|
|
|
|
await context.UpdateRelationshipAsync(g => g.Media);
|
|
|
|
|
|
await context.UpdateRelationshipAsync(g => g.MultiplayerModes);
|
|
|
|
|
|
await context.UpdateRelationshipAsync(g => g.Pages);
|
|
|
|
|
|
await context.UpdateRelationshipAsync(g => g.Platforms);
|
|
|
|
|
|
await context.UpdateRelationshipAsync(g => g.Publishers);
|
|
|
|
|
|
await context.UpdateRelationshipAsync(g => g.Redistributables);
|
|
|
|
|
|
await context.UpdateRelationshipAsync(g => g.SavePaths);
|
|
|
|
|
|
await context.UpdateRelationshipAsync(g => g.Scripts);
|
|
|
|
|
|
await context.UpdateRelationshipAsync(g => g.Tags);
|
|
|
|
|
|
});
|
2024-05-07 23:08:22 -05:00
|
|
|
|
}
|
|
|
|
|
|
|
2024-11-12 18:32:46 -06:00
|
|
|
|
public override async Task<ExistingEntityResult<Game>> AddMissingAsync(Expression<Func<Game, bool>> predicate, Game entity)
|
2024-05-07 23:08:22 -05:00
|
|
|
|
{
|
2025-02-01 02:21:34 -06:00
|
|
|
|
await cache.ExpireGameCacheAsync(entity.Id);
|
2024-05-07 23:08:22 -05:00
|
|
|
|
|
2024-11-12 18:32:46 -06:00
|
|
|
|
return await base.AddMissingAsync(predicate, entity);
|
2024-05-07 23:08:22 -05:00
|
|
|
|
}
|
|
|
|
|
|
|
2024-11-12 18:32:46 -06:00
|
|
|
|
public override async Task<Game> UpdateAsync(Game entity)
|
2024-05-07 23:08:22 -05:00
|
|
|
|
{
|
2025-02-01 02:21:34 -06:00
|
|
|
|
await cache.ExpireGameCacheAsync(entity.Id);
|
2024-05-07 23:08:22 -05:00
|
|
|
|
|
2025-02-09 14:52:26 -06:00
|
|
|
|
if (entity.Media != null)
|
|
|
|
|
|
foreach (var media in entity.Media.Where(m => m.Id == Guid.Empty && String.IsNullOrWhiteSpace(m.Crc32)).ToList())
|
|
|
|
|
|
entity.Media.Remove(media);
|
2025-02-02 14:58:07 -06:00
|
|
|
|
|
|
|
|
|
|
var update = await base.UpdateAsync(entity, async context =>
|
|
|
|
|
|
{
|
|
|
|
|
|
await context.UpdateRelationshipAsync(g => g.Actions);
|
|
|
|
|
|
await context.UpdateRelationshipAsync(g => g.Archives);
|
|
|
|
|
|
await context.UpdateRelationshipAsync(g => g.BaseGame);
|
|
|
|
|
|
await context.UpdateRelationshipAsync(g => g.Categories);
|
|
|
|
|
|
await context.UpdateRelationshipAsync(g => g.Collections);
|
|
|
|
|
|
await context.UpdateRelationshipAsync(g => g.CustomFields);
|
|
|
|
|
|
await context.UpdateRelationshipAsync(g => g.Developers);
|
|
|
|
|
|
await context.UpdateRelationshipAsync(g => g.Engine);
|
|
|
|
|
|
await context.UpdateRelationshipAsync(g => g.Genres);
|
|
|
|
|
|
await context.UpdateRelationshipAsync(g => g.Keys);
|
|
|
|
|
|
await context.UpdateRelationshipAsync(g => g.Libraries);
|
|
|
|
|
|
await context.UpdateRelationshipAsync(g => g.Media);
|
|
|
|
|
|
await context.UpdateRelationshipAsync(g => g.MultiplayerModes);
|
|
|
|
|
|
await context.UpdateRelationshipAsync(g => g.Pages);
|
|
|
|
|
|
await context.UpdateRelationshipAsync(g => g.Platforms);
|
|
|
|
|
|
await context.UpdateRelationshipAsync(g => g.Publishers);
|
|
|
|
|
|
await context.UpdateRelationshipAsync(g => g.Redistributables);
|
|
|
|
|
|
await context.UpdateRelationshipAsync(g => g.SavePaths);
|
|
|
|
|
|
await context.UpdateRelationshipAsync(g => g.Scripts);
|
|
|
|
|
|
await context.UpdateRelationshipAsync(g => g.Tags);
|
|
|
|
|
|
});
|
2024-09-30 20:19:02 -05:00
|
|
|
|
|
2025-02-02 14:58:07 -06:00
|
|
|
|
return update;
|
2023-01-09 01:05:40 -06:00
|
|
|
|
}
|
2023-01-09 01:35:08 -06:00
|
|
|
|
|
2024-11-12 18:32:46 -06:00
|
|
|
|
public override async Task DeleteAsync(Game game)
|
2023-01-09 01:35:08 -06:00
|
|
|
|
{
|
2024-11-25 22:29:56 -06:00
|
|
|
|
game = await Include(
|
|
|
|
|
|
g => g.Archives,
|
|
|
|
|
|
g => g.Media)
|
|
|
|
|
|
.GetAsync(game.Id);
|
|
|
|
|
|
|
2025-02-09 14:52:26 -06:00
|
|
|
|
if (game.Archives != null)
|
|
|
|
|
|
foreach (var archive in game.Archives.ToList())
|
|
|
|
|
|
await archiveService.DeleteAsync(archive);
|
2023-09-01 11:40:29 -05:00
|
|
|
|
|
2025-02-09 14:52:26 -06:00
|
|
|
|
if (game.Media != null)
|
|
|
|
|
|
foreach (var media in game.Media.ToList())
|
|
|
|
|
|
await mediaService.DeleteAsync(media);
|
2024-05-07 23:08:22 -05:00
|
|
|
|
|
2025-02-01 02:21:34 -06:00
|
|
|
|
await cache.ExpireGameCacheAsync(game.Id);
|
2025-02-09 14:52:26 -06:00
|
|
|
|
await base.DeleteAsync(game);
|
2023-01-09 01:35:08 -06:00
|
|
|
|
}
|
|
|
|
|
|
|
2024-11-12 18:32:46 -06:00
|
|
|
|
public async Task<GameManifest> GetManifestAsync(Guid id)
|
2023-01-14 15:09:45 -06:00
|
|
|
|
{
|
2025-01-25 12:46:24 -06:00
|
|
|
|
var game = await Query(q =>
|
|
|
|
|
|
{
|
2025-01-30 19:21:02 -06:00
|
|
|
|
return q
|
|
|
|
|
|
.AsNoTracking()
|
|
|
|
|
|
.AsSplitQuery()
|
2025-01-25 12:46:24 -06:00
|
|
|
|
.Include(g => g.Actions)
|
|
|
|
|
|
.Include(g => g.Archives)
|
|
|
|
|
|
.Include(g => g.BaseGame)
|
|
|
|
|
|
.Include(g => g.Categories)
|
|
|
|
|
|
.Include(g => g.Collections)
|
2025-01-30 19:21:02 -06:00
|
|
|
|
.Include(g => g.CustomFields)
|
2025-01-25 12:46:24 -06:00
|
|
|
|
.Include(g => g.DependentGames)
|
|
|
|
|
|
.Include(g => g.Developers)
|
|
|
|
|
|
.Include(g => g.Engine)
|
|
|
|
|
|
.Include(g => g.Genres)
|
|
|
|
|
|
.Include(g => g.Media)
|
|
|
|
|
|
.Include(g => g.MultiplayerModes)
|
|
|
|
|
|
.Include(g => g.Platforms)
|
|
|
|
|
|
.Include(g => g.Publishers)
|
|
|
|
|
|
.Include(g => g.Redistributables)
|
2025-03-13 00:35:58 -05:00
|
|
|
|
.Include(g => g.SavePaths)
|
2025-01-25 12:46:24 -06:00
|
|
|
|
.Include(g => g.Tags);
|
|
|
|
|
|
}).GetAsync(id);
|
2023-01-14 15:09:45 -06:00
|
|
|
|
|
2024-02-16 00:22:01 -06:00
|
|
|
|
return GetManifest(game);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public GameManifest GetManifest(Game game)
|
|
|
|
|
|
{
|
2023-01-14 15:09:45 -06:00
|
|
|
|
if (game == null)
|
|
|
|
|
|
return null;
|
|
|
|
|
|
|
|
|
|
|
|
var manifest = new GameManifest()
|
|
|
|
|
|
{
|
2023-11-09 19:38:32 -06:00
|
|
|
|
Id = game.Id,
|
2023-01-14 15:09:45 -06:00
|
|
|
|
Title = game.Title,
|
|
|
|
|
|
SortTitle = game.SortTitle,
|
|
|
|
|
|
Description = game.Description,
|
2023-12-15 17:26:01 -06:00
|
|
|
|
Notes = game.Notes,
|
2023-01-14 15:09:45 -06:00
|
|
|
|
ReleasedOn = game.ReleasedOn.GetValueOrDefault(),
|
|
|
|
|
|
Singleplayer = game.Singleplayer,
|
2024-05-04 01:07:06 -05:00
|
|
|
|
Type = (SDK.Enums.GameType)(int)game.Type,
|
2023-01-14 15:09:45 -06:00
|
|
|
|
};
|
|
|
|
|
|
|
2024-03-29 17:19:42 -05:00
|
|
|
|
if (game.Engine != null)
|
|
|
|
|
|
manifest.Engine = game.Engine.Name;
|
|
|
|
|
|
|
2023-01-14 15:09:45 -06:00
|
|
|
|
if (game.Genres != null && game.Genres.Count > 0)
|
|
|
|
|
|
manifest.Genre = game.Genres.Select(g => g.Name).ToArray();
|
|
|
|
|
|
|
|
|
|
|
|
if (game.Tags != null && game.Tags.Count > 0)
|
|
|
|
|
|
manifest.Tags = game.Tags.Select(g => g.Name).ToArray();
|
|
|
|
|
|
|
|
|
|
|
|
if (game.Publishers != null && game.Publishers.Count > 0)
|
|
|
|
|
|
manifest.Publishers = game.Publishers.Select(g => g.Name).ToArray();
|
|
|
|
|
|
|
|
|
|
|
|
if (game.Developers != null && game.Developers.Count > 0)
|
|
|
|
|
|
manifest.Developers = game.Developers.Select(g => g.Name).ToArray();
|
|
|
|
|
|
|
2024-01-05 18:27:52 -06:00
|
|
|
|
if (game.Collections != null && game.Collections.Count > 0)
|
|
|
|
|
|
manifest.Collections = game.Collections.Select(c => c.Name).ToArray();
|
|
|
|
|
|
|
2023-01-14 15:09:45 -06:00
|
|
|
|
if (game.Archives != null && game.Archives.Count > 0)
|
|
|
|
|
|
manifest.Version = game.Archives.OrderByDescending(a => a.CreatedOn).First().Version;
|
|
|
|
|
|
|
2024-02-16 00:22:01 -06:00
|
|
|
|
if (game.Media != null && game.Media.Count > 0)
|
2025-02-03 02:35:49 -06:00
|
|
|
|
manifest.Media = mapper.Map<IEnumerable<SDK.Models.Media>>(game.Media);
|
2024-02-16 00:22:01 -06:00
|
|
|
|
|
2023-01-14 15:09:45 -06:00
|
|
|
|
if (game.Actions != null && game.Actions.Count > 0)
|
|
|
|
|
|
{
|
2024-05-28 21:08:30 -05:00
|
|
|
|
manifest.Actions = game.Actions.Select(a => new SDK.Models.Action()
|
2023-01-14 15:09:45 -06:00
|
|
|
|
{
|
|
|
|
|
|
Name = a.Name,
|
|
|
|
|
|
Arguments = a.Arguments,
|
|
|
|
|
|
Path = a.Path,
|
|
|
|
|
|
WorkingDirectory = a.WorkingDirectory,
|
2023-01-16 23:45:46 -06:00
|
|
|
|
IsPrimaryAction = a.PrimaryAction,
|
|
|
|
|
|
SortOrder = a.SortOrder,
|
2023-01-14 15:09:45 -06:00
|
|
|
|
}).ToArray();
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (game.MultiplayerModes != null && game.MultiplayerModes.Count > 0)
|
|
|
|
|
|
{
|
|
|
|
|
|
var local = game.MultiplayerModes.FirstOrDefault(m => m.Type == MultiplayerType.Local);
|
2024-05-07 01:47:00 -05:00
|
|
|
|
var lan = game.MultiplayerModes.FirstOrDefault(m => m.Type == MultiplayerType.LAN);
|
2023-01-14 15:09:45 -06:00
|
|
|
|
var online = game.MultiplayerModes.FirstOrDefault(m => m.Type == MultiplayerType.Online);
|
|
|
|
|
|
|
|
|
|
|
|
if (local != null)
|
|
|
|
|
|
manifest.LocalMultiplayer = new MultiplayerInfo()
|
|
|
|
|
|
{
|
|
|
|
|
|
MinPlayers = local.MinPlayers,
|
|
|
|
|
|
MaxPlayers = local.MaxPlayers,
|
2023-12-14 19:09:00 -06:00
|
|
|
|
Description = local.Description,
|
2024-09-05 00:48:04 -05:00
|
|
|
|
NetworkProtocol = local.NetworkProtocol,
|
2023-01-14 15:09:45 -06:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
if (lan != null)
|
|
|
|
|
|
manifest.LanMultiplayer = new MultiplayerInfo()
|
|
|
|
|
|
{
|
|
|
|
|
|
MinPlayers = lan.MinPlayers,
|
|
|
|
|
|
MaxPlayers = lan.MaxPlayers,
|
2024-09-05 00:48:04 -05:00
|
|
|
|
Description = lan.Description,
|
|
|
|
|
|
NetworkProtocol = lan.NetworkProtocol,
|
2023-01-14 15:09:45 -06:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
if (online != null)
|
2024-03-11 18:45:51 -05:00
|
|
|
|
manifest.OnlineMultiplayer = new MultiplayerInfo()
|
2023-01-14 15:09:45 -06:00
|
|
|
|
{
|
2024-03-11 18:45:51 -05:00
|
|
|
|
MinPlayers = online.MinPlayers,
|
|
|
|
|
|
MaxPlayers = online.MaxPlayers,
|
2024-09-05 00:48:04 -05:00
|
|
|
|
Description = online.Description,
|
|
|
|
|
|
NetworkProtocol = online.NetworkProtocol,
|
2023-01-14 15:09:45 -06:00
|
|
|
|
};
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2023-03-28 21:30:29 -05:00
|
|
|
|
if (game.SavePaths != null && game.SavePaths.Count > 0)
|
|
|
|
|
|
{
|
2024-08-26 20:18:54 -05:00
|
|
|
|
manifest.SavePaths = game.SavePaths.Select(p => new SDK.Models.SavePath()
|
2023-03-28 21:30:29 -05:00
|
|
|
|
{
|
|
|
|
|
|
Id = p.Id,
|
|
|
|
|
|
Path = p.Path,
|
2023-11-08 20:43:18 -06:00
|
|
|
|
IsRegex = p.IsRegex,
|
2023-12-22 12:58:39 -06:00
|
|
|
|
WorkingDirectory = p.WorkingDirectory,
|
2024-08-26 20:18:54 -05:00
|
|
|
|
Type = p.Type
|
2023-03-28 21:30:29 -05:00
|
|
|
|
});
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2024-05-04 01:07:06 -05:00
|
|
|
|
if (game.DependentGames != null && game.DependentGames.Count > 0)
|
|
|
|
|
|
{
|
2025-02-16 09:17:26 -06:00
|
|
|
|
manifest.DependentGames = game.DependentGames.Select(g => g.Id).ToArray();
|
2024-05-04 01:07:06 -05:00
|
|
|
|
}
|
|
|
|
|
|
|
2025-01-30 19:21:02 -06:00
|
|
|
|
if (game.CustomFields != null && game.CustomFields.Count > 0)
|
|
|
|
|
|
{
|
|
|
|
|
|
manifest.CustomFields = game.CustomFields.Select(cf => new SDK.Models.GameCustomField(cf.Name, cf.Value)).ToArray();
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2023-12-18 01:08:17 -06:00
|
|
|
|
return manifest;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2024-11-12 18:32:46 -06:00
|
|
|
|
public async Task<GameManifest> ExportAsync(Guid id)
|
2023-12-18 01:08:17 -06:00
|
|
|
|
{
|
2025-02-09 18:25:38 -06:00
|
|
|
|
var game = await Query(q =>
|
|
|
|
|
|
{
|
|
|
|
|
|
return q
|
|
|
|
|
|
.AsNoTracking()
|
|
|
|
|
|
.AsSplitQuery()
|
|
|
|
|
|
.Include(g => g.Actions)
|
|
|
|
|
|
.Include(g => g.Archives)
|
|
|
|
|
|
.Include(g => g.BaseGame)
|
|
|
|
|
|
.Include(g => g.Categories)
|
|
|
|
|
|
.Include(g => g.Collections)
|
|
|
|
|
|
.Include(g => g.CustomFields)
|
|
|
|
|
|
.Include(g => g.DependentGames)
|
|
|
|
|
|
.Include(g => g.Developers)
|
|
|
|
|
|
.Include(g => g.Engine)
|
|
|
|
|
|
.Include(g => g.Genres)
|
|
|
|
|
|
.Include(g => g.Media)
|
|
|
|
|
|
.Include(g => g.MultiplayerModes)
|
|
|
|
|
|
.Include(g => g.Platforms)
|
|
|
|
|
|
.Include(g => g.Publishers)
|
|
|
|
|
|
.Include(g => g.Redistributables)
|
|
|
|
|
|
.Include(g => g.Scripts)
|
|
|
|
|
|
.Include(g => g.Tags);
|
|
|
|
|
|
}).GetAsync(id);
|
|
|
|
|
|
|
2024-11-12 18:32:46 -06:00
|
|
|
|
var manifest = await GetManifestAsync(id);
|
2023-12-18 01:08:17 -06:00
|
|
|
|
|
2023-12-17 20:52:22 -06:00
|
|
|
|
if (game.Media != null && game.Media.Count > 0)
|
|
|
|
|
|
{
|
|
|
|
|
|
manifest.Media = game.Media.Select(m => new SDK.Models.Media()
|
|
|
|
|
|
{
|
|
|
|
|
|
Id = m.Id,
|
|
|
|
|
|
FileId = m.FileId,
|
|
|
|
|
|
MimeType = m.MimeType,
|
|
|
|
|
|
SourceUrl = m.SourceUrl,
|
2023-12-18 01:08:17 -06:00
|
|
|
|
Type = (SDK.Enums.MediaType)(int)m.Type,
|
|
|
|
|
|
CreatedOn = m.CreatedOn,
|
|
|
|
|
|
}).ToList();
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (game.Scripts != null && game.Scripts.Count > 0)
|
|
|
|
|
|
{
|
|
|
|
|
|
manifest.Scripts = game.Scripts.Select(s => new SDK.Models.Script()
|
|
|
|
|
|
{
|
|
|
|
|
|
Id = s.Id,
|
|
|
|
|
|
Name = s.Name,
|
|
|
|
|
|
Description = s.Description,
|
|
|
|
|
|
RequiresAdmin = s.RequiresAdmin,
|
|
|
|
|
|
Type = (SDK.Enums.ScriptType)(int)s.Type,
|
|
|
|
|
|
CreatedOn = s.CreatedOn,
|
|
|
|
|
|
UpdatedOn = s.UpdatedOn,
|
2023-12-17 20:52:22 -06:00
|
|
|
|
});
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (game.Archives != null && game.Archives.Count > 0)
|
|
|
|
|
|
{
|
|
|
|
|
|
manifest.Archives = game.Archives.Select(a => new SDK.Models.Archive()
|
|
|
|
|
|
{
|
|
|
|
|
|
Id = a.Id,
|
|
|
|
|
|
Changelog = a.Changelog,
|
|
|
|
|
|
Version = a.Version,
|
|
|
|
|
|
CreatedOn = a.CreatedOn,
|
|
|
|
|
|
ObjectKey = a.ObjectKey,
|
2023-12-18 01:08:17 -06:00
|
|
|
|
}).ToList();
|
2023-12-14 19:09:00 -06:00
|
|
|
|
}
|
|
|
|
|
|
|
2023-12-15 13:06:33 -06:00
|
|
|
|
if (game.Keys != null && game.Keys.Count > 0)
|
2023-12-18 01:08:17 -06:00
|
|
|
|
manifest.Keys = game.Keys.Select(k => k.Value).ToList();
|
2023-12-14 19:09:00 -06:00
|
|
|
|
|
2024-01-08 18:22:00 -06:00
|
|
|
|
return manifest;
|
2023-12-14 19:09:00 -06:00
|
|
|
|
}
|
2023-01-09 01:05:40 -06:00
|
|
|
|
}
|
|
|
|
|
|
}
|