Plugin system working, Windows service and command system in progress

This commit is contained in:
John Gross
2017-01-05 02:49:43 -08:00
parent e0a4ee9ce0
commit 4949982fa8
24 changed files with 352 additions and 132 deletions

View File

@@ -9,12 +9,14 @@ namespace Torch.API
public class PluginAttribute : Attribute
{
public string Name { get; }
public bool Reloadable { get; }
public Version Version { get; }
public Guid Guid { get; }
public PluginAttribute(string name, bool reloadable = false)
public PluginAttribute(string name, string version, string guid)
{
Name = name;
Reloadable = reloadable;
Version = Version.Parse(version);
Guid = Guid.Parse(guid);
}
}
}

View File

@@ -34,6 +34,7 @@
<ItemGroup>
<Reference Include="NLog">
<HintPath>..\packages\NLog.4.4.1\lib\net45\NLog.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="PresentationCore" />
<Reference Include="PresentationFramework" />
@@ -52,10 +53,12 @@
<Reference Include="System.Xml" />
<Reference Include="VRage">
<HintPath>C:\Program Files (x86)\Steam\steamapps\common\SpaceEngineers\Bin64\VRage.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="VRage.Library, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\SpaceEngineers\Bin64\VRage.Library.dll</HintPath>
<Private>False</Private>
</Reference>
</ItemGroup>
<ItemGroup>