LANCommander/LANCommander.SDK/Models/GameManifest.cs
2025-03-29 20:48:41 -05:00

56 lines
2.2 KiB
C#

using LANCommander.SDK.Enums;
using LANCommander.SDK.Models;
using System;
using System.Collections.Generic;
namespace LANCommander.SDK
{
public class GameManifest : IKeyedModel
{
public Guid Id { get; set; }
public string Title { get; set; }
public string SortTitle { get; set; }
public string Description { get; set; }
public string Notes { get; set; }
public GameType Type { get; set; }
public DateTime ReleasedOn { get; set; }
public string Engine { get; set; }
public IEnumerable<string> Genre { get; set; }
public IEnumerable<string> Tags { get; set; }
public IEnumerable<string> Platforms { get; set; }
public IEnumerable<string> Publishers { get; set; }
public IEnumerable<string> Developers { get; set; }
public IEnumerable<string> Collections { get; set; }
public string Version { get; set; }
public IEnumerable<Models.Action> Actions { get; set; }
public bool Singleplayer { get; set; }
public MultiplayerInfo LocalMultiplayer { get; set; }
public MultiplayerInfo LanMultiplayer { get; set; }
public MultiplayerInfo OnlineMultiplayer { get; set; }
public IEnumerable<SavePath> SavePaths { get; set; }
public IEnumerable<string> Keys { get; set; }
public IEnumerable<Script> Scripts { get; set; }
public IEnumerable<Media> Media { get; set; }
public IEnumerable<Archive> Archives { get; set; }
public IEnumerable<GameSave> Saves { get; set; }
public IEnumerable<Guid> DependentGames { get; set; }
public IEnumerable<Redistributable> Redistributables { get; set; }
public IEnumerable<GameCustomField> CustomFields { get; set; }
public GameManifest() { }
}
public class MultiplayerInfo
{
public int MinPlayers { get; set; }
public int MaxPlayers { get; set; }
public string Description { get; set; }
public NetworkProtocol NetworkProtocol { get; set; }
}
public class SavePathEntry
{
public string ArchivePath { get; set; }
public string ActualPath { get; set; }
}
}