LANCommander/LANCommander.SDK/Models/GameManifest.cs
2024-05-28 00:54:09 -05:00

61 lines
2.1 KiB
C#

using LANCommander.SDK.Enums;
using LANCommander.SDK.Models;
using System;
using System.Collections.Generic;
namespace LANCommander.SDK
{
public class GameManifest
{
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> 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<Guid> DependentGames { get; set; }
public GameManifest() { }
}
public class MultiplayerInfo
{
public int MinPlayers { get; set; }
public int MaxPlayers { get; set; }
public string Description { get; set; }
}
public class SavePath
{
public Guid Id { get; set; }
public string Type { get; set; }
public string Path { get; set; }
public string WorkingDirectory { get; set; }
public bool IsRegex { get; set; }
public IEnumerable<SavePathEntry> Entries { get; set; }
}
public class SavePathEntry
{
public string ArchivePath { get; set; }
public string ActualPath { get; set; }
}
}