Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b1e5cc6f25 | ||
|
|
a9493c78bd | ||
|
|
d80c272b97 | ||
|
|
5c9a8362cb | ||
|
|
a4ca3b18d5 |
BIN
Assets/ModButton.PNG
Normal file
BIN
Assets/ModButton.PNG
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.3 MiB |
BIN
Assets/ModMenu.PNG
Normal file
BIN
Assets/ModMenu.PNG
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.4 MiB |
21
Core.cs
21
Core.cs
@@ -8,18 +8,33 @@ using VMM.ModRegistry.Settings;
|
|||||||
using VMM.ModRegistry.Settings.Types;
|
using VMM.ModRegistry.Settings.Types;
|
||||||
using VMM.UI;
|
using VMM.UI;
|
||||||
|
|
||||||
[assembly: MelonInfo(typeof(VMM.Core), ModInfo.Name, ModInfo.Version, ModInfo.Author, null)]
|
[assembly: MelonInfo(typeof(VMM.Core), ModInfo.Name, ModInfo.Version, ModInfo.Author, ModInfo.DownloadLink)]
|
||||||
[assembly: MelonGame("Singularity Studios", "Vigil")]
|
[assembly: MelonGame("Singularity Studios", "Vigil")]
|
||||||
|
|
||||||
namespace VMM
|
namespace VMM
|
||||||
{
|
{
|
||||||
internal class Core : MelonMod
|
internal class Core : MelonMod
|
||||||
{
|
{
|
||||||
public static MelonLogger.Instance Logger { get; private set; }
|
public static MelonLogger.Instance Logger
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
if (_logger != null)
|
||||||
|
{
|
||||||
|
return _logger;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
throw new System.Exception("Logger instance is not initialized yet.");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private static MelonLogger.Instance _logger;
|
||||||
|
|
||||||
public override void OnInitializeMelon()
|
public override void OnInitializeMelon()
|
||||||
{
|
{
|
||||||
Logger = LoggerInstance;
|
_logger = LoggerInstance;
|
||||||
LoggerInstance.Msg("Initialized.");
|
LoggerInstance.Msg("Initialized.");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -9,6 +9,6 @@ namespace VMM
|
|||||||
public const string Name = "VigilModManager";
|
public const string Name = "VigilModManager";
|
||||||
public const string Version = "1.0.0";
|
public const string Version = "1.0.0";
|
||||||
public const string Author = "Exil_S";
|
public const string Author = "Exil_S";
|
||||||
public const string DownloadLink = "";
|
public const string DownloadLink = "https://github.com/ExilProductions/VigilModManager";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,6 +6,13 @@ A mod manager for the game Vigil that provides an in-game interface for managing
|
|||||||
|
|
||||||
*The mod is built using Melonloader 7.1*
|
*The mod is built using Melonloader 7.1*
|
||||||
|
|
||||||
|
## Showcase
|
||||||
|
|
||||||
|
### Mod Button in Main Menu
|
||||||
|

|
||||||
|
|
||||||
|
### Mod Management Interface
|
||||||
|

|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
@@ -61,7 +68,7 @@ var sliderSetting = new SliderSetting
|
|||||||
settings.AddSetting(sliderSetting);
|
settings.AddSetting(sliderSetting);
|
||||||
|
|
||||||
// Register settings with the manager
|
// Register settings with the manager
|
||||||
VMM.Core.ModManager.Instance.RegisterSettings(Assembly.GetExecutingAssembly(), settings);
|
VMM.ModRegistry.ModManager.Instance.RegisterSettings(Assembly.GetExecutingAssembly(), settings);
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>netstandard2.1</TargetFramework>
|
<TargetFramework>netstandard2.1</TargetFramework>
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
@@ -9,12 +9,13 @@
|
|||||||
<AssemblyVersion>1.0.0.0</AssemblyVersion>
|
<AssemblyVersion>1.0.0.0</AssemblyVersion>
|
||||||
<FileVersion>1.0.0.0</FileVersion>
|
<FileVersion>1.0.0.0</FileVersion>
|
||||||
<NeutralLanguage>en-US</NeutralLanguage>
|
<NeutralLanguage>en-US</NeutralLanguage>
|
||||||
<AssemblyName>VigilModManagerML</AssemblyName>
|
<AssemblyName>VigilModManager</AssemblyName>
|
||||||
<LangVersion>latest</LangVersion>
|
<LangVersion>latest</LangVersion>
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="Core.cs" />
|
<Compile Include="Core.cs" />
|
||||||
|
<Compile Include="ModInfo.cs" />
|
||||||
<Compile Include="ModRegistry\ModEntry.cs" />
|
<Compile Include="ModRegistry\ModEntry.cs" />
|
||||||
<Compile Include="ModRegistry\ModManager.cs" />
|
<Compile Include="ModRegistry\ModManager.cs" />
|
||||||
<Compile Include="ModRegistry\Settings\ISettingsElement.cs" />
|
<Compile Include="ModRegistry\Settings\ISettingsElement.cs" />
|
||||||
|
|||||||
Reference in New Issue
Block a user