Include internal slot ID in ApiSlot response

This commit is contained in:
Slendy 2023-04-04 20:53:45 -05:00
commit 767f6271f2
No known key found for this signature in database
GPG key ID: 7288D68361B91428

View file

@ -10,6 +10,7 @@ namespace LBPUnion.ProjectLighthouse.Servers.API.Responses;
public struct ApiSlot public struct ApiSlot
{ {
public int SlotId { get; set; } public int SlotId { get; set; }
public int InternalSlotId { get; set; }
public string Name { get; set; } public string Name { get; set; }
public string Description { get; set; } public string Description { get; set; }
public string IconHash { get; set; } public string IconHash { get; set; }
@ -40,6 +41,7 @@ public struct ApiSlot
new() new()
{ {
SlotId = slot.SlotId, SlotId = slot.SlotId,
InternalSlotId = slot.InternalSlotId,
Name = slot.Name, Name = slot.Name,
Description = slot.Description, Description = slot.Description,
IconHash = slot.IconHash, IconHash = slot.IconHash,