mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
50 lines
1.0 KiB
C#
50 lines
1.0 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using Wabbajack.Common;
|
|
using YamlDotNet.Serialization;
|
|
|
|
namespace Wabbajack.Validation
|
|
{
|
|
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;
|
|
}
|
|
|
|
|
|
public class ServerWhitelist
|
|
{
|
|
public List<string> GoogleIDs;
|
|
public List<string> AllowedPrefixes;
|
|
}
|
|
}
|