mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 14:02:55 +08:00
Remove unnecessary ShouldSerialize
rules in Room
This commit is contained in:
parent
71a012bea6
commit
28c9c5ab6a
@ -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)]
|
||||
|
Loading…
Reference in New Issue
Block a user