remove from rulesetinfo

This commit is contained in:
Albie Spriddell 2020-01-03 13:08:01 +00:00
parent 5940851519
commit 71a3db7cd6
4 changed files with 1 additions and 7 deletions

View File

@ -59,7 +59,6 @@ namespace osu.Game.Rulesets
ID = (this as ILegacyRuleset)?.LegacyID,
InstantiationInfo = GetType().AssemblyQualifiedName,
Available = true,
PlayingVerb = PlayingVerb,
};
}

View File

@ -2,7 +2,6 @@
// See the LICENCE file in the repository root for full licence text.
using System;
using System.ComponentModel.DataAnnotations.Schema;
using System.Diagnostics.CodeAnalysis;
using Newtonsoft.Json;
@ -18,9 +17,6 @@ namespace osu.Game.Rulesets
public string InstantiationInfo { get; set; }
[NotMapped]
public string PlayingVerb { get; set; }
[JsonIgnore]
public bool Available { get; set; }

View File

@ -92,7 +92,6 @@ namespace osu.Game.Rulesets
r.Name = instanceInfo.Name;
r.ShortName = instanceInfo.ShortName;
r.InstantiationInfo = instanceInfo.InstantiationInfo;
r.PlayingVerb = instanceInfo.PlayingVerb;
r.Available = true;
}

View File

@ -52,7 +52,7 @@ namespace osu.Game.Users
Ruleset = ruleset;
}
public override string Status => Ruleset.PlayingVerb;
public override string Status => Beatmap.Ruleset.CreateInstance().PlayingVerb;
}
public class Spectating : UserActivity