1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 23:52:57 +08:00

Remove unnecessary ShouldSerialize rules in Room

This commit is contained in:
Dean Herbert 2022-02-23 17:05:46 +09:00
parent 71a012bea6
commit 28c9c5ab6a

View File

@ -230,15 +230,9 @@ namespace osu.Game.Online.Rooms
// They rely on being named exactly the same as the corresponding fields (casing included) and as such should NOT be renamed
// unless the fields are also renamed.
[UsedImplicitly]
public bool ShouldSerializeRoomID() => false;
[UsedImplicitly]
public bool ShouldSerializeHost() => false;
[UsedImplicitly]
public bool ShouldSerializeEndDate() => false;
#endregion
[JsonObject(MemberSerialization.OptIn)]