diff --git a/Refresh.GameServer/Endpoints/Game/DataTypes/Response/GameUserResponse.cs b/Refresh.GameServer/Endpoints/Game/DataTypes/Response/GameUserResponse.cs index cd044011..b1e0ecc6 100644 --- a/Refresh.GameServer/Endpoints/Game/DataTypes/Response/GameUserResponse.cs +++ b/Refresh.GameServer/Endpoints/Game/DataTypes/Response/GameUserResponse.cs @@ -46,6 +46,7 @@ public class GameUserResponse : IDataConvertableFrom [XmlElement("lbp2PurchasedSlots")] public int PurchasedSlotsLBP2 { get; set; } [XmlElement("lbp3PurchasedSlots")] public int PurchasedSlotsLBP3 { get; set; } [XmlElement("rootPlaylist")] public string? RootPlaylist { get; set; } + [XmlElement("pins")] public List ProfilePins { get; set; } = []; /// /// The levels the user has favourited, only used by LBP PSP @@ -80,6 +81,7 @@ public class GameUserResponse : IDataConvertableFrom PhotosByMeCount = old.IsManaged ? dataContext.Database.GetTotalPhotosByUser(old) : 0, PhotosWithMeCount = old.IsManaged ? dataContext.Database.GetTotalPhotosWithUser(old) : 0, RootPlaylist = old.RootPlaylist?.PlaylistId.ToString(), + ProfilePins = old.IsManaged ? dataContext.Database.GetProfilePinsByUser(old, dataContext.Game, 0, 3).Items.Select(p => p.PinId).ToList() : [], EntitledSlots = UgcLimits.MaximumLevels, EntitledSlotsLBP2 = UgcLimits.MaximumLevels,