mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +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 Label="Feature">
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
<AssemblyVersion>3.2.0.0</AssemblyVersion>
|
||||
<FileVersion>3.2.0.0</FileVersion>
|
||||
<AssemblyVersion>4.1.0.3</AssemblyVersion>
|
||||
<FileVersion>4.1.0.3</FileVersion>
|
||||
<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>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="EasyHook" Version="2.7.6270" />
|
||||
|
|
|
|||
|
|
@ -14,9 +14,9 @@
|
|||
</PropertyGroup>
|
||||
<PropertyGroup Label="Feature">
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
<AssemblyVersion>3.0.0.0</AssemblyVersion>
|
||||
<Version>3.0.0</Version>
|
||||
<FileVersion>3.0.0.0</FileVersion>
|
||||
<AssemblyVersion>4.1.0.3</AssemblyVersion>
|
||||
<Version>4.1.0.3</Version>
|
||||
<FileVersion>4.1.0.3</FileVersion>
|
||||
</PropertyGroup>
|
||||
<ItemGroup Label="Resources">
|
||||
<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);
|
||||
|
||||
public WinSockHandlers() {
|
||||
ws2SocketHook = Hook<SocketDelegate>.FromSymbol("ws2_32.dll", "socket", new SocketDelegate(OnSocket));
|
||||
ws2SocketHook.Enable();
|
||||
this.ws2SocketHook = Hook<SocketDelegate>.FromSymbol("ws2_32.dll", "socket", new SocketDelegate(OnSocket));
|
||||
this.ws2SocketHook.Enable();
|
||||
}
|
||||
|
||||
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
|
||||
if (type == 1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue