osu/osu.Game/Online/Chat/InfoMessage.cs

21 lines
484 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.
using System;
using osu.Game.Users;
namespace osu.Game.Online.Chat
{
public class InfoMessage : LocalMessage
{
public InfoMessage(string message)
: base(null)
{
Timestamp = DateTimeOffset.Now;
Content = message;
Sender = User.SYSTEM_USER;
}
}
}