osu/osu.Game/Online/Rooms/RoomStatus.cs

18 lines
554 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 09:19:50 +00:00
using osu.Game.Graphics;
2020-12-25 04:38:11 +00:00
using osuTK.Graphics;
2018-04-13 09:19:50 +00:00
2020-12-25 04:38:11 +00:00
namespace osu.Game.Online.Rooms
2018-04-13 09:19:50 +00: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 09:19:50 +00:00
}
}