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

22 lines
518 B
C#
Raw Normal View History

2018-04-13 09:19:50 +00:00
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using osu.Game.Users;
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
{
private static int infoID = -1;
public InfoMessage(string message) : base(infoID--)
{
Timestamp = DateTimeOffset.Now;
Content = message;
2018-09-13 05:03:21 +00:00
Sender = User.SYSTEM_USER;
2018-04-13 09:19:50 +00:00
}
}
}