1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 17:43:05 +08:00

remove all canBeNull from attribute

This commit is contained in:
cdwcgt 2023-07-30 01:57:44 +09:00
parent 9482f74456
commit 88a1cf4005
No known key found for this signature in database
GPG Key ID: 144396D01095C3A2
7 changed files with 9 additions and 9 deletions

View File

@ -36,7 +36,7 @@ namespace osu.Game.Tournament.Screens.Editors
private RectangularPositionSnapGrid grid = null!;
[Resolved(canBeNull: true)]
[Resolved]
private IDialogOverlay? dialogOverlay { get; set; }
protected override bool DrawLoserPaths => true;

View File

@ -27,7 +27,7 @@ namespace osu.Game.Tournament.Screens.Gameplay
private OsuButton warmupButton = null!;
private MatchIPCInfo ipc = null!;
[Resolved(canBeNull: true)]
[Resolved]
private TournamentSceneManager? sceneManager { get; set; }
[Resolved]

View File

@ -38,7 +38,7 @@ namespace osu.Game.Tournament.Screens.Ladder.Components
private readonly Func<bool>? isWinner;
private LadderEditorScreen ladderEditor = null!;
[Resolved(canBeNull: true)]
[Resolved]
private LadderInfo? ladderInfo { get; set; }
private void setCurrent()
@ -53,7 +53,7 @@ namespace osu.Game.Tournament.Screens.Ladder.Components
ladderInfo.CurrentMatch.Value.Current.Value = true;
}
[Resolved(CanBeNull = true)]
[Resolved]
private LadderEditorInfo? editorInfo { get; set; }
public DrawableMatchTeam(TournamentTeam? team, TournamentMatch match, bool losers)

View File

@ -28,10 +28,10 @@ namespace osu.Game.Tournament.Screens.Ladder.Components
private readonly Drawable currentMatchSelectionBox;
private Bindable<TournamentMatch>? globalSelection;
[Resolved(CanBeNull = true)]
[Resolved]
private LadderEditorInfo? editorInfo { get; set; }
[Resolved(CanBeNull = true)]
[Resolved]
private LadderInfo? ladderInfo { get; set; }
public DrawableTournamentMatch(TournamentMatch match, bool editor = false)

View File

@ -24,7 +24,7 @@ namespace osu.Game.Tournament.Screens.MapPool
{
private FillFlowContainer<FillFlowContainer<TournamentBeatmapPanel>> mapFlows = null!;
[Resolved(canBeNull: true)]
[Resolved]
private TournamentSceneManager? sceneManager { get; set; }
private TeamColour pickColour;

View File

@ -39,7 +39,7 @@ namespace osu.Game.Tournament.Screens.Setup
[Resolved]
private RulesetStore rulesets { get; set; } = null!;
[Resolved(canBeNull: true)]
[Resolved]
private TournamentSceneManager? sceneManager { get; set; }
private Bindable<Size> windowSize = null!;

View File

@ -21,7 +21,7 @@ namespace osu.Game.Tournament.Screens.Setup
{
public partial class StablePathSelectScreen : TournamentScreen
{
[Resolved(canBeNull: true)]
[Resolved]
private TournamentSceneManager? sceneManager { get; set; }
[Resolved]