From 53573104aef32b88c77aaed38f6b62843cb36c3b Mon Sep 17 00:00:00 2001 From: gompocp <73906388+gompocp@users.noreply.github.com> Date: Fri, 7 May 2021 16:10:23 +0100 Subject: [PATCH] See commit desc. - Switch to float operations, doubles are unnecessary - Restructed Solution so that its easier to build --- .gitignore | 10 +- ActionMenuApi.sln | 17 +- ActionMenuApi/.gitignore | 2 - ActionMenuApi/AMAPI.cs | 158 +----------------- ActionMenuApi/ActionMenuApi.cs | 11 +- ActionMenuApi/ActionMenuApi.csproj | 111 +----------- ActionMenuApi/Managers/RadialPuppetManager.cs | 10 +- ActionMenuApi/Properties/AssemblyInfo.cs | 20 --- ActionMenuApi/Stuff/Utilities.cs | 4 +- ActionMenuTestMod/.gitignore | 2 - ActionMenuTestMod/ActionMenuTestMod.cs | 11 +- ActionMenuTestMod/ActionMenuTestMod.csproj | 82 +-------- ActionMenuTestMod/Properties/AssemblyInfo.cs | 19 --- Directory.Build.props | 150 +++++++++++++++++ Libs/.here | 0 15 files changed, 194 insertions(+), 413 deletions(-) delete mode 100644 ActionMenuApi/.gitignore delete mode 100644 ActionMenuApi/Properties/AssemblyInfo.cs delete mode 100644 ActionMenuTestMod/.gitignore delete mode 100644 ActionMenuTestMod/Properties/AssemblyInfo.cs create mode 100644 Directory.Build.props create mode 100644 Libs/.here diff --git a/.gitignore b/.gitignore index 1a5248e..4319274 100644 --- a/.gitignore +++ b/.gitignore @@ -1,8 +1,8 @@ -*.dll +Libs/*.dll +Output .idea - -*.CopyComplete +ActionMenuApi/obj/* +ActionMenuTestMod/obj/* *.user -*.cache -*.pdb + diff --git a/ActionMenuApi.sln b/ActionMenuApi.sln index 5248be6..5569c2e 100644 --- a/ActionMenuApi.sln +++ b/ActionMenuApi.sln @@ -6,12 +6,13 @@ ProjectSection(SolutionItems) = preProject README.md = README.md LICENSE = LICENSE .gitignore = .gitignore + Directory.Build.props = Directory.Build.props EndProjectSection EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ActionMenuApi", "ActionMenuApi\ActionMenuApi.csproj", "{8F74B60C-3E7F-409B-8245-61E16A4C34E7}" +Project("{DA3EF296-0E10-44D0-8EB4-A44CC02AAB15}") = "ActionMenuApi", "ActionMenuApi\ActionMenuApi.csproj", "{4F1AFCA6-F4AC-49B9-9FEE-3C83C4664835}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ActionMenuTestMod", "ActionMenuTestMod\ActionMenuTestMod.csproj", "{8F74B60C-3E7F-409B-8245-61E16A4C34E8}" +Project("{DA3EF296-0E10-44D0-8EB4-A44CC02AAB15}") = "ActionMenuTestMod", "ActionMenuTestMod\ActionMenuTestMod.csproj", "{7D1FA011-E981-48A0-9267-1C104B848AB8}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -19,9 +20,13 @@ Global Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {8F74B60C-3E7F-409B-8245-61E16A4C34E8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {8F74B60C-3E7F-409B-8245-61E16A4C34E8}.Debug|Any CPU.Build.0 = Debug|Any CPU - {8F74B60C-3E7F-409B-8245-61E16A4C34E8}.Release|Any CPU.ActiveCfg = Release|Any CPU - {8F74B60C-3E7F-409B-8245-61E16A4C34E8}.Release|Any CPU.Build.0 = Release|Any CPU + {4F1AFCA6-F4AC-49B9-9FEE-3C83C4664835}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {4F1AFCA6-F4AC-49B9-9FEE-3C83C46648358}.Debug|Any CPU.Build.0 = Debug|Any CPU + {4F1AFCA6-F4AC-49B9-9FEE-3C83C4664835}.Release|Any CPU.ActiveCfg = Release|Any CPU + {4F1AFCA6-F4AC-49B9-9FEE-3C83C4664835}.Release|Any CPU.Build.0 = Release|Any CPU + {7D1FA011-E981-48A0-9267-1C104B848AB8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7D1FA011-E981-48A0-9267-1C104B848AB8}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7D1FA011-E981-48A0-9267-1C104B848AB8}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7D1FA011-E981-48A0-9267-1C104B848AB8}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection EndGlobal diff --git a/ActionMenuApi/.gitignore b/ActionMenuApi/.gitignore deleted file mode 100644 index 8d4a6c0..0000000 --- a/ActionMenuApi/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -bin -obj \ No newline at end of file diff --git a/ActionMenuApi/AMAPI.cs b/ActionMenuApi/AMAPI.cs index e87c57d..095ecda 100644 --- a/ActionMenuApi/AMAPI.cs +++ b/ActionMenuApi/AMAPI.cs @@ -98,7 +98,7 @@ public static PedalOption AddRadialPedalToSubMenu(string text, Action onU pedalOption.SetPedalTriggerEvent( DelegateSupport.ConvertDelegate(new Action(delegate { - Action combinedAction = (Action)Delegate.Combine(new Action(delegate(float f) + var combinedAction = (Action)Delegate.Combine(new Action(delegate(float f) { startingValue = f; pedalOption.SetButtonPercentText($"{Math.Round(startingValue*100)}%"); @@ -353,161 +353,5 @@ private static void AddPedalToList(ActionMenuPageType pageType, PedalStruct cust return; } } - [Obsolete("This method is obsolete. Use the override AddButtonPedalToMenu(pageType, text, triggerEvent, icon, insertion)", true)] - public static void AddButtonPedalToMenu(ActionMenuPageType pageType, Action triggerEvent, string text = "Button Text", Texture2D icon = null, Insertion insertion = Insertion.Post) - { - AddPedalToList( - pageType, - new PedalButton( - text, - icon, - triggerEvent - ), - insertion - ); - } - - [Obsolete("This method is obsolete. Use the override AddButtonPedalToSubMenu(text, triggerEvent, icon)", true)] - public static PedalOption AddButtonPedalToSubMenu(Action triggerEvent, string text = "Button Text", Texture2D icon = null) - { - ActionMenuOpener actionMenuOpener = Utilities.GetActionMenuOpener(); - if (actionMenuOpener == null) return null; - PedalOption pedalOption = actionMenuOpener.GetActionMenu().AddOption(); - pedalOption.SetText(text); - pedalOption.SetIcon(icon); - pedalOption.field_Public_MulticastDelegateNPublicSealedBoUnique_0 = DelegateSupport.ConvertDelegate(triggerEvent); - return pedalOption; - } - - [Obsolete("This method is obsolete. Use the override AddRadialPedalToMenu(pageType, text, onUpdate, startingValue, icon, insertion)", true)] - public static void AddRadialPedalToMenu(ActionMenuPageType pageType, Action onUpdate, string text = "Button Text", float startingValue = 0, Texture2D icon = null, Insertion insertion = Insertion.Post) - { - AddPedalToList( - pageType, - new PedalRadial( - text, - startingValue, - icon, - onUpdate - ), - insertion - ); - } - - [Obsolete("This method is obsolete. Use the override AddRadialPedalToSubMenu(text, onUpdate, startingValue, icon)", true)] - public static PedalOption AddRadialPedalToSubMenu(Action onUpdate, string text = "Button Text", float startingValue = 0, Texture2D icon = null) - { - ActionMenuOpener actionMenuOpener = Utilities.GetActionMenuOpener(); - if (actionMenuOpener == null) return null; - PedalOption pedalOption = actionMenuOpener.GetActionMenu().AddOption(); - pedalOption.SetText(text); - pedalOption.SetIcon(icon); - pedalOption.field_Public_ActionButton_0.prop_String_1 = $"{Math.Round(startingValue)}%"; - pedalOption.field_Public_ActionButton_0.prop_Texture2D_2 = Utilities.GetExpressionsIcons().typeRadial; - pedalOption.field_Public_MulticastDelegateNPublicSealedBoUnique_0 = DelegateSupport.ConvertDelegate(new Action(delegate - { - Action combinedAction = (System.Action)Delegate.Combine(new Action(delegate(float f) - { - startingValue = f; - - pedalOption.field_Public_ActionButton_0.prop_String_1 = $"{Math.Round(startingValue)}%"; - }), onUpdate); - RadialPuppetManager.OpenRadialMenu(startingValue, combinedAction, text, pedalOption); - })); - return pedalOption; - } - - [Obsolete("This method is obsolete. Use the override AddFourAxisPedalToMenu(pageType, text, onUpdate, icon, insertion, topButtonText, rightButtonText, downButtonText, leftButtonText)", true)] - public static void AddFourAxisPedalToMenu(ActionMenuPageType pageType, string text, Vector2 startingValue, Action onUpdate,Texture2D icon = null, Insertion insertion = Insertion.Post, string topButtonText = "Up", - string rightButtonText = "Right", string downButtonText = "Down", string leftButtonText = "Left") - { - AddPedalToList( - pageType, - new PedalFourAxis( - text, - icon, - onUpdate, - topButtonText, - rightButtonText, - downButtonText, - leftButtonText - ), - insertion - ); - } - - [Obsolete("This method is obsolete. Use the override AddFourAxisPedalToSubMenu(text, onUpdate, icon, topButtonText, rightButtonText, downButtonText, leftButtonText)", true)] - public static PedalOption AddFourAxisPedalToSubMenu(string text, Vector2 startingValue, Action onUpdate,Texture2D icon = null, string topButtonText = "Up", - string rightButtonText = "Right", string downButtonText = "Down", string leftButtonText = "Left") - { - ActionMenuOpener actionMenuOpener = Utilities.GetActionMenuOpener(); - if (actionMenuOpener == null) return null; - PedalOption pedalOption = actionMenuOpener.GetActionMenu().AddOption(); - pedalOption.SetText(text); - pedalOption.SetIcon(icon); - pedalOption.field_Public_ActionButton_0.prop_Texture2D_2 = Utilities.GetExpressionsIcons().typeAxis; - pedalOption.field_Public_MulticastDelegateNPublicSealedBoUnique_0 = DelegateSupport.ConvertDelegate(new Action(delegate - { - FourAxisPuppetManager.OpenFourAxisMenu(text, v => startingValue = v, pedalOption); - FourAxisPuppetManager.current.GetButtonUp().SetButtonText(topButtonText); - FourAxisPuppetManager.current.GetButtonRight().SetButtonText(rightButtonText); - FourAxisPuppetManager.current.GetButtonDown().SetButtonText(downButtonText); - FourAxisPuppetManager.current.GetButtonLeft().SetButtonText(leftButtonText); - })); - return pedalOption; - } - - [Obsolete("This method is obsolete. Use the override AddSubMenuToMenu(pageType, text, openFunc, icon, closeFunc, insertion)", true)] - public static void AddSubMenuToMenu(ActionMenuPageType pageType, Action openFunc, string text = null, - Texture2D icon = null, Action closeFunc = null, Insertion insertion = Insertion.Post) - { - AddPedalToList( - pageType, - new PedalSubMenu( - openFunc, - text, - icon, - closeFunc - ), - insertion - ); - } - - [Obsolete("This method is obsolete. Use the override AddTogglePedalToMenu(pageType, text, startingState, onToggle, icon, insertion)", true)] - public static void AddTogglePedalToMenu(ActionMenuPageType pageType,bool startingState, System.Action onToggle, string text, Texture2D icon = null, Insertion insertion = Insertion.Post) - { - AddPedalToList( - pageType, - new PedalToggle( - text, - onToggle, - startingState, - icon - ), - insertion - ); - } - - [Obsolete("This method is obsolete. Use the override AddTogglePedalToSubMenu(text, startingState, onToggle, icon)", true)] - public static PedalOption AddTogglePedalToSubMenu(Action onToggle, bool startingState, string text, Texture2D icon = null) - { - ActionMenuOpener actionMenuOpener = Utilities.GetActionMenuOpener(); - if (actionMenuOpener == null) return null; - PedalOption pedalOption = actionMenuOpener.GetActionMenu().AddOption(); - pedalOption.SetText(text); - pedalOption.SetIcon(icon); - if (startingState) pedalOption.field_Public_ActionButton_0.prop_Texture2D_2 = Utilities.GetExpressionsIcons().typeToggleOn; - else pedalOption.field_Public_ActionButton_0.prop_Texture2D_2 = Utilities.GetExpressionsIcons().typeToggleOff; - pedalOption.field_Public_MulticastDelegateNPublicSealedBoUnique_0 = DelegateSupport.ConvertDelegate(new Action(delegate - { - startingState = !startingState; - if (startingState) - pedalOption.field_Public_ActionButton_0.prop_Texture2D_2 = Utilities.GetExpressionsIcons().typeToggleOn; - else - pedalOption.field_Public_ActionButton_0.prop_Texture2D_2 = Utilities.GetExpressionsIcons().typeToggleOff; - onToggle.Invoke(startingState); - })); - return pedalOption; - } } } \ No newline at end of file diff --git a/ActionMenuApi/ActionMenuApi.cs b/ActionMenuApi/ActionMenuApi.cs index 6dddb4f..ce477df 100644 --- a/ActionMenuApi/ActionMenuApi.cs +++ b/ActionMenuApi/ActionMenuApi.cs @@ -5,16 +5,11 @@ using Harmony; using UnityEngine; +[assembly: MelonInfo(typeof(ActionMenuApi.ActionMenuApi), "ActionMenuApi", "0.1.2", "gompo", "https://github.com/gompocp/ActionMenuApi/releases")] +[assembly: MelonGame("VRChat", "VRChat")] + namespace ActionMenuApi { - internal static class ModInfo - { - public const string Name = "ActionMenuApi"; - public const string Author = "gompo"; - public const string Version = "0.1.2"; - public const string DownloadLink = "https://github.com/gompocp/ActionMenuApi/releases"; - } - public class ActionMenuApi : MelonMod { public override void OnApplicationStart() diff --git a/ActionMenuApi/ActionMenuApi.csproj b/ActionMenuApi/ActionMenuApi.csproj index 8b4b782..09a6108 100644 --- a/ActionMenuApi/ActionMenuApi.csproj +++ b/ActionMenuApi/ActionMenuApi.csproj @@ -1,109 +1,8 @@ - - - + - Debug - AnyCPU - {8F74B60C-3E7F-409B-8245-61E16A4C34E7} - Library - Properties - ActionMenuApi - ActionMenuApi - v4.7.2 - 512 + net472 + true + 0.1.2.0 9 - - AnyCPU - true - full - false - bin - DEBUG;TRACE - prompt - 4 - true - - - AnyCPU - full - true - bin - TRACE - prompt - 4 - true - true - - - - ..\..\..\..\..\..\Programs\Software\SteamLibrary\steamapps\common\VRChat\MelonLoader\Managed\Assembly-CSharp.dll - - - ..\..\..\..\..\..\Programs\Software\SteamLibrary\steamapps\common\VRChat\MelonLoader\Managed\Il2Cppmscorlib.dll - - - ..\..\..\..\..\..\Programs\Software\SteamLibrary\steamapps\common\VRChat\MelonLoader\MelonLoader.dll - - - - - - - ..\..\..\..\..\..\Programs\Software\SteamLibrary\steamapps\common\VRChat\MelonLoader\Managed\UnhollowerBaseLib.dll - - - ..\..\..\..\..\..\Programs\Software\SteamLibrary\steamapps\common\VRChat\MelonLoader\Managed\Unity.TextMeshPro.dll - - - ..\..\..\..\..\..\Programs\Software\SteamLibrary\steamapps\common\VRChat\MelonLoader\Managed\UnityEngine.dll - - - ..\..\..\..\..\..\Programs\Software\SteamLibrary\steamapps\common\VRChat\MelonLoader\Managed\UnityEngine.AssetBundleModule.dll - - - ..\..\..\..\..\..\Programs\Software\SteamLibrary\steamapps\common\VRChat\MelonLoader\Managed\UnityEngine.CoreModule.dll - - - ..\..\..\..\..\..\Programs\Software\SteamLibrary\steamapps\common\VRChat\MelonLoader\Managed\UnityEngine.TextCoreModule.dll - - - ..\..\..\..\..\..\Programs\Software\SteamLibrary\steamapps\common\VRChat\MelonLoader\Managed\UnityEngine.UI.dll - - - ..\..\..\..\..\..\Programs\Software\SteamLibrary\steamapps\common\VRChat\MelonLoader\Managed\UnityEngine.VRModule.dll - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - COPY "$(MSBuildProjectDirectory)\bin\ActionMenuApi.dll" "E:\Windows\Programs\Software\SteamLibrary\steamapps\common\VRChat\Mods" - - - + \ No newline at end of file diff --git a/ActionMenuApi/Managers/RadialPuppetManager.cs b/ActionMenuApi/Managers/RadialPuppetManager.cs index 98b18c5..75ff735 100644 --- a/ActionMenuApi/Managers/RadialPuppetManager.cs +++ b/ActionMenuApi/Managers/RadialPuppetManager.cs @@ -84,8 +84,8 @@ public static void OpenRadialMenu(float startingValue, Action onUpdate, s current.GetCenterText().text = (Math.Round(startingValue*100f)) + "%"; current.GetFill().UpdateGeometry(); ; current.transform.localPosition = pedalOption.GetActionButton().transform.localPosition; //new Vector3(-256f, 0, 0); - double angleOriginal = Utilities.ConvertFromEuler(startingValue*360); - double eulerAngle = Utilities.ConvertFromDegToEuler(angleOriginal); + float angleOriginal = Utilities.ConvertFromEuler(startingValue*360); + float eulerAngle = Utilities.ConvertFromDegToEuler(angleOriginal); current.UpdateArrow(angleOriginal, eulerAngle); } @@ -117,9 +117,9 @@ private static void UpdateMathStuff() if (Vector2.Distance(mousePos, Vector2.zero) > 12) { - double angleOriginal = Math.Round(((float)Math.Atan2(mousePos.y, mousePos.x)) * Constants.RAD_TO_DEG); - double eulerAngle = Utilities.ConvertFromDegToEuler(angleOriginal); - current.SetAngle((float)eulerAngle); + float angleOriginal = Mathf.Round(Mathf.Atan2(mousePos.y, mousePos.x) * Constants.RAD_TO_DEG); + float eulerAngle = Utilities.ConvertFromDegToEuler(angleOriginal); + current.SetAngle(eulerAngle); current.UpdateArrow(angleOriginal, eulerAngle); } } diff --git a/ActionMenuApi/Properties/AssemblyInfo.cs b/ActionMenuApi/Properties/AssemblyInfo.cs deleted file mode 100644 index 13655ba..0000000 --- a/ActionMenuApi/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System; -using MelonLoader; -using System.Reflection; -using System.Runtime.InteropServices; -using ActionMenuApi; - - -[assembly: AssemblyTitle(ModInfo.Name)] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct(ModInfo.Name)] -[assembly: AssemblyCopyright("Copyright © 2020")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] -[assembly: ComVisible(false)] -[assembly: AssemblyVersion(ModInfo.Version)] -[assembly: AssemblyFileVersion(ModInfo.Version)] -[assembly: MelonInfo(typeof(ActionMenuApi.ActionMenuApi), ModInfo.Name, ModInfo.Version, ModInfo.Author, ModInfo.DownloadLink)] -[assembly: MelonGame("VRChat", "VRChat")] diff --git a/ActionMenuApi/Stuff/Utilities.cs b/ActionMenuApi/Stuff/Utilities.cs index b52be0d..7da5e3d 100644 --- a/ActionMenuApi/Stuff/Utilities.cs +++ b/ActionMenuApi/Stuff/Utilities.cs @@ -90,7 +90,7 @@ public static void AddPedalsInList(List list, ActionMenu instance) } } - public static double ConvertFromDegToEuler(double angle) + public static float ConvertFromDegToEuler(float angle) { //TODO: Rewrite/Remove Unnecessary Addition/Subtraction if (angle >= 0 && angle <= 90) return 90 - angle; @@ -99,7 +99,7 @@ public static double ConvertFromDegToEuler(double angle) if (angle <= 0 && angle >= -90) return 180 - (angle + 180) + 90; return 0; } - public static double ConvertFromEuler(double angle) + public static float ConvertFromEuler(float angle) { //TODO: Rewrite/Remove Unnecessary Addition/Subtraction if (angle >= 90 && angle <= 270) return (angle - 90) * -1; diff --git a/ActionMenuTestMod/.gitignore b/ActionMenuTestMod/.gitignore deleted file mode 100644 index 8d4a6c0..0000000 --- a/ActionMenuTestMod/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -bin -obj \ No newline at end of file diff --git a/ActionMenuTestMod/ActionMenuTestMod.cs b/ActionMenuTestMod/ActionMenuTestMod.cs index bc59010..fa65f66 100644 --- a/ActionMenuTestMod/ActionMenuTestMod.cs +++ b/ActionMenuTestMod/ActionMenuTestMod.cs @@ -8,15 +8,11 @@ using UnhollowerRuntimeLib; using UnityEngine; +[assembly: MelonInfo(typeof(ActionMenuTestMod.ActionMenuTestMod), "ActionMenuTestMod", "1.0.0", "gompo")] +[assembly: MelonGame("VRChat", "VRChat")] + namespace ActionMenuTestMod { - public static class ModInfo - { - public const string Name = "ActionMenuTestMod"; - public const string Author = "gompo"; - public const string Version = "1.0.0"; - public const string DownloadLink = null; - } // Icons from https://uxwing.com/ public class ActionMenuTestMod : MelonMod { @@ -79,6 +75,7 @@ public override void OnApplicationStart() { AMAPI.AddModFolder($"Example Mod {i+2}", () => {}, subMenuIcon); } + //AMAPI.AddButtonPedalToMenu("") } private static void CreateCube() diff --git a/ActionMenuTestMod/ActionMenuTestMod.csproj b/ActionMenuTestMod/ActionMenuTestMod.csproj index 23b110a..1c74f9c 100644 --- a/ActionMenuTestMod/ActionMenuTestMod.csproj +++ b/ActionMenuTestMod/ActionMenuTestMod.csproj @@ -1,78 +1,12 @@ - - - + + - Debug - AnyCPU - {8F74B60C-3E7F-409B-8245-61E16A4C34E7} - Library - Properties - ActionMenuTestMod - ActionMenuTestMod - v4.7.2 - 512 - latestmajor + net472 + true + 1.0.0.0 - - AnyCPU - true - full - false - bin - DEBUG;TRACE - prompt - 4 - - - AnyCPU - none - true - bin - TRACE - prompt - 4 - - - - - - - - - - - ..\..\..\..\..\..\Programs\Software\SteamLibrary\steamapps\common\VRChat\MelonLoader\Managed\Assembly-CSharp.dll - - - ..\..\..\..\..\..\Programs\Software\SteamLibrary\steamapps\common\VRChat\MelonLoader\Managed\Il2Cppmscorlib.dll - - - ..\..\..\..\..\..\Programs\Software\SteamLibrary\steamapps\common\VRChat\MelonLoader\MelonLoader.dll - - - ..\..\..\..\..\..\Programs\Software\SteamLibrary\steamapps\common\VRChat\MelonLoader\Managed\UnhollowerBaseLib.dll - - - ..\..\..\..\..\..\Programs\Software\SteamLibrary\steamapps\common\VRChat\MelonLoader\Managed\UnityEngine.dll - - - ..\..\..\..\..\..\Programs\Software\SteamLibrary\steamapps\common\VRChat\MelonLoader\Managed\UnityEngine.AssetBundleModule.dll - - - ..\..\..\..\..\..\Programs\Software\SteamLibrary\steamapps\common\VRChat\MelonLoader\Managed\UnityEngine.CoreModule.dll - - - ..\..\..\..\..\..\Programs\Software\SteamLibrary\steamapps\common\VRChat\MelonLoader\Managed\UnityEngine.PhysicsModule.dll - - + - - {8f74b60c-3e7f-409b-8245-61e16a4c34e7} - ActionMenuApi - + - - - COPY "$(MSBuildProjectDirectory)\bin\ActionMenuTestMod.dll" "E:\Windows\Programs\Software\SteamLibrary\steamapps\common\VRChat\Mods" - - + \ No newline at end of file diff --git a/ActionMenuTestMod/Properties/AssemblyInfo.cs b/ActionMenuTestMod/Properties/AssemblyInfo.cs deleted file mode 100644 index 7bd6f54..0000000 --- a/ActionMenuTestMod/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,19 +0,0 @@ -using MelonLoader; -using ActionMenuTestMod; -using System.Reflection; -using System.Runtime.InteropServices; - - -[assembly: AssemblyTitle(ModInfo.Name)] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct(ModInfo.Name)] -[assembly: AssemblyCopyright("Copyright © 2020")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] -[assembly: ComVisible(false)] -[assembly: AssemblyVersion(ModInfo.Version)] -[assembly: AssemblyFileVersion(ModInfo.Version)] -[assembly: MelonInfo(typeof(ActionMenuTestMod.ActionMenuTestMod), ModInfo.Name, ModInfo.Version, ModInfo.Author, ModInfo.DownloadLink)] -[assembly: MelonGame("VRChat", "VRChat")] \ No newline at end of file diff --git a/Directory.Build.props b/Directory.Build.props new file mode 100644 index 0000000..7e1ab5e --- /dev/null +++ b/Directory.Build.props @@ -0,0 +1,150 @@ + + + + false + false + $(MsBuildThisFileDirectory)Libs\UnityEngine.dll + + + false + false + $(MsBuildThisFileDirectory)Libs\UnityEngine.AssetBundleModule.dll + + + false + false + $(MsBuildThisFileDirectory)Libs\UnityEngine.AudioModule.dll + + + false + false + $(MsBuildThisFileDirectory)Libs\UnityEngine.AnimationModule.dll + + + false + false + $(MsBuildThisFileDirectory)Libs\UnityEngine.ClothModule.dll + + + false + false + $(MsBuildThisFileDirectory)Libs\UnityEngine.CoreModule.dll + + + false + false + $(MsBuildThisFileDirectory)Libs\UnityEngine.UI.dll + + + false + false + $(MsBuildThisFileDirectory)Libs\UnityEngine.UIModule.dll + + + false + false + $(MsBuildThisFileDirectory)Libs\UnityEngine.TextRenderingModule.dll + + + false + false + $(MsBuildThisFileDirectory)Libs\UnityEngine.ParticleSystemModule.dll + + + false + false + $(MsBuildThisFileDirectory)Libs\UnityEngine.PhysicsModule.dll + + + false + false + $(MsBuildThisFileDirectory)Libs\Unity.TextMeshPro.dll + + + false + false + $(MsBuildThisFileDirectory)Libs\UnityEngine.UnityWebRequestModule.dll + + + false + false + $(MsBuildThisFileDirectory)Libs\UnityEngine.UnityWebRequestWWWModule.dll + + + false + false + $(MsBuildThisFileDirectory)Libs\UnityEngine.VRModule.dll + + + false + false + $(MsBuildThisFileDirectory)Libs\UnityEngine.XRModule.dll + + + false + false + $(MsBuildThisFileDirectory)Libs\MelonLoader.dll + + + false + false + $(MsBuildThisFileDirectory)Libs\UnhollowerBaseLib.dll + + + false + false + $(MsBuildThisFileDirectory)Libs\Il2Cppmscorlib.dll + + + false + false + $(MsBuildThisFileDirectory)Libs\Il2CppSystem.dll + + + false + false + $(MsBuildThisFileDirectory)Libs\Il2CppSystem.Core.dll + + + + + false + false + $(MsBuildThisFileDirectory)Libs\Assembly-CSharp.dll + + + false + false + $(MsBuildThisFileDirectory)Libs\Assembly-CSharp-firstpass.dll + + + false + false + $(MsBuildThisFileDirectory)Libs\VRCCore-Standalone.dll + + + false + false + $(MsBuildThisFileDirectory)Libs\VRCCore-Editor.dll + + + false + false + $(MsBuildThisFileDirectory)Libs\VRCSDK2.dll + + + false + false + $(MsBuildThisFileDirectory)Libs\VRCSDKBase.dll + + + false + false + $(MsBuildThisFileDirectory)Libs\Facepunch.Steamworks.Win64.dll + + + + + $(MsBuildThisFileDirectory)\Output\$(Configuration)\ + + \ No newline at end of file diff --git a/Libs/.here b/Libs/.here new file mode 100644 index 0000000..e69de29