mirror of
https://github.com/ppy/osu.git
synced 2024-11-15 03:47:26 +08:00
26 lines
632 B
C#
26 lines
632 B
C#
|
// Copyright (c) 2007-2017 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 : Message
|
|||
|
{
|
|||
|
private static int infoID = -1;
|
|||
|
|
|||
|
public InfoMessage(string message) : base(infoID--)
|
|||
|
{
|
|||
|
Timestamp = DateTimeOffset.Now;
|
|||
|
Content = message;
|
|||
|
|
|||
|
Sender = new User
|
|||
|
{
|
|||
|
Username = @"system",
|
|||
|
Colour = @"0000ff",
|
|||
|
};
|
|||
|
}
|
|||
|
}
|
|||
|
}
|