mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-02 22:39:22 +00:00
fix spellins
This commit is contained in:
parent
8c780bb72b
commit
5ca93a7679
3 changed files with 12 additions and 12 deletions
|
@ -3,7 +3,7 @@ using ABI_RC.Core.UI;
|
||||||
using cohtml;
|
using cohtml;
|
||||||
using HarmonyLib;
|
using HarmonyLib;
|
||||||
|
|
||||||
namespace NAK.Melons.ClearHudNoficiations.HarmonyPatches;
|
namespace NAK.Melons.ClearHudNotifications.HarmonyPatches;
|
||||||
|
|
||||||
internal static class CohtmlHudPatches
|
internal static class CohtmlHudPatches
|
||||||
{
|
{
|
||||||
|
@ -15,7 +15,7 @@ internal static class CohtmlHudPatches
|
||||||
|
|
||||||
if (small == "A user has joined your Instance." && !MetaPort.Instance.settings.GetSettingsBool("HUDCustomizationPlayerJoins", false))
|
if (small == "A user has joined your Instance." && !MetaPort.Instance.settings.GetSettingsBool("HUDCustomizationPlayerJoins", false))
|
||||||
{
|
{
|
||||||
ClearHudNoficiations.ClearHudNotifications();
|
ClearHudNotifications.ClearNotifications();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2,9 +2,9 @@
|
||||||
using MelonLoader;
|
using MelonLoader;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
namespace NAK.Melons.ClearHudNoficiations;
|
namespace NAK.Melons.ClearHudNotifications;
|
||||||
|
|
||||||
public class ClearHudNoficiations : MelonMod
|
public class ClearHudNotifications : MelonMod
|
||||||
{
|
{
|
||||||
public override void OnInitializeMelon()
|
public override void OnInitializeMelon()
|
||||||
{
|
{
|
||||||
|
@ -15,11 +15,11 @@ public class ClearHudNoficiations : MelonMod
|
||||||
{
|
{
|
||||||
if (Input.GetKeyDown(KeyCode.F4))
|
if (Input.GetKeyDown(KeyCode.F4))
|
||||||
{
|
{
|
||||||
ClearHudNotifications();
|
ClearNotifications();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void ClearHudNotifications()
|
public static void ClearNotifications()
|
||||||
{
|
{
|
||||||
// sending an immediate notification clears buffer
|
// sending an immediate notification clears buffer
|
||||||
CohtmlHud.Instance?.ViewDropTextImmediate("(Local) Client", "Notifications Cleared!", "Cleared Hud Notifications!");
|
CohtmlHud.Instance?.ViewDropTextImmediate("(Local) Client", "Notifications Cleared!", "Cleared Hud Notifications!");
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
using NAK.Melons.ClearHudNoficiations.Properties;
|
using NAK.Melons.ClearHudNotifications.Properties;
|
||||||
using MelonLoader;
|
using MelonLoader;
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
|
|
||||||
|
@ -6,13 +6,13 @@ using System.Reflection;
|
||||||
[assembly: AssemblyVersion(AssemblyInfoParams.Version)]
|
[assembly: AssemblyVersion(AssemblyInfoParams.Version)]
|
||||||
[assembly: AssemblyFileVersion(AssemblyInfoParams.Version)]
|
[assembly: AssemblyFileVersion(AssemblyInfoParams.Version)]
|
||||||
[assembly: AssemblyInformationalVersion(AssemblyInfoParams.Version)]
|
[assembly: AssemblyInformationalVersion(AssemblyInfoParams.Version)]
|
||||||
[assembly: AssemblyTitle(nameof(NAK.Melons.ClearHudNoficiations))]
|
[assembly: AssemblyTitle(nameof(NAK.Melons.ClearHudNotifications))]
|
||||||
[assembly: AssemblyCompany(AssemblyInfoParams.Author)]
|
[assembly: AssemblyCompany(AssemblyInfoParams.Author)]
|
||||||
[assembly: AssemblyProduct(nameof(NAK.Melons.ClearHudNoficiations))]
|
[assembly: AssemblyProduct(nameof(NAK.Melons.ClearHudNotifications))]
|
||||||
|
|
||||||
[assembly: MelonInfo(
|
[assembly: MelonInfo(
|
||||||
typeof(NAK.Melons.ClearHudNoficiations.ClearHudNoficiations),
|
typeof(NAK.Melons.ClearHudNotifications.ClearHudNotifications),
|
||||||
nameof(NAK.Melons.ClearHudNoficiations),
|
nameof(NAK.Melons.ClearHudNotifications),
|
||||||
AssemblyInfoParams.Version,
|
AssemblyInfoParams.Version,
|
||||||
AssemblyInfoParams.Author,
|
AssemblyInfoParams.Author,
|
||||||
downloadLink: "https://github.com/NotAKidOnSteam/UndoPropButton"
|
downloadLink: "https://github.com/NotAKidOnSteam/UndoPropButton"
|
||||||
|
@ -23,7 +23,7 @@ using System.Reflection;
|
||||||
[assembly: MelonPlatformDomain(MelonPlatformDomainAttribute.CompatibleDomains.MONO)]
|
[assembly: MelonPlatformDomain(MelonPlatformDomainAttribute.CompatibleDomains.MONO)]
|
||||||
[assembly: HarmonyDontPatchAll]
|
[assembly: HarmonyDontPatchAll]
|
||||||
|
|
||||||
namespace NAK.Melons.ClearHudNoficiations.Properties;
|
namespace NAK.Melons.ClearHudNotifications.Properties;
|
||||||
internal static class AssemblyInfoParams
|
internal static class AssemblyInfoParams
|
||||||
{
|
{
|
||||||
public const string Version = "1.0.0";
|
public const string Version = "1.0.0";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue