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

21 lines
511 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 System;
using osu.Game.Online.API.Requests.Responses;
2018-04-13 09:19:50 +00:00
namespace osu.Game.Online.Chat
{
2018-08-03 11:02:12 +00:00
public class InfoMessage : LocalMessage
2018-04-13 09:19:50 +00:00
{
2019-02-28 04:31:40 +00:00
public InfoMessage(string message)
: base(null)
2018-04-13 09:19:50 +00:00
{
Timestamp = DateTimeOffset.Now;
Content = message;
Sender = APIUser.SYSTEM_USER;
2018-04-13 09:19:50 +00:00
}
}
}