Skip to content

Commit

Permalink
Update to TShock 4.3.0 GM1.
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrioCelos committed Jun 29, 2015
1 parent 15d7cfc commit 1fdf599
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 12 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.1.0")]
[assembly: AssemblyFileVersion("1.2.1.0")]
[assembly: AssemblyVersion("1.2.2.0")]
[assembly: AssemblyFileVersion("1.2.2.0")]
10 changes: 3 additions & 7 deletions RegionVision/RegionVision.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,15 @@
using TShockAPI;
using TShockAPI.Hooks;

namespace RegionVision
{
namespace RegionVision {
[ApiVersion(1, 17)]
public class RegionVisionPlugin : TerrariaPlugin
{
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, 0, 0); }
get { return new Version(1, 2, 2, 0); }
}

public override string Name {
Expand Down Expand Up @@ -91,7 +89,6 @@ public override void Initialize()
}

void RegionHooks_RegionDeleted(RegionHooks.RegionDeletedEventArgs args) {
Console.WriteLine("Region {0} was deleted.", args.Region.Name);
if (args.Region.WorldID != Main.worldID.ToString()) return;

// If any players were viewing this region, clear its border.
Expand All @@ -118,7 +115,6 @@ void RegionHooks_RegionDeleted(RegionHooks.RegionDeletedEventArgs args) {
}
}
void RegionHooks_RegionCreated(RegionHooks.RegionCreatedEventArgs args) {
Console.WriteLine("Region {0} was created. ({1})", args.Region.Name, args.Region.Area);
refreshTimer.Stop();
refreshTimer_Elapsed(this, null);
}
Expand Down
9 changes: 6 additions & 3 deletions RegionVision/RegionVision.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>RegionVision</RootNamespace>
<AssemblyName>RegionVision</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand All @@ -21,6 +22,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
Expand All @@ -29,17 +31,18 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup>
<RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="TerrariaServer, Version=1.15.0.0, Culture=neutral, processorArchitecture=MSIL">
<Reference Include="TerrariaServer, Version=1.15.0.0, Culture=neutral, processorArchitecture=x86">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\refs\TerrariaServer.exe</HintPath>
</Reference>
<Reference Include="TShockAPI, Version=4.2.2.515, Culture=neutral, processorArchitecture=x86">
<Reference Include="TShockAPI, Version=4.3.0.0, Culture=neutral, processorArchitecture=x86">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\refs\TShockAPI.dll</HintPath>
</Reference>
Expand Down
Binary file modified bins/RegionVision.dll
Binary file not shown.
5 changes: 5 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
Version 1.2.2 – 29 June 2015
----------------------------

* Now targets [TShock 4.3.0 GM1](https://tshock.co/xf/index.php?threads/tshock-4-3-0-gm-prerelease.3759/) and .NET Framework 4.5.

Version 1.2.1 – 9 May 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 1fdf599

Please sign in to comment.