Skip to content

Commit

Permalink
Update to API version 1.19.
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrioCelos committed Jul 17, 2015
1 parent 1fdf599 commit 73e3f7e
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 10 deletions.
4 changes: 2 additions & 2 deletions RegionVision/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.2.2.0")]
[assembly: AssemblyFileVersion("1.2.2.0")]
[assembly: AssemblyVersion("1.2.3.0")]
[assembly: AssemblyFileVersion("1.2.3.0")]
8 changes: 4 additions & 4 deletions RegionVision/RegionVision.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
using TShockAPI.Hooks;

namespace RegionVision {
[ApiVersion(1, 17)]
[ApiVersion(1, 19)]
public class RegionVisionPlugin : TerrariaPlugin {
/// <summary>The list of players being tracked by this plugin.</summary>
public List<Player> players { get; private set; }
private Timer refreshTimer = new Timer(5000);

public override Version Version {
get { return new Version(1, 2, 2, 0); }
get { return new Version(1, 2, 3, 0); }
}

public override string Name {
Expand All @@ -30,7 +30,7 @@ public override string Author {
}

public override string Description {
get { return "See your regions"; }
get { return "See your regions."; }
}

/// <summary>The range, in tiles, within which region borders may be automatically shown.</summary>
Expand Down Expand Up @@ -176,7 +176,7 @@ private void commandView(CommandArgs args)
}

if (tRegion.Area.Width < 0 || tRegion.Area.Height < 0) {
args.Player.SendErrorMessage("Region {0} contains no tiles. (Found dimensions: {1} × {2}) Use /region resize to fix it.", tRegion.Name, tRegion.Area.Width, tRegion.Area.Height);
args.Player.SendErrorMessage("Region {0} contains no tiles. (Found dimensions: {1} × {2}) Use [c/FF8080:/region resize] to fix it.", tRegion.Name, tRegion.Area.Width, tRegion.Area.Height);
return;
}

Expand Down
10 changes: 6 additions & 4 deletions RegionVision/RegionVision.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="TerrariaServer, Version=1.15.0.0, Culture=neutral, processorArchitecture=x86">
<Reference Include="TerrariaServer, Version=1.3.0.4, Culture=neutral, processorArchitecture=x86">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\refs\TerrariaServer.exe</HintPath>
</Reference>
<Reference Include="TShockAPI, Version=4.3.0.0, Culture=neutral, processorArchitecture=x86">
<Reference Include="TShockAPI, Version=4.3.5.0, Culture=neutral, processorArchitecture=x86">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\refs\TShockAPI.dll</HintPath>
</Reference>
Expand All @@ -55,8 +55,10 @@
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>
</PostBuildEvent>
<PostBuildEvent>copy $(TargetFileName) ..\..\..\..\TShock\ServerPlugins\$(TargetFileName)
if not "$(ConfigurationName)"=="Release" exit
copy $(TargetFileName) ..\..\..\bins\$(TargetFileName)
</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.
Expand Down
Binary file modified bins/RegionVision.dll
Binary file not shown.
6 changes: 6 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
Version 1.2.3 – 17 July 2015
----------------------------

* Updated for API version 1.19 and _Terraria_ 1.3.
* Repainted one of the messages.

Version 1.2.2 – 29 June 2015
----------------------------

Expand Down
Binary file modified refs/TShockAPI.dll
Binary file not shown.
Binary file modified refs/TerrariaServer.exe
Binary file not shown.

0 comments on commit 73e3f7e

Please sign in to comment.