mirror of
https://github.com/ppy/osu.git
synced 2025-02-13 22:35:23 +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
|
public interface IHasOnlineID
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <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>
|
/// </summary>
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// Generally we use -1 when specifying "missing" in code, but values of 0 are also considered missing as the online source
|
/// 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