harmony & patches

This commit is contained in:
Arvkus 2020-07-28 10:48:26 +03:00
parent ec885790e9
commit 4abc55ad97
4 changed files with 16 additions and 1 deletions

0
.vscode/build.sh vendored
View file

3
1.1/Patches/Patches.xml Normal file
View file

@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8" ?>
<Patch>
</Patch>

View file

@ -25,6 +25,15 @@ namespace Template
public static LetterDef success_letter;
}
[StaticConstructorOnStartup]
public static class Start
{
static Start()
{
Log.Message("Mod template: success");
}
}
public class MyMapComponent : MapComponent
{
public MyMapComponent(Map map) : base(map)

View file

@ -12,6 +12,9 @@
<DebugType>none</DebugType>
<DebugSymbols>false</DebugSymbols>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<!-- Generated by the MSBuild WriteCodeFragment class. -->
</PropertyGroup>
<ItemGroup>