mirror of
https://github.com/ppy/osu.git
synced 2025-03-06 04:33:21 +08:00
Add QueueingMode to MultiplayerRoomSettings
This commit is contained in:
parent
2784ba1423
commit
6f89e30f56
@ -43,6 +43,9 @@ namespace osu.Game.Online.Multiplayer
|
||||
[Key(8)]
|
||||
public MatchType MatchType { get; set; } = MatchType.HeadToHead;
|
||||
|
||||
[Key(9)]
|
||||
public QueueingModes QueueingMode { get; set; } = QueueingModes.Host;
|
||||
|
||||
public bool Equals(MultiplayerRoomSettings other)
|
||||
=> BeatmapID == other.BeatmapID
|
||||
&& BeatmapChecksum == other.BeatmapChecksum
|
||||
@ -52,7 +55,8 @@ namespace osu.Game.Online.Multiplayer
|
||||
&& Password.Equals(other.Password, StringComparison.Ordinal)
|
||||
&& Name.Equals(other.Name, StringComparison.Ordinal)
|
||||
&& PlaylistItemId == other.PlaylistItemId
|
||||
&& MatchType == other.MatchType;
|
||||
&& MatchType == other.MatchType
|
||||
&& QueueingMode == other.QueueingMode;
|
||||
|
||||
public override string ToString() => $"Name:{Name}"
|
||||
+ $" Beatmap:{BeatmapID} ({BeatmapChecksum})"
|
||||
@ -61,6 +65,7 @@ namespace osu.Game.Online.Multiplayer
|
||||
+ $" Password:{(string.IsNullOrEmpty(Password) ? "no" : "yes")}"
|
||||
+ $" Ruleset:{RulesetID}"
|
||||
+ $" Type:{MatchType}"
|
||||
+ $" Item:{PlaylistItemId}";
|
||||
+ $" Item:{PlaylistItemId}"
|
||||
+ $" Queue:{QueueingMode}";
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user