Add basic class structure for match rulesets and required state

This commit is contained in:
Dean Herbert
2021-07-21 18:59:02 +09:00
parent 985415155d
commit e8338f2711
11 changed files with 128 additions and 1 deletions

View File

@ -50,6 +50,19 @@ namespace osu.Game.Online.Multiplayer
/// <param name="state">The new state of the user.</param>
Task UserStateChanged(int userId, MultiplayerUserState state);
/// <summary>
/// Signals that the match ruleset state has changed for a user in this room.
/// </summary>
/// <param name="userId">The ID of the user performing a state change.</param>
/// <param name="state">The new state of the user.</param>
Task MatchRulesetUserStateChanged(int userId, MatchRulesetUserState state);
/// <summary>
/// Signals that the match ruleset state has changed for this room.
/// </summary>
/// <param name="state">The new state of the room.</param>
Task MatchRulesetRoomStateChanged(MatchRulesetRoomState state);
/// <summary>
/// Signals that a user in this room changed their beatmap availability state.
/// </summary>