Skip to content

Commit

Permalink
Remove affinity instance binding, namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
ckosmic committed Jan 4, 2022
1 parent 85742cc commit 7a91bc9
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion SliceDetails/Data/NoteInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using System.Threading.Tasks;
using UnityEngine;

namespace SliceDetails
namespace SliceDetails.Data
{
internal class NoteInfo
{
Expand Down
2 changes: 1 addition & 1 deletion SliceDetails/Data/Score.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using System.Text;
using System.Threading.Tasks;

namespace SliceDetails
namespace SliceDetails.Data
{
internal class Score
{
Expand Down
2 changes: 1 addition & 1 deletion SliceDetails/Data/Tile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using System.Threading.Tasks;
using UnityEngine;

namespace SliceDetails
namespace SliceDetails.Data
{
internal class Tile
{
Expand Down
4 changes: 2 additions & 2 deletions SliceDetails/Installers/SDGameInstaller.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ public override void InstallBindings() {
Container.Bind<UICreator>().AsSingle();
Container.BindInterfacesAndSelfTo<PauseUIController>().AsSingle();

Container.BindInterfacesAndSelfTo<PauseMenuManagerPatches>().AsSingle();
Container.BindInterfacesAndSelfTo<MenuTransitionsHelperPatch>().AsSingle();
Container.BindInterfacesTo<PauseMenuManagerPatches>().AsSingle();
Container.BindInterfacesTo<MenuTransitionsHelperPatch>().AsSingle();
}
}
}
4 changes: 2 additions & 2 deletions SliceDetails/Installers/SDMenuInstaller.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ public override void InstallBindings() {
Container.Bind<GridViewController>().FromNewComponentAsViewController().AsSingle();
Container.Bind<UICreator>().AsSingle();

Container.BindInterfacesAndSelfTo<ResultsViewControllerPatch>().AsSingle();
Container.BindInterfacesAndSelfTo<SoloFreePlayFlowCoordinatorPatch>().AsSingle();
Container.BindInterfacesTo<ResultsViewControllerPatch>().AsSingle();
Container.BindInterfacesTo<SoloFreePlayFlowCoordinatorPatch>().AsSingle();
}
}
}
1 change: 1 addition & 0 deletions SliceDetails/SliceProcessor.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using SliceDetails.UI;
using SliceDetails.Data;
using System;
using System.Collections.Generic;

Expand Down
1 change: 1 addition & 0 deletions SliceDetails/SliceRecorder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
using System.Collections.Generic;
using UnityEngine;
using Zenject;
using SliceDetails.Data;

namespace SliceDetails
{
Expand Down
3 changes: 1 addition & 2 deletions SliceDetails/UI/GridViewController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
using UnityEngine;
using UnityEngine.EventSystems;
using Zenject;
using SliceDetails.Data;

namespace SliceDetails.UI
{
Expand Down Expand Up @@ -133,8 +134,6 @@ public void PostParse() {
_notes.Add(uiNote);
}

SetTileScores();

_selectedTileIndicator = new GameObject("SelectedTileIndicator").AddComponent<SelectedTileIndicator>();
_selectedTileIndicator.Initialize(_assetLoader);
_selectedTileIndicator.transform.SetParent(_noteModal.transform, false);
Expand Down
1 change: 1 addition & 0 deletions SliceDetails/UI/NoteUI.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using HMUI;
using IPA.Utilities;
using SliceDetails.Utils;
using SliceDetails.Data;
using System;
using UnityEngine;

Expand Down
2 changes: 1 addition & 1 deletion SliceDetails/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"id": "SliceDetails",
"name": "SliceDetails",
"author": "ckosmic",
"version": "1.1.0",
"version": "1.1.1",
"description": "View your average cuts per-angle per-grid position in the pause menu and completion screen.",
"gameVersion": "1.19.0",
"dependsOn": {
Expand Down

0 comments on commit 7a91bc9

Please sign in to comment.