mirror of
https://github.com/ppy/osu.git
synced 2025-01-18 06:22:56 +08:00
Remove unnecessary override and weird usage of Realm
This commit is contained in:
parent
216c9040c8
commit
324ef951e7
@ -372,8 +372,6 @@ namespace osu.Game.Tests.Skins
|
|||||||
|
|
||||||
private class TestSkinInfo : SkinInfo
|
private class TestSkinInfo : SkinInfo
|
||||||
{
|
{
|
||||||
public override IList<RealmNamedFileUsage> Files { get; } = new List<RealmNamedFileUsage>();
|
|
||||||
|
|
||||||
public TestSkinInfo(string instantiationInfo, IDictionary<GlobalSkinnableContainers, SkinLayoutInfo>? layout)
|
public TestSkinInfo(string instantiationInfo, IDictionary<GlobalSkinnableContainers, SkinLayoutInfo>? layout)
|
||||||
: base("test skin", "me", instantiationInfo)
|
: base("test skin", "me", instantiationInfo)
|
||||||
{
|
{
|
||||||
|
@ -63,7 +63,7 @@ namespace osu.Game.Skinning
|
|||||||
|
|
||||||
public virtual Skin CreateInstance(IStorageResourceProvider resources) => (Skin)Activator.CreateInstance(GetInstanceType(), this, resources)!;
|
public virtual Skin CreateInstance(IStorageResourceProvider resources) => (Skin)Activator.CreateInstance(GetInstanceType(), this, resources)!;
|
||||||
|
|
||||||
public virtual IList<RealmNamedFileUsage> Files { get; } = null!;
|
public IList<RealmNamedFileUsage> Files { get; } = null!;
|
||||||
|
|
||||||
public bool DeletePending { get; set; }
|
public bool DeletePending { get; set; }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user