mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-13 12:14:16 +01:00
v4.1.0.3, new versioning scheme
This commit is contained in:
parent
e54c405f5c
commit
28e348d5f0
3 changed files with 12 additions and 9 deletions
|
|
@ -14,10 +14,13 @@
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Label="Feature">
|
<PropertyGroup Label="Feature">
|
||||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||||
<AssemblyVersion>3.2.0.0</AssemblyVersion>
|
<AssemblyVersion>4.1.0.3</AssemblyVersion>
|
||||||
<FileVersion>3.2.0.0</FileVersion>
|
<FileVersion>4.1.0.3</FileVersion>
|
||||||
<Description>XIVLauncher addon injection</Description>
|
<Description>XIVLauncher addon injection</Description>
|
||||||
<Version>3.2.0</Version>
|
<Version>4.1.0.3</Version>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
|
||||||
|
<DocumentationFile></DocumentationFile>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="EasyHook" Version="2.7.6270" />
|
<PackageReference Include="EasyHook" Version="2.7.6270" />
|
||||||
|
|
|
||||||
|
|
@ -14,9 +14,9 @@
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Label="Feature">
|
<PropertyGroup Label="Feature">
|
||||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||||
<AssemblyVersion>3.0.0.0</AssemblyVersion>
|
<AssemblyVersion>4.1.0.3</AssemblyVersion>
|
||||||
<Version>3.0.0</Version>
|
<Version>4.1.0.3</Version>
|
||||||
<FileVersion>3.0.0.0</FileVersion>
|
<FileVersion>4.1.0.3</FileVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup Label="Resources">
|
<ItemGroup Label="Resources">
|
||||||
<None Include="$(SolutionDir)/Resources/**/*" CopyToOutputDirectory="PreserveNewest" Visible="false" />
|
<None Include="$(SolutionDir)/Resources/**/*" CopyToOutputDirectory="PreserveNewest" Visible="false" />
|
||||||
|
|
|
||||||
|
|
@ -19,13 +19,13 @@ namespace Dalamud.Game
|
||||||
private static extern int setsockopt(IntPtr socket, SocketOptionLevel level, SocketOptionName optName, ref IntPtr optVal, int optLen);
|
private static extern int setsockopt(IntPtr socket, SocketOptionLevel level, SocketOptionName optName, ref IntPtr optVal, int optLen);
|
||||||
|
|
||||||
public WinSockHandlers() {
|
public WinSockHandlers() {
|
||||||
ws2SocketHook = Hook<SocketDelegate>.FromSymbol("ws2_32.dll", "socket", new SocketDelegate(OnSocket));
|
this.ws2SocketHook = Hook<SocketDelegate>.FromSymbol("ws2_32.dll", "socket", new SocketDelegate(OnSocket));
|
||||||
ws2SocketHook.Enable();
|
this.ws2SocketHook.Enable();
|
||||||
}
|
}
|
||||||
|
|
||||||
private IntPtr OnSocket(int af, int type, int protocol)
|
private IntPtr OnSocket(int af, int type, int protocol)
|
||||||
{
|
{
|
||||||
var socket = ws2SocketHook.Original(af, type, protocol);
|
var socket = this.ws2SocketHook.Original(af, type, protocol);
|
||||||
|
|
||||||
// IPPROTO_TCP
|
// IPPROTO_TCP
|
||||||
if (type == 1)
|
if (type == 1)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue