diff --git a/Core/Controllers/BotController.cs b/Core/Controllers/BotController.cs index 36cfed34..cd8a2c94 100644 --- a/Core/Controllers/BotController.cs +++ b/Core/Controllers/BotController.cs @@ -2,6 +2,7 @@ using Core.Models.Eft.Bot; using Core.Models.Eft.Common; using Core.Models.Eft.Common.Tables; +using Core.Models.Eft.Match; using Core.Models.Spt.Bots; using Core.Models.Spt.Config; using Condition = Core.Models.Spt.Config.Condition; diff --git a/Core/Controllers/BuildController.cs b/Core/Controllers/BuildController.cs index da601eaa..35922571 100644 --- a/Core/Controllers/BuildController.cs +++ b/Core/Controllers/BuildController.cs @@ -41,9 +41,9 @@ public class BuildController /// /// /// - public void RemoveBuild(string sessionId, RemoveBuildReqestData request) + public void RemoveBuild(string sessionId, RemoveBuildRequestData request) { - RemovePlayerBuild(request.id, sessionId); + RemovePlayerBuild(request.Id, sessionId); } /// diff --git a/Core/Controllers/CustomizationController.cs b/Core/Controllers/CustomizationController.cs index a0363efc..47ec396d 100644 --- a/Core/Controllers/CustomizationController.cs +++ b/Core/Controllers/CustomizationController.cs @@ -30,7 +30,7 @@ public class CustomizationController /// ItemEventRouterResponse public ItemEventRouterResponse BuyClothing( PmcData pmcData, - BuyClothingRequest buyClothingRequest, + BuyClothingRequestData buyClothingRequest, string sessionId) { throw new NotImplementedException(); @@ -84,7 +84,7 @@ public class CustomizationController /// /// /// - public HideoutCustomisationStorage GetHideoutCustomisation( + public HideoutCustomisation GetHideoutCustomisation( string sessionId, EmptyRequestData info) { diff --git a/Core/Controllers/DialogueController.cs b/Core/Controllers/DialogueController.cs index ffa91bd6..53981eb9 100644 --- a/Core/Controllers/DialogueController.cs +++ b/Core/Controllers/DialogueController.cs @@ -10,7 +10,7 @@ public class DialogueController /// /// /// - public void RegisterChatBot(DialogueChatBot chatBot) + public void RegisterChatBot(DialogueChatBot chatBot) // TODO: this is in with the helper types { throw new NotImplementedException(); } diff --git a/Core/Controllers/LauncherController.cs b/Core/Controllers/LauncherController.cs index cb2d4ac2..5187b864 100644 --- a/Core/Controllers/LauncherController.cs +++ b/Core/Controllers/LauncherController.cs @@ -1,3 +1,4 @@ +using Core.Models.Eft.Launcher; using Core.Models.Eft.Profile; using Core.Models.Spt.Mod; diff --git a/Core/Controllers/LocationController.cs b/Core/Controllers/LocationController.cs index 4f17a525..5b40a43c 100644 --- a/Core/Controllers/LocationController.cs +++ b/Core/Controllers/LocationController.cs @@ -1,3 +1,6 @@ +using Core.Models.Eft.Common.Tables; +using Core.Models.Eft.Location; + namespace Core.Controllers; public class LocationController @@ -18,7 +21,7 @@ public class LocationController /// /// /// - public GetAirDropLootResponse GetAirDropLoot(GetAirDropLootRequest request) + public GetAirdropLootResponse GetAirDropLoot(GetAirdropLootRequest request) { throw new NotImplementedException(); } diff --git a/Core/Controllers/MatchController.cs b/Core/Controllers/MatchController.cs index 13c5854d..7b613e1a 100644 --- a/Core/Controllers/MatchController.cs +++ b/Core/Controllers/MatchController.cs @@ -1,3 +1,5 @@ +using Core.Models.Eft.Match; + namespace Core.Controllers; public class MatchController @@ -38,7 +40,7 @@ public class MatchController /// /// /// - public MatchGroupStatusReponse GetGroupStatus( + public MatchGroupStatusResponse GetGroupStatus( MatchGroupStatusRequest info) { throw new NotImplementedException(); diff --git a/Core/Controllers/NoteController.cs b/Core/Controllers/NoteController.cs index cdc2d6bd..4e2a4b1a 100644 --- a/Core/Controllers/NoteController.cs +++ b/Core/Controllers/NoteController.cs @@ -1,5 +1,6 @@ using Core.Models.Eft.Common; using Core.Models.Eft.ItemEvent; +using Core.Models.Eft.Notes; namespace Core.Controllers; @@ -14,7 +15,7 @@ public class NoteController /// public ItemEventRouterResponse AddNote( PmcData pmcData, - NoteActionBody body, + NoteActionData body, string sessionId) { throw new NotImplementedException(); @@ -29,7 +30,7 @@ public class NoteController /// public ItemEventRouterResponse EditNote( PmcData pmcData, - NoteActionBody body, + NoteActionData body, string sessionId) { throw new NotImplementedException(); @@ -44,7 +45,7 @@ public class NoteController /// public ItemEventRouterResponse DeleteNote( PmcData pmcData, - NoteActionBody body, + NoteActionData body, string sessionId) { throw new NotImplementedException(); diff --git a/Core/Models/Eft/Dialog/GetAllAttachmentsResponse.cs b/Core/Models/Eft/Dialog/GetAllAttachmentsResponse.cs new file mode 100644 index 00000000..3a854457 --- /dev/null +++ b/Core/Models/Eft/Dialog/GetAllAttachmentsResponse.cs @@ -0,0 +1,16 @@ +using System.Text.Json.Serialization; +using Core.Models.Eft.Profile; + +namespace Core.Models.Eft.Dialog; + +public class GetAllAttachmentsResponse +{ + [JsonPropertyName("messages")] + public List Messages { get; set; } + + [JsonPropertyName("profiles")] + public List Profiles { get; set; } // Assuming 'any' translates to 'object' + + [JsonPropertyName("hasMessagesWithRewards")] + public bool HasMessagesWithRewards { get; set; } +} \ No newline at end of file diff --git a/Core/Models/Eft/Ws/WsGroupMatchInviteAccept.cs b/Core/Models/Eft/Ws/WsGroupMatchInviteAccept.cs index 6adf16e2..4febe122 100644 --- a/Core/Models/Eft/Ws/WsGroupMatchInviteAccept.cs +++ b/Core/Models/Eft/Ws/WsGroupMatchInviteAccept.cs @@ -2,6 +2,6 @@ using Core.Models.Eft.Match; namespace Core.Models.Eft.Ws; -public class WsGroupMatchInviteAccept : WsNotificationEvent, GroupCharacter // TODOL trying to inherit multiTypes +public class WsGroupMatchInviteAccept : WsNotificationEvent, GroupCharacter // TODO: trying to inherit multiTypes { } \ No newline at end of file