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:
parent
9482f74456
commit
88a1cf4005
@ -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;
|
||||
|
@ -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]
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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;
|
||||
|
@ -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!;
|
||||
|
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user