Class UIPatches
- Namespace
- ConfigurableWarning.Patches
- Assembly
- RedstoneWizard08.ContentLibrary.dll
HUD/UI patches
[HarmonyPatch]
public class UIPatches
- Inheritance
-
UIPatches
- Inherited Members
Methods
UpdateHealth(UI_Health)
Patches the health bar to accurately reflect the player's max health, as it's normally constant.
[HarmonyPostfix]
[HarmonyPatch(typeof(UI_Health), "Update")]
public static void UpdateHealth(UI_Health __instance)
Parameters
__instance
UI_HealthThe current instance of the UI_Health.