mirror of
https://github.com/ppy/osu.git
synced 2024-11-07 18:07:28 +08:00
22 lines
518 B
C#
22 lines
518 B
C#
// 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
|
|
{
|
|
public class InfoMessage : LocalMessage
|
|
{
|
|
private static int infoID = -1;
|
|
|
|
public InfoMessage(string message) : base(infoID--)
|
|
{
|
|
Timestamp = DateTimeOffset.Now;
|
|
Content = message;
|
|
|
|
Sender = User.SYSTEM_USER;
|
|
}
|
|
}
|
|
}
|