mirror of
https://github.com/babalae/better-genshin-impact
synced 2025-01-07 03:17:16 +08:00
3c2739c5c5
优化项目结构并新增任务和路径文件 主要更改: - 在 `BetterGenshinImpact.csproj` 文件中,添加了对 `GameTask\Common\Element\Assets\Json\**` 目录的处理,并确保其内容始终复制到输出目录。 - 在 `RecognitionObject.cs` 文件中,新增了多个静态方法 `Ocr` 和一个静态实例 `OcrThis`。 - 在 `PathExecutor.cs` 文件中,优化了路径执行逻辑,新增 `GetPosition` 方法,并调整了超时判断。 - 在 `AutoPickAssets.cs` 文件中,添加了多个 `using` 语句,新增 `_logger` 和 `PickRo` 字段,并在构造函数中添加了自定义拾取按键的处理逻辑。 - 在 `AutoPickTrigger.cs` 文件中,移除了自定义拾取按键的初始化逻辑。 - 在 `OneKeyExpeditionTask.cs` 文件中,注释掉了 `Cv2.ImWrite` 方法的调用。 - 在 `TpTask.cs` 文件中,添加了点位很近时不切换的判断逻辑。 - 在 `BvSimpleOperation.cs` 文件中,新增了多个点击按钮的方法和 `FindF`、`FindFAndPress` 方法。 - 在 `BvStatus.cs` 文件中,新增了多个方法用于判断是否在对话界面并等待对话界面加载完成。 - 在 `GameTaskManager.cs` 文件中,添加了 `MapAssets.DestroyInstance` 方法的调用。 - 在 `HotKeyPageViewModel.cs` 文件中,注释掉了 `ElementalCollectHandler` 的测试代码,并添加了 `GoToAdventurersGuildTask` 的测试代码。 - 在 `TaskSettingsPageViewModel.cs` 文件中,更新了 `OnGoToAutoGeniusInvokationUrlAsync` 方法中的 URL。 - 添加了 `BetterGenshinImpact - Backup.csproj` 文件,配置了项目属性、资源文件和包引用。 - 添加了 `冒险家协会_枫丹.json`、`合成台_枫丹.json` 和 `合成台_璃月.json` 文件,定义了前往相应地点的路径和动作。 - 添加了 `ChooseTalkOptionTask.cs` 文件,实现了选择对话选项的任务。 - 添加了 `GoToAdventurersGuildTask.cs` 文件,实现了前往冒险家协会领取奖励的任务。
148 lines
6.5 KiB
XML
148 lines
6.5 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<OutputType>WinExe</OutputType>
|
|
<TargetFramework>net8.0-windows10.0.22621.0</TargetFramework>
|
|
<Nullable>enable</Nullable>
|
|
<UseWPF>true</UseWPF>
|
|
<UseWindowsForms>true</UseWindowsForms>
|
|
<LangVersion>12.0</LangVersion>
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
<ApplicationIcon>Assets\Images\logo.ico</ApplicationIcon>
|
|
<AssemblyName>BetterGI</AssemblyName>
|
|
<AssemblyVersion>0.36.2</AssemblyVersion>
|
|
<Platforms>x64</Platforms>
|
|
<DebugType>embedded</DebugType>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<None Remove="Assets\Images\*.jpg" />
|
|
<None Remove="Assets\Images\*" />
|
|
<None Remove="Assets\Images\*.png" />
|
|
<None Remove="Assets\Images\*.ico" />
|
|
<None Remove="Assets\Fonts\*.ttf" />
|
|
<None Remove="Assets\Highlighting\*.xshd" />
|
|
<None Remove="Assets\Strings\*.html" />
|
|
<None Remove="Assets\Strings\*.md" />
|
|
<None Remove="Assets\Audios\*.mp3" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Resource Include="Assets\Images\*.jpg" />
|
|
<Resource Include="Assets\Images\Anniversary\*" />
|
|
<Resource Include="Assets\Images\*.png" />
|
|
<Resource Include="Assets\Images\*.ico" />
|
|
<Resource Include="Assets\Fonts\*.ttf" />
|
|
<Resource Include="Assets\Highlighting\*.xshd" />
|
|
<Resource Include="Assets\Strings\*.html" />
|
|
<Resource Include="Assets\Strings\*.md" />
|
|
<Resource Include="Assets\Audios\*.mp3" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="AvalonEdit" Version="6.3.0.90" />
|
|
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.2" />
|
|
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.0" />
|
|
<PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.0" />
|
|
<PackageReference Include="Microsoft.Extensions.Logging" Version="8.0.0" />
|
|
<PackageReference Include="Microsoft.ML.OnnxRuntime.DirectML" Version="1.18.1" />
|
|
<PackageReference Include="Microsoft.ML.OnnxRuntime.Managed" Version="1.18.1" />
|
|
<PackageReference Include="Microsoft.Web.WebView2" Version="1.0.2592.51" />
|
|
<PackageReference Include="Ookii.Dialogs.Wpf" Version="5.0.1" />
|
|
<PackageReference Include="OpenCvSharp4.WpfExtensions" Version="4.8.0.20230708" />
|
|
<PackageReference Include="OpenCvSharp4.Extensions" Version="4.8.0.20230708" />
|
|
<PackageReference Include="OpenCvSharp4.Windows" Version="4.8.0.20230708" />
|
|
<PackageReference Include="Microsoft.Xaml.Behaviors.Wpf" Version="1.1.122" />
|
|
<PackageReference Include="Microsoft.ClearScript.V8" Version="7.4.5" />
|
|
<PackageReference Include="Microsoft.ClearScript.V8.Native.win-x64" Version="7.4.5" />
|
|
<PackageReference Include="MouseKeyHook" Version="5.7.1" />
|
|
<PackageReference Include="PresentMonFps" Version="2.0.5" />
|
|
<PackageReference Include="Sdcb.PaddleInference" Version="2.5.0.1" />
|
|
<PackageReference Include="Sdcb.PaddleInference.runtime.win64.openblas" Version="2.5.1" />
|
|
<PackageReference Include="Sdcb.PaddleOCR" Version="2.7.0" />
|
|
<PackageReference Include="Sdcb.PaddleOCR.Models.Online" Version="2.7.0.1" />
|
|
<PackageReference Include="Sdl.MultiSelectComboBox" Version="1.0.103" />
|
|
<PackageReference Include="Serilog.Extensions.Logging" Version="8.0.0" />
|
|
<PackageReference Include="Serilog.Sinks.File" Version="6.0.0" />
|
|
<PackageReference Include="Serilog.Sinks.RichTextBoxEx.Wpf" Version="1.1.0.1" />
|
|
<PackageReference Include="System.IO.Hashing" Version="8.0.0" />
|
|
<PackageReference Include="Vanara.PInvoke.NtDll" Version="4.0.2" />
|
|
<PackageReference Include="Vanara.PInvoke.SHCore" Version="4.0.2" />
|
|
<PackageReference Include="Vanara.PInvoke.User32" Version="4.0.2" />
|
|
<PackageReference Include="WPF-UI" Version="3.0.5" />
|
|
<PackageReference Include="WPF-UI.Tray" Version="3.0.5" />
|
|
<PackageReference Include="WPF-UI.Violeta" Version="3.0.5.23" />
|
|
<PackageReference Include="YoloV8" Version="4.1.7" />
|
|
<PackageReference Include="gong-wpf-dragdrop" Version="3.2.1" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup Condition=" '$(Configuration)' == 'Debug'">
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\Fischless.GameCapture\Fischless.GameCapture.csproj" />
|
|
<ProjectReference Include="..\Fischless.HotkeyCapture\Fischless.HotkeyCapture.csproj" />
|
|
<ProjectReference Include="..\Fischless.WindowsInput\Fischless.WindowsInput.csproj" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<None Update="Assets\Map\**">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</None>
|
|
<None Update="Assets\Model\**">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</None>
|
|
<None Update="GameTask\AutoFight\Assets\1920x1080\**">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</None>
|
|
<None Update="GameTask\AutoFight\Assets\combat_avatar.json">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</None>
|
|
<None Update="GameTask\AutoFishing\Assets\1920x1080\**">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</None>
|
|
<None Update="GameTask\AutoGeniusInvokation\Assets\1920x1080\**">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</None>
|
|
<None Update="GameTask\AutoGeniusInvokation\Assets\tcg_character_card.json">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</None>
|
|
<None Update="GameTask\AutoPick\Assets\1920x1080\**">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</None>
|
|
<None Update="GameTask\AutoSkip\Assets\1920x1080\**">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</None>
|
|
<None Update="GameTask\AutoSkip\Assets\hangout.json">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</None>
|
|
<None Update="GameTask\AutoTrackPath\Assets\tp.json">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</None>
|
|
<None Update="GameTask\Common\Element\Assets\1920x1080\**">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</None>
|
|
<None Update="GameTask\AutoWood\Assets\1920x1080\**">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</None>
|
|
<None Update="GameTask\GameLoading\Assets\1920x1080\**">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</None>
|
|
<None Update="GameTask\QuickTeleport\Assets\1920x1080\**">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</None>
|
|
<None Update="GameTask\QuickSereniteaPot\Assets\1920x1080\**">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</None>
|
|
<None Update="User\**">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</None>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Folder Include="GameTask\Common\Element\Assets\新文件夹\" />
|
|
<Folder Include="GameTask\OneDragon\" />
|
|
<Folder Include="User\AutoPathing\" />
|
|
</ItemGroup>
|
|
|
|
</Project> |