1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 19:04:06 +08:00

Mark fields readonly

This commit is contained in:
Dean Herbert 2021-06-03 14:56:21 +09:00
parent 4a5d8215f3
commit a6cc37eb3b

View File

@ -587,8 +587,8 @@ namespace osu.Game.Online.Chat
/// </summary>
public class ClosedChannel
{
public ChannelType Type;
public long Id;
public readonly ChannelType Type;
public readonly long Id;
public ClosedChannel(ChannelType type, long id)
{