Types
This commit is contained in:
@@ -536,7 +536,7 @@ public record InsuredItem
|
||||
|
||||
public record Hideout
|
||||
{
|
||||
public Dictionary<string, Production>? Production { get; set; }
|
||||
public Dictionary<string, Production?>? Production { get; set; }
|
||||
public List<BotHideoutArea>? Areas { get; set; }
|
||||
public Dictionary<string, HideoutImprovement>? Improvements { get; set; }
|
||||
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using Core.Models.Eft.Common.Request;
|
||||
|
||||
namespace Core.Models.Eft.Hideout;
|
||||
|
||||
public record HideoutCancelProductionRequestData : BaseInteractionRequestData
|
||||
{
|
||||
[JsonPropertyName("recipeId")]
|
||||
public string? RecipeId { get; set; }
|
||||
|
||||
[JsonPropertyName("timestamp")]
|
||||
public long? Timestamp { get; set; }
|
||||
}
|
||||
@@ -1,6 +1,7 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using Core.Models.Eft.Common.Request;
|
||||
using Core.Models.Eft.Common.Tables;
|
||||
using Core.Models.Enums;
|
||||
|
||||
namespace Core.Models.Eft.Hideout;
|
||||
|
||||
@@ -11,7 +12,7 @@ public record HideoutImproveAreaRequestData : BaseInteractionRequestData
|
||||
public string? AreaId { get; set; }
|
||||
|
||||
[JsonPropertyName("areaType")]
|
||||
public int? AreaType { get; set; }
|
||||
public HideoutAreas? AreaType { get; set; }
|
||||
|
||||
[JsonPropertyName("items")]
|
||||
public List<HideoutItem>? Items { get; set; }
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using Core.Models.Common;
|
||||
using Core.Models.Enums;
|
||||
|
||||
namespace Core.Models.Eft.Hideout;
|
||||
|
||||
@@ -21,7 +22,7 @@ public record HideoutProduction
|
||||
public string? Id { get; set; }
|
||||
|
||||
[JsonPropertyName("areaType")]
|
||||
public int? AreaType { get; set; }
|
||||
public HideoutAreas? AreaType { get; set; }
|
||||
|
||||
[JsonPropertyName("requirements")]
|
||||
public List<Requirement>? Requirements { get; set; }
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using Core.Models.Common;
|
||||
using Core.Models.Eft.Common.Request;
|
||||
using Core.Models.Enums;
|
||||
|
||||
namespace Core.Models.Eft.Hideout;
|
||||
|
||||
@@ -8,7 +9,7 @@ public record HideoutPutItemInRequestData : BaseInteractionRequestData
|
||||
{
|
||||
|
||||
[JsonPropertyName("areaType")]
|
||||
public int? AreaType { get; set; }
|
||||
public HideoutAreas? AreaType { get; set; }
|
||||
|
||||
[JsonPropertyName("items")]
|
||||
public Dictionary<string, IdWithCount>? Items { get; set; }
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using Core.Models.Eft.Common.Request;
|
||||
using Core.Models.Enums;
|
||||
|
||||
namespace Core.Models.Eft.Hideout;
|
||||
|
||||
public record HideoutTakeItemOutRequestData : BaseInteractionRequestData
|
||||
{
|
||||
[JsonPropertyName("areaType")]
|
||||
public int? AreaType { get; set; }
|
||||
public HideoutAreas? AreaType { get; set; }
|
||||
|
||||
[JsonPropertyName("slots")]
|
||||
public List<int>? Slots { get; set; }
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using Core.Models.Eft.Common.Request;
|
||||
using Core.Models.Enums;
|
||||
|
||||
namespace Core.Models.Eft.Hideout;
|
||||
|
||||
public record HideoutToggleAreaRequestData : BaseInteractionRequestData
|
||||
{
|
||||
[JsonPropertyName("areaType")]
|
||||
public int? AreaType { get; set; }
|
||||
public HideoutAreas? AreaType { get; set; }
|
||||
|
||||
[JsonPropertyName("enabled")]
|
||||
public bool? Enabled { get; set; }
|
||||
|
||||
@@ -89,24 +89,24 @@ public record QteEffect
|
||||
{
|
||||
[JsonPropertyName("type")]
|
||||
[JsonConverter(typeof(JsonStringEnumConverter))]
|
||||
public QteRewardType? EffectType { get; set; }
|
||||
public QteRewardType? Type { get; set; }
|
||||
|
||||
[JsonPropertyName("skillId")]
|
||||
[JsonConverter(typeof(JsonStringEnumConverter))]
|
||||
public SkillTypes? SkillIdentifier { get; set; }
|
||||
public SkillTypes? SkillId { get; set; }
|
||||
|
||||
[JsonPropertyName("levelMultipliers")]
|
||||
public List<SkillLevelMultiplier>? LevelMultipliers { get; set; }
|
||||
|
||||
[JsonPropertyName("time")]
|
||||
public int? DurationInMilliseconds { get; set; }
|
||||
public int? Time { get; set; }
|
||||
|
||||
[JsonPropertyName("weight")]
|
||||
public float? EffectWeight { get; set; }
|
||||
public float? Weight { get; set; }
|
||||
|
||||
[JsonPropertyName("result")]
|
||||
[JsonConverter(typeof(JsonStringEnumConverter))]
|
||||
public QteResultType? ResultType { get; set; }
|
||||
public QteResultType? Result { get; set; }
|
||||
}
|
||||
|
||||
public record SkillLevelMultiplier
|
||||
|
||||
@@ -9,7 +9,7 @@ public record AddItemDirectRequest
|
||||
/// Item and child mods to add to player inventory
|
||||
/// </summary>
|
||||
[JsonPropertyName("itemWithModsToAdd")]
|
||||
public List<Item>? ItemWithModsToAdd { get; set; }
|
||||
public List<HideoutItem>? ItemWithModsToAdd { get; set; }
|
||||
|
||||
[JsonPropertyName("foundInRaid")]
|
||||
public bool? FoundInRaid { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user