1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-18 18:12:59 +08:00
osu-lazer/osu.Game/Online/Chat/InfoMessage.cs

23 lines
529 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
using System;
using osu.Game.Users;
namespace osu.Game.Online.Chat
{
2018-08-03 19:02:12 +08:00
public class InfoMessage : LocalMessage
2018-04-13 17:19:50 +08:00
{
private static int infoID = -1;
2019-02-28 12:31:40 +08:00
public InfoMessage(string message)
: base(infoID--)
2018-04-13 17:19:50 +08:00
{
Timestamp = DateTimeOffset.Now;
Content = message;
2018-09-13 13:03:21 +08:00
Sender = User.SYSTEM_USER;
2018-04-13 17:19:50 +08:00
}
}
}