1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-23 03:02:55 +08:00

Change get-only property for now

This commit is contained in:
Dean Herbert 2020-12-09 12:38:24 +09:00
parent 427d41bab5
commit 48129c52d6

View File

@ -1,13 +1,16 @@
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text. // See the LICENCE file in the repository root for full licence text.
using System;
#nullable enable #nullable enable
namespace osu.Game.Online.RealtimeMultiplayer namespace osu.Game.Online.RealtimeMultiplayer
{ {
[Serializable]
public class MultiplayerClientState public class MultiplayerClientState
{ {
public long CurrentRoomID { get; set; } public readonly long CurrentRoomID;
public MultiplayerClientState(in long roomId) public MultiplayerClientState(in long roomId)
{ {