diff options
Diffstat (limited to 'AnodyneArchipelago')
-rw-r--r-- | AnodyneArchipelago/AnodyneArchipelago.csproj | 36 | ||||
-rw-r--r-- | AnodyneArchipelago/NuGet.Config | 6 | ||||
-rw-r--r-- | AnodyneArchipelago/Plugin.cs | 15 |
3 files changed, 57 insertions, 0 deletions
diff --git a/AnodyneArchipelago/AnodyneArchipelago.csproj b/AnodyneArchipelago/AnodyneArchipelago.csproj new file mode 100644 index 0000000..5ad5e82 --- /dev/null +++ b/AnodyneArchipelago/AnodyneArchipelago.csproj | |||
@@ -0,0 +1,36 @@ | |||
1 | <Project Sdk="Microsoft.NET.Sdk"> | ||
2 | |||
3 | <PropertyGroup> | ||
4 | <TargetFramework>net462</TargetFramework> | ||
5 | <AssemblyName>AnodyneArchipelago</AssemblyName> | ||
6 | <Description>My first plugin</Description> | ||
7 | <Version>1.0.0</Version> | ||
8 | <AllowUnsafeBlocks>true</AllowUnsafeBlocks> | ||
9 | <LangVersion>latest</LangVersion> | ||
10 | <PlatformTarget>x64</PlatformTarget> | ||
11 | </PropertyGroup> | ||
12 | |||
13 | <ItemGroup> | ||
14 | <PackageReference Include="Archipelago.MultiClient.Net" Version="5.0.6" /> | ||
15 | <PackageReference Include="BepInEx.PluginInfoProps" Version="1.*" /> | ||
16 | </ItemGroup> | ||
17 | |||
18 | <ItemGroup Condition="'$(TargetFramework.TrimEnd(`0123456789`))' == 'net'"> | ||
19 | <PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.2" PrivateAssets="all" /> | ||
20 | </ItemGroup> | ||
21 | |||
22 | <ItemGroup> | ||
23 | <Reference Include="0Harmony"> | ||
24 | <HintPath>..\..\BepInEx\bin\NET.Framework\net462\0Harmony.dll</HintPath> | ||
25 | </Reference> | ||
26 | <Reference Include="AnodyneSharp"> | ||
27 | <HintPath>..\..\..\SteamLibrary\steamapps\common\Anodyne\Remake\AnodyneSharp.exe</HintPath> | ||
28 | </Reference> | ||
29 | <Reference Include="BepInEx.Core"> | ||
30 | <HintPath>..\..\BepInEx\bin\NET.Framework\net462\BepInEx.Core.dll</HintPath> | ||
31 | </Reference> | ||
32 | <Reference Include="BepInEx.NET.Common"> | ||
33 | <HintPath>..\..\BepInEx\bin\NET.Framework\net462\BepInEx.NET.Common.dll</HintPath> | ||
34 | </Reference> | ||
35 | </ItemGroup> | ||
36 | </Project> | ||
diff --git a/AnodyneArchipelago/NuGet.Config b/AnodyneArchipelago/NuGet.Config new file mode 100644 index 0000000..1864ded --- /dev/null +++ b/AnodyneArchipelago/NuGet.Config | |||
@@ -0,0 +1,6 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <configuration> | ||
3 | <packageSources> | ||
4 | <add key="BepInEx" value="https://nuget.bepinex.dev/v3/index.json" /> | ||
5 | </packageSources> | ||
6 | </configuration> \ No newline at end of file | ||
diff --git a/AnodyneArchipelago/Plugin.cs b/AnodyneArchipelago/Plugin.cs new file mode 100644 index 0000000..411a2a4 --- /dev/null +++ b/AnodyneArchipelago/Plugin.cs | |||
@@ -0,0 +1,15 @@ | |||
1 | using BepInEx; | ||
2 | using BepInEx.NET.Common; | ||
3 | |||
4 | namespace AnodyneArchipelago | ||
5 | { | ||
6 | [BepInPlugin("com.fourisland.plugins.anodyne.archipelago", "Anodyne Archipelago", "1.0.0.0")] | ||
7 | public class Plugin : BasePlugin | ||
8 | { | ||
9 | public override void Load() | ||
10 | { | ||
11 | // Plugin startup logic | ||
12 | Log.LogInfo($"Plugin {PluginInfo.PLUGIN_GUID} is loaded!"); | ||
13 | } | ||
14 | } | ||
15 | } | ||