mirror of https://github.com/ppy/osu
Add xmldoc mention of valid `OnlineID` values
This commit is contained in:
parent
c8cdc38efd
commit
da750a74fc
|
@ -8,8 +8,12 @@ namespace osu.Game.Database
|
||||||
public interface IHasOnlineID
|
public interface IHasOnlineID
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The server-side ID representing this instance, if one exists. -1 denotes a missing ID.
|
/// The server-side ID representing this instance, if one exists. Any value 0 or less denotes a missing ID.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// Generally we use -1 when specifying "missing" in code, but values of 0 are also considered missing as the online source
|
||||||
|
/// is generally a MySQL autoincrement value, which can never be 0.
|
||||||
|
/// </remarks>
|
||||||
int OnlineID { get; }
|
int OnlineID { get; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue