mirror of
https://jihulab.com/DGP-Studio/Snap.Hutao.git
synced 2025-11-19 21:02:53 +08:00
update island env layout
This commit is contained in:
@@ -94,7 +94,10 @@ internal sealed class GameFpsUnlocker : IGameFpsUnlocker
|
||||
}
|
||||
|
||||
IslandEnvironmentView view = UpdateIslandEnvironment(handle, launchOptions);
|
||||
context.Logger.LogDebug("Island Environment|{State}|{Error}", view.State, view.LastError);
|
||||
if (view.State is not IslandState.Started)
|
||||
{
|
||||
context.Logger.LogDebug("Island Environment|{State}|{Error}", view.State, view.LastError);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,15 +7,14 @@ namespace Snap.Hutao.Service.Game.Unlocker.Island;
|
||||
|
||||
internal struct IslandEnvironment
|
||||
{
|
||||
public nuint Reserved1;
|
||||
public int Reserved2;
|
||||
public IslandState State;
|
||||
public WIN32_ERROR LastError;
|
||||
public int Reserved3;
|
||||
|
||||
public float FieldOfView;
|
||||
public int TargetFrameRate;
|
||||
public bool DisableFog;
|
||||
public nuint FunctionOffsetFieldOfView;
|
||||
public nuint FunctionOffsetTargetFrameRate;
|
||||
public nuint FunctionOffsetFog;
|
||||
|
||||
public uint FunctionOffsetFieldOfView;
|
||||
public uint FunctionOffsetTargetFrameRate;
|
||||
public uint FunctionOffsetFog;
|
||||
}
|
||||
@@ -7,15 +7,14 @@ namespace Snap.Hutao.Service.Game.Unlocker.Island;
|
||||
|
||||
internal struct IslandEnvironmentView
|
||||
{
|
||||
public nuint Reserved1;
|
||||
public int Reserved2;
|
||||
public IslandState State;
|
||||
public WIN32_ERROR LastError;
|
||||
public int Reserved3;
|
||||
|
||||
public float FieldOfView;
|
||||
public int TargetFrameRate;
|
||||
public bool DisableFog;
|
||||
public nuint FunctionOffsetFieldOfView;
|
||||
public nuint FunctionOffsetTargetFrameRate;
|
||||
public nuint FunctionOffsetFog;
|
||||
|
||||
public uint FunctionOffsetFieldOfView;
|
||||
public uint FunctionOffsetTargetFrameRate;
|
||||
public uint FunctionOffsetFog;
|
||||
}
|
||||
@@ -320,7 +320,7 @@
|
||||
<PrivateAssets>all</PrivateAssets>
|
||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||
</PackageReference>
|
||||
<PackageReference Include="Snap.Hutao.UnlockerIsland" Version="1.1.4">
|
||||
<PackageReference Include="Snap.Hutao.UnlockerIsland" Version="1.1.5">
|
||||
<PrivateAssets>all</PrivateAssets>
|
||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||
</PackageReference>
|
||||
|
||||
Reference in New Issue
Block a user