Browse Source

Removed excess debugging info from Mod List

pull/46/head
Anairkoen Schno 5 years ago
parent
commit
a7c0301189
7 changed files with 3 additions and 32 deletions
  1. +0
    -4
      BSIPA-ModList/Plugin.cs
  2. +2
    -2
      BSIPA-ModList/Properties/AssemblyInfo.cs
  3. +0
    -3
      BSIPA-ModList/UI/ButtonUI.cs
  4. +0
    -11
      BSIPA-ModList/UI/ModListFlowCoordinator.cs
  5. +0
    -8
      BSIPA-ModList/UI/ViewControllers/ModCells.cs
  6. +0
    -3
      BSIPA-ModList/UI/ViewControllers/ModInfoViewController.cs
  7. +1
    -1
      BSIPA-ModList/manifest.json

+ 0
- 4
BSIPA-ModList/Plugin.cs View File

@ -16,7 +16,6 @@ namespace BSIPA_ModList
public void Init(IPALogger logger)
{
Logger.log = logger;
Logger.log.Debug("Init");
IPA.Updating.BeatMods.Updater.ModListPresent = true;
}
@ -45,10 +44,7 @@ namespace BSIPA_ModList
FloatingNotification.Create();
if (ButtonUI.Instance == null)
{
Logger.log.Debug("Creating Menu");
new GameObject("BSIPA Mod List Object").AddComponent<ButtonUI>().Init();
}
}
}


+ 2
- 2
BSIPA-ModList/Properties/AssemblyInfo.cs View File

@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyVersion("1.0.1.0")]
[assembly: AssemblyFileVersion("1.0.1.0")]

+ 0
- 3
BSIPA-ModList/UI/ButtonUI.cs View File

@ -56,8 +56,6 @@ namespace BSIPA_ModList.UI
private static IEnumerator AddModListButton()
{
Logger.log.Debug("AddModListButton");
yield return _bottomPanelExists;
Logger.log.Debug("Adding button to main menu");
@ -73,7 +71,6 @@ namespace BSIPA_ModList.UI
{
button = BeatSaberUI.CreateUIButton(panel, CopyButton, () =>
{
Logger.log.Debug("Presenting own flow controller");
menuFlow.Present();
}, "Mod List");
panel.Find(CopyButton).SetAsLastSibling();


+ 0
- 11
BSIPA-ModList/UI/ModListFlowCoordinator.cs View File

@ -63,32 +63,21 @@ namespace BSIPA_ModList.UI
{
if (immediate)
{
Logger.log.Debug("setting selected immediately");
if (HasSelected)
{
Logger.log.Debug("popping vc");
PopViewController(immediate: true);
}
Logger.log.Debug("pushing vc");
PushViewController(selected, callback, true);
HasSelected = true;
}
else
{
Logger.log.Debug("setting selected");
if (HasSelected)
{
Logger.log.Debug("popping vc");
PopViewController(() =>
{
Logger.log.Debug("pushing vc");
PushViewController(selected, callback, immediate);
HasSelected = true;
}, immediate);
}
else
{
Logger.log.Debug("pushing vc");
PushViewController(selected, callback, immediate);
HasSelected = true;
}


+ 0
- 8
BSIPA-ModList/UI/ViewControllers/ModCells.cs View File

@ -32,8 +32,6 @@ namespace BSIPA_ModList.UI.ViewControllers
subtext = "<color=#BFBFBF><i>Unspecified Author</i>";
icon = plugin.Metadata.GetIcon();
Logger.log.Debug($"BSIPAModCell {plugin.Metadata.Name} {plugin.Metadata.Version}");
}
private ModInfoViewController infoView;
@ -78,8 +76,6 @@ namespace BSIPA_ModList.UI.ViewControllers
else
authorText = plugin.Manifest.Author;
subtext = string.Format(authorFormat, authorText);
Logger.log.Debug($"BSIPAIgnoredModCell {plugin.Name} {plugin.Version}");
}
private ModInfoViewController infoView;
@ -118,8 +114,6 @@ namespace BSIPA_ModList.UI.ViewControllers
subtext = "<color=#BFBFBF><i>Unspecified Author</i>";
icon = Utilities.DefaultLibraryIcon;
Logger.log.Debug($"LibraryModCell {plugin.Metadata.Name} {plugin.Metadata.Version}");
}
private ModInfoViewController infoView;
@ -155,8 +149,6 @@ namespace BSIPA_ModList.UI.ViewControllers
{
Plugin = plugin;
this.list = list;
Logger.log.Debug($"IPAModCell {plugin.Name} {plugin.Version}");
}
private ModInfoViewController infoView;


+ 0
- 3
BSIPA-ModList/UI/ViewControllers/ModInfoViewController.cs View File

@ -34,8 +34,6 @@ namespace BSIPA_ModList.UI
public void Init(Sprite icon, string name, string version, string author, string description, PluginLoader.PluginMetadata updateInfo, PluginManifest.LinksObject links = null)
{
Logger.log.Debug($"init info view controller");
Icon = icon;
Name = name;
Version = version;
@ -141,7 +139,6 @@ namespace BSIPA_ModList.UI
public void Init(ModInfoViewController controller)
{
Logger.log.Debug($"init info view");
this.controller = controller;
var rectTransform = transform as RectTransform;


+ 1
- 1
BSIPA-ModList/manifest.json View File

@ -5,7 +5,7 @@
"gameVersion": "0.13.2",
"id": "BSIPA Mod List",
"name": "BSIPA Mod List",
"version": "1.0.0",
"version": "1.0.1",
"icon": "BSIPA_ModList.Icons.self.png",
"dependsOn": {
"BSIPA": "^3.12.13",


Loading…
Cancel
Save