Projektdateien hinzufügen.
This commit is contained in:
16
SamplePlugin/Plugin.cs
Normal file
16
SamplePlugin/Plugin.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using Pilz.Plugins.Advanced;
|
||||
using SM64RomManager.Plugins;
|
||||
|
||||
namespace SamplePlugin
|
||||
{
|
||||
public class Plugin : IRMPlugin
|
||||
{
|
||||
public string Name => "Sample Plugin";
|
||||
|
||||
public Plugin()
|
||||
{
|
||||
// Register all features
|
||||
PluginFeatureController.Instance.RegisterAllOwn();
|
||||
}
|
||||
}
|
||||
}
|
||||
23
SamplePlugin/SampleFunction.cs
Normal file
23
SamplePlugin/SampleFunction.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using Pilz.Plugins.Advanced;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SamplePlugin
|
||||
{
|
||||
internal class SampleFunction : PluginFunction, IPluginFeatureProvider<SampleFunction>
|
||||
{
|
||||
public static SampleFunction Instance { get; } = new();
|
||||
|
||||
public SampleFunction() : base()
|
||||
{
|
||||
}
|
||||
|
||||
protected override object? ExecuteFunction(PluginFunctionParameter? @params)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
||||
25
SamplePlugin/SampleModule.cs
Normal file
25
SamplePlugin/SampleModule.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using Pilz.Plugins.Advanced;
|
||||
using Pilz.Plugins.Advanced.UI.Telerik;
|
||||
using SM64RomManager.Main;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SamplePlugin
|
||||
{
|
||||
internal class SampleModule : RMModule, IPluginFeatureProvider<SampleModule>
|
||||
{
|
||||
public static SampleModule Instance { get; } = new();
|
||||
|
||||
public SampleModule() : base()
|
||||
{
|
||||
}
|
||||
|
||||
protected override PluginModuleUI CreateNewUI()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
||||
46
SamplePlugin/SamplePlugin.csproj
Normal file
46
SamplePlugin/SamplePlugin.csproj
Normal file
@@ -0,0 +1,46 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<Authors>Pilzinsel64</Authors>
|
||||
<Version>1.0.0.0</Version>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net8.0-windows</TargetFramework>
|
||||
<Platforms>x86</Platforms>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
<ProduceReferenceAssembly>false</ProduceReferenceAssembly>
|
||||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
|
||||
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<AppLibPath>$(SM64RMLibPath)\</AppLibPath>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Reference Include="$(AppLibPath)SM64RomManager*.dll">
|
||||
<Private>false</Private>
|
||||
</Reference>
|
||||
<Reference Include="$(AppLibPath)SM64Lib*.dll">
|
||||
<Private>false</Private>
|
||||
</Reference>
|
||||
<Reference Include="$(AppLibPath)Newtonsoft.Json.dll">
|
||||
<Private>false</Private>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Pilz.Plugins" Version="2.1.9" />
|
||||
<PackageReference Include="Pilz.Plugins.Advanced" Version="2.7.3" />
|
||||
<PackageReference Include="Pilz.Plugins.Advanced.UI.Telerik" Version="1.1.0" />
|
||||
<PackageReference Include="Pilz.UI.Telerik" Version="2.1.0" />
|
||||
<PackageReference Include="Pilz.UI.Telerik.SymbolFactory" Version="2.0.1" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
66
SamplePlugin/packages.lock.json
Normal file
66
SamplePlugin/packages.lock.json
Normal file
@@ -0,0 +1,66 @@
|
||||
{
|
||||
"version": 1,
|
||||
"dependencies": {
|
||||
"net8.0-windows7.0": {
|
||||
"Pilz.Plugins": {
|
||||
"type": "Direct",
|
||||
"requested": "[2.1.9, )",
|
||||
"resolved": "2.1.9",
|
||||
"contentHash": "FnjujEtPKkMoTlX/BUUUB/o4k3soTWEj+A4/W487HBIM7ITArIIvQamiWA1OaUv9L7HjspNGhoMtsYnFwn5tag=="
|
||||
},
|
||||
"Pilz.Plugins.Advanced": {
|
||||
"type": "Direct",
|
||||
"requested": "[2.7.3, )",
|
||||
"resolved": "2.7.3",
|
||||
"contentHash": "HECFPjvqxzH4hU6Bhy/WlOoteTQaVd1yKC4DayUyFQY5s4AHv/1BwXzP4pZzzWQ47e4B9cmnQsGVIPg1NrtrMw=="
|
||||
},
|
||||
"Pilz.Plugins.Advanced.UI.Telerik": {
|
||||
"type": "Direct",
|
||||
"requested": "[1.1.0, )",
|
||||
"resolved": "1.1.0",
|
||||
"contentHash": "q1FCqSPpu6gmDXwgjwG9UYWCyIk42LH26yxTGSXkX1aqTPiYMUOXfbMDP+Dgi3cS0MctLuuLNpV1ic3fJqhKrg==",
|
||||
"dependencies": {
|
||||
"Pilz.Plugins.Advanced.UI": "1.0.0",
|
||||
"Pilz.UI.Telerik": "2.1.0",
|
||||
"Pilz.UI.Telerik.SymbolFactory": "2.0.1"
|
||||
}
|
||||
},
|
||||
"Pilz.UI.Telerik": {
|
||||
"type": "Direct",
|
||||
"requested": "[2.1.0, )",
|
||||
"resolved": "2.1.0",
|
||||
"contentHash": "KlD5j9eSWn2+nZNkBSP1UswIVYAKBXAPFZIGFVgaq5eupT6OOrfwnBjjeMLHDunRSuRy9Up+y6bYn4V4lFMvEA=="
|
||||
},
|
||||
"Pilz.UI.Telerik.SymbolFactory": {
|
||||
"type": "Direct",
|
||||
"requested": "[2.0.1, )",
|
||||
"resolved": "2.0.1",
|
||||
"contentHash": "nibC2LLSHUupARlbSEV7I5s7YzUfj0yufyBkIaTY9qaTqovFgBclD0nItYqUU6Ks5xexWHoObk1LVBYMDfadFQ==",
|
||||
"dependencies": {
|
||||
"System.Drawing.Common": "8.0.0"
|
||||
}
|
||||
},
|
||||
"Microsoft.Win32.SystemEvents": {
|
||||
"type": "Transitive",
|
||||
"resolved": "8.0.0",
|
||||
"contentHash": "9opKRyOKMCi2xJ7Bj7kxtZ1r9vbzosMvRrdEhVhDz8j8MoBGgB+WmC94yH839NPH+BclAjtQ/pyagvi/8gDLkw=="
|
||||
},
|
||||
"Pilz.Plugins.Advanced.UI": {
|
||||
"type": "Transitive",
|
||||
"resolved": "1.0.0",
|
||||
"contentHash": "B/aFJ6ihjos1xSC/GrgICOSUaqG746gLelP54GAhwpwjwGBusr5bo05L0UZ0M78VZpY1+5njaFyzLHmF7Rni3g==",
|
||||
"dependencies": {
|
||||
"Pilz.Plugins.Advanced": "2.7.0"
|
||||
}
|
||||
},
|
||||
"System.Drawing.Common": {
|
||||
"type": "Transitive",
|
||||
"resolved": "8.0.0",
|
||||
"contentHash": "JkbHJjtI/dWc5dfmEdJlbe3VwgZqCkZRtfuWFh5GOv0f+gGCfBtzMpIVkmdkj2AObO9y+oiOi81UGwH3aBYuqA==",
|
||||
"dependencies": {
|
||||
"Microsoft.Win32.SystemEvents": "8.0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user