Change OnlineID to non-nullable to allow for indexing in Realm

This commit is contained in:
Dean Herbert
2021-10-18 15:35:51 +09:00
parent f2f9872718
commit 2c5ba1d8e2
8 changed files with 47 additions and 12 deletions

View File

@ -8,8 +8,8 @@ namespace osu.Game.Database
public interface IHasOnlineID
{
/// <summary>
/// The server-side ID representing this instance, if one exists.
/// The server-side ID representing this instance, if one exists. -1 denotes a missing ID.
/// </summary>
int? OnlineID { get; }
int OnlineID { get; }
}
}