1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-18 07:22:57 +08:00
osu-lazer/osu.Game/Online/Rooms/RoomStatus.cs

20 lines
573 B
C#
Raw Normal View History

// 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.
2018-04-13 17:19:50 +08:00
2022-06-17 15:37:17 +08:00
#nullable disable
2018-04-13 17:19:50 +08:00
using osu.Game.Graphics;
2020-12-25 12:38:11 +08:00
using osuTK.Graphics;
2018-04-13 17:19:50 +08:00
2020-12-25 12:38:11 +08:00
namespace osu.Game.Online.Rooms
2018-04-13 17:19:50 +08:00
{
public abstract class RoomStatus
{
public abstract string Message { get; }
public abstract Color4 GetAppropriateColour(OsuColour colours);
public override int GetHashCode() => GetType().GetHashCode();
public override bool Equals(object obj) => GetType() == obj?.GetType();
2018-04-13 17:19:50 +08:00
}
}