Replace tournament player storage type with lightweight model

This commit is contained in:
Salman Ahmed
2022-06-17 21:03:33 +03:00
parent f3793c8809
commit b977ce7995
8 changed files with 54 additions and 63 deletions

View File

@ -7,7 +7,6 @@ using System.Linq;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Graphics;
using osu.Game.Online.API.Requests.Responses;
using osu.Game.Tournament.Models;
using osuTK;
using osuTK.Graphics;
@ -56,7 +55,7 @@ namespace osu.Game.Tournament.Components
},
};
TournamentSpriteText createPlayerText(APIUser p) =>
TournamentSpriteText createPlayerText(TournamentPlayer p) =>
new TournamentSpriteText
{
Text = p.Username,