mirror of
https://github.com/ppy/osu.git
synced 2024-11-12 13:17:26 +08:00
17 lines
463 B
C#
17 lines
463 B
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
using osu.Game.Beatmaps;
|
|
|
|
namespace osu.Game.Skinning
|
|
{
|
|
public static class BeatmapSkinExtensions
|
|
{
|
|
public static SkinInfo CreateSkinInfo(BeatmapInfo beatmap) => new SkinInfo
|
|
{
|
|
Name = beatmap.ToString(),
|
|
Creator = beatmap.Metadata?.AuthorString,
|
|
};
|
|
}
|
|
}
|