mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 13:22:55 +08:00
Make nullable
This commit is contained in:
parent
9132c42f87
commit
7a86686f40
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user