mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Move all IPC handling to its own class
This commit is contained in:
@ -17,6 +17,7 @@ using osu.Game.Graphics.UserInterface;
|
||||
using osu.Game.Online.API.Requests;
|
||||
using osu.Game.Rulesets;
|
||||
using osu.Game.Tournament.Components;
|
||||
using osu.Game.Tournament.IPC;
|
||||
|
||||
namespace osu.Game.Tournament
|
||||
{
|
||||
@ -33,6 +34,7 @@ namespace osu.Game.Tournament
|
||||
private readonly Bindable<RulesetInfo> ruleset = new Bindable<RulesetInfo>();
|
||||
|
||||
private Bindable<Size> windowSize;
|
||||
private FileBasedIPC ipc;
|
||||
|
||||
protected override IReadOnlyDependencyContainer CreateChildDependencies(IReadOnlyDependencyContainer parent)
|
||||
{
|
||||
@ -63,6 +65,9 @@ namespace osu.Game.Tournament
|
||||
|
||||
dependencies.Cache(Ladder);
|
||||
|
||||
dependencies.Cache(ipc = new FileBasedIPC());
|
||||
Add(ipc);
|
||||
|
||||
bool addedInfo = false;
|
||||
|
||||
// assign teams
|
||||
|
Reference in New Issue
Block a user