bb887b0901
* callbacks * controllers * Router override * make requests use interface * create Routers * extra parts
26 lines
567 B
C#
26 lines
567 B
C#
using System.Text.Json.Serialization;
|
|
using Core.Models.Utils;
|
|
|
|
namespace Core.Models.Eft.Bot;
|
|
|
|
public class GenerateBotsRequestData : IRequestData
|
|
{
|
|
[JsonPropertyName("conditions")]
|
|
public List<Condition>? Conditions { get; set; }
|
|
}
|
|
|
|
public class Condition
|
|
{
|
|
/// <summary>
|
|
/// e.g. assault/pmcBot/bossKilla
|
|
/// </summary>
|
|
[JsonPropertyName("Role")]
|
|
public string? Role { get; set; }
|
|
|
|
[JsonPropertyName("Limit")]
|
|
public int Limit { get; set; }
|
|
|
|
[JsonPropertyName("Difficulty")]
|
|
public string? Difficulty { get; set; }
|
|
}
|