2019-01-24 16:43:03 +08:00
|
|
|
|
// 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
|
|
|
|
|
2022-06-17 15:37:17 +08:00
|
|
|
|
#nullable disable
|
|
|
|
|
|
2018-04-13 17:19:50 +08:00
|
|
|
|
using System;
|
2021-11-04 17:02:44 +08:00
|
|
|
|
using osu.Game.Online.API.Requests.Responses;
|
2018-04-13 17:19:50 +08:00
|
|
|
|
|
|
|
|
|
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
|
|
|
|
{
|
2019-02-28 12:31:40 +08:00
|
|
|
|
public InfoMessage(string message)
|
2021-04-22 13:51:57 +08:00
|
|
|
|
: base(null)
|
2018-04-13 17:19:50 +08:00
|
|
|
|
{
|
|
|
|
|
Timestamp = DateTimeOffset.Now;
|
|
|
|
|
Content = message;
|
|
|
|
|
|
2021-11-04 17:02:44 +08:00
|
|
|
|
Sender = APIUser.SYSTEM_USER;
|
2018-04-13 17:19:50 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|