mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 16:32:54 +08:00
Add setter for ScoreInfo.OnlineID
This commit is contained in:
parent
bf1418bafc
commit
7ac63485ef
@ -248,7 +248,12 @@ namespace osu.Game.Scoring
|
|||||||
|
|
||||||
#region Implementation of IHasOnlineID
|
#region Implementation of IHasOnlineID
|
||||||
|
|
||||||
public long OnlineID => OnlineScoreID ?? -1;
|
[NotMapped]
|
||||||
|
public long OnlineID
|
||||||
|
{
|
||||||
|
get => OnlineScoreID ?? -1;
|
||||||
|
set => OnlineScoreID = value;
|
||||||
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user