File tree Expand file tree Collapse file tree 6 files changed +8
-10
lines changed Expand file tree Collapse file tree 6 files changed +8
-10
lines changed Original file line number Diff line number Diff line change 3
3
<SolutionDir >$(MSBuildThisFileDirectory)</SolutionDir >
4
4
<CommonProjectPath >$(SolutionDir)src\VBY\Common\Common.csproj</CommonProjectPath >
5
5
<SharedCodePath >$(SolutionDir)src\SharedCode\</SharedCodePath >
6
- <TShockVersion >5.2.4</TShockVersion >
7
6
<OutToPlugin >true</OutToPlugin >
8
7
</PropertyGroup >
9
8
<PropertyGroup Condition =" $([MSBuild]::IsOsPlatform('Windows'))" >
Original file line number Diff line number Diff line change 5
5
<IsPackable >true</IsPackable >
6
6
<GeneratePackageOnBuild >true</GeneratePackageOnBuild >
7
7
8
- <TargetFramework >net6 .0</TargetFramework >
8
+ <TargetFramework >net9 .0</TargetFramework >
9
9
<PackageId >My.Plugins.Sdk</PackageId >
10
10
<PackageVersion >1.0.0</PackageVersion >
11
11
<Authors >yu</Authors >
16
16
</PropertyGroup >
17
17
<ItemGroup >
18
18
<NuGetAuditSuppress Include =" https://github.com/advisories/GHSA-6qmf-mmc7-6c2p" />
19
- <PackageReference Include =" TShock" Version =" 5.2.4 " />
19
+ <PackageReference Include =" UnrealMultiple. TShock-Beta " Version =" 5.9.9 " />
20
20
</ItemGroup >
21
21
<ItemGroup >
22
22
<None Include =" Sdk\Sdk.props;Sdk\Sdk.targets" Pack =" true" PackagePath =" sdk/%(Filename)%(Extension)" />
Original file line number Diff line number Diff line change 7
7
<Import Project =" Sdk.props" Sdk =" Microsoft.NET.Sdk" />
8
8
9
9
<PropertyGroup >
10
- <TargetFramework >net6 .0</TargetFramework >
10
+ <TargetFramework >net9 .0</TargetFramework >
11
11
<BaseOutputPath >$(SolutionDir)out</BaseOutputPath >
12
12
<AppendTargetFrameworkToOutputPath >false</AppendTargetFrameworkToOutputPath >
13
13
<ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch >None</ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch >
14
14
</PropertyGroup >
15
15
16
16
<ItemGroup >
17
17
<NuGetAuditSuppress Include =" https://github.com/advisories/GHSA-6qmf-mmc7-6c2p" />
18
- <PackageReference Include =" TShock" Version =" $(TShockVersion) " >
18
+ <PackageReference Include =" UnrealMultiple. TShock-Beta " Version =" 5.9.9 " >
19
19
<ExcludeAssets >contentFiles</ExcludeAssets >
20
20
</PackageReference >
21
21
</ItemGroup >
Original file line number Diff line number Diff line change 7
7
<description >custom sdk for TShock</description >
8
8
<readme >docs\readme.md</readme >
9
9
<dependencies >
10
- <group targetFramework =" net6 .0" >
11
- <dependency id =" TShock" version =" 5.2.0 " />
10
+ <group targetFramework =" net9 .0" >
11
+ <dependency id =" UnrealMultiple. TShock-Beta " version =" 5.9.9 " />
12
12
</group >
13
13
</dependencies >
14
14
</metadata >
15
15
<files >
16
16
<file src =" readme.md" target =" docs\" />
17
17
<file src =" Sdk\*" target =" sdk\" />
18
- <file src =" lib\net6 .0\*" target =" lib\net6 .0\" />
18
+ <file src =" lib\net9 .0\*" target =" lib\net9 .0\" />
19
19
</files >
20
20
</package >
Original file line number Diff line number Diff line change @@ -4,5 +4,5 @@ namespace TShockAPI.DB;
4
4
5
5
public static class TShockExt
6
6
{
7
- public static SqlTableCreator GetTableCreator ( this IDbConnection db ) => new ( db , db . GetSqlType ( ) == SqlType . Sqlite ? new SqliteQueryCreator ( ) : new MysqlQueryCreator ( ) ) ;
7
+ public static SqlTableCreator GetTableCreator ( this IDbConnection db ) => new ( db , db . GetSqlQueryBuilder ( ) ) ;
8
8
}
Original file line number Diff line number Diff line change 11
11
using Newtonsoft . Json . Linq ;
12
12
13
13
using Terraria ;
14
- using Terraria . GameContent . ItemDropRules ;
15
14
using Terraria . ID ;
16
15
17
16
using TerrariaApi . Server ;
You can’t perform that action at this time.
0 commit comments