2019-10-07 17:33:34 +00:00
|
|
|
|
using System.Collections.Generic;
|
2019-09-29 04:41:47 +00:00
|
|
|
|
|
2019-10-16 03:10:34 +00:00
|
|
|
|
namespace Wabbajack.Lib.Validation
|
2019-09-29 04:41:47 +00:00
|
|
|
|
{
|
|
|
|
|
public class Permissions
|
|
|
|
|
{
|
|
|
|
|
public bool? CanExtractBSAs { get; set; }
|
|
|
|
|
public bool? CanModifyESPs { get; set; }
|
|
|
|
|
public bool? CanModifyAssets { get; set; }
|
|
|
|
|
public bool? CanUseInOtherGames { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class Author
|
|
|
|
|
{
|
|
|
|
|
public Permissions Permissions { get; set; }
|
|
|
|
|
public Dictionary<string, Game> Games;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class Game
|
|
|
|
|
{
|
|
|
|
|
public Permissions Permissions;
|
|
|
|
|
public Dictionary<string, Mod> Mods;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class Mod
|
|
|
|
|
{
|
|
|
|
|
public Permissions Permissions;
|
|
|
|
|
public Dictionary<string, File> Files;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class File
|
|
|
|
|
{
|
|
|
|
|
public Permissions Permissions;
|
|
|
|
|
}
|
2019-09-29 20:53:25 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public class ServerWhitelist
|
|
|
|
|
{
|
|
|
|
|
public List<string> GoogleIDs;
|
|
|
|
|
public List<string> AllowedPrefixes;
|
|
|
|
|
}
|
2019-09-29 04:41:47 +00:00
|
|
|
|
}
|