mirror of
https://github.com/ppy/osu.git
synced 2024-12-25 23:43:20 +08:00
23 lines
529 B
C#
23 lines
529 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
|
|
{
|
|
private static int infoID = -1;
|
|
|
|
public InfoMessage(string message)
|
|
: base(infoID--)
|
|
{
|
|
Timestamp = DateTimeOffset.Now;
|
|
Content = message;
|
|
|
|
Sender = User.SYSTEM_USER;
|
|
}
|
|
}
|
|
}
|