2021-04-08 21:07:00 +08:00
|
|
|
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
|
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
|
|
|
|
|
|
using System;
|
2021-08-13 11:27:57 +08:00
|
|
|
|
using osu.Framework.Allocation;
|
2021-04-08 21:07:00 +08:00
|
|
|
|
using osu.Game.Scoring;
|
|
|
|
|
using osu.Game.Screens.Menu;
|
|
|
|
|
using osu.Game.Screens.Play;
|
|
|
|
|
|
|
|
|
|
namespace osu.Game.Screens.OnlinePlay.Multiplayer.Spectate
|
|
|
|
|
{
|
2021-04-22 22:52:22 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Used to load a single <see cref="MultiSpectatorPlayer"/> in a <see cref="MultiSpectatorScreen"/>.
|
|
|
|
|
/// </summary>
|
2021-04-22 22:39:02 +08:00
|
|
|
|
public partial class MultiSpectatorPlayerLoader : SpectatorPlayerLoader
|
2021-04-08 21:07:00 +08:00
|
|
|
|
{
|
2023-06-23 23:59:36 +08:00
|
|
|
|
public MultiSpectatorPlayerLoader(Score score, Func<MultiSpectatorPlayer> createPlayer)
|
2021-04-08 21:07:00 +08:00
|
|
|
|
: base(score, createPlayer)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2021-08-13 11:27:57 +08:00
|
|
|
|
[BackgroundDependencyLoader]
|
|
|
|
|
private void load()
|
|
|
|
|
{
|
2021-08-15 00:58:20 +08:00
|
|
|
|
PlayerSettings.Expire();
|
2021-08-13 11:27:57 +08:00
|
|
|
|
}
|
|
|
|
|
|
2021-04-08 21:07:00 +08:00
|
|
|
|
protected override void LogoArriving(OsuLogo logo, bool resuming)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected override void LogoExiting(OsuLogo logo)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|