1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-02 03:59:54 +08:00
Files
osu-lazer/osu.Game/Rulesets/Mods/ModTouchDevice.cs
T
Bartłomiej Dach 926f1c99c7 Obsolete Mod.ScoreMultiplier and remove all other references to it (#37846)
- Part of https://github.com/ppy/osu/issues/37818
- [x] Depends on https://github.com/ppy/osu/pull/37845

Purely mechanical, split away for ease of review / due to size.

---------

Co-authored-by: Dean Herbert <pe@ppy.sh>
2026-05-27 16:09:16 +09:00

24 lines
1.0 KiB
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.
using System;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Localisation;
using osu.Game.Graphics;
namespace osu.Game.Rulesets.Mods
{
public class ModTouchDevice : Mod, IApplicableMod
{
public sealed override string Name => "Touch Device";
public sealed override string Acronym => "TD";
public sealed override IconUsage? Icon => OsuIcon.ModTouchDevice;
public sealed override LocalisableString Description => "Automatically applied to plays on devices with a touchscreen.";
public sealed override ModType Type => ModType.System;
public sealed override bool ValidForMultiplayer => false;
public sealed override bool ValidForMultiplayerAsFreeMod => false;
public sealed override bool AlwaysValidForSubmission => true;
public override Type[] IncompatibleMods => new[] { typeof(ICreateReplayData) };
}
}