mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 16:25:32 +08:00
Add password scaffolding
This commit is contained in:
parent
0c52b26d23
commit
0db316d644
@ -35,6 +35,9 @@ namespace osu.Game.Online.Rooms
|
|||||||
[JsonProperty("channel_id")]
|
[JsonProperty("channel_id")]
|
||||||
public readonly Bindable<int> ChannelId = new Bindable<int>();
|
public readonly Bindable<int> ChannelId = new Bindable<int>();
|
||||||
|
|
||||||
|
[JsonProperty("password")]
|
||||||
|
public readonly Bindable<string> Password = new Bindable<string>();
|
||||||
|
|
||||||
[Cached]
|
[Cached]
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
public readonly Bindable<RoomCategory> Category = new Bindable<RoomCategory>();
|
public readonly Bindable<RoomCategory> Category = new Bindable<RoomCategory>();
|
||||||
@ -143,6 +146,7 @@ namespace osu.Game.Online.Rooms
|
|||||||
|
|
||||||
ChannelId.Value = other.ChannelId.Value;
|
ChannelId.Value = other.ChannelId.Value;
|
||||||
Status.Value = other.Status.Value;
|
Status.Value = other.Status.Value;
|
||||||
|
Password.Value = other.Password.Value;
|
||||||
Availability.Value = other.Availability.Value;
|
Availability.Value = other.Availability.Value;
|
||||||
Type.Value = other.Type.Value;
|
Type.Value = other.Type.Value;
|
||||||
MaxParticipants.Value = other.MaxParticipants.Value;
|
MaxParticipants.Value = other.MaxParticipants.Value;
|
||||||
|
Loading…
Reference in New Issue
Block a user