make requests use interface
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using Core.Models.Utils;
|
||||
|
||||
namespace Core.Models.Eft.Bot;
|
||||
|
||||
public class GenerateBotsRequestData
|
||||
public class GenerateBotsRequestData : IRequestData
|
||||
{
|
||||
[JsonPropertyName("conditions")]
|
||||
public List<Condition>? Conditions { get; set; }
|
||||
@@ -21,4 +22,4 @@ public class Condition
|
||||
|
||||
[JsonPropertyName("Difficulty")]
|
||||
public string? Difficulty { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using Core.Models.Eft.Profile;
|
||||
using Core.Models.Utils;
|
||||
|
||||
namespace Core.Models.Eft.Builds;
|
||||
|
||||
public class SetMagazineRequest
|
||||
public class SetMagazineRequest : IRequestData
|
||||
{
|
||||
[JsonPropertyName("Id")]
|
||||
public string? Id { get; set; }
|
||||
@@ -22,4 +23,4 @@ public class SetMagazineRequest
|
||||
|
||||
[JsonPropertyName("BottomCount")]
|
||||
public int? BottomCount { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using Core.Models.Utils;
|
||||
|
||||
namespace Core.Models.Eft.Common.Request;
|
||||
|
||||
public class UIDRequestData
|
||||
public class UIDRequestData : IRequestData
|
||||
{
|
||||
[JsonPropertyName("uid")]
|
||||
public string? Uid { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using Core.Models.Utils;
|
||||
|
||||
namespace Core.Models.Eft.Dialog;
|
||||
|
||||
@@ -14,8 +15,8 @@ public class DeclineFriendRequestData : BaseFriendRequest
|
||||
{
|
||||
}
|
||||
|
||||
public class BaseFriendRequest
|
||||
public class BaseFriendRequest : IRequestData
|
||||
{
|
||||
[JsonPropertyName("profileId")]
|
||||
public string? ProfileId { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using Core.Models.Utils;
|
||||
|
||||
namespace Core.Models.Eft.Dialog;
|
||||
|
||||
public class AddUserGroupMailRequest
|
||||
public class AddUserGroupMailRequest : IRequestData
|
||||
{
|
||||
[JsonPropertyName("dialogId")]
|
||||
public string? DialogId { get; set; }
|
||||
|
||||
[JsonPropertyName("uid")]
|
||||
public string? Uid { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using Core.Models.Utils;
|
||||
|
||||
namespace Core.Models.Eft.Dialog;
|
||||
|
||||
public class ChangeGroupMailOwnerRequest
|
||||
public class ChangeGroupMailOwnerRequest : IRequestData
|
||||
{
|
||||
[JsonPropertyName("dialogId")]
|
||||
public string? DialogId { get; set; }
|
||||
|
||||
[JsonPropertyName("uid")]
|
||||
public string? Uid { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using Core.Models.Utils;
|
||||
|
||||
namespace Core.Models.Eft.Dialog;
|
||||
|
||||
public class ClearMailMessageRequest
|
||||
public class ClearMailMessageRequest : IRequestData
|
||||
{
|
||||
[JsonPropertyName("dialogId")]
|
||||
public string? DialogId { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using Core.Models.Utils;
|
||||
|
||||
namespace Core.Models.Eft.Dialog;
|
||||
|
||||
public class CreateGroupMailRequest
|
||||
public class CreateGroupMailRequest : IRequestData
|
||||
{
|
||||
[JsonPropertyName("Name")]
|
||||
public string? Name { get; set; }
|
||||
|
||||
[JsonPropertyName("Users")]
|
||||
public List<string>? Users { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using Core.Models.Utils;
|
||||
|
||||
namespace Core.Models.Eft.Dialog;
|
||||
|
||||
public class DeleteFriendRequest
|
||||
public class DeleteFriendRequest : IRequestData
|
||||
{
|
||||
[JsonPropertyName("friend_id")]
|
||||
public string? FriendId { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using Core.Models.Utils;
|
||||
|
||||
namespace Core.Models.Eft.Dialog;
|
||||
|
||||
public class FriendRequestData
|
||||
public class FriendRequestData : IRequestData
|
||||
{
|
||||
[JsonPropertyName("status")]
|
||||
public int? Status { get; set; }
|
||||
@@ -12,4 +13,4 @@ public class FriendRequestData
|
||||
|
||||
[JsonPropertyName("retryAfter")]
|
||||
public int? RetryAfter { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using Core.Models.Utils;
|
||||
|
||||
namespace Core.Models.Eft.Dialog;
|
||||
|
||||
public class GetAllAttachmentsRequestData
|
||||
public class GetAllAttachmentsRequestData : IRequestData
|
||||
{
|
||||
[JsonPropertyName("dialogId")]
|
||||
public string DialogId { get; set; }
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using Core.Models.Utils;
|
||||
|
||||
namespace Core.Models.Eft.Dialog;
|
||||
|
||||
public class GetChatServerListRequestData
|
||||
public class GetChatServerListRequestData : IRequestData
|
||||
{
|
||||
[JsonPropertyName("VersionId")]
|
||||
public string? VersionId { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using Core.Models.Utils;
|
||||
|
||||
namespace Core.Models.Eft.Dialog;
|
||||
|
||||
public class GetMailDialogInfoRequestData
|
||||
public class GetMailDialogInfoRequestData : IRequestData
|
||||
{
|
||||
[JsonPropertyName("dialogId")]
|
||||
public string? DialogId { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using Core.Models.Utils;
|
||||
|
||||
namespace Core.Models.Eft.Dialog;
|
||||
|
||||
public class GetMailDialogListRequestData
|
||||
public class GetMailDialogListRequestData : IRequestData
|
||||
{
|
||||
[JsonPropertyName("limit")]
|
||||
public int? Limit { get; set; }
|
||||
|
||||
[JsonPropertyName("offset")]
|
||||
public int? Offset { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using Core.Models.Enums;
|
||||
using Core.Models.Utils;
|
||||
|
||||
namespace Core.Models.Eft.Dialog;
|
||||
|
||||
public class GetMailDialogViewRequestData
|
||||
public class GetMailDialogViewRequestData : IRequestData
|
||||
{
|
||||
[JsonPropertyName("type")]
|
||||
public MessageType? Type { get; set; }
|
||||
@@ -16,4 +17,4 @@ public class GetMailDialogViewRequestData
|
||||
|
||||
[JsonPropertyName("time")]
|
||||
public decimal? Time { get; set; } // decimal
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using Core.Models.Utils;
|
||||
|
||||
namespace Core.Models.Eft.Dialog;
|
||||
|
||||
public class PinDialogRequestData
|
||||
public class PinDialogRequestData : IRequestData
|
||||
{
|
||||
[JsonPropertyName("dialogId")]
|
||||
public string? DialogId { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using Core.Models.Utils;
|
||||
|
||||
namespace Core.Models.Eft.Dialog;
|
||||
|
||||
public class RemoveDialogRequestData
|
||||
public class RemoveDialogRequestData : IRequestData
|
||||
{
|
||||
[JsonPropertyName("dialogId")]
|
||||
public string? DialogId { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using Core.Models.Utils;
|
||||
|
||||
namespace Core.Models.Eft.Dialog;
|
||||
|
||||
public class RemoveMailMessageRequest
|
||||
public class RemoveMailMessageRequest : IRequestData
|
||||
{
|
||||
[JsonPropertyName("dialogId")]
|
||||
public string? DialogId { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using Core.Models.Utils;
|
||||
|
||||
namespace Core.Models.Eft.Dialog;
|
||||
|
||||
public class RemoveUserGroupMailRequest
|
||||
public class RemoveUserGroupMailRequest : IRequestData
|
||||
{
|
||||
[JsonPropertyName("dialogId")]
|
||||
public string? DialogId { get; set; }
|
||||
|
||||
[JsonPropertyName("uid")]
|
||||
public string? Uid { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using Core.Models.Enums;
|
||||
using Core.Models.Utils;
|
||||
|
||||
namespace Core.Models.Eft.Dialog;
|
||||
|
||||
public class SendMessageRequest
|
||||
public class SendMessageRequest : IRequestData
|
||||
{
|
||||
[JsonPropertyName("dialogId")]
|
||||
public string? DialogId { get; set; }
|
||||
@@ -16,4 +17,4 @@ public class SendMessageRequest
|
||||
|
||||
[JsonPropertyName("replyTo")]
|
||||
public string? ReplyTo { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using Core.Models.Utils;
|
||||
|
||||
namespace Core.Models.Eft.Dialog;
|
||||
|
||||
public class SetDialogReadRequestData
|
||||
public class SetDialogReadRequestData : IRequestData
|
||||
{
|
||||
[JsonPropertyName("dialogId")]
|
||||
public List<string>? Dialogs { get; set; }
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using Core.Models.Utils;
|
||||
|
||||
namespace Core.Models.Eft.Game;
|
||||
|
||||
public class GameEmptyCrcRequestData
|
||||
public class GameEmptyCrcRequestData : IRequestData
|
||||
{
|
||||
[JsonPropertyName("crc")]
|
||||
public int? Crc { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using Core.Models.Utils;
|
||||
|
||||
namespace Core.Models.Eft.Game;
|
||||
|
||||
public class GameModeRequestData
|
||||
public class GameModeRequestData : IRequestData
|
||||
{
|
||||
[JsonPropertyName("sessionMode")]
|
||||
public string? SessionMode { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,8 +11,8 @@ public enum SessionMode
|
||||
public class GameModeResponse
|
||||
{
|
||||
[JsonPropertyName("gameMode")]
|
||||
public SessionMode? GameMode { get; set; }
|
||||
public string? GameMode { get; set; }
|
||||
|
||||
[JsonPropertyName("backendUrl")]
|
||||
public string? BackendUrl { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using Core.Models.Utils;
|
||||
|
||||
namespace Core.Models.Eft.Game;
|
||||
|
||||
public class GetRaidTimeRequest
|
||||
public class GetRaidTimeRequest : IRequestData
|
||||
{
|
||||
[JsonPropertyName("Side")]
|
||||
public string? Side { get; set; }
|
||||
|
||||
[JsonPropertyName("Location")]
|
||||
public string? Location { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using Core.Models.Utils;
|
||||
|
||||
namespace Core.Models.Eft.Game;
|
||||
|
||||
public class SendSurveyOpinionRequest
|
||||
public class SendSurveyOpinionRequest : IRequestData
|
||||
{
|
||||
[JsonPropertyName("surveyId")]
|
||||
public int? SurveyId { get; set; }
|
||||
@@ -21,4 +22,4 @@ public class SurveyOpinionAnswer
|
||||
|
||||
[JsonPropertyName("answers")]
|
||||
public object? Answers { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using Core.Models.Utils;
|
||||
|
||||
namespace Core.Models.Eft.Game;
|
||||
|
||||
public class VersionValidateRequestData
|
||||
public class VersionValidateRequestData : IRequestData
|
||||
{
|
||||
[JsonPropertyName("version")]
|
||||
public Version? Version { get; set; }
|
||||
@@ -27,4 +28,4 @@ public class Version
|
||||
|
||||
[JsonPropertyName("taxonomy")]
|
||||
public string? Taxonomy { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using Core.Models.Utils;
|
||||
|
||||
namespace Core.Models.Eft.InRaid;
|
||||
|
||||
public class RegisterPlayerRequestData
|
||||
public class RegisterPlayerRequestData : IRequestData
|
||||
{
|
||||
[JsonPropertyName("crc")]
|
||||
public int? Crc { get; set; }
|
||||
@@ -12,4 +13,4 @@ public class RegisterPlayerRequestData
|
||||
|
||||
[JsonPropertyName("variantId")]
|
||||
public int? VariantId { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
using Core.Models.Eft.Common;
|
||||
using Core.Models.Utils;
|
||||
|
||||
namespace Core.Models.Eft.InRaid;
|
||||
|
||||
public class ScavSaveRequestData : PostRaidPmcData
|
||||
public class ScavSaveRequestData : PostRaidPmcData, IRequestData
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using Core.Models.Utils;
|
||||
|
||||
namespace Core.Models.Eft.ItemEvent;
|
||||
|
||||
public class ItemEventRouterRequest
|
||||
public class ItemEventRouterRequest : IRequestData
|
||||
{
|
||||
[JsonPropertyName("data")]
|
||||
public List<Daum>? Data { get; set; }
|
||||
@@ -51,4 +52,4 @@ public class Location
|
||||
|
||||
[JsonPropertyName("isSearched")]
|
||||
public bool? IsSearched { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using Core.Models.Utils;
|
||||
|
||||
namespace Core.Models.Eft.Location;
|
||||
|
||||
public class GetAirdropLootRequest
|
||||
public class GetAirdropLootRequest : IRequestData
|
||||
{
|
||||
[JsonPropertyName("containerId")]
|
||||
public string? ContainerId { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,10 +2,11 @@
|
||||
using Core.Models.Eft.Common;
|
||||
using Core.Models.Eft.Common.Tables;
|
||||
using Core.Models.Enums;
|
||||
using Core.Models.Utils;
|
||||
|
||||
namespace Core.Models.Eft.Match;
|
||||
|
||||
public class EndLocalRaidRequestData
|
||||
public class EndLocalRaidRequestData : IRequestData
|
||||
{
|
||||
/// <summary>
|
||||
/// ID of server player just left
|
||||
@@ -119,4 +120,4 @@ public class TransitProfile
|
||||
|
||||
[JsonPropertyName("isSolo")]
|
||||
public bool? IsSolo { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using Core.Models.Utils;
|
||||
|
||||
namespace Core.Models.Eft.Match;
|
||||
|
||||
public class GetRaidConfigurationRequestData : RaidSettings
|
||||
public class GetRaidConfigurationRequestData : RaidSettings, IRequestData
|
||||
{
|
||||
[JsonPropertyName("keyId")]
|
||||
public string? KeyId { get; set; }
|
||||
|
||||
[JsonPropertyName("MaxGroupCount")]
|
||||
public int? MaxGroupCount { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using Core.Models.Utils;
|
||||
|
||||
namespace Core.Models.Eft.Match;
|
||||
|
||||
public class MatchGroupInviteSendRequest
|
||||
public class MatchGroupInviteSendRequest : IRequestData
|
||||
{
|
||||
[JsonPropertyName("to")]
|
||||
public string? To { get; set; }
|
||||
|
||||
[JsonPropertyName("inLobby")]
|
||||
public bool? InLobby { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using Core.Models.Utils;
|
||||
|
||||
namespace Core.Models.Eft.Match;
|
||||
|
||||
public class MatchGroupPlayerRemoveRequest
|
||||
public class MatchGroupPlayerRemoveRequest : IRequestData
|
||||
{
|
||||
[JsonPropertyName("aidToKick")]
|
||||
public string? AidToKick { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using Core.Models.Utils;
|
||||
|
||||
namespace Core.Models.Eft.Match;
|
||||
|
||||
public class MatchGroupStartGameRequest
|
||||
public class MatchGroupStartGameRequest : IRequestData
|
||||
{
|
||||
[JsonPropertyName("groupId")]
|
||||
public string? GroupId { get; set; }
|
||||
|
||||
[JsonPropertyName("servers")]
|
||||
public List<Server>? Servers { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using Core.Models.Enums;
|
||||
using Core.Models.Utils;
|
||||
|
||||
namespace Core.Models.Eft.Match;
|
||||
|
||||
public class MatchGroupStatusRequest
|
||||
public class MatchGroupStatusRequest : IRequestData
|
||||
{
|
||||
[JsonPropertyName("location")]
|
||||
public string? Location { get; set; }
|
||||
@@ -22,4 +23,4 @@ public class MatchGroupStatusRequest
|
||||
|
||||
[JsonPropertyName("spawnPlace")]
|
||||
public string? SpawnPlace { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using Core.Models.Utils;
|
||||
|
||||
namespace Core.Models.Eft.Match;
|
||||
|
||||
public class MatchGroupTransferRequest
|
||||
public class MatchGroupTransferRequest : IRequestData
|
||||
{
|
||||
[JsonPropertyName("aidToChange")]
|
||||
public string? AidToChange { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using Core.Models.Utils;
|
||||
|
||||
namespace Core.Models.Eft.Match;
|
||||
|
||||
public class PutMetricsRequestData
|
||||
public class PutMetricsRequestData : IRequestData
|
||||
{
|
||||
[JsonPropertyName("sid")]
|
||||
public string? SessionId { get; set; }
|
||||
@@ -159,4 +160,4 @@ public class ClientEvents
|
||||
|
||||
[JsonPropertyName("GameStartedReal")]
|
||||
public double? GameStartedReal { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using Core.Models.Utils;
|
||||
|
||||
namespace Core.Models.Eft.Match;
|
||||
|
||||
public class RequestIdRequest
|
||||
public class RequestIdRequest : IRequestData
|
||||
{
|
||||
[JsonPropertyName("requestId")]
|
||||
public string? RequestId { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using Core.Models.Enums;
|
||||
using Core.Models.Utils;
|
||||
|
||||
namespace Core.Models.Eft.Match;
|
||||
|
||||
public class StartLocalRaidRequestData
|
||||
public class StartLocalRaidRequestData : IRequestData
|
||||
{
|
||||
[JsonPropertyName("serverId")]
|
||||
public string? ServerId { get; set; }
|
||||
@@ -29,4 +30,4 @@ public class StartLocalRaidRequestData
|
||||
/** Should loot generation be skipped, default false */
|
||||
[JsonPropertyName("sptSkipLootGeneration")]
|
||||
public bool? ShouldSkipLootGeneration { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using Core.Models.Utils;
|
||||
|
||||
namespace Core.Models.Eft.Match;
|
||||
|
||||
public class UpdatePingRequestData
|
||||
public class UpdatePingRequestData : IRequestData
|
||||
{
|
||||
[JsonPropertyName("servers")]
|
||||
public List<object>? servers { get; set; }
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using Core.Models.Eft.Common.Tables;
|
||||
using Core.Models.Utils;
|
||||
|
||||
namespace Core.Models.Eft.PresetBuild;
|
||||
|
||||
public class PresetBuildActionRequestData
|
||||
public class PresetBuildActionRequestData : IRequestData
|
||||
{
|
||||
[JsonPropertyName("Action")]
|
||||
public string? Action { get; set; }
|
||||
@@ -20,4 +21,4 @@ public class PresetBuildActionRequestData
|
||||
|
||||
[JsonPropertyName("Items")]
|
||||
public List<Item>? Items { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using Core.Models.Utils;
|
||||
|
||||
namespace Core.Models.Eft.PresetBuild;
|
||||
|
||||
public class RemoveBuildRequestData
|
||||
public class RemoveBuildRequestData : IRequestData
|
||||
{
|
||||
[JsonPropertyName("id")]
|
||||
public string? Id { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using Core.Models.Utils;
|
||||
|
||||
namespace Core.Models.Spt.Logging;
|
||||
|
||||
public class ClientLogRequest
|
||||
public class ClientLogRequest : IRequestData
|
||||
{
|
||||
[JsonPropertyName("Source")]
|
||||
public string? Source { get; set; }
|
||||
@@ -18,4 +19,4 @@ public class ClientLogRequest
|
||||
|
||||
[JsonPropertyName("BackgroundColor")]
|
||||
public string? BackgroundColor { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user