Skip to content

Commit

Permalink
v3.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
xoxfaby committed May 18, 2024
1 parent e034b84 commit b67f08d
Show file tree
Hide file tree
Showing 11 changed files with 1,412 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

v3.0.3 fix broken mods

v3.0.2 update readme i think

v3.0.1 updated icon sorry

v3: core functionality only, stripped other useless features.
Expand Down
553 changes: 553 additions & 0 deletions ConfigManager.cs

Large diffs are not rendered by default.

56 changes: 56 additions & 0 deletions ModComponents/Buffs.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;

using UnityEngine;
using RoR2;
using BetterUI.ModCompatibility;

namespace BetterUI
{
[Obsolete("This feature of BetterUI has been removed.")]
public static class Buffs
{

[Obsolete("This feature of BetterUI has been removed.")]
public static void RegisterName(BuffDef buffDef, string nameToken)
{

}

[Obsolete("This feature of BetterUI has been removed.")]
public static void RegisterDescription(BuffDef buffDef, string descriptionToken)
{

}

[Obsolete("This feature of BetterUI has been removed.")]
public static void RegisterBuffInfo(BuffDef buffDef, string nameToken = null, string descriptionToken = null)
{

}
[Obsolete("This feature of BetterUI has been removed.")]
public static void RegisterBuffInfo(BuffDef buffDef, BuffInfo buffInfo)
{

}
[Obsolete("This feature of BetterUI has been removed.")]
public static string GetName(BuffDef buffDef)
{
return "";
}
[Obsolete("This feature of BetterUI has been removed.")]
public static string GetDescription(BuffDef buffDef)
{
return "";
}

[Obsolete("This feature of BetterUI has been removed.")]
public struct BuffInfo
{
public string nameToken;
public string descriptionToken;
}
}
}
33 changes: 33 additions & 0 deletions ModComponents/ItemCounters.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Linq;

using RoR2;
using RoR2.UI;
using BepInEx.Configuration;

namespace BetterUI
{
[Obsolete("This feature of BetterUI has been removed.")]
public static class ItemCounters
{

[Obsolete("This feature of BetterUI has been removed.")]
public static float GetTierScore(ItemTierDef itemTierDef)
{
return 0;
}
[Obsolete("This feature of BetterUI has been removed.")]
public static float GetTierScore(ItemTier tier)
{
return 0;
}
[Obsolete("This feature of BetterUI has been removed.")]
public static float GetItemScore(ItemDef itemDef)
{
return 0;
}
}
}
Loading

0 comments on commit b67f08d

Please sign in to comment.