mirror of
https://github.com/ppy/osu.git
synced 2025-01-26 23:43:03 +08:00
29 lines
909 B
C#
29 lines
909 B
C#
// 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.
|
|
|
|
namespace osu.Game.Rulesets.Mods
|
|
{
|
|
/// <summary>
|
|
/// The usage of this mod to determine whether it's playable in such context.
|
|
/// </summary>
|
|
public enum ModUsage
|
|
{
|
|
/// <summary>
|
|
/// Used for a per-user gameplay session.
|
|
/// Determines whether the mod is playable by an end user.
|
|
/// </summary>
|
|
User,
|
|
|
|
/// <summary>
|
|
/// Used in multiplayer but must be applied to all users.
|
|
/// This is generally the case for mods which affect the length of gameplay.
|
|
/// </summary>
|
|
MultiplayerRoomWide,
|
|
|
|
/// <summary>
|
|
/// Used in multiplayer either at a room or per-player level (i.e. "free mod").
|
|
/// </summary>
|
|
MultiplayerPerPlayer,
|
|
}
|
|
}
|