2023-01-07 18:34:12 +00:00
|
|
|
|
using System;
|
2023-01-14 21:09:45 +00:00
|
|
|
|
using System.Collections.Generic;
|
2023-01-07 18:34:12 +00:00
|
|
|
|
|
2023-01-14 21:09:45 +00:00
|
|
|
|
namespace LANCommander.SDK
|
2023-01-07 18:34:12 +00:00
|
|
|
|
{
|
|
|
|
|
public class GameManifest
|
|
|
|
|
{
|
|
|
|
|
public string Title { get; set; }
|
|
|
|
|
public string SortTitle { get; set; }
|
|
|
|
|
public string Description { get; set; }
|
|
|
|
|
public DateTime ReleasedOn { get; set; }
|
2023-01-14 21:09:45 +00:00
|
|
|
|
public IEnumerable<string> Genre { get; set; }
|
|
|
|
|
public IEnumerable<string> Tags { get; set; }
|
|
|
|
|
public IEnumerable<string> Publishers { get; set; }
|
|
|
|
|
public IEnumerable<string> Developers { get; set; }
|
2023-01-07 18:34:12 +00:00
|
|
|
|
public string Version { get; set; }
|
|
|
|
|
public string Icon { get; set; }
|
2023-01-14 21:09:45 +00:00
|
|
|
|
public IEnumerable<GameAction> Actions { get; set; }
|
2023-01-07 18:34:12 +00:00
|
|
|
|
public bool Singleplayer { get; set; }
|
|
|
|
|
public MultiplayerInfo LocalMultiplayer { get; set; }
|
|
|
|
|
public MultiplayerInfo LanMultiplayer { get; set; }
|
|
|
|
|
public MultiplayerInfo OnlineMultiplayer { get; set; }
|
2023-01-14 21:09:45 +00:00
|
|
|
|
|
|
|
|
|
public GameManifest() { }
|
2023-01-07 18:34:12 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class GameAction
|
|
|
|
|
{
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
public string Arguments { get; set; }
|
|
|
|
|
public string Path { get; set; }
|
|
|
|
|
public string WorkingDirectory { get; set; }
|
|
|
|
|
public bool IsPrimaryAction { get; set; }
|
2023-01-17 05:45:46 +00:00
|
|
|
|
public int SortOrder { get; set; }
|
2023-01-07 18:34:12 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class MultiplayerInfo
|
|
|
|
|
{
|
|
|
|
|
public int MinPlayers { get; set; }
|
|
|
|
|
public int MaxPlayers { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|