mirror of
https://github.com/anegostudios/vsmodtemplate
synced 2025-07-03 19:34:52 -07:00
commit
29ec3ac310
6 changed files with 14 additions and 15 deletions
BIN
ICSharpCode.SharpZipLib.dll
Normal file
BIN
ICSharpCode.SharpZipLib.dll
Normal file
Binary file not shown.
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using Vintagestory.API.Client;
|
||||
using Vintagestory.API.Common;
|
||||
using Vintagestory.API.Server;
|
||||
|
@ -21,21 +21,21 @@ namespace VSModLauncher
|
|||
api.Server.Logger.EntryAdded += OnServerLogEntry;
|
||||
}
|
||||
|
||||
private void OnServerLogEntry(EnumLogType logType, string message, params object[] args)
|
||||
{
|
||||
if (logType == EnumLogType.VerboseDebug) return;
|
||||
System.Diagnostics.Debug.WriteLine("[Server " + logType + "] " + message, args);
|
||||
}
|
||||
|
||||
public override void StartClientSide(ICoreClientAPI api)
|
||||
{
|
||||
api.World.Logger.EntryAdded += OnClientLogEntry;
|
||||
}
|
||||
|
||||
private void OnClientLogEntry(EnumLogType logType, string message, object[] args)
|
||||
private void OnClientLogEntry(EnumLogType logType, string message, params object[] args)
|
||||
{
|
||||
if (logType == EnumLogType.VerboseDebug) return;
|
||||
System.Diagnostics.Debug.WriteLine("[Client " + logType + "] " + message, args);
|
||||
}
|
||||
|
||||
private void OnServerLogEntry(EnumLogType logType, string message, object[] args)
|
||||
{
|
||||
if (logType == EnumLogType.VerboseDebug) return;
|
||||
System.Diagnostics.Debug.WriteLine("[Server " + logType + "] " + message, args);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
|
@ -67,8 +67,7 @@
|
|||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<PropertyGroup>
|
||||
<PostBuildEvent>copy "$(TargetPath)" "%25appdata%25\Vintagestory\Mods\"
|
||||
copy "$(TargetDir)\$(TargetName).pdb" "%25appdata%25\Vintagestory\Mods\"
|
||||
</PostBuildEvent>
|
||||
copy "$(TargetDir)\$(TargetName).pdb" "%25appdata%25\Vintagestory\Mods\"</PostBuildEvent>
|
||||
</PropertyGroup>
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
|
@ -77,4 +76,4 @@ copy "$(TargetDir)\$(TargetName).pdb" "%25appdata%25\Vintagestory\Mods\"
|
|||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
||||
</Project>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
|
||||
<StartAction>Program</StartAction>
|
||||
|
@ -16,4 +16,4 @@
|
|||
<ReferencePath>$(AppData)\Vintagestory\;$(AppData)\Vintagestory\Lib\</ReferencePath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(RunConfiguration)' == 'Default' " />
|
||||
</Project>
|
||||
</Project>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 14
|
||||
VisualStudioVersion = 14.0.25420.1
|
||||
|
|
BIN
vsmodtools.exe
BIN
vsmodtools.exe
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue