diff --git a/Core/Models/Eft/Profile/SptProfile.cs b/Core/Models/Eft/Profile/SptProfile.cs index 82898b81..9ea32525 100644 --- a/Core/Models/Eft/Profile/SptProfile.cs +++ b/Core/Models/Eft/Profile/SptProfile.cs @@ -547,4 +547,16 @@ public class Insurance [JsonPropertyName("items")] public List Items { get; set; } +} + +public class MessageContentRagfair +{ + [JsonPropertyName("offerId")] + public string OfferId { get; set; } + + [JsonPropertyName("count")] + public int Count { get; set; } + + [JsonPropertyName("handbookId")] + public string HandbookId { get; set; } } \ No newline at end of file diff --git a/Core/Models/Spt/Dialog/SendMessageDetails.cs b/Core/Models/Spt/Dialog/SendMessageDetails.cs index bffb1fdb..2ed09391 100644 --- a/Core/Models/Spt/Dialog/SendMessageDetails.cs +++ b/Core/Models/Spt/Dialog/SendMessageDetails.cs @@ -29,13 +29,13 @@ public class SendMessageDetails /// Optional - if sender is USER these details are used /// [JsonPropertyName("senderDetails")] - public IUserDialogInfo? SenderDetails { get; set; } + public UserDialogInfo? SenderDetails { get; set; } /// /// Optional - the trader sending the message /// [JsonPropertyName("trader")] - public Traders? Trader { get; set; } + public string? Trader { get; set; } /// /// Optional - used in player/system messages, otherwise templateId is used diff --git a/Core/Models/Spt/Mod/ModLoader.cs b/Core/Models/Spt/Mod/ModLoader.cs deleted file mode 100644 index becae909..00000000 --- a/Core/Models/Spt/Mod/ModLoader.cs +++ /dev/null @@ -1,16 +0,0 @@ -namespace Core.Models.Spt.Mod; - -public class ModLoader -{ - public void Load(DependencyContainer container) - { - throw new NotImplementedException(); - } - - public string GetModPath(string mod) - { - throw new NotImplementedException(); - } -} - -// TODO: This needs to be reworked with however we do it for this project \ No newline at end of file diff --git a/Core/Servers/Http/IHttpListener.cs b/Core/Servers/Http/IHttpListener.cs index 5161850c..b3a61543 100644 --- a/Core/Servers/Http/IHttpListener.cs +++ b/Core/Servers/Http/IHttpListener.cs @@ -3,5 +3,5 @@ public interface IHttpListener { bool CanHandle(string sessionId, object req); - Task handle(string sessionId, object req, object resp); + Task Handle(string sessionId, object req, object resp); } \ No newline at end of file