Merge pull request #10 from CreativeMD/master

Updated to v1.3.3
This commit is contained in:
CreativeMD 2018-09-14 12:03:03 +02:00 committed by GitHub
commit 29ec3ac310
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 14 additions and 15 deletions

BIN
ICSharpCode.SharpZipLib.dll Normal file

Binary file not shown.

View file

@ -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);
}
}
}

View file

@ -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>

View file

@ -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>

View file

@ -1,4 +1,4 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25420.1

Binary file not shown.