diff --git a/ProjectLighthouse.Servers.API/Responses/ApiSlot.cs b/ProjectLighthouse.Servers.API/Responses/ApiSlot.cs index a11b7766..38582101 100644 --- a/ProjectLighthouse.Servers.API/Responses/ApiSlot.cs +++ b/ProjectLighthouse.Servers.API/Responses/ApiSlot.cs @@ -1,5 +1,6 @@ using LBPUnion.ProjectLighthouse.Database; using LBPUnion.ProjectLighthouse.Types.Entities.Level; +using LBPUnion.ProjectLighthouse.Types.Levels; using LBPUnion.ProjectLighthouse.Types.Misc; using LBPUnion.ProjectLighthouse.Types.Users; using Newtonsoft.Json; @@ -11,6 +12,7 @@ public struct ApiSlot { public int SlotId { get; set; } public int InternalSlotId { get; set; } + public SlotType Type { get; set; } public string Name { get; set; } public string Description { get; set; } public string IconHash { get; set; } @@ -42,6 +44,7 @@ public struct ApiSlot { SlotId = slot.SlotId, InternalSlotId = slot.InternalSlotId, + Type = slot.Type, Name = slot.Name, Description = slot.Description, IconHash = slot.IconHash, diff --git a/ProjectLighthouse.Servers.API/Responses/MinimalApiSlot.cs b/ProjectLighthouse.Servers.API/Responses/MinimalApiSlot.cs index ddbf58fd..a7bfe963 100644 --- a/ProjectLighthouse.Servers.API/Responses/MinimalApiSlot.cs +++ b/ProjectLighthouse.Servers.API/Responses/MinimalApiSlot.cs @@ -1,4 +1,5 @@ using LBPUnion.ProjectLighthouse.Types.Entities.Level; +using LBPUnion.ProjectLighthouse.Types.Levels; using LBPUnion.ProjectLighthouse.Types.Misc; using LBPUnion.ProjectLighthouse.Types.Users; using Newtonsoft.Json; @@ -9,6 +10,7 @@ namespace LBPUnion.ProjectLighthouse.Servers.API.Responses; public struct MinimalApiSlot { public int SlotId { get; set; } + public SlotType Type { get; set; } public string Name { get; set; } public string IconHash { get; set; } public bool TeamPick { get; set; } @@ -26,6 +28,7 @@ public struct MinimalApiSlot new() { SlotId = slot.SlotId, + Type = slot.Type, Name = slot.Name, IconHash = slot.IconHash, TeamPick = slot.TeamPick,