.NET Format Style Fixes

This commit is contained in:
refringe
2025-06-18 17:09:20 +00:00
committed by Format Bot
parent ca0a7d6345
commit 6e01428b2b
774 changed files with 23507 additions and 40003 deletions
@@ -3,17 +3,11 @@ using SPTarkov.Server.Core.Models.Utils;
namespace SPTarkov.Server.Core.Models.Eft.Dialog;
public record AcceptFriendRequestData : BaseFriendRequest
{
}
public record AcceptFriendRequestData : BaseFriendRequest { }
public record CancelFriendRequestData : BaseFriendRequest
{
}
public record CancelFriendRequestData : BaseFriendRequest { }
public record DeclineFriendRequestData : BaseFriendRequest
{
}
public record DeclineFriendRequestData : BaseFriendRequest { }
public record BaseFriendRequest : IRequestData
{
@@ -21,9 +15,5 @@ public record BaseFriendRequest : IRequestData
public Dictionary<string, object> ExtensionData { get; set; }
[JsonPropertyName("profileId")]
public string? ProfileId
{
get;
set;
}
public string? ProfileId { get; set; }
}
@@ -9,16 +9,8 @@ public record AddUserGroupMailRequest : IRequestData
public Dictionary<string, object> ExtensionData { get; set; }
[JsonPropertyName("dialogId")]
public string? DialogId
{
get;
set;
}
public string? DialogId { get; set; }
[JsonPropertyName("uid")]
public string? Uid
{
get;
set;
}
public string? Uid { get; set; }
}
@@ -9,16 +9,8 @@ public record ChangeGroupMailOwnerRequest : IRequestData
public Dictionary<string, object> ExtensionData { get; set; }
[JsonPropertyName("dialogId")]
public string? DialogId
{
get;
set;
}
public string? DialogId { get; set; }
[JsonPropertyName("uid")]
public string? Uid
{
get;
set;
}
public string? Uid { get; set; }
}
@@ -8,70 +8,34 @@ public record ChatServer
public Dictionary<string, object> ExtensionData { get; set; }
[JsonPropertyName("_id")]
public string? Id
{
get;
set;
}
public string? Id { get; set; }
[JsonPropertyName("RegistrationId")]
public int? RegistrationId
{
get;
set;
}
public int? RegistrationId { get; set; }
[JsonPropertyName("VersionId")]
public string? VersionId
{
get;
set;
}
public string? VersionId { get; set; }
[JsonPropertyName("Ip")]
public string? Ip
{
get;
set;
}
public string? Ip { get; set; }
[JsonPropertyName("Port")]
public int? Port
{
get;
set;
}
public int? Port { get; set; }
[JsonPropertyName("DateTime")]
public long? DateTime
{
get;
set;
}
public long? DateTime { get; set; }
[JsonPropertyName("Chats")]
public List<Chat>? Chats
{
get;
set;
}
public List<Chat>? Chats { get; set; }
[JsonPropertyName("Regions")]
public List<string>? Regions
{
get;
set;
}
public List<string>? Regions { get; set; }
/// <summary>
/// Possibly removed
/// </summary>
[JsonPropertyName("IsDeveloper")]
public bool? IsDeveloper
{
get;
set;
}
public bool? IsDeveloper { get; set; }
}
public record Chat
@@ -80,16 +44,8 @@ public record Chat
public Dictionary<string, object> ExtensionData { get; set; }
[JsonPropertyName("_id")]
public string? Id
{
get;
set;
}
public string? Id { get; set; }
[JsonPropertyName("Members")]
public int? Members
{
get;
set;
}
public int? Members { get; set; }
}
@@ -9,9 +9,5 @@ public record ClearMailMessageRequest : IRequestData
public Dictionary<string, object> ExtensionData { get; set; }
[JsonPropertyName("dialogId")]
public string? DialogId
{
get;
set;
}
public string? DialogId { get; set; }
}
@@ -9,16 +9,8 @@ public record CreateGroupMailRequest : IRequestData
public Dictionary<string, object> ExtensionData { get; set; }
[JsonPropertyName("Name")]
public string? Name
{
get;
set;
}
public string? Name { get; set; }
[JsonPropertyName("Users")]
public List<string>? Users
{
get;
set;
}
public List<string>? Users { get; set; }
}
@@ -9,9 +9,5 @@ public record DeleteFriendRequest : IRequestData
public Dictionary<string, object> ExtensionData { get; set; }
[JsonPropertyName("friend_id")]
public string? FriendId
{
get;
set;
}
public string? FriendId { get; set; }
}
@@ -9,30 +9,14 @@ public record FriendRequestData : IRequestData
public Dictionary<string, object> ExtensionData { get; set; }
[JsonPropertyName("status")]
public int? Status
{
get;
set;
}
public int? Status { get; set; }
[JsonPropertyName("requestId")]
public string? RequestId
{
get;
set;
}
public string? RequestId { get; set; }
[JsonPropertyName("retryAfter")]
public int? RetryAfter
{
get;
set;
}
public int? RetryAfter { get; set; }
[JsonPropertyName("to")]
public string? To
{
get;
set;
}
public string? To { get; set; }
}
@@ -9,23 +9,11 @@ public record FriendRequestSendResponse
public Dictionary<string, object> ExtensionData { get; set; }
[JsonPropertyName("status")]
public BackendErrorCodes? Status
{
get;
set;
}
public BackendErrorCodes? Status { get; set; }
[JsonPropertyName("requestId")]
public string? RequestId
{
get;
set;
}
public string? RequestId { get; set; }
[JsonPropertyName("retryAfter")]
public int? RetryAfter
{
get;
set;
}
public int? RetryAfter { get; set; }
}
@@ -9,9 +9,5 @@ public record GetAllAttachmentsRequestData : IRequestData
public Dictionary<string, object> ExtensionData { get; set; }
[JsonPropertyName("dialogId")]
public string DialogId
{
get;
set;
}
public string DialogId { get; set; }
}
@@ -9,23 +9,11 @@ public record GetAllAttachmentsResponse
public Dictionary<string, object> ExtensionData { get; set; }
[JsonPropertyName("messages")]
public List<Message>? Messages
{
get;
set;
}
public List<Message>? Messages { get; set; }
[JsonPropertyName("profiles")]
public List<object>? Profiles
{
get;
set;
} // Assuming 'any' translates to 'object'
public List<object>? Profiles { get; set; } // Assuming 'any' translates to 'object'
[JsonPropertyName("hasMessagesWithRewards")]
public bool? HasMessagesWithRewards
{
get;
set;
}
public bool? HasMessagesWithRewards { get; set; }
}
@@ -9,9 +9,5 @@ public record GetChatServerListRequestData : IRequestData
public Dictionary<string, object> ExtensionData { get; set; }
[JsonPropertyName("VersionId")]
public string? VersionId
{
get;
set;
}
public string? VersionId { get; set; }
}
@@ -9,23 +9,11 @@ public record GetFriendListDataResponse
public Dictionary<string, object> ExtensionData { get; set; }
[JsonPropertyName("Friends")]
public List<UserDialogInfo>? Friends
{
get;
set;
}
public List<UserDialogInfo>? Friends { get; set; }
[JsonPropertyName("Ignore")]
public List<string>? Ignore
{
get;
set;
}
public List<string>? Ignore { get; set; }
[JsonPropertyName("InIgnoreList")]
public List<string>? InIgnoreList
{
get;
set;
}
public List<string>? InIgnoreList { get; set; }
}
@@ -9,9 +9,5 @@ public record GetMailDialogInfoRequestData : IRequestData
public Dictionary<string, object> ExtensionData { get; set; }
[JsonPropertyName("dialogId")]
public string? DialogId
{
get;
set;
}
public string? DialogId { get; set; }
}
@@ -9,16 +9,8 @@ public record GetMailDialogListRequestData : IRequestData
public Dictionary<string, object> ExtensionData { get; set; }
[JsonPropertyName("limit")]
public int? Limit
{
get;
set;
}
public int? Limit { get; set; }
[JsonPropertyName("offset")]
public int? Offset
{
get;
set;
}
public int? Offset { get; set; }
}
@@ -10,30 +10,14 @@ public record GetMailDialogViewRequestData : IRequestData
public Dictionary<string, object> ExtensionData { get; set; }
[JsonPropertyName("type")]
public MessageType? Type
{
get;
set;
}
public MessageType? Type { get; set; }
[JsonPropertyName("dialogId")]
public string? DialogId
{
get;
set;
}
public string? DialogId { get; set; }
[JsonPropertyName("limit")]
public int? Limit
{
get;
set;
}
public int? Limit { get; set; }
[JsonPropertyName("time")]
public decimal? Time
{
get;
set;
} // decimal
public decimal? Time { get; set; } // decimal
}
@@ -9,23 +9,11 @@ public record GetMailDialogViewResponseData
public Dictionary<string, object> ExtensionData { get; set; }
[JsonPropertyName("messages")]
public List<Message>? Messages
{
get;
set;
}
public List<Message>? Messages { get; set; }
[JsonPropertyName("profiles")]
public List<UserDialogInfo>? Profiles
{
get;
set;
}
public List<UserDialogInfo>? Profiles { get; set; }
[JsonPropertyName("hasMessagesWithRewards")]
public bool? HasMessagesWithRewards
{
get;
set;
}
public bool? HasMessagesWithRewards { get; set; }
}
@@ -9,9 +9,5 @@ public record PinDialogRequestData : IRequestData
public Dictionary<string, object> ExtensionData { get; set; }
[JsonPropertyName("dialogId")]
public string? DialogId
{
get;
set;
}
public string? DialogId { get; set; }
}
@@ -9,9 +9,5 @@ public record RemoveDialogRequestData : IRequestData
public Dictionary<string, object> ExtensionData { get; set; }
[JsonPropertyName("dialogId")]
public string? DialogId
{
get;
set;
}
public string? DialogId { get; set; }
}
@@ -9,9 +9,5 @@ public record RemoveMailMessageRequest : IRequestData
public Dictionary<string, object> ExtensionData { get; set; }
[JsonPropertyName("dialogId")]
public string? DialogId
{
get;
set;
}
public string? DialogId { get; set; }
}
@@ -9,16 +9,8 @@ public record RemoveUserGroupMailRequest : IRequestData
public Dictionary<string, object> ExtensionData { get; set; }
[JsonPropertyName("dialogId")]
public string? DialogId
{
get;
set;
}
public string? DialogId { get; set; }
[JsonPropertyName("uid")]
public string? Uid
{
get;
set;
}
public string? Uid { get; set; }
}
@@ -10,30 +10,14 @@ public record SendMessageRequest : IRequestData
public Dictionary<string, object> ExtensionData { get; set; }
[JsonPropertyName("dialogId")]
public string? DialogId
{
get;
set;
}
public string? DialogId { get; set; }
[JsonPropertyName("type")]
public MessageType? Type
{
get;
set;
}
public MessageType? Type { get; set; }
[JsonPropertyName("text")]
public string? Text
{
get;
set;
}
public string? Text { get; set; }
[JsonPropertyName("replyTo")]
public string? ReplyTo
{
get;
set;
}
public string? ReplyTo { get; set; }
}
@@ -9,9 +9,5 @@ public record SetDialogReadRequestData : IRequestData
public Dictionary<string, object> ExtensionData { get; set; }
[JsonPropertyName("dialogs")]
public List<string>? Dialogs
{
get;
set;
}
public List<string>? Dialogs { get; set; }
}