mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 22:56:36 +09:00
Allow for long
online IDs and implement in ScoreInfo
This commit is contained in:
@ -19,7 +19,7 @@ using osu.Game.Utils;
|
||||
|
||||
namespace osu.Game.Scoring
|
||||
{
|
||||
public class ScoreInfo : IHasFiles<ScoreFileInfo>, IHasPrimaryKey, ISoftDelete, IEquatable<ScoreInfo>, IDeepCloneable<ScoreInfo>
|
||||
public class ScoreInfo : IHasFiles<ScoreFileInfo>, IHasPrimaryKey, ISoftDelete, IEquatable<ScoreInfo>, IDeepCloneable<ScoreInfo>, IHasOnlineID<long>
|
||||
{
|
||||
public int ID { get; set; }
|
||||
|
||||
@ -271,5 +271,7 @@ namespace osu.Game.Scoring
|
||||
|
||||
return ReferenceEquals(this, other);
|
||||
}
|
||||
|
||||
public long OnlineID => OnlineScoreID ?? -1;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user