mirror of
https://github.com/ppy/osu.git
synced 2025-02-13 15:43:21 +08:00
Add a note about OnlineID
potentially being zero in non-autoincrement cases
This commit is contained in:
parent
7ab68525b4
commit
aff216840f
@ -8,7 +8,7 @@ namespace osu.Game.Database
|
||||
public interface IHasOnlineID
|
||||
{
|
||||
/// <summary>
|
||||
/// The server-side ID representing this instance, if one exists. Any value 0 or less denotes a missing ID.
|
||||
/// The server-side ID representing this instance, if one exists. Any value 0 or less denotes a missing ID (except in special cases where autoincrement is not used, like rulesets).
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Generally we use -1 when specifying "missing" in code, but values of 0 are also considered missing as the online source
|
||||
|
Loading…
Reference in New Issue
Block a user