1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 13:22:55 +08:00

Make nullable

This commit is contained in:
smoogipoo 2021-06-29 16:30:40 +09:00
parent 9132c42f87
commit 7a86686f40

View File

@ -23,7 +23,11 @@ namespace osu.Game.Online.Chat
private readonly Channel target;
public NowPlayingCommand(Channel target)
/// <summary>
/// Creates a new <see cref="NowPlayingCommand"/> to post the currently-playing beatmap to a parenting <see cref="IChannelPostTarget"/>.
/// </summary>
/// <param name="target">The target channel to post to. If <c>null</c>, the currently-selected channel will be posted to.</param>
public NowPlayingCommand(Channel target = null)
{
this.target = target;
}