Skip to content
This repository has been archived by the owner on Feb 25, 2024. It is now read-only.

Commit

Permalink
Add MapStation plugin project
Browse files Browse the repository at this point in the history
  • Loading branch information
cspotcode committed Nov 25, 2023
1 parent 2215821 commit 7cc14b6
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Winterland.MapStation.Plugin/ForwardedTypes.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
using Reptile;
using System.Runtime.CompilerServices;

// Forward types from this assembly to the vanilla Assembly-CSharp shipped with BRC

[assembly:TypeForwardedTo(typeof(GrindNode))]
[assembly:TypeForwardedTo(typeof(GrindLine))]
[assembly:TypeForwardedTo(typeof(GrindPath))]
[assembly:TypeForwardedTo(typeof(GraffitiSpot))]
[assembly:TypeForwardedTo(typeof(VertShape))]
36 changes: 36 additions & 0 deletions Winterland.MapStation.Plugin/Winterland.MapStation.Plugin.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net46</TargetFramework>
<AssemblyName>Winterland.MapStation.Plugin</AssemblyName>
<Description></Description>
<Version>1.0.0</Version>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<LangVersion>latest</LangVersion>
</PropertyGroup>

<PropertyGroup>
<ManagedPath>$(BRCPath)/Bomb Rush Cyberfunk_Data/Managed</ManagedPath>
<RootNamespace>Winterland.MapStation.Plugin</RootNamespace>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="BepInEx.Analyzers" Version="1.*" PrivateAssets="all" />
<PackageReference Include="BepInEx.Core" Version="5.*" />
<PackageReference Include="BepInEx.PluginInfoProps" Version="1.*" />
<PackageReference Include="UnityEngine.Modules" Version="2021.3.27" IncludeAssets="compile" />
<PackageReference Include="BepInEx.AssemblyPublicizer.MSBuild" Version="0.4.1" PrivateAssets="all" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework.TrimEnd(`0123456789`))' == 'net'">
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.2" PrivateAssets="all" />
</ItemGroup>

<ItemGroup>
<Reference Include="Assembly-CSharp">
<HintPath>$(ManagedPath)/Assembly-CSharp.dll</HintPath>
<Private>false</Private>
<Publicize>true</Publicize>
</Reference>
</ItemGroup>
</Project>

0 comments on commit 7cc14b6

Please sign in to comment.