1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-15 10:22:56 +08:00

Switch Guid implementation temporarily to avoid compile time error

This commit is contained in:
Dean Herbert 2021-03-26 20:07:53 +09:00
parent f8cea5cae3
commit 4d976094d1

View File

@ -12,7 +12,14 @@ namespace osu.Game.Input.Bindings
public class RealmKeyBinding : RealmObject, IHasGuidPrimaryKey, IKeyBinding
{
[PrimaryKey]
public Guid ID { get; set; }
public string StringGuid { get; set; }
[Ignored]
public Guid ID
{
get => Guid.Parse(StringGuid);
set => StringGuid = value.ToString();
}
public int? RulesetID { get; set; }