42 lines
682 B
C#
42 lines
682 B
C#
using System.Text.Json.Serialization;
|
|
using Core.Models.Utils;
|
|
|
|
namespace Core.Models.Eft.Bot;
|
|
|
|
public record GenerateBotsRequestData : IRequestData
|
|
{
|
|
[JsonPropertyName("conditions")]
|
|
public List<GenerateCondition>? Conditions
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
}
|
|
|
|
public record GenerateCondition
|
|
{
|
|
/// <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;
|
|
}
|
|
}
|