fix: can build

This commit is contained in:
sim1222 2023-01-31 23:40:46 +09:00
parent b5af017969
commit d6c3f66161
No known key found for this signature in database
GPG Key ID: 83C11C5D51F42825
4 changed files with 13 additions and 12 deletions

View File

@ -362,9 +362,7 @@ namespace osu.Game
base.Content.Add(metadataClient); base.Content.Add(metadataClient);
base.Content.Add(soloStatisticsWatcher); base.Content.Add(soloStatisticsWatcher);
AddInternal(spectatorClient); base.Content.Add(rulesetConfigCache);
AddInternal(MultiplayerClient);
AddInternal(metadataClient);
PreviewTrackManager previewTrackManager; PreviewTrackManager previewTrackManager;
dependencies.Cache(previewTrackManager = new PreviewTrackManager(BeatmapManager.BeatmapTrackStore)); dependencies.Cache(previewTrackManager = new PreviewTrackManager(BeatmapManager.BeatmapTrackStore));

View File

@ -20,6 +20,7 @@ using osu.Game.Online.MisskeyAPI.Requests;
using osu.Game.Online.MisskeyAPI.Requests.Responses; using osu.Game.Online.MisskeyAPI.Requests.Responses;
using osu.Game.Overlays; using osu.Game.Overlays;
using osu.Game.Overlays.Notifications; using osu.Game.Overlays.Notifications;
using osu.Game.Overlays.Settings;
using osuTK; using osuTK;
using Meta = osu.Game.Online.MisskeyAPI.Requests.Meta; using Meta = osu.Game.Online.MisskeyAPI.Requests.Meta;
@ -91,7 +92,7 @@ namespace osu.Game.Screens.Misskey
Anchor = Anchor.TopCentre, Anchor = Anchor.TopCentre,
Text = "misskey.io" Text = "misskey.io"
}, },
new OsuButton() new SettingsButton()
{ {
Text = "Submit", Text = "Submit",
Anchor = Anchor.Centre, Anchor = Anchor.Centre,

View File

@ -14,6 +14,7 @@ using osu.Game.Graphics;
using osu.Game.Graphics.UserInterface; using osu.Game.Graphics.UserInterface;
using osu.Game.Graphics.Containers; using osu.Game.Graphics.Containers;
using osu.Game.Overlays.Dashboard.Friends; using osu.Game.Overlays.Dashboard.Friends;
using osu.Game.Overlays.Settings;
using osuTK; using osuTK;
using osuTK.Graphics; using osuTK.Graphics;
@ -66,7 +67,7 @@ namespace osu.Game.Screens.Misskey
Size = new Vector2(1000f), Size = new Vector2(1000f),
Children = new Drawable[] Children = new Drawable[]
{ {
new OsuButton() new SettingsButton()
{ {
Anchor = Anchor.Centre, Anchor = Anchor.Centre,
Origin = Anchor.Centre, Origin = Anchor.Centre,
@ -74,7 +75,7 @@ namespace osu.Game.Screens.Misskey
Text = "MisskeyInstanceSelect", Text = "MisskeyInstanceSelect",
Action = () => this.Push(new MisskeyInstanceSelect()) Action = () => this.Push(new MisskeyInstanceSelect())
}, },
new OsuButton() new SettingsButton()
{ {
Anchor = Anchor.Centre, Anchor = Anchor.Centre,
Origin = Anchor.Centre, Origin = Anchor.Centre,
@ -82,7 +83,7 @@ namespace osu.Game.Screens.Misskey
Text = "Welcome", Text = "Welcome",
Action = () => this.Push(new Welcome()) Action = () => this.Push(new Welcome())
}, },
new OsuButton() new SettingsButton()
{ {
Anchor = Anchor.Centre, Anchor = Anchor.Centre,
Origin = Anchor.Centre, Origin = Anchor.Centre,
@ -90,7 +91,7 @@ namespace osu.Game.Screens.Misskey
Text = "Components", Text = "Components",
Action = () => this.Push(new MisskeyComponents()) Action = () => this.Push(new MisskeyComponents())
}, },
new OsuButton() new SettingsButton()
{ {
Anchor = Anchor.Centre, Anchor = Anchor.Centre,
Origin = Anchor.Centre, Origin = Anchor.Centre,
@ -98,7 +99,7 @@ namespace osu.Game.Screens.Misskey
Text = "MisskeyLogin", Text = "MisskeyLogin",
Action = () => this.Push(new MisskeyLogin()) Action = () => this.Push(new MisskeyLogin())
}, },
new OsuButton() new SettingsButton()
{ {
Anchor = Anchor.Centre, Anchor = Anchor.Centre,
Origin = Anchor.Centre, Origin = Anchor.Centre,
@ -106,7 +107,7 @@ namespace osu.Game.Screens.Misskey
Text = "Timeline", Text = "Timeline",
Action = () => this.Push(new Timeline()) Action = () => this.Push(new Timeline())
}, },
new OsuButton() new SettingsButton()
{ {
Anchor = Anchor.Centre, Anchor = Anchor.Centre,
Origin = Anchor.Centre, Origin = Anchor.Centre,

View File

@ -18,6 +18,7 @@ using osu.Game.Graphics.Containers;
using osu.Game.Graphics.Sprites; using osu.Game.Graphics.Sprites;
using osu.Game.Graphics.UserInterface; using osu.Game.Graphics.UserInterface;
using osu.Game.Overlays; using osu.Game.Overlays;
using osu.Game.Overlays.Settings;
using osu.Game.Screens.Misskey.Components; using osu.Game.Screens.Misskey.Components;
using osu.Game.Screens.Select; using osu.Game.Screens.Select;
using osuTK; using osuTK;
@ -165,7 +166,7 @@ namespace osu.Game.Screens.Misskey
{ {
new Drawable[] new Drawable[]
{ {
new OsuButton() new SettingsButton()
{ {
Name = "SignUpButton", Name = "SignUpButton",
Anchor = Anchor.TopCentre, Anchor = Anchor.TopCentre,
@ -173,7 +174,7 @@ namespace osu.Game.Screens.Misskey
Width = 100f, Width = 100f,
Text = "新規登録" Text = "新規登録"
}, },
new OsuButton() new SettingsButton()
{ {
Name = "SignInButton", Name = "SignInButton",
Anchor = Anchor.TopCentre, Anchor = Anchor.TopCentre,