Enabled plugin debugging

Moved built-in plugins
Auto-copy built-in plugins on build
This commit is contained in:
SpoinkyNL committed 2018-03-03 13:46:22 +01:00
1 parent 7a2717d8b9
commit 36b8ddc023
13 files changed
+56 -53

No files matched your search

@@ -0,0 +1,34 @@
using System.Diagnostics;
using Artemis.Core.Services.Interfaces;
using Artemis.Plugins.Interfaces;
namespace Artemis.Plugins.BuiltIn.Modules.General
{
public class GeneralModule : IModule
{
private readonly ICoreService _coreService;
public GeneralModule(ICoreService coreService)
{
_coreService = coreService;
Debugger.Break();
}
public void LoadPlugin()
{
}
public void UnloadPlugin()
{
}
public void Update(double deltaTime)
{
}
public void Render(double deltaTime)
{
}
}
}
@@ -0,0 +1,8 @@
<UserControl xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
mc:Ignorable="d"
d:DesignHeight="300" d:DesignWidth="300">
<Grid />
</UserControl>
@@ -0,0 +1,11 @@
using Artemis.Plugins.Interfaces;
using Artemis.Plugins.Models;
using Stylet;
namespace Artemis.Plugins.BuiltIn.Modules.General
{
public class GeneralViewModel : Screen, IModuleViewModel
{
public PluginInfo PluginInfo { get; set; }
}
}
@@ -0,0 +1,6 @@
{
"Name": "Default",
"Version": "1.0.0",
"Main": "GeneralModule.cs",
"ViewModel": "GeneralViewModel.cs"
}