From c5121f708ec1057a4f0a6a6e12ab503e5e17639f Mon Sep 17 00:00:00 2001 From: DismissedLight <1686188646@qq.com> Date: Mon, 25 Nov 2024 16:43:19 +0800 Subject: [PATCH 01/70] Restrict Game Path Access --- .../Core/Threading/AsyncReaderWriterLock.cs | 32 ++ .../Picker/IFileSystemPickerInteraction.cs | 7 +- .../Service/Abstraction/DbStoreOptions.cs | 11 +- .../Snap.Hutao/Service/Game/GameFileSystem.cs | 18 +- .../Service/Game/GameFileSystemExtension.cs | 10 +- .../Service/Game/IGameFileSystem.cs | 30 ++ .../Service/Game/IRestrictedGamePathAccess.cs | 16 + .../Snap.Hutao/Service/Game/LaunchOptions.cs | 393 +++++++++--------- .../Service/Game/LaunchOptionsExtension.cs | 66 --- .../Package/Advanced/GameInstallOptions.cs | 10 +- .../Advanced/GamePackageOperationContext.cs | 4 +- .../PackageOperationGameFileSystem.cs | 66 +++ .../Game/PathAbstraction/GamePathEntry.cs | 10 +- .../Game/RestrictedGamePathAccessExtension.cs | 89 ++++ .../InfoBarOptionsBuilderExtension.cs | 9 +- .../Notification/InfoBarServiceExtension.cs | 29 +- .../LaunchGameInstallGameDialog.xaml.cs | 13 +- .../Game/GamePackageInstallViewModel.cs | 6 +- .../ViewModel/Game/LaunchGameViewModel.cs | 9 +- .../Snap.Hutao/ViewModel/TestViewModel.cs | 2 +- 20 files changed, 514 insertions(+), 316 deletions(-) create mode 100644 src/Snap.Hutao/Snap.Hutao/Service/Game/IGameFileSystem.cs create mode 100644 src/Snap.Hutao/Snap.Hutao/Service/Game/IRestrictedGamePathAccess.cs delete mode 100644 src/Snap.Hutao/Snap.Hutao/Service/Game/LaunchOptionsExtension.cs create mode 100644 src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/PackageOperationGameFileSystem.cs create mode 100644 src/Snap.Hutao/Snap.Hutao/Service/Game/RestrictedGamePathAccessExtension.cs diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Threading/AsyncReaderWriterLock.cs b/src/Snap.Hutao/Snap.Hutao/Core/Threading/AsyncReaderWriterLock.cs index 3683969eb2..1302606ea8 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Threading/AsyncReaderWriterLock.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Threading/AsyncReaderWriterLock.cs @@ -39,6 +39,22 @@ public Task ReaderLockAsync() } } + public bool TryReaderLock(out Releaser releaser) + { + lock (waitingWriters) + { + if (status >= 0 && waitingWriters.Count == 0) + { + ++status; + releaser = new(this, false); + return true; + } + } + + releaser = default; + return false; + } + public Task WriterLockAsync() { lock (waitingWriters) @@ -55,6 +71,22 @@ public Task WriterLockAsync() } } + public bool TryWriterLock(out Releaser releaser) + { + lock (waitingWriters) + { + if (status == 0) + { + status = -1; + releaser = new(this, true); + return true; + } + } + + releaser = default; + return false; + } + private void ReaderRelease() { TaskCompletionSource? toWake = default; diff --git a/src/Snap.Hutao/Snap.Hutao/Factory/Picker/IFileSystemPickerInteraction.cs b/src/Snap.Hutao/Snap.Hutao/Factory/Picker/IFileSystemPickerInteraction.cs index 713d1dc32f..c2827cd440 100644 --- a/src/Snap.Hutao/Snap.Hutao/Factory/Picker/IFileSystemPickerInteraction.cs +++ b/src/Snap.Hutao/Snap.Hutao/Factory/Picker/IFileSystemPickerInteraction.cs @@ -1,15 +1,16 @@ // Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. +using JetBrains.Annotations; using Snap.Hutao.Core.IO; namespace Snap.Hutao.Factory.Picker; internal interface IFileSystemPickerInteraction { - ValueResult PickFile(string? title, string? defaultFileName, (string Name, string Type)[]? filters); + ValueResult PickFile([LocalizationRequired] string? title, string? defaultFileName, (string Name, string Type)[]? filters); - ValueResult PickFolder(string? title); + ValueResult PickFolder([LocalizationRequired] string? title); - ValueResult SaveFile(string? title, string? defaultFileName, (string Name, string Type)[]? filters); + ValueResult SaveFile([LocalizationRequired] string? title, string? defaultFileName, (string Name, string Type)[]? filters); } \ No newline at end of file diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Abstraction/DbStoreOptions.cs b/src/Snap.Hutao/Snap.Hutao/Service/Abstraction/DbStoreOptions.cs index 7f5de6358f..8ded61f6b0 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Abstraction/DbStoreOptions.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Abstraction/DbStoreOptions.cs @@ -2,6 +2,7 @@ // Licensed under the MIT license. using CommunityToolkit.Mvvm.ComponentModel; +using JetBrains.Annotations; using Microsoft.EntityFrameworkCore; using Snap.Hutao.Core.Database; using Snap.Hutao.Model.Entity; @@ -153,25 +154,25 @@ protected T GetOption(ref T? storage, string key, Func deserialize protected bool SetOption(ref string? storage, string key, string? value, [CallerMemberName] string? propertyName = null) { - return SetOption(ref storage, key, value, v => v, propertyName); + return SetOption(ref storage, key, value, static v => v, propertyName); } protected bool SetOption(ref bool? storage, string key, bool value, [CallerMemberName] string? propertyName = null) { - return SetOption(ref storage, key, value, v => $"{v}", propertyName); + return SetOption(ref storage, key, value, static v => $"{v}", propertyName); } protected bool SetOption(ref int? storage, string key, int value, [CallerMemberName] string? propertyName = null) { - return SetOption(ref storage, key, value, v => $"{v}", propertyName); + return SetOption(ref storage, key, value, static v => $"{v}", propertyName); } protected bool SetOption(ref float? storage, string key, float value, [CallerMemberName] string? propertyName = null) { - return SetOption(ref storage, key, value, v => $"{v}", propertyName); + return SetOption(ref storage, key, value, static v => $"{v}", propertyName); } - protected bool SetOption(ref T? storage, string key, T value, Func serializer, [CallerMemberName] string? propertyName = null) + protected bool SetOption(ref T? storage, string key, T value, [RequireStaticDelegate] Func serializer, [CallerMemberName] string? propertyName = null) { if (!SetProperty(ref storage, value, propertyName)) { diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/GameFileSystem.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/GameFileSystem.cs index 8991f9a6bd..72bc21d087 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/GameFileSystem.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/GameFileSystem.cs @@ -6,19 +6,20 @@ namespace Snap.Hutao.Service.Game; -/// -/// A thin wrapper around the game's file path. -/// -internal sealed class GameFileSystem +internal sealed partial class GameFileSystem : IGameFileSystem { - public GameFileSystem(string gameFilePath) + private readonly AsyncReaderWriterLock.Releaser releaser; + + public GameFileSystem(string gameFilePath, AsyncReaderWriterLock.Releaser releaser) { GameFilePath = gameFilePath; + this.releaser = releaser; } - public GameFileSystem(string gameFilePath, GameAudioSystem gameAudioSystem) + public GameFileSystem(string gameFilePath, AsyncReaderWriterLock.Releaser releaser, GameAudioSystem gameAudioSystem) { GameFilePath = gameFilePath; + this.releaser = releaser; Audio = gameAudioSystem; } @@ -61,4 +62,9 @@ public string GameDirectory [field: MaybeNull] public GameAudioSystem Audio { get => field ??= new(GameFilePath); } + + public void Dispose() + { + releaser.Dispose(); + } } \ No newline at end of file diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/GameFileSystemExtension.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/GameFileSystemExtension.cs index 9b71d58b5b..121f56afe5 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/GameFileSystemExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/GameFileSystemExtension.cs @@ -10,7 +10,7 @@ namespace Snap.Hutao.Service.Game; internal static class GameFileSystemExtension { - public static bool TryGetGameVersion(this GameFileSystem gameFileSystem, [NotNullWhen(true)] out string? version) + public static bool TryGetGameVersion(this IGameFileSystem gameFileSystem, [NotNullWhen(true)] out string? version) { version = default!; if (File.Exists(gameFileSystem.GameConfigFilePath)) @@ -36,7 +36,7 @@ public static bool TryGetGameVersion(this GameFileSystem gameFileSystem, [NotNul return false; } - public static void GenerateConfigurationFile(this GameFileSystem gameFileSystem, string version, LaunchScheme launchScheme) + public static void GenerateConfigurationFile(this IGameFileSystem gameFileSystem, string version, LaunchScheme launchScheme) { string gameBiz = launchScheme.IsOversea ? "hk4e_global" : "hk4e_cn"; string content = $$$""" @@ -56,7 +56,7 @@ public static void GenerateConfigurationFile(this GameFileSystem gameFileSystem, File.WriteAllText(gameFileSystem.GameConfigFilePath, content); } - public static void UpdateConfigurationFile(this GameFileSystem gameFileSystem, string version) + public static void UpdateConfigurationFile(this IGameFileSystem gameFileSystem, string version) { List ini = IniSerializer.DeserializeFromFile(gameFileSystem.GameConfigFilePath); IniParameter gameVersion = (IniParameter)ini.Single(e => e is IniParameter { Key: "game_version" }); @@ -64,7 +64,7 @@ public static void UpdateConfigurationFile(this GameFileSystem gameFileSystem, s IniSerializer.SerializeToFile(gameFileSystem.GameConfigFilePath, ini); } - public static bool TryFixConfigurationFile(this GameFileSystem gameFileSystem, LaunchScheme launchScheme) + public static bool TryFixConfigurationFile(this IGameFileSystem gameFileSystem, LaunchScheme launchScheme) { if (!File.Exists(gameFileSystem.ScriptVersionFilePath)) { @@ -77,7 +77,7 @@ public static bool TryFixConfigurationFile(this GameFileSystem gameFileSystem, L return true; } - public static bool TryFixScriptVersion(this GameFileSystem gameFileSystem) + public static bool TryFixScriptVersion(this IGameFileSystem gameFileSystem) { if (!File.Exists(gameFileSystem.GameConfigFilePath)) { diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/IGameFileSystem.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/IGameFileSystem.cs new file mode 100644 index 0000000000..6405be2b07 --- /dev/null +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/IGameFileSystem.cs @@ -0,0 +1,30 @@ +// // Copyright (c) DGP Studio. All rights reserved. +// // Licensed under the MIT license. + +namespace Snap.Hutao.Service.Game; + +internal interface IGameFileSystem : IDisposable +{ + string GameFilePath { get; } + + string GameFileName { get; } + + string GameDirectory { get; } + + string GameConfigFilePath { get; } + + // ReSharper disable once InconsistentNaming + string PCGameSDKFilePath { get; } + + string ScreenShotDirectory { get; } + + string DataDirectory { get; } + + string ScriptVersionFilePath { get; } + + string ChunksDirectory { get; } + + string PredownloadStatusPath { get; } + + GameAudioSystem Audio { get; } +} \ No newline at end of file diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/IRestrictedGamePathAccess.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/IRestrictedGamePathAccess.cs new file mode 100644 index 0000000000..e971205fcf --- /dev/null +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/IRestrictedGamePathAccess.cs @@ -0,0 +1,16 @@ +// Copyright (c) DGP Studio. All rights reserved. +// Licensed under the MIT license. + +using Snap.Hutao.Service.Game.PathAbstraction; +using System.Collections.Immutable; + +namespace Snap.Hutao.Service.Game; + +internal interface IRestrictedGamePathAccess +{ + string GamePath { get; set; } + + ImmutableArray GamePathEntries { get; set; } + + AsyncReaderWriterLock GamePathLock { get; } +} \ No newline at end of file diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/LaunchOptions.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/LaunchOptions.cs index ae3bd9b150..5dca577aa5 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/LaunchOptions.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/LaunchOptions.cs @@ -3,6 +3,7 @@ using CommunityToolkit.Mvvm.Messaging; using CommunityToolkit.WinUI.Controls; +using JetBrains.Annotations; using Microsoft.UI.Windowing; using Snap.Hutao.Model; using Snap.Hutao.Model.Entity; @@ -13,94 +14,56 @@ using Snap.Hutao.Win32.Graphics.Gdi; using System.Collections.Immutable; using System.Globalization; -using Windows.Graphics; +using System.Runtime.InteropServices; using static Snap.Hutao.Win32.Gdi32; using static Snap.Hutao.Win32.User32; namespace Snap.Hutao.Service.Game; [Injection(InjectAs.Singleton)] -internal sealed partial class LaunchOptions : DbStoreOptions, IRecipient +internal sealed partial class LaunchOptions : DbStoreOptions, + IRestrictedGamePathAccess, + IRecipient { private readonly ITaskContext taskContext; - - private readonly int primaryScreenWidth; - private readonly int primaryScreenHeight; - private readonly int primaryScreenFps; - - private ImmutableArray? gamePathEntries; - - private bool? usingHoyolabAccount; - private bool? areCommandLineArgumentsEnabled; - private bool? isFullScreen; - private bool? isBorderless; - private bool? isExclusive; - private int? screenWidth; - private bool? isScreenWidthEnabled; - private int? screenHeight; - private bool? isScreenHeightEnabled; - - private bool? isIslandEnabled; - private bool? hookingSetFieldOfView; - private bool? isSetFieldOfViewEnabled; - private float? targetFov; - private bool? fixLowFovScene; - private bool? disableFog; - private bool? isSetTargetFrameRateEnabled; - private int? targetFps; - private bool? hookingOpenTeam; - private bool? removeOpenTeamProgress; - private bool? hookingMickyWonderPartner2; - private bool? isMonitorEnabled; - private bool? usingCloudThirdPartyMobile; - private bool? isWindowsHDREnabled; - private bool? usingStarwardPlayTimeStatistics; - private bool? usingBetterGenshinImpactAutomation; - private bool? setDiscordActivityWhenPlaying; + private Fields fields; public LaunchOptions(IServiceProvider serviceProvider) : base(serviceProvider) { taskContext = serviceProvider.GetRequiredService(); - RectInt32 primaryRect = DisplayArea.Primary.OuterBounds; - primaryScreenWidth = primaryRect.Width; - primaryScreenHeight = primaryRect.Height; - - Monitors = InitializeMonitors(); - InitializeScreenFps(out primaryScreenFps); - // Batch initialization, boost up performance InitializeOptions(entry => entry.Key.StartsWith("Launch."), (key, value) => { _ = key switch { - SettingEntry.LaunchUsingHoyolabAccount => InitializeBooleanValue(ref usingHoyolabAccount, value), - SettingEntry.LaunchAreCommandLineArgumentsEnabled => InitializeBooleanValue(ref areCommandLineArgumentsEnabled, value), - SettingEntry.LaunchIsFullScreen => InitializeBooleanValue(ref isFullScreen, value), - SettingEntry.LaunchIsBorderless => InitializeBooleanValue(ref isBorderless, value), - SettingEntry.LaunchIsExclusive => InitializeBooleanValue(ref isExclusive, value), - SettingEntry.LaunchScreenWidth => InitializeInt32Value(ref screenWidth, value), - SettingEntry.LaunchIsScreenWidthEnabled => InitializeBooleanValue(ref isScreenWidthEnabled, value), - SettingEntry.LaunchScreenHeight => InitializeInt32Value(ref screenHeight, value), - SettingEntry.LaunchIsScreenHeightEnabled => InitializeBooleanValue(ref isScreenHeightEnabled, value), - SettingEntry.LaunchIsMonitorEnabled => InitializeBooleanValue(ref isMonitorEnabled, value), - SettingEntry.LaunchUsingCloudThirdPartyMobile => InitializeBooleanValue(ref usingCloudThirdPartyMobile, value), - SettingEntry.LaunchIsWindowsHDREnabled => InitializeBooleanValue(ref isWindowsHDREnabled, value), - SettingEntry.LaunchUsingStarwardPlayTimeStatistics => InitializeBooleanValue(ref usingStarwardPlayTimeStatistics, value), - SettingEntry.LaunchUsingBetterGenshinImpactAutomation => InitializeBooleanValue(ref usingBetterGenshinImpactAutomation, value), - SettingEntry.LaunchSetDiscordActivityWhenPlaying => InitializeBooleanValue(ref setDiscordActivityWhenPlaying, value), - SettingEntry.LaunchIsIslandEnabled => InitializeBooleanValue(ref isIslandEnabled, value), - SettingEntry.LaunchHookingSetFieldOfView => InitializeBooleanValue(ref hookingSetFieldOfView, value), - SettingEntry.LaunchIsSetFieldOfViewEnabled => InitializeBooleanValue(ref isSetFieldOfViewEnabled, value), - SettingEntry.LaunchTargetFov => InitializeFloatValue(ref targetFov, value), - SettingEntry.LaunchFixLowFovScene => InitializeBooleanValue(ref fixLowFovScene, value), - SettingEntry.LaunchDisableFog => InitializeBooleanValue(ref disableFog, value), - SettingEntry.LaunchIsSetTargetFrameRateEnabled => InitializeBooleanValue(ref isSetTargetFrameRateEnabled, value), - SettingEntry.LaunchTargetFps => InitializeInt32Value(ref targetFps, value), - SettingEntry.LaunchHookingOpenTeam => InitializeBooleanValue(ref hookingOpenTeam, value), - SettingEntry.LaunchRemoveOpenTeamProgress => InitializeBooleanValue(ref removeOpenTeamProgress, value), - SettingEntry.LaunchHookingMickyWonderPartner2 => InitializeBooleanValue(ref hookingMickyWonderPartner2, value), + SettingEntry.LaunchUsingHoyolabAccount => InitializeNullableBooleanValue(ref fields.UsingHoyolabAccount, value), + SettingEntry.LaunchAreCommandLineArgumentsEnabled => InitializeNullableBooleanValue(ref fields.AreCommandLineArgumentsEnabled, value), + SettingEntry.LaunchIsFullScreen => InitializeNullableBooleanValue(ref fields.IsFullScreen, value), + SettingEntry.LaunchIsBorderless => InitializeNullableBooleanValue(ref fields.IsBorderless, value), + SettingEntry.LaunchIsExclusive => InitializeNullableBooleanValue(ref fields.IsExclusive, value), + SettingEntry.LaunchScreenWidth => InitializeNullableInt32Value(ref fields.ScreenWidth, value), + SettingEntry.LaunchIsScreenWidthEnabled => InitializeNullableBooleanValue(ref fields.IsScreenWidthEnabled, value), + SettingEntry.LaunchScreenHeight => InitializeNullableInt32Value(ref fields.ScreenHeight, value), + SettingEntry.LaunchIsScreenHeightEnabled => InitializeNullableBooleanValue(ref fields.IsScreenHeightEnabled, value), + SettingEntry.LaunchIsMonitorEnabled => InitializeNullableBooleanValue(ref fields.IsMonitorEnabled, value), + SettingEntry.LaunchUsingCloudThirdPartyMobile => InitializeNullableBooleanValue(ref fields.UsingCloudThirdPartyMobile, value), + SettingEntry.LaunchIsWindowsHDREnabled => InitializeNullableBooleanValue(ref fields.IsWindowsHDREnabled, value), + SettingEntry.LaunchUsingStarwardPlayTimeStatistics => InitializeNullableBooleanValue(ref fields.UsingStarwardPlayTimeStatistics, value), + SettingEntry.LaunchUsingBetterGenshinImpactAutomation => InitializeNullableBooleanValue(ref fields.UsingBetterGenshinImpactAutomation, value), + SettingEntry.LaunchSetDiscordActivityWhenPlaying => InitializeNullableBooleanValue(ref fields.SetDiscordActivityWhenPlaying, value), + SettingEntry.LaunchIsIslandEnabled => InitializeNullableBooleanValue(ref fields.IsIslandEnabled, value), + SettingEntry.LaunchHookingSetFieldOfView => InitializeNullableBooleanValue(ref fields.HookingSetFieldOfView, value), + SettingEntry.LaunchIsSetFieldOfViewEnabled => InitializeNullableBooleanValue(ref fields.IsSetFieldOfViewEnabled, value), + SettingEntry.LaunchTargetFov => InitializeNullableFloatValue(ref fields.TargetFov, value), + SettingEntry.LaunchFixLowFovScene => InitializeNullableBooleanValue(ref fields.FixLowFovScene, value), + SettingEntry.LaunchDisableFog => InitializeNullableBooleanValue(ref fields.DisableFog, value), + SettingEntry.LaunchIsSetTargetFrameRateEnabled => InitializeNullableBooleanValue(ref fields.IsSetTargetFrameRateEnabled, value), + SettingEntry.LaunchTargetFps => InitializeNullableInt32Value(ref fields.TargetFps, value), + SettingEntry.LaunchHookingOpenTeam => InitializeNullableBooleanValue(ref fields.HookingOpenTeam, value), + SettingEntry.LaunchRemoveOpenTeamProgress => InitializeNullableBooleanValue(ref fields.RemoveOpenTeamProgress, value), + SettingEntry.LaunchHookingMickyWonderPartner2 => InitializeNullableBooleanValue(ref fields.HookingMickyWonderPartner2, value), _ => default, }; }); @@ -108,74 +71,43 @@ public LaunchOptions(IServiceProvider serviceProvider) IslandFeatureStateMachine = new(this); serviceProvider.GetRequiredService().Register(this); - static Void InitializeBooleanValue(ref bool? storage, string? value) + static Void InitializeNullableBooleanValue(ref bool? storage, string? value) { - if (value is not null) + if (value is null) { - bool.TryParse(value, out bool result); - storage = result; + return default; } - return default; - } - - static Void InitializeInt32Value(ref int? storage, string? value) - { - if (value is not null) - { - int.TryParse(value, CultureInfo.InvariantCulture, out int result); - storage = result; - } + bool.TryParse(value, out bool result); + storage = result; return default; } - static Void InitializeFloatValue(ref float? storage, string? value) + static Void InitializeNullableInt32Value(ref int? storage, string? value) { - if (value is not null) + if (value is null) { - float.TryParse(value, CultureInfo.InvariantCulture, out float result); - storage = result; + return default; } + int.TryParse(value, CultureInfo.InvariantCulture, out int result); + storage = result; + return default; } - static ImmutableArray> InitializeMonitors() + static Void InitializeNullableFloatValue(ref float? storage, string? value) { - ImmutableArray>.Builder monitors = ImmutableArray.CreateBuilder>(); - try - { - // This list can't use foreach - // https://github.com/microsoft/CsWinRT/issues/747 - IReadOnlyList displayAreas = DisplayArea.FindAll(); - for (int i = 0; i < displayAreas.Count; i++) - { - DisplayArea displayArea = displayAreas[i]; - int index = i + 1; - monitors.Add(new($"{displayArea.DisplayId.Value:X8}:{index}", index)); - } - } - catch + if (value is null) { - monitors.Clear(); + return default; } - return monitors.ToImmutable(); - } + float.TryParse(value, CultureInfo.InvariantCulture, out float result); + storage = result; - static void InitializeScreenFps(out int fps) - { - HDC hDC = default; - try - { - hDC = GetDC(default); - fps = GetDeviceCaps(hDC, GET_DEVICE_CAPS_INDEX.VREFRESH); - } - finally - { - _ = ReleaseDC(default, hDC); - } + return default; } } @@ -190,26 +122,25 @@ public ImmutableArray GamePathEntries { // Because DbStoreOptions can't detect collection change, We use // ImmutableList to imply that the whole list needs to be replaced - get => GetOption(ref gamePathEntries, SettingEntry.GamePathEntries, raw => JsonSerializer.Deserialize>(raw), []).Value; - set => SetOption(ref gamePathEntries, SettingEntry.GamePathEntries, value, v => JsonSerializer.Serialize(v)); + get => GetOption(ref fields.GamePathEntries, SettingEntry.GamePathEntries, raw => JsonSerializer.Deserialize>(raw), []).Value; + set => SetOption(ref fields.GamePathEntries, SettingEntry.GamePathEntries, value, static v => JsonSerializer.Serialize(v)); } - #region Launch Prefixed Options - - #region CLI Options + public AsyncReaderWriterLock GamePathLock { get; } = new(); public bool UsingHoyolabAccount { - get => GetOption(ref usingHoyolabAccount, SettingEntry.LaunchUsingHoyolabAccount, false); - set => SetOption(ref usingHoyolabAccount, SettingEntry.LaunchUsingHoyolabAccount, value); + get => GetOption(ref fields.UsingHoyolabAccount, SettingEntry.LaunchUsingHoyolabAccount, false); + set => SetOption(ref fields.UsingHoyolabAccount, SettingEntry.LaunchUsingHoyolabAccount, value); } + [UsedImplicitly] public bool AreCommandLineArgumentsEnabled { - get => GetOption(ref areCommandLineArgumentsEnabled, SettingEntry.LaunchAreCommandLineArgumentsEnabled, true); + get => GetOption(ref fields.AreCommandLineArgumentsEnabled, SettingEntry.LaunchAreCommandLineArgumentsEnabled, true); set { - if (SetOption(ref areCommandLineArgumentsEnabled, SettingEntry.LaunchAreCommandLineArgumentsEnabled, value)) + if (SetOption(ref fields.AreCommandLineArgumentsEnabled, SettingEntry.LaunchAreCommandLineArgumentsEnabled, value)) { if (!value) { @@ -219,51 +150,57 @@ public bool AreCommandLineArgumentsEnabled } } + [UsedImplicitly] public bool IsFullScreen { - get => GetOption(ref isFullScreen, SettingEntry.LaunchIsFullScreen, false); - set => SetOption(ref isFullScreen, SettingEntry.LaunchIsFullScreen, value); + get => GetOption(ref fields.IsFullScreen, SettingEntry.LaunchIsFullScreen, false); + set => SetOption(ref fields.IsFullScreen, SettingEntry.LaunchIsFullScreen, value); } + [UsedImplicitly] public bool IsBorderless { - get => GetOption(ref isBorderless, SettingEntry.LaunchIsBorderless); - set => SetOption(ref isBorderless, SettingEntry.LaunchIsBorderless, value); + get => GetOption(ref fields.IsBorderless, SettingEntry.LaunchIsBorderless); + set => SetOption(ref fields.IsBorderless, SettingEntry.LaunchIsBorderless, value); } + [UsedImplicitly] public bool IsExclusive { - get => GetOption(ref isExclusive, SettingEntry.LaunchIsExclusive); - set => SetOption(ref isExclusive, SettingEntry.LaunchIsExclusive, value); + get => GetOption(ref fields.IsExclusive, SettingEntry.LaunchIsExclusive); + set => SetOption(ref fields.IsExclusive, SettingEntry.LaunchIsExclusive, value); } public int ScreenWidth { - get => GetOption(ref screenWidth, SettingEntry.LaunchScreenWidth, primaryScreenWidth); - set => SetOption(ref screenWidth, SettingEntry.LaunchScreenWidth, value); + get => GetOption(ref fields.ScreenWidth, SettingEntry.LaunchScreenWidth, DisplayArea.Primary.OuterBounds.Width); + set => SetOption(ref fields.ScreenWidth, SettingEntry.LaunchScreenWidth, value); } + [UsedImplicitly] public bool IsScreenWidthEnabled { - get => GetOption(ref isScreenWidthEnabled, SettingEntry.LaunchIsScreenWidthEnabled, true); - set => SetOption(ref isScreenWidthEnabled, SettingEntry.LaunchIsScreenWidthEnabled, value); + get => GetOption(ref fields.IsScreenWidthEnabled, SettingEntry.LaunchIsScreenWidthEnabled, true); + set => SetOption(ref fields.IsScreenWidthEnabled, SettingEntry.LaunchIsScreenWidthEnabled, value); } public int ScreenHeight { - get => GetOption(ref screenHeight, SettingEntry.LaunchScreenHeight, primaryScreenHeight); - set => SetOption(ref screenHeight, SettingEntry.LaunchScreenHeight, value); + get => GetOption(ref fields.ScreenHeight, SettingEntry.LaunchScreenHeight, DisplayArea.Primary.OuterBounds.Height); + set => SetOption(ref fields.ScreenHeight, SettingEntry.LaunchScreenHeight, value); } + [UsedImplicitly] public bool IsScreenHeightEnabled { - get => GetOption(ref isScreenHeightEnabled, SettingEntry.LaunchIsScreenHeightEnabled, true); - set => SetOption(ref isScreenHeightEnabled, SettingEntry.LaunchIsScreenHeightEnabled, value); + get => GetOption(ref fields.IsScreenHeightEnabled, SettingEntry.LaunchIsScreenHeightEnabled, true); + set => SetOption(ref fields.IsScreenHeightEnabled, SettingEntry.LaunchIsScreenHeightEnabled, value); } - public ImmutableArray> Monitors { get; } + public ImmutableArray> Monitors { get; } = InitializeMonitors(); - [NotNull] + [UsedImplicitly] + [System.Diagnostics.CodeAnalysis.NotNull] public NameValue? Monitor { get @@ -280,154 +217,164 @@ static int RestrictIndex(ImmutableArray> monitors, string index) { if (value is not null) { - SetOption(ref field, SettingEntry.LaunchMonitor, value, selected => selected.Value.ToString(CultureInfo.InvariantCulture)); + SetOption(ref field, SettingEntry.LaunchMonitor, value, static selected => selected.Value.ToString(CultureInfo.InvariantCulture)); } } } + [UsedImplicitly] public bool IsMonitorEnabled { - get => GetOption(ref isMonitorEnabled, SettingEntry.LaunchIsMonitorEnabled, true); - set => SetOption(ref isMonitorEnabled, SettingEntry.LaunchIsMonitorEnabled, value); + get => GetOption(ref fields.IsMonitorEnabled, SettingEntry.LaunchIsMonitorEnabled, true); + set => SetOption(ref fields.IsMonitorEnabled, SettingEntry.LaunchIsMonitorEnabled, value); } + [UsedImplicitly] public bool UsingCloudThirdPartyMobile { - get => GetOption(ref usingCloudThirdPartyMobile, SettingEntry.LaunchUsingCloudThirdPartyMobile, false); - set => SetOption(ref usingCloudThirdPartyMobile, SettingEntry.LaunchUsingCloudThirdPartyMobile, value); + get => GetOption(ref fields.UsingCloudThirdPartyMobile, SettingEntry.LaunchUsingCloudThirdPartyMobile, false); + set => SetOption(ref fields.UsingCloudThirdPartyMobile, SettingEntry.LaunchUsingCloudThirdPartyMobile, value); } + // ReSharper disable once InconsistentNaming + [UsedImplicitly] public bool IsWindowsHDREnabled { - get => GetOption(ref isWindowsHDREnabled, SettingEntry.LaunchIsWindowsHDREnabled, false); - set => SetOption(ref isWindowsHDREnabled, SettingEntry.LaunchIsWindowsHDREnabled, value); + get => GetOption(ref fields.IsWindowsHDREnabled, SettingEntry.LaunchIsWindowsHDREnabled, false); + set => SetOption(ref fields.IsWindowsHDREnabled, SettingEntry.LaunchIsWindowsHDREnabled, value); } - #endregion - - #region InterProcess + [UsedImplicitly] public bool UsingStarwardPlayTimeStatistics { - get => GetOption(ref usingStarwardPlayTimeStatistics, SettingEntry.LaunchUsingStarwardPlayTimeStatistics, false); - set => SetOption(ref usingStarwardPlayTimeStatistics, SettingEntry.LaunchUsingStarwardPlayTimeStatistics, value); + get => GetOption(ref fields.UsingStarwardPlayTimeStatistics, SettingEntry.LaunchUsingStarwardPlayTimeStatistics, false); + set => SetOption(ref fields.UsingStarwardPlayTimeStatistics, SettingEntry.LaunchUsingStarwardPlayTimeStatistics, value); } + [UsedImplicitly] public bool UsingBetterGenshinImpactAutomation { - get => GetOption(ref usingBetterGenshinImpactAutomation, SettingEntry.LaunchUsingBetterGenshinImpactAutomation, false); - set => SetOption(ref usingBetterGenshinImpactAutomation, SettingEntry.LaunchUsingBetterGenshinImpactAutomation, value); + get => GetOption(ref fields.UsingBetterGenshinImpactAutomation, SettingEntry.LaunchUsingBetterGenshinImpactAutomation, false); + set => SetOption(ref fields.UsingBetterGenshinImpactAutomation, SettingEntry.LaunchUsingBetterGenshinImpactAutomation, value); } + [UsedImplicitly] public bool SetDiscordActivityWhenPlaying { - get => GetOption(ref setDiscordActivityWhenPlaying, SettingEntry.LaunchSetDiscordActivityWhenPlaying, true); - set => SetOption(ref setDiscordActivityWhenPlaying, SettingEntry.LaunchSetDiscordActivityWhenPlaying, value); + get => GetOption(ref fields.SetDiscordActivityWhenPlaying, SettingEntry.LaunchSetDiscordActivityWhenPlaying, true); + set => SetOption(ref fields.SetDiscordActivityWhenPlaying, SettingEntry.LaunchSetDiscordActivityWhenPlaying, value); } - #endregion - - #region Island Features public LaunchOptionsIslandFeatureStateMachine IslandFeatureStateMachine { get; } + [UsedImplicitly] public bool IsIslandEnabled { - get => GetOption(ref isIslandEnabled, SettingEntry.LaunchIsIslandEnabled, false); + get => GetOption(ref fields.IsIslandEnabled, SettingEntry.LaunchIsIslandEnabled, false); set { - if (SetOption(ref isIslandEnabled, SettingEntry.LaunchIsIslandEnabled, value)) + if (SetOption(ref fields.IsIslandEnabled, SettingEntry.LaunchIsIslandEnabled, value)) { IslandFeatureStateMachine.Update(this); } } } + [UsedImplicitly] public bool HookingSetFieldOfView { - get => GetOption(ref hookingSetFieldOfView, SettingEntry.LaunchHookingSetFieldOfView, true); + get => GetOption(ref fields.HookingSetFieldOfView, SettingEntry.LaunchHookingSetFieldOfView, true); set { - if (SetOption(ref hookingSetFieldOfView, SettingEntry.LaunchHookingSetFieldOfView, value)) + if (SetOption(ref fields.HookingSetFieldOfView, SettingEntry.LaunchHookingSetFieldOfView, value)) { IslandFeatureStateMachine.Update(this); } } } + [UsedImplicitly] public bool IsSetFieldOfViewEnabled { - get => GetOption(ref isSetFieldOfViewEnabled, SettingEntry.LaunchIsSetFieldOfViewEnabled, true); + get => GetOption(ref fields.IsSetFieldOfViewEnabled, SettingEntry.LaunchIsSetFieldOfViewEnabled, true); set { - if (SetOption(ref isSetFieldOfViewEnabled, SettingEntry.LaunchIsSetFieldOfViewEnabled, value)) + if (SetOption(ref fields.IsSetFieldOfViewEnabled, SettingEntry.LaunchIsSetFieldOfViewEnabled, value)) { IslandFeatureStateMachine.Update(this); } } } + [UsedImplicitly] public float TargetFov { - get => GetOption(ref targetFov, SettingEntry.LaunchTargetFov, 45f); - set => SetOption(ref targetFov, SettingEntry.LaunchTargetFov, value); + get => GetOption(ref fields.TargetFov, SettingEntry.LaunchTargetFov, 45f); + set => SetOption(ref fields.TargetFov, SettingEntry.LaunchTargetFov, value); } + [UsedImplicitly] public bool FixLowFovScene { - get => GetOption(ref fixLowFovScene, SettingEntry.LaunchFixLowFovScene, true); - set => SetOption(ref fixLowFovScene, SettingEntry.LaunchFixLowFovScene, value); + get => GetOption(ref fields.FixLowFovScene, SettingEntry.LaunchFixLowFovScene, true); + set => SetOption(ref fields.FixLowFovScene, SettingEntry.LaunchFixLowFovScene, value); } + [UsedImplicitly] public bool DisableFog { - get => GetOption(ref disableFog, SettingEntry.LaunchDisableFog, false); - set => SetOption(ref disableFog, SettingEntry.LaunchDisableFog, value); + get => GetOption(ref fields.DisableFog, SettingEntry.LaunchDisableFog, false); + set => SetOption(ref fields.DisableFog, SettingEntry.LaunchDisableFog, value); } + [UsedImplicitly] public bool IsSetTargetFrameRateEnabled { - get => GetOption(ref isSetTargetFrameRateEnabled, SettingEntry.LaunchIsSetTargetFrameRateEnabled, true); + get => GetOption(ref fields.IsSetTargetFrameRateEnabled, SettingEntry.LaunchIsSetTargetFrameRateEnabled, true); set { - if (SetOption(ref isSetTargetFrameRateEnabled, SettingEntry.LaunchIsSetTargetFrameRateEnabled, value)) + if (SetOption(ref fields.IsSetTargetFrameRateEnabled, SettingEntry.LaunchIsSetTargetFrameRateEnabled, value)) { IslandFeatureStateMachine.Update(this); } } } + [UsedImplicitly] public int TargetFps { - get => GetOption(ref targetFps, SettingEntry.LaunchTargetFps, primaryScreenFps); - set => SetOption(ref targetFps, SettingEntry.LaunchTargetFps, value); + get => GetOption(ref fields.TargetFps, SettingEntry.LaunchTargetFps, InitializeScreenFps); + set => SetOption(ref fields.TargetFps, SettingEntry.LaunchTargetFps, value); } + [UsedImplicitly] public bool HookingOpenTeam { - get => GetOption(ref hookingOpenTeam, SettingEntry.LaunchHookingOpenTeam, true); + get => GetOption(ref fields.HookingOpenTeam, SettingEntry.LaunchHookingOpenTeam, true); set { - if (SetOption(ref hookingOpenTeam, SettingEntry.LaunchHookingOpenTeam, value)) + if (SetOption(ref fields.HookingOpenTeam, SettingEntry.LaunchHookingOpenTeam, value)) { IslandFeatureStateMachine.Update(this); } } } + [UsedImplicitly] public bool RemoveOpenTeamProgress { - get => GetOption(ref removeOpenTeamProgress, SettingEntry.LaunchRemoveOpenTeamProgress, false); - set => SetOption(ref removeOpenTeamProgress, SettingEntry.LaunchRemoveOpenTeamProgress, value); + get => GetOption(ref fields.RemoveOpenTeamProgress, SettingEntry.LaunchRemoveOpenTeamProgress, false); + set => SetOption(ref fields.RemoveOpenTeamProgress, SettingEntry.LaunchRemoveOpenTeamProgress, value); } + [UsedImplicitly] public bool HookingMickyWonderPartner2 { - get => GetOption(ref hookingMickyWonderPartner2, SettingEntry.LaunchHookingMickyWonderPartner2, true); - set => SetOption(ref hookingMickyWonderPartner2, SettingEntry.LaunchHookingMickyWonderPartner2, value); + get => GetOption(ref fields.HookingMickyWonderPartner2, SettingEntry.LaunchHookingMickyWonderPartner2, true); + set => SetOption(ref fields.HookingMickyWonderPartner2, SettingEntry.LaunchHookingMickyWonderPartner2, value); } - #endregion - - #endregion + [UsedImplicitly] public ImmutableArray AspectRatios { get; } = [ new(3840, 2160), @@ -437,6 +384,7 @@ public bool HookingMickyWonderPartner2 new(1920, 1080), ]; + [UsedImplicitly] public AspectRatio? SelectedAspectRatio { get; @@ -461,4 +409,77 @@ public void Receive(LaunchExecutionProcessStatusChangedMessage message) OnPropertyChanged(nameof(IsGameRunning)); }); } + + private static int InitializeScreenFps() + { + HDC dc = default; + try + { + dc = GetDC(default); + return GetDeviceCaps(dc, GET_DEVICE_CAPS_INDEX.VREFRESH); + } + finally + { + _ = ReleaseDC(default, dc); + } + } + + private static ImmutableArray> InitializeMonitors() + { + ImmutableArray>.Builder monitors = ImmutableArray.CreateBuilder>(); + try + { + // This list can't use foreach + // https://github.com/microsoft/CsWinRT/issues/747 + IReadOnlyList displayAreas = DisplayArea.FindAll(); + for (int i = 0; i < displayAreas.Count; i++) + { + DisplayArea displayArea = displayAreas[i]; + int index = i + 1; + monitors.Add(new($"{displayArea.DisplayId.Value:X8}:{index}", index)); + } + } + catch + { + monitors.Clear(); + } + + return monitors.ToImmutable(); + } + + [StructLayout(LayoutKind.Auto)] + private struct Fields + { + public ImmutableArray? GamePathEntries; + + public bool? UsingHoyolabAccount; + public bool? AreCommandLineArgumentsEnabled; + public bool? IsFullScreen; + public bool? IsBorderless; + public bool? IsExclusive; + public int? ScreenWidth; + public bool? IsScreenWidthEnabled; + public int? ScreenHeight; + public bool? IsScreenHeightEnabled; + + public bool? IsIslandEnabled; + public bool? HookingSetFieldOfView; + public bool? IsSetFieldOfViewEnabled; + public float? TargetFov; + public bool? FixLowFovScene; + public bool? DisableFog; + public bool? IsSetTargetFrameRateEnabled; + public int? TargetFps; + public bool? HookingOpenTeam; + public bool? RemoveOpenTeamProgress; + public bool? HookingMickyWonderPartner2; + public bool? IsMonitorEnabled; + public bool? UsingCloudThirdPartyMobile; + + // ReSharper disable once InconsistentNaming + public bool? IsWindowsHDREnabled; + public bool? UsingStarwardPlayTimeStatistics; + public bool? UsingBetterGenshinImpactAutomation; + public bool? SetDiscordActivityWhenPlaying; + } } \ No newline at end of file diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/LaunchOptionsExtension.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/LaunchOptionsExtension.cs deleted file mode 100644 index e43821209e..0000000000 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/LaunchOptionsExtension.cs +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright (c) DGP Studio. All rights reserved. -// Licensed under the MIT license. - -using Snap.Hutao.Service.Game.PathAbstraction; -using System.Collections.Immutable; - -namespace Snap.Hutao.Service.Game; - -internal static class LaunchOptionsExtension -{ - public static bool TryGetGameFileSystem(this LaunchOptions options, [NotNullWhen(true)] out GameFileSystem? fileSystem) - { - string gamePath = options.GamePath; - - if (string.IsNullOrEmpty(gamePath)) - { - fileSystem = default; - return false; - } - - fileSystem = new(gamePath); - return true; - } - - public static ImmutableArray GetGamePathEntries(this LaunchOptions options, out GamePathEntry? selected) - { - string gamePath = options.GamePath; - - if (string.IsNullOrEmpty(gamePath)) - { - selected = default; - return options.GamePathEntries; - } - - if (options.GamePathEntries.SingleOrDefault(entry => string.Equals(entry.Path, options.GamePath, StringComparison.OrdinalIgnoreCase)) is { } existed) - { - selected = existed; - return options.GamePathEntries; - } - - selected = GamePathEntry.Create(options.GamePath); - return options.GamePathEntries = options.GamePathEntries.Add(selected); - } - - public static ImmutableArray RemoveGamePathEntry(this LaunchOptions options, GamePathEntry? entry, out GamePathEntry? selected) - { - if (entry is null) - { - return options.GetGamePathEntries(out selected); - } - - if (string.Equals(options.GamePath, entry.Path, StringComparison.OrdinalIgnoreCase)) - { - options.GamePath = string.Empty; - } - - options.GamePathEntries = options.GamePathEntries.Remove(entry); - return options.GetGamePathEntries(out selected); - } - - public static ImmutableArray UpdateGamePath(this LaunchOptions options, string gamePath) - { - options.GamePath = gamePath; - return options.GetGamePathEntries(out _); - } -} \ No newline at end of file diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GameInstallOptions.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GameInstallOptions.cs index e3295ba60e..6bf38952e3 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GameInstallOptions.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GameInstallOptions.cs @@ -6,20 +6,20 @@ namespace Snap.Hutao.Service.Game.Package.Advanced; -internal readonly struct GameInstallOptions : IDeconstruct +internal readonly struct GameInstallOptions : IDeconstruct { - public readonly GameFileSystem GameFileSystem; + public readonly IGameFileSystem GameFileSystem; public readonly LaunchScheme LaunchScheme; - public GameInstallOptions(GameFileSystem gameFileSystem, LaunchScheme launchScheme) + public GameInstallOptions(IGameFileSystem gameFileSystem, LaunchScheme launchScheme) { GameFileSystem = gameFileSystem; LaunchScheme = launchScheme; } - public void Deconstruct(out GameFileSystem gameFileSystem, out LaunchScheme launchScheme) + public void Deconstruct(out IGameFileSystem gameFileSystem, out LaunchScheme launchScheme) { gameFileSystem = GameFileSystem; launchScheme = LaunchScheme; } -} +} \ No newline at end of file diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GamePackageOperationContext.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GamePackageOperationContext.cs index 6ae2faa785..6d5e10838c 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GamePackageOperationContext.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GamePackageOperationContext.cs @@ -12,7 +12,7 @@ internal readonly struct GamePackageOperationContext { public readonly GamePackageOperationKind Kind; public readonly IGameAssetOperation Asset; - public readonly GameFileSystem GameFileSystem; + public readonly IGameFileSystem GameFileSystem; public readonly BranchWrapper LocalBranch; public readonly BranchWrapper RemoteBranch; public readonly GameChannelSDK? GameChannelSDK; @@ -22,7 +22,7 @@ internal readonly struct GamePackageOperationContext public GamePackageOperationContext( IServiceProvider serviceProvider, GamePackageOperationKind kind, - GameFileSystem gameFileSystem, + IGameFileSystem gameFileSystem, BranchWrapper localBranch, BranchWrapper remoteBranch, GameChannelSDK? gameChannelSDK, diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/PackageOperationGameFileSystem.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/PackageOperationGameFileSystem.cs new file mode 100644 index 0000000000..3b9a60dd18 --- /dev/null +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/PackageOperationGameFileSystem.cs @@ -0,0 +1,66 @@ +// // Copyright (c) DGP Studio. All rights reserved. +// // Licensed under the MIT license. + +using Snap.Hutao.Service.Game.Scheme; +using System.IO; + +namespace Snap.Hutao.Service.Game.Package.Advanced; + +internal sealed partial class PackageOperationGameFileSystem : IGameFileSystem +{ + public PackageOperationGameFileSystem(string gameFilePath) + { + GameFilePath = gameFilePath; + } + + public PackageOperationGameFileSystem(string gameFilePath, GameAudioSystem gameAudioSystem) + { + GameFilePath = gameFilePath; + Audio = gameAudioSystem; + } + + public string GameFilePath { get; } + + [field: MaybeNull] + public string GameFileName { get => field ??= Path.GetFileName(GameFilePath); } + + [field: MaybeNull] + public string GameDirectory + { + get + { + if (field is not null) + { + return field; + } + + string? directoryName = Path.GetDirectoryName(GameFilePath); + ArgumentException.ThrowIfNullOrEmpty(directoryName); + return field = directoryName; + } + } + + [field: MaybeNull] + public string GameConfigFilePath { get => field ??= Path.Combine(GameDirectory, GameConstants.ConfigFileName); } + + // ReSharper disable once InconsistentNaming + [field: MaybeNull] + public string PCGameSDKFilePath { get => field ??= Path.Combine(GameDirectory, GameConstants.PCGameSDKFilePath); } + + public string ScreenShotDirectory { get => Path.Combine(GameDirectory, "ScreenShot"); } + + public string DataDirectory { get => Path.Combine(GameDirectory, LaunchScheme.ExecutableIsOversea(GameFileName) ? GameConstants.GenshinImpactData : GameConstants.YuanShenData); } + + public string ScriptVersionFilePath { get => Path.Combine(DataDirectory, "Persistent", "ScriptVersion"); } + + public string ChunksDirectory { get => Path.Combine(GameDirectory, "chunks"); } + + public string PredownloadStatusPath { get => Path.Combine(ChunksDirectory, "snap_hutao_predownload_status.json"); } + + [field: MaybeNull] + public GameAudioSystem Audio { get => field ??= new(GameFilePath); } + + public void Dispose() + { + } +} \ No newline at end of file diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/PathAbstraction/GamePathEntry.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/PathAbstraction/GamePathEntry.cs index 3955a525b0..536b6488c6 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/PathAbstraction/GamePathEntry.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/PathAbstraction/GamePathEntry.cs @@ -6,10 +6,7 @@ namespace Snap.Hutao.Service.Game.PathAbstraction; internal sealed class GamePathEntry { [JsonPropertyName("Path")] - public string Path { get; set; } = default!; - - [JsonIgnore] - public GamePathEntryKind Kind { get => GetKind(Path); } + public string Path { get; private set; } = default!; public static GamePathEntry Create(string path) { @@ -18,9 +15,4 @@ public static GamePathEntry Create(string path) Path = path, }; } - - private static GamePathEntryKind GetKind(string path) - { - return GamePathEntryKind.None; - } } \ No newline at end of file diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/RestrictedGamePathAccessExtension.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/RestrictedGamePathAccessExtension.cs new file mode 100644 index 0000000000..6556ef49ff --- /dev/null +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/RestrictedGamePathAccessExtension.cs @@ -0,0 +1,89 @@ +// Copyright (c) DGP Studio. All rights reserved. +// Licensed under the MIT license. + +using Snap.Hutao.Core.ExceptionService; +using Snap.Hutao.Service.Game.PathAbstraction; +using System.Collections.Immutable; + +namespace Snap.Hutao.Service.Game; + +internal static class RestrictedGamePathAccessExtension +{ + public static bool TryGetGameFileSystem(this IRestrictedGamePathAccess access, [NotNullWhen(true)] out GameFileSystem? fileSystem) + { + string gamePath = access.GamePath; + + if (string.IsNullOrEmpty(gamePath)) + { + fileSystem = default; + return false; + } + + if (!access.GamePathLock.TryReaderLock(out AsyncReaderWriterLock.Releaser releaser)) + { + fileSystem = default; + return false; + } + + fileSystem = new(gamePath, releaser); + return true; + } + + public static ImmutableArray GetGamePathEntries(this IRestrictedGamePathAccess access, out GamePathEntry? selected) + { + string gamePath = access.GamePath; + + if (string.IsNullOrEmpty(gamePath)) + { + selected = default; + return access.GamePathEntries; + } + + if (access.GamePathEntries.SingleOrDefault(entry => string.Equals(entry.Path, access.GamePath, StringComparison.OrdinalIgnoreCase)) is { } existed) + { + selected = existed; + return access.GamePathEntries; + } + + selected = GamePathEntry.Create(access.GamePath); + return access.GamePathEntries = access.GamePathEntries.Add(selected); + } + + public static ImmutableArray RemoveGamePathEntry(this IRestrictedGamePathAccess access, GamePathEntry? entry, out GamePathEntry? selected) + { + if (entry is null) + { + return access.GetGamePathEntries(out selected); + } + + if (!access.GamePathLock.TryWriterLock(out AsyncReaderWriterLock.Releaser releaser)) + { + throw HutaoException.InvalidOperation("Cannot remove game path while it is being used."); + } + + using (releaser) + { + if (string.Equals(access.GamePath, entry.Path, StringComparison.OrdinalIgnoreCase)) + { + access.GamePath = string.Empty; + } + + access.GamePathEntries = access.GamePathEntries.Remove(entry); + return access.GetGamePathEntries(out selected); + } + } + + public static ImmutableArray UpdateGamePath(this IRestrictedGamePathAccess access, string gamePath) + { + if (!access.GamePathLock.TryWriterLock(out AsyncReaderWriterLock.Releaser releaser)) + { + throw HutaoException.InvalidOperation("Cannot update game path while it is being used."); + } + + using (releaser) + { + access.GamePath = gamePath; + return access.GetGamePathEntries(out _); + } + } +} \ No newline at end of file diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Notification/InfoBarOptionsBuilderExtension.cs b/src/Snap.Hutao/Snap.Hutao/Service/Notification/InfoBarOptionsBuilderExtension.cs index 5f9b0080bc..72584891d5 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Notification/InfoBarOptionsBuilderExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Notification/InfoBarOptionsBuilderExtension.cs @@ -1,6 +1,7 @@ // Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. +using JetBrains.Annotations; using Microsoft.UI.Xaml.Controls; using Snap.Hutao.Core.Abstraction; @@ -15,14 +16,14 @@ public static TBuilder SetSeverity(this TBuilder builder, InfoBarSever return builder; } - public static TBuilder SetTitle(this TBuilder builder, string? title) + public static TBuilder SetTitle(this TBuilder builder, [LocalizationRequired] string? title) where TBuilder : IInfoBarOptionsBuilder { builder.Configure(builder => builder.Options.Title = title); return builder; } - public static IInfoBarOptionsBuilder SetMessage(this TBuilder builder, string? message) + public static IInfoBarOptionsBuilder SetMessage(this TBuilder builder, [LocalizationRequired] string? message) where TBuilder : IInfoBarOptionsBuilder { builder.Configure(builder => builder.Options.Message = message); @@ -36,7 +37,7 @@ public static IInfoBarOptionsBuilder SetContent(this TBuilder builder, return builder; } - public static IInfoBarOptionsBuilder SetActionButtonContent(this TBuilder builder, string? buttonContent) + public static IInfoBarOptionsBuilder SetActionButtonContent(this TBuilder builder, [LocalizationRequired] string? buttonContent) where TBuilder : IInfoBarOptionsBuilder { builder.Configure(builder => builder.Options.ActionButtonContent = buttonContent); @@ -56,4 +57,4 @@ public static IInfoBarOptionsBuilder SetDelay(this TBuilder builder, i builder.Configure(builder => builder.Options.MilliSecondsDelay = milliSeconds); return builder; } -} +} \ No newline at end of file diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Notification/InfoBarServiceExtension.cs b/src/Snap.Hutao/Snap.Hutao/Service/Notification/InfoBarServiceExtension.cs index 3f3803c71a..d0b3fe66cf 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Notification/InfoBarServiceExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Notification/InfoBarServiceExtension.cs @@ -1,6 +1,7 @@ // Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. +using JetBrains.Annotations; using Microsoft.UI.Xaml.Controls; using Snap.Hutao.Core.Abstraction; @@ -8,17 +9,17 @@ namespace Snap.Hutao.Service.Notification; internal static class InfoBarServiceExtension { - public static Void Information(this IInfoBarService infoBarService, string message, int milliSeconds = 5000) + public static Void Information(this IInfoBarService infoBarService, [LocalizationRequired] string message, int milliSeconds = 5000) { return infoBarService.Information(builder => builder.SetMessage(message).SetDelay(milliSeconds)); } - public static Void Information(this IInfoBarService infoBarService, string title, string message, int milliSeconds = 5000) + public static Void Information(this IInfoBarService infoBarService, [LocalizationRequired] string title, [LocalizationRequired] string message, int milliSeconds = 5000) { return infoBarService.Information(builder => builder.SetTitle(title).SetMessage(message).SetDelay(milliSeconds)); } - public static Void Information(this IInfoBarService infoBarService, string title, string message, string buttonContent, ICommand buttonCommand, int milliSeconds = 5000) + public static Void Information(this IInfoBarService infoBarService, [LocalizationRequired] string title, [LocalizationRequired] string message, [LocalizationRequired] string buttonContent, ICommand buttonCommand, int milliSeconds = 5000) { return infoBarService.Information(builder => builder.SetTitle(title).SetMessage(message).SetActionButtonContent(buttonContent).SetActionButtonCommand(buttonCommand).SetDelay(milliSeconds)); } @@ -29,12 +30,12 @@ public static Void Information(this IInfoBarService infoBarService, Action builder.SetMessage(message).SetDelay(milliSeconds)); } - public static Void Success(this IInfoBarService infoBarService, string title, string message, int milliSeconds = 5000) + public static Void Success(this IInfoBarService infoBarService, [LocalizationRequired] string title, [LocalizationRequired] string message, int milliSeconds = 5000) { return infoBarService.Success(builder => builder.SetTitle(title).SetMessage(message).SetDelay(milliSeconds)); } @@ -45,17 +46,17 @@ public static Void Success(this IInfoBarService infoBarService, Action builder.SetMessage(message).SetDelay(milliSeconds)); } - public static Void Warning(this IInfoBarService infoBarService, string title, string message, int milliSeconds = 30000) + public static Void Warning(this IInfoBarService infoBarService, [LocalizationRequired] string title, [LocalizationRequired] string message, int milliSeconds = 30000) { return infoBarService.Warning(builder => builder.SetTitle(title).SetMessage(message).SetDelay(milliSeconds)); } - public static Void Warning(this IInfoBarService infoBarService, string title, string message, string buttonContent, ICommand buttonCommand, int milliSeconds = 30000) + public static Void Warning(this IInfoBarService infoBarService, [LocalizationRequired] string title, [LocalizationRequired] string message, [LocalizationRequired] string buttonContent, ICommand buttonCommand, int milliSeconds = 30000) { return infoBarService.Warning(builder => builder.SetTitle(title).SetMessage(message).SetActionButtonContent(buttonContent).SetActionButtonCommand(buttonCommand).SetDelay(milliSeconds)); } @@ -66,17 +67,17 @@ public static Void Warning(this IInfoBarService infoBarService, Action builder.SetMessage(message).SetDelay(milliSeconds)); } - public static Void Error(this IInfoBarService infoBarService, string title, string message, int milliSeconds = 0) + public static Void Error(this IInfoBarService infoBarService, [LocalizationRequired] string title, [LocalizationRequired] string message, int milliSeconds = 0) { return infoBarService.Error(builder => builder.SetTitle(title).SetMessage(message).SetDelay(milliSeconds)); } - public static Void Error(this IInfoBarService infoBarService, string title, string message, string buttonContent, ICommand buttonCommand, int milliSeconds = 0) + public static Void Error(this IInfoBarService infoBarService, [LocalizationRequired] string title, [LocalizationRequired] string message, [LocalizationRequired] string buttonContent, ICommand buttonCommand, int milliSeconds = 0) { return infoBarService.Error(builder => builder.SetTitle(title).SetMessage(message).SetActionButtonContent(buttonContent).SetActionButtonCommand(buttonCommand).SetDelay(milliSeconds)); } @@ -86,12 +87,12 @@ public static Void Error(this IInfoBarService infoBarService, Exception ex, int return infoBarService.Error(builder => builder.SetTitle(ex.GetType().Name).SetMessage(ex.Message).SetDelay(milliSeconds)); } - public static Void Error(this IInfoBarService infoBarService, Exception ex, string subtitle, int milliSeconds = 0) + public static Void Error(this IInfoBarService infoBarService, Exception ex, [LocalizationRequired] string subtitle, int milliSeconds = 0) { return infoBarService.Error(builder => builder.SetTitle(ex.GetType().Name).SetMessage($"{subtitle}\n{ex.Message}").SetDelay(milliSeconds)); } - public static Void Error(this IInfoBarService infoBarService, Exception ex, string subtitle, string buttonContent, ICommand buttonCommand, int milliSeconds = 0) + public static Void Error(this IInfoBarService infoBarService, Exception ex, [LocalizationRequired] string subtitle, [LocalizationRequired] string buttonContent, ICommand buttonCommand, int milliSeconds = 0) { return infoBarService.Error(builder => builder.SetTitle(ex.GetType().Name).SetMessage($"{subtitle}\n{ex.Message}").SetActionButtonContent(buttonContent).SetActionButtonCommand(buttonCommand).SetDelay(milliSeconds)); } @@ -101,4 +102,4 @@ public static Void Error(this IInfoBarService infoBarService, Action builder.SetSeverity(InfoBarSeverity.Error).Configure(configure)); return default; } -} +} \ No newline at end of file diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/Dialog/LaunchGameInstallGameDialog.xaml.cs b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/Dialog/LaunchGameInstallGameDialog.xaml.cs index 644ab844bd..3bde7cb988 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/Dialog/LaunchGameInstallGameDialog.xaml.cs +++ b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/Dialog/LaunchGameInstallGameDialog.xaml.cs @@ -11,6 +11,7 @@ using Snap.Hutao.Service.Game.Scheme; using Snap.Hutao.Service.Notification; using System.IO; +using PackageOperationGameFileSystem = Snap.Hutao.Service.Game.Package.Advanced.PackageOperationGameFileSystem; namespace Snap.Hutao.UI.Xaml.View.Dialog; @@ -29,7 +30,7 @@ internal sealed partial class LaunchGameInstallGameDialog : ContentDialog private readonly IContentDialogFactory contentDialogFactory; private readonly IInfoBarService infoBarService; - public async ValueTask> GetGameFileSystemAsync() + public async ValueTask> GetGameInstallOptionsAsync() { ContentDialogResult result = await contentDialogFactory.EnqueueAndShowAsync(this).ShowTask.ConfigureAwait(false); if (result is not ContentDialogResult.Primary) @@ -41,25 +42,25 @@ public async ValueTask> GetGameFileSystemA if (string.IsNullOrWhiteSpace(GameDirectory)) { - infoBarService.Error("安装路径未选择"); + infoBarService.Error("未选择安装路径"); return new(false, default!); } if (SelectedScheme is null) { - infoBarService.Error("游戏区服未选择"); + infoBarService.Error("未选择游戏区服"); return new(false, default!); } if (!Chinese && !English && !Japanese && !Korean) { - infoBarService.Error("语音包未选择"); + infoBarService.Error("未选择语音包"); return new(false, default!); } GameAudioSystem gameAudioSystem = new(Chinese, English, Japanese, Korean); string gamePath = Path.Combine(GameDirectory, SelectedScheme.IsOversea ? GameConstants.GenshinImpactFileName : GameConstants.YuanShenFileName); - return new(true, new(new(gamePath, gameAudioSystem), SelectedScheme)); + return new(true, new(new PackageOperationGameFileSystem(gamePath, gameAudioSystem), SelectedScheme)); } private static void OnGameDirectoryChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args) @@ -79,4 +80,4 @@ private void PickGameDirectory() GameDirectory = gameDirectory; } } -} +} \ No newline at end of file diff --git a/src/Snap.Hutao/Snap.Hutao/ViewModel/Game/GamePackageInstallViewModel.cs b/src/Snap.Hutao/Snap.Hutao/ViewModel/Game/GamePackageInstallViewModel.cs index 16b8d65e81..fc49847020 100644 --- a/src/Snap.Hutao/Snap.Hutao/ViewModel/Game/GamePackageInstallViewModel.cs +++ b/src/Snap.Hutao/Snap.Hutao/ViewModel/Game/GamePackageInstallViewModel.cs @@ -62,14 +62,14 @@ private async Task StartAsync() LaunchGameInstallGameDialog dialog = await contentDialogFactory.CreateInstanceAsync().ConfigureAwait(false); dialog.KnownSchemes = KnownLaunchSchemes.Get(); dialog.SelectedScheme = dialog.KnownSchemes.First(scheme => scheme.IsNotCompatOnly); - (bool isOk, GameInstallOptions gameInstallOptions) = await dialog.GetGameFileSystemAsync().ConfigureAwait(false); + (bool isOk, GameInstallOptions gameInstallOptions) = await dialog.GetGameInstallOptionsAsync().ConfigureAwait(false); if (!isOk) { return; } - (GameFileSystem gameFileSystem, LaunchScheme launchScheme) = gameInstallOptions; + (IGameFileSystem gameFileSystem, LaunchScheme launchScheme) = gameInstallOptions; GameBranchesWrapper? branchesWrapper; GameChannelSDKsWrapper? channelSDKsWrapper; @@ -111,4 +111,4 @@ private async Task StartAsync() // Operation canceled } } -} +} \ No newline at end of file diff --git a/src/Snap.Hutao/Snap.Hutao/ViewModel/Game/LaunchGameViewModel.cs b/src/Snap.Hutao/Snap.Hutao/ViewModel/Game/LaunchGameViewModel.cs index fa55e8a693..e45695deb1 100644 --- a/src/Snap.Hutao/Snap.Hutao/ViewModel/Game/LaunchGameViewModel.cs +++ b/src/Snap.Hutao/Snap.Hutao/ViewModel/Game/LaunchGameViewModel.cs @@ -138,7 +138,14 @@ public GamePathEntry? SelectedGamePathEntry return; } - launchOptions.GamePath = value?.Path ?? string.Empty; + if (launchOptions.GamePathLock.TryWriterLock(out AsyncReaderWriterLock.Releaser releaser)) + { + using (releaser) + { + launchOptions.GamePath = value?.Path ?? string.Empty; + } + } + GamePathSelectedAndValid = File.Exists(launchOptions.GamePath); } } diff --git a/src/Snap.Hutao/Snap.Hutao/ViewModel/TestViewModel.cs b/src/Snap.Hutao/Snap.Hutao/ViewModel/TestViewModel.cs index 3379c17c76..d57eb4058b 100644 --- a/src/Snap.Hutao/Snap.Hutao/ViewModel/TestViewModel.cs +++ b/src/Snap.Hutao/Snap.Hutao/ViewModel/TestViewModel.cs @@ -433,7 +433,7 @@ private async Task ExtractGameExeAsync() if (result is ContentDialogResult.Primary) { - GameFileSystem gameFileSystem = new(Path.Combine(extractDirectory, ExtractExeOptions.IsOversea ? GameConstants.GenshinImpactFileName : GameConstants.YuanShenFileName)); + IGameFileSystem gameFileSystem = new PackageOperationGameFileSystem(Path.Combine(extractDirectory, ExtractExeOptions.IsOversea ? GameConstants.GenshinImpactFileName : GameConstants.YuanShenFileName)); GamePackageOperationContext context = new( serviceProvider, From a49a203c234cf922566396bd0b13f4d68d821ca3 Mon Sep 17 00:00:00 2001 From: qhy040404 Date: Mon, 25 Nov 2024 20:38:30 +0800 Subject: [PATCH 02/70] disposable scope --- .../GameChannelOptionsService.cs | 49 ++++++------- .../Game/Launching/LaunchExecutionContext.cs | 8 ++- .../LaunchGameInstallGameDialog.xaml.cs | 1 - .../ViewModel/Game/GamePackageViewModel.cs | 63 +++++++++-------- .../Game/LaunchGameLaunchExecution.cs | 12 ++-- .../ViewModel/Game/LaunchGameShared.cs | 31 +++++---- .../ViewModel/Game/LaunchGameViewModel.cs | 7 +- .../Snap.Hutao/ViewModel/TestViewModel.cs | 69 ++++++++++--------- 8 files changed, 134 insertions(+), 106 deletions(-) diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Configuration/GameChannelOptionsService.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Configuration/GameChannelOptionsService.cs index ad6e72fc94..33feeb0c0d 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Configuration/GameChannelOptionsService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Configuration/GameChannelOptionsService.cs @@ -21,35 +21,38 @@ public ChannelOptions GetChannelOptions() return ChannelOptions.GamePathNullOrEmpty(); } - bool isOversea = LaunchScheme.ExecutableIsOversea(gameFileSystem.GameFileName); - - if (!File.Exists(gameFileSystem.GameConfigFilePath)) + using (gameFileSystem) { - // Try restore the configuration file if it does not exist - // The configuration file may be deleted by a incompatible launcher - gameConfigurationFileService.Restore(gameFileSystem.GameConfigFilePath); - } + bool isOversea = LaunchScheme.ExecutableIsOversea(gameFileSystem.GameFileName); - if (!File.Exists(gameFileSystem.ScriptVersionFilePath)) - { - // Try to fix ScriptVersion by reading game_version from the configuration file - // Will check the configuration file first - // If the configuration file and ScriptVersion file are both missing, the game content is corrupted - if (!gameFileSystem.TryFixScriptVersion()) + if (!File.Exists(gameFileSystem.GameConfigFilePath)) { - return ChannelOptions.GameContentCorrupted(gameFileSystem.GameDirectory); + // Try restore the configuration file if it does not exist + // The configuration file may be deleted by a incompatible launcher + gameConfigurationFileService.Restore(gameFileSystem.GameConfigFilePath); } - } - if (!File.Exists(gameFileSystem.GameConfigFilePath)) - { - return ChannelOptions.ConfigurationFileNotFound(gameFileSystem.GameConfigFilePath); - } + if (!File.Exists(gameFileSystem.ScriptVersionFilePath)) + { + // Try to fix ScriptVersion by reading game_version from the configuration file + // Will check the configuration file first + // If the configuration file and ScriptVersion file are both missing, the game content is corrupted + if (!gameFileSystem.TryFixScriptVersion()) + { + return ChannelOptions.GameContentCorrupted(gameFileSystem.GameDirectory); + } + } + + if (!File.Exists(gameFileSystem.GameConfigFilePath)) + { + return ChannelOptions.ConfigurationFileNotFound(gameFileSystem.GameConfigFilePath); + } - List parameters = IniSerializer.DeserializeFromFile(gameFileSystem.GameConfigFilePath).OfType().ToList(); - string? channel = parameters.FirstOrDefault(p => p.Key is ChannelOptions.ChannelName)?.Value; - string? subChannel = parameters.FirstOrDefault(p => p.Key is ChannelOptions.SubChannelName)?.Value; + List parameters = IniSerializer.DeserializeFromFile(gameFileSystem.GameConfigFilePath).OfType().ToList(); + string? channel = parameters.FirstOrDefault(p => p.Key is ChannelOptions.ChannelName)?.Value; + string? subChannel = parameters.FirstOrDefault(p => p.Key is ChannelOptions.SubChannelName)?.Value; - return new(channel, subChannel, isOversea); + return new(channel, subChannel, isOversea); + } } } \ No newline at end of file diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/LaunchExecutionContext.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/LaunchExecutionContext.cs index 03b6939a56..cd516c2fc5 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/LaunchExecutionContext.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/LaunchExecutionContext.cs @@ -11,7 +11,7 @@ namespace Snap.Hutao.Service.Game.Launching; [ConstructorGenerated] -internal sealed partial class LaunchExecutionContext +internal sealed partial class LaunchExecutionContext : IDisposable { private readonly ILogger logger; @@ -84,6 +84,12 @@ public void UpdateGamePathEntry() ViewModel.SetGamePathEntriesAndSelectedGamePathEntry(gamePathEntries, selectedEntry); // invalidate game file system + gameFileSystem?.Dispose(); gameFileSystem = null; } + + public void Dispose() + { + gameFileSystem?.Dispose(); + } } \ No newline at end of file diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/Dialog/LaunchGameInstallGameDialog.xaml.cs b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/Dialog/LaunchGameInstallGameDialog.xaml.cs index 3bde7cb988..8fc6c0b0fc 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/Dialog/LaunchGameInstallGameDialog.xaml.cs +++ b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/Dialog/LaunchGameInstallGameDialog.xaml.cs @@ -11,7 +11,6 @@ using Snap.Hutao.Service.Game.Scheme; using Snap.Hutao.Service.Notification; using System.IO; -using PackageOperationGameFileSystem = Snap.Hutao.Service.Game.Package.Advanced.PackageOperationGameFileSystem; namespace Snap.Hutao.UI.Xaml.View.Dialog; diff --git a/src/Snap.Hutao/Snap.Hutao/ViewModel/Game/GamePackageViewModel.cs b/src/Snap.Hutao/Snap.Hutao/ViewModel/Game/GamePackageViewModel.cs index 01dd0d0c41..ad01d9abd3 100644 --- a/src/Snap.Hutao/Snap.Hutao/ViewModel/Game/GamePackageViewModel.cs +++ b/src/Snap.Hutao/Snap.Hutao/ViewModel/Game/GamePackageViewModel.cs @@ -105,15 +105,18 @@ public bool IsPredownloadFinished return false; } - if (!File.Exists(gameFileSystem.PredownloadStatusPath)) + using (gameFileSystem) { - return false; - } - - if (JsonSerializer.Deserialize(File.ReadAllText(gameFileSystem.PredownloadStatusPath)) is { } predownloadStatus) - { - int fileCount = Directory.GetFiles(gameFileSystem.ChunksDirectory).Length - 1; - return predownloadStatus.Finished && fileCount == predownloadStatus.TotalBlocks; + if (!File.Exists(gameFileSystem.PredownloadStatusPath)) + { + return false; + } + + if (JsonSerializer.Deserialize(File.ReadAllText(gameFileSystem.PredownloadStatusPath)) is { } predownloadStatus) + { + int fileCount = Directory.GetFiles(gameFileSystem.ChunksDirectory).Length - 1; + return predownloadStatus.Finished && fileCount == predownloadStatus.TotalBlocks; + } } return false; @@ -160,14 +163,17 @@ protected override async ValueTask LoadOverrideAsync() return true; } - if (gameFileSystem.TryGetGameVersion(out string? localVersion)) - { - LocalVersion = new(localVersion); - } - - if (!IsUpdateAvailable && PreVersion is null && File.Exists(gameFileSystem.PredownloadStatusPath)) + using (gameFileSystem) { - File.Delete(gameFileSystem.PredownloadStatusPath); + if (gameFileSystem.TryGetGameVersion(out string? localVersion)) + { + LocalVersion = new(localVersion); + } + + if (!IsUpdateAvailable && PreVersion is null && File.Exists(gameFileSystem.PredownloadStatusPath)) + { + File.Delete(gameFileSystem.PredownloadStatusPath); + } } return true; @@ -211,19 +217,22 @@ private async Task StartAsync(string state) GameChannelSDK? gameChannelSDK = channelSDKsWrapper.GameChannelSDKs.FirstOrDefault(sdk => sdk.Game.Id == targetLaunchScheme.GameId); - GamePackageOperationContext context = new( - serviceProvider, - operationKind, - gameFileSystem, - GameBranch.Main.GetTaggedCopy(LocalVersion.ToString()), - operationKind is GamePackageOperationKind.Predownload ? GameBranch.PreDownload : GameBranch.Main, - gameChannelSDK, - default); - - if (!await gamePackageService.StartOperationAsync(context).ConfigureAwait(false)) + using (gameFileSystem) { - // Operation canceled - return; + GamePackageOperationContext context = new( + serviceProvider, + operationKind, + gameFileSystem, + GameBranch.Main.GetTaggedCopy(LocalVersion.ToString()), + operationKind is GamePackageOperationKind.Predownload ? GameBranch.PreDownload : GameBranch.Main, + gameChannelSDK, + default); + + if (!await gamePackageService.StartOperationAsync(context).ConfigureAwait(false)) + { + // Operation canceled + return; + } } await taskContext.SwitchToMainThreadAsync(); diff --git a/src/Snap.Hutao/Snap.Hutao/ViewModel/Game/LaunchGameLaunchExecution.cs b/src/Snap.Hutao/Snap.Hutao/ViewModel/Game/LaunchGameLaunchExecution.cs index e3a6f0979b..237ce5c6f2 100644 --- a/src/Snap.Hutao/Snap.Hutao/ViewModel/Game/LaunchGameLaunchExecution.cs +++ b/src/Snap.Hutao/Snap.Hutao/ViewModel/Game/LaunchGameLaunchExecution.cs @@ -20,12 +20,14 @@ public static async ValueTask LaunchExecutionAsync(this IViewModelSupportLaunchE try { - LaunchExecutionContext context = new(scope.ServiceProvider, launchExecution, targetScheme, launchExecution.SelectedGameAccount, userAndUid); - LaunchExecutionResult result = await new LaunchExecutionInvoker().InvokeAsync(context).ConfigureAwait(false); - - if (result.Kind is not LaunchExecutionResultKind.Ok) + using (LaunchExecutionContext context = new(scope.ServiceProvider, launchExecution, targetScheme, launchExecution.SelectedGameAccount, userAndUid)) { - infoBarService.Warning(result.ErrorMessage); + LaunchExecutionResult result = await new LaunchExecutionInvoker().InvokeAsync(context).ConfigureAwait(false); + + if (result.Kind is not LaunchExecutionResultKind.Ok) + { + infoBarService.Warning(result.ErrorMessage); + } } } catch (Exception ex) diff --git a/src/Snap.Hutao/Snap.Hutao/ViewModel/Game/LaunchGameShared.cs b/src/Snap.Hutao/Snap.Hutao/ViewModel/Game/LaunchGameShared.cs index 86096d4d24..1b0c7ad99d 100644 --- a/src/Snap.Hutao/Snap.Hutao/ViewModel/Game/LaunchGameShared.cs +++ b/src/Snap.Hutao/Snap.Hutao/ViewModel/Game/LaunchGameShared.cs @@ -77,24 +77,27 @@ private async Task HandleConfigurationFileNotFoundAsync() return; } - bool isOversea = LaunchScheme.ExecutableIsOversea(gameFileSystem.GameFileName); + using (gameFileSystem) + { + bool isOversea = LaunchScheme.ExecutableIsOversea(gameFileSystem.GameFileName); - LaunchGameConfigurationFixDialog dialog = await contentDialogFactory - .CreateInstanceAsync() - .ConfigureAwait(false); + LaunchGameConfigurationFixDialog dialog = await contentDialogFactory + .CreateInstanceAsync() + .ConfigureAwait(false); - await taskContext.SwitchToMainThreadAsync(); - dialog.KnownSchemes = KnownLaunchSchemes.Get().Where(scheme => scheme.IsOversea == isOversea); - dialog.SelectedScheme = dialog.KnownSchemes.First(scheme => scheme.IsNotCompatOnly); - (bool isOk, LaunchScheme launchScheme) = await dialog.GetLaunchSchemeAsync().ConfigureAwait(false); + await taskContext.SwitchToMainThreadAsync(); + dialog.KnownSchemes = KnownLaunchSchemes.Get().Where(scheme => scheme.IsOversea == isOversea); + dialog.SelectedScheme = dialog.KnownSchemes.First(scheme => scheme.IsNotCompatOnly); + (bool isOk, LaunchScheme launchScheme) = await dialog.GetLaunchSchemeAsync().ConfigureAwait(false); - if (!isOk) - { - return; - } + if (!isOk) + { + return; + } - gameFileSystem.TryFixConfigurationFile(launchScheme); - infoBarService.Success(SH.ViewModelLaunchGameFixConfigurationFileSuccess); + gameFileSystem.TryFixConfigurationFile(launchScheme); + infoBarService.Success(SH.ViewModelLaunchGameFixConfigurationFileSuccess); + } } [Command("HandleGamePathNullOrEmptyCommand")] diff --git a/src/Snap.Hutao/Snap.Hutao/ViewModel/Game/LaunchGameViewModel.cs b/src/Snap.Hutao/Snap.Hutao/ViewModel/Game/LaunchGameViewModel.cs index e45695deb1..dc0ea966a1 100644 --- a/src/Snap.Hutao/Snap.Hutao/ViewModel/Game/LaunchGameViewModel.cs +++ b/src/Snap.Hutao/Snap.Hutao/ViewModel/Game/LaunchGameViewModel.cs @@ -275,8 +275,11 @@ private async Task OpenScreenshotFolderAsync() return; } - Directory.CreateDirectory(gameFileSystem.ScreenShotDirectory); - await Windows.System.Launcher.LaunchFolderPathAsync(gameFileSystem.ScreenShotDirectory); + using (gameFileSystem) + { + Directory.CreateDirectory(gameFileSystem.ScreenShotDirectory); + await Windows.System.Launcher.LaunchFolderPathAsync(gameFileSystem.ScreenShotDirectory); + } } [SuppressMessage("", "SH003")] diff --git a/src/Snap.Hutao/Snap.Hutao/ViewModel/TestViewModel.cs b/src/Snap.Hutao/Snap.Hutao/ViewModel/TestViewModel.cs index d57eb4058b..8e7d6e208f 100644 --- a/src/Snap.Hutao/Snap.Hutao/ViewModel/TestViewModel.cs +++ b/src/Snap.Hutao/Snap.Hutao/ViewModel/TestViewModel.cs @@ -345,46 +345,49 @@ private async Task ExtractGameBlocksAsync() return; } - if (!gameFileSystem.TryGetGameVersion(out string? localVersion)) + using (gameFileSystem) { - return; - } + if (!gameFileSystem.TryGetGameVersion(out string? localVersion)) + { + return; + } - (bool isOk, string? extractDirectory) = fileSystemPickerInteraction.PickFolder("Select directory to extract the game blks"); - if (!isOk) - { - return; - } + (bool isOk, string? extractDirectory) = fileSystemPickerInteraction.PickFolder("Select directory to extract the game blks"); + if (!isOk) + { + return; + } - string message = $""" - Local: {localVersion} - Remote: {gameBranch.PreDownload.Tag} - Extract Directory: {extractDirectory} - - Please ensure local game is integrated. - We need some of old blocks to patch up. - """; + string message = $""" + Local: {localVersion} + Remote: {gameBranch.PreDownload.Tag} + Extract Directory: {extractDirectory} - ContentDialogResult result = await contentDialogFactory.CreateForConfirmCancelAsync( - "Extract Game Blocks", - message) - .ConfigureAwait(false); + Please ensure local game is integrated. + We need some of old blocks to patch up. + """; - if (result is not ContentDialogResult.Primary) - { - return; - } + ContentDialogResult result = await contentDialogFactory.CreateForConfirmCancelAsync( + "Extract Game Blocks", + message) + .ConfigureAwait(false); + + if (result is not ContentDialogResult.Primary) + { + return; + } - GamePackageOperationContext context = new( - serviceProvider, - GamePackageOperationKind.ExtractBlk, - gameFileSystem, - gameBranch.Main.GetTaggedCopy(localVersion), - gameBranch.PreDownload, - default, - extractDirectory); + GamePackageOperationContext context = new( + serviceProvider, + GamePackageOperationKind.ExtractBlk, + gameFileSystem, + gameBranch.Main.GetTaggedCopy(localVersion), + gameBranch.PreDownload, + default, + extractDirectory); - await gamePackageService.StartOperationAsync(context).ConfigureAwait(false); + await gamePackageService.StartOperationAsync(context).ConfigureAwait(false); + } } [Command("ExtractGameExeCommand")] From de9dec919e256a73590aa65f647476aca9b98a98 Mon Sep 17 00:00:00 2001 From: qhy040404 Date: Mon, 25 Nov 2024 20:59:39 +0800 Subject: [PATCH 03/70] fix fast close on check update --- src/Snap.Hutao/Snap.Hutao/ViewModel/TitleViewModel.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Snap.Hutao/Snap.Hutao/ViewModel/TitleViewModel.cs b/src/Snap.Hutao/Snap.Hutao/ViewModel/TitleViewModel.cs index 986e7a93c7..3571ea5f5e 100644 --- a/src/Snap.Hutao/Snap.Hutao/ViewModel/TitleViewModel.cs +++ b/src/Snap.Hutao/Snap.Hutao/ViewModel/TitleViewModel.cs @@ -82,6 +82,11 @@ private async ValueTask DoCheckUpdateAsync() IProgress progress = progressFactory.CreateForMainThread(status => UpdateStatus = status); CheckUpdateResult checkUpdateResult = await updateService.CheckUpdateAsync(progress).ConfigureAwait(false); + if (currentXamlWindowReference.Window is null) + { + return; + } + if (checkUpdateResult.Kind is CheckUpdateResultKind.NeedDownload) { UpdatePackageDownloadConfirmDialog dialog = await contentDialogFactory From 06a3886b388cdf3987cd61f60e1e35a8939039ff Mon Sep 17 00:00:00 2001 From: DismissedLight <1686188646@qq.com> Date: Mon, 25 Nov 2024 22:36:31 +0800 Subject: [PATCH 04/70] code style --- src/Snap.Hutao/.editorconfig | 2 +- .../GameChannelOptionsService.cs | 2 +- ...aunchExecutionEnsureGameResourceHandler.cs | 6 +-- ...ecutionGameProcessInitializationHandler.cs | 4 +- ...LaunchExecutionSetChannelOptionsHandler.cs | 2 +- .../LaunchExecutionUnlockFpsHandler.cs | 2 +- .../Game/Launching/LaunchExecutionContext.cs | 13 +++-- .../Package/Advanced/GamePackageService.cs | 2 +- .../Package/Advanced/IGamePackageService.cs | 2 +- .../Game/Package/PackageConverterContext.cs | 6 +-- .../Game/RestrictedGamePathAccessExtension.cs | 4 +- .../Game/GamePackageInstallViewModel.cs | 2 +- .../ViewModel/Game/GamePackageViewModel.cs | 52 +++++++++---------- .../ViewModel/Game/LaunchGameShared.cs | 2 +- .../ViewModel/Game/LaunchGameViewModel.cs | 2 +- .../Snap.Hutao/ViewModel/TestViewModel.cs | 18 +++---- 16 files changed, 60 insertions(+), 61 deletions(-) diff --git a/src/Snap.Hutao/.editorconfig b/src/Snap.Hutao/.editorconfig index e6469f69b8..f5cd40612b 100644 --- a/src/Snap.Hutao/.editorconfig +++ b/src/Snap.Hutao/.editorconfig @@ -274,7 +274,7 @@ dotnet_diagnostic.CA1849.severity = suggestion dotnet_diagnostic.CA1852.severity = suggestion # CA2000: 丢失范围之前释放对象 -dotnet_diagnostic.CA2000.severity = suggestion +dotnet_diagnostic.CA2000.severity = none # CA2002: 不要锁定具有弱标识的对象 dotnet_diagnostic.CA2002.severity = suggestion diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Configuration/GameChannelOptionsService.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Configuration/GameChannelOptionsService.cs index 33feeb0c0d..1e6f303eac 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Configuration/GameChannelOptionsService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Configuration/GameChannelOptionsService.cs @@ -16,7 +16,7 @@ internal sealed partial class GameChannelOptionsService : IGameChannelOptionsSer public ChannelOptions GetChannelOptions() { - if (!launchOptions.TryGetGameFileSystem(out GameFileSystem? gameFileSystem)) + if (!launchOptions.TryGetGameFileSystem(out IGameFileSystem? gameFileSystem)) { return ChannelOptions.GamePathNullOrEmpty(); } diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionEnsureGameResourceHandler.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionEnsureGameResourceHandler.cs index 6781c715ee..94b4623450 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionEnsureGameResourceHandler.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionEnsureGameResourceHandler.cs @@ -26,7 +26,7 @@ internal sealed class LaunchExecutionEnsureGameResourceHandler : ILaunchExecutio { public async ValueTask OnExecutionAsync(LaunchExecutionContext context, LaunchExecutionDelegate next) { - if (!context.TryGetGameFileSystem(out GameFileSystem? gameFileSystem)) + if (!context.TryGetGameFileSystem(out IGameFileSystem? gameFileSystem)) { return; } @@ -60,7 +60,7 @@ public async ValueTask OnExecutionAsync(LaunchExecutionContext context, LaunchEx await next().ConfigureAwait(false); } - private static bool ShouldConvert(LaunchExecutionContext context, GameFileSystem gameFileSystem) + private static bool ShouldConvert(LaunchExecutionContext context, IGameFileSystem gameFileSystem) { // Configuration file changed if (context.ChannelOptionsChanged) @@ -86,7 +86,7 @@ private static bool ShouldConvert(LaunchExecutionContext context, GameFileSystem return false; } - private static async ValueTask EnsureGameResourceAsync(LaunchExecutionContext context, GameFileSystem gameFileSystem, IProgress progress) + private static async ValueTask EnsureGameResourceAsync(LaunchExecutionContext context, IGameFileSystem gameFileSystem, IProgress progress) { string gameFolder = gameFileSystem.GameDirectory; context.Logger.LogInformation("Game folder: {GameFolder}", gameFolder); diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionGameProcessInitializationHandler.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionGameProcessInitializationHandler.cs index 751313d042..2a4cd88f5f 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionGameProcessInitializationHandler.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionGameProcessInitializationHandler.cs @@ -9,7 +9,7 @@ internal sealed class LaunchExecutionGameProcessInitializationHandler : ILaunchE { public async ValueTask OnExecutionAsync(LaunchExecutionContext context, LaunchExecutionDelegate next) { - if (!context.TryGetGameFileSystem(out GameFileSystem? gameFileSystem)) + if (!context.TryGetGameFileSystem(out IGameFileSystem? gameFileSystem)) { return; } @@ -21,7 +21,7 @@ public async ValueTask OnExecutionAsync(LaunchExecutionContext context, LaunchEx } } - private static System.Diagnostics.Process InitializeGameProcess(LaunchExecutionContext context, GameFileSystem gameFileSystem) + private static System.Diagnostics.Process InitializeGameProcess(LaunchExecutionContext context, IGameFileSystem gameFileSystem) { LaunchOptions launchOptions = context.Options; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionSetChannelOptionsHandler.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionSetChannelOptionsHandler.cs index c705c9bc5b..584eca5bf6 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionSetChannelOptionsHandler.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionSetChannelOptionsHandler.cs @@ -11,7 +11,7 @@ internal sealed class LaunchExecutionSetChannelOptionsHandler : ILaunchExecution { public async ValueTask OnExecutionAsync(LaunchExecutionContext context, LaunchExecutionDelegate next) { - if (!context.TryGetGameFileSystem(out GameFileSystem? gameFileSystem)) + if (!context.TryGetGameFileSystem(out IGameFileSystem? gameFileSystem)) { // context.Result is set in TryGetGameFileSystem return; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionUnlockFpsHandler.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionUnlockFpsHandler.cs index e22fdfc552..d420f69bd5 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionUnlockFpsHandler.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionUnlockFpsHandler.cs @@ -16,7 +16,7 @@ public async ValueTask OnExecutionAsync(LaunchExecutionContext context, LaunchEx context.Logger.LogInformation("Unlocking FPS"); context.Progress.Report(new(LaunchPhase.UnlockingFps, SH.ServiceGameLaunchPhaseUnlockingFps)); - if (!context.TryGetGameFileSystem(out GameFileSystem? gameFileSystem)) + if (!context.TryGetGameFileSystem(out IGameFileSystem? gameFileSystem)) { return; } diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/LaunchExecutionContext.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/LaunchExecutionContext.cs index cd516c2fc5..eda0350e8c 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/LaunchExecutionContext.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/LaunchExecutionContext.cs @@ -15,7 +15,7 @@ internal sealed partial class LaunchExecutionContext : IDisposable { private readonly ILogger logger; - private GameFileSystem? gameFileSystem; + private IGameFileSystem? gameFileSystem; [SuppressMessage("", "SH007")] public LaunchExecutionContext(IServiceProvider serviceProvider, IViewModelSupportLaunchExecution viewModel, LaunchScheme? targetScheme, GameAccount? account, UserAndUid? userAndUid) @@ -58,9 +58,8 @@ public LaunchExecutionContext(IServiceProvider serviceProvider, IViewModelSuppor public System.Diagnostics.Process Process { get; set; } = default!; - public bool TryGetGameFileSystem([NotNullWhen(true)] out GameFileSystem? gameFileSystem) + public bool TryGetGameFileSystem([NotNullWhen(true)] out IGameFileSystem? gameFileSystem) { - // TODO: for safety reasons, we should lock the game file path somehow, when we acquired the game file system if (this.gameFileSystem is not null) { gameFileSystem = this.gameFileSystem; @@ -80,12 +79,12 @@ public bool TryGetGameFileSystem([NotNullWhen(true)] out GameFileSystem? gameFil public void UpdateGamePathEntry() { - ImmutableArray gamePathEntries = Options.GetGamePathEntries(out GamePathEntry? selectedEntry); - ViewModel.SetGamePathEntriesAndSelectedGamePathEntry(gamePathEntries, selectedEntry); - - // invalidate game file system + // Invalidate game file system gameFileSystem?.Dispose(); gameFileSystem = null; + + ImmutableArray gamePathEntries = Options.GetGamePathEntries(out GamePathEntry? selectedEntry); + ViewModel.SetGamePathEntriesAndSelectedGamePathEntry(gamePathEntries, selectedEntry); } public void Dispose() diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GamePackageService.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GamePackageService.cs index 7f26c77e14..538411ac36 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GamePackageService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GamePackageService.cs @@ -45,7 +45,7 @@ internal sealed partial class GamePackageService : IGamePackageService private CancellationTokenSource? operationCts; private TaskCompletionSource? operationTcs; - public async ValueTask StartOperationAsync(GamePackageOperationContext operationContext) + public async ValueTask ExecuteOperationAsync(GamePackageOperationContext operationContext) { await CancelOperationAsync().ConfigureAwait(false); diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/IGamePackageService.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/IGamePackageService.cs index de19c4e316..66abed0ddc 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/IGamePackageService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/IGamePackageService.cs @@ -5,7 +5,7 @@ namespace Snap.Hutao.Service.Game.Package.Advanced; internal interface IGamePackageService { - ValueTask StartOperationAsync(GamePackageOperationContext context); + ValueTask ExecuteOperationAsync(GamePackageOperationContext context); ValueTask CancelOperationAsync(); } diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/PackageConverterContext.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/PackageConverterContext.cs index 79da2872a6..cb1eca9257 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/PackageConverterContext.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/PackageConverterContext.cs @@ -84,7 +84,7 @@ private PackageConverterContext(CommonReferences common) public LaunchScheme TargetScheme { get => Common.TargetScheme; } - public GameFileSystem GameFileSystem { get => Common.GameFileSystem; } + public IGameFileSystem GameFileSystem { get => Common.GameFileSystem; } public GameChannelSDK? GameChannelSDK { get => Common.GameChannelSDK; } @@ -123,7 +123,7 @@ internal readonly struct CommonReferences public readonly HttpClient HttpClient; public readonly LaunchScheme CurrentScheme; public readonly LaunchScheme TargetScheme; - public readonly GameFileSystem GameFileSystem; + public readonly IGameFileSystem GameFileSystem; public readonly GameChannelSDK? GameChannelSDK; public readonly DeprecatedFilesWrapper? DeprecatedFiles; public readonly IProgress Progress; @@ -132,7 +132,7 @@ public CommonReferences( HttpClient httpClient, LaunchScheme currentScheme, LaunchScheme targetScheme, - GameFileSystem gameFileSystem, + IGameFileSystem gameFileSystem, GameChannelSDK? gameChannelSDK, DeprecatedFilesWrapper? deprecatedFiles, IProgress progress) diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/RestrictedGamePathAccessExtension.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/RestrictedGamePathAccessExtension.cs index 6556ef49ff..e8fa78d1e6 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/RestrictedGamePathAccessExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/RestrictedGamePathAccessExtension.cs @@ -9,7 +9,7 @@ namespace Snap.Hutao.Service.Game; internal static class RestrictedGamePathAccessExtension { - public static bool TryGetGameFileSystem(this IRestrictedGamePathAccess access, [NotNullWhen(true)] out GameFileSystem? fileSystem) + public static bool TryGetGameFileSystem(this IRestrictedGamePathAccess access, [NotNullWhen(true)] out IGameFileSystem? fileSystem) { string gamePath = access.GamePath; @@ -25,7 +25,7 @@ public static bool TryGetGameFileSystem(this IRestrictedGamePathAccess access, [ return false; } - fileSystem = new(gamePath, releaser); + fileSystem = new GameFileSystem(gamePath, releaser); return true; } diff --git a/src/Snap.Hutao/Snap.Hutao/ViewModel/Game/GamePackageInstallViewModel.cs b/src/Snap.Hutao/Snap.Hutao/ViewModel/Game/GamePackageInstallViewModel.cs index fc49847020..d3583ec321 100644 --- a/src/Snap.Hutao/Snap.Hutao/ViewModel/Game/GamePackageInstallViewModel.cs +++ b/src/Snap.Hutao/Snap.Hutao/ViewModel/Game/GamePackageInstallViewModel.cs @@ -106,7 +106,7 @@ private async Task StartAsync() gameFileSystem.GenerateConfigurationFile(branch.Main.Tag, launchScheme); - if (!await gamePackageService.StartOperationAsync(context).ConfigureAwait(false)) + if (!await gamePackageService.ExecuteOperationAsync(context).ConfigureAwait(false)) { // Operation canceled } diff --git a/src/Snap.Hutao/Snap.Hutao/ViewModel/Game/GamePackageViewModel.cs b/src/Snap.Hutao/Snap.Hutao/ViewModel/Game/GamePackageViewModel.cs index ad01d9abd3..1cd4ca5261 100644 --- a/src/Snap.Hutao/Snap.Hutao/ViewModel/Game/GamePackageViewModel.cs +++ b/src/Snap.Hutao/Snap.Hutao/ViewModel/Game/GamePackageViewModel.cs @@ -100,7 +100,7 @@ public bool IsPredownloadFinished { get { - if (!launchOptions.TryGetGameFileSystem(out GameFileSystem? gameFileSystem)) + if (!launchOptions.TryGetGameFileSystem(out IGameFileSystem? gameFileSystem)) { return false; } @@ -125,9 +125,9 @@ public bool IsPredownloadFinished public async ValueTask ForceLoadAsync() { - await LoadOverrideAsync().ConfigureAwait(false); + bool result = await LoadOverrideAsync().ConfigureAwait(false); await taskContext.SwitchToMainThreadAsync(); - IsInitialized = true; + IsInitialized = result; } protected override async ValueTask LoadOverrideAsync() @@ -149,37 +149,37 @@ protected override async ValueTask LoadOverrideAsync() } } - if (branchesWrapper.GameBranches.FirstOrDefault(b => b.Game.Id == launchScheme.GameId) is { } branch) + if (branchesWrapper.GameBranches.FirstOrDefault(b => b.Game.Id == launchScheme.GameId) is not { } branch) { - await taskContext.SwitchToMainThreadAsync(); - GameBranch = branch; - LaunchScheme = launchScheme; + return false; + } - RemoteVersion = new(branch.Main.Tag); - PreVersion = branch.PreDownload is { Tag: { } tag } ? new(tag) : default; + await taskContext.SwitchToMainThreadAsync(); + GameBranch = branch; + LaunchScheme = launchScheme; - if (!launchOptions.TryGetGameFileSystem(out GameFileSystem? gameFileSystem)) + RemoteVersion = new(branch.Main.Tag); + PreVersion = branch.PreDownload is { Tag: { } tag } ? new(tag) : default; + + if (!launchOptions.TryGetGameFileSystem(out IGameFileSystem? gameFileSystem)) + { + return false; + } + + using (gameFileSystem) + { + if (gameFileSystem.TryGetGameVersion(out string? localVersion)) { - return true; + LocalVersion = new(localVersion); } - using (gameFileSystem) + if (!IsUpdateAvailable && PreVersion is null && File.Exists(gameFileSystem.PredownloadStatusPath)) { - if (gameFileSystem.TryGetGameVersion(out string? localVersion)) - { - LocalVersion = new(localVersion); - } - - if (!IsUpdateAvailable && PreVersion is null && File.Exists(gameFileSystem.PredownloadStatusPath)) - { - File.Delete(gameFileSystem.PredownloadStatusPath); - } + File.Delete(gameFileSystem.PredownloadStatusPath); } - - return true; } - return false; + return true; } [Command("StartCommand")] @@ -192,7 +192,7 @@ private async Task StartAsync(string state) GamePackageOperationKind operationKind = Enum.Parse(state); - if (!launchOptions.TryGetGameFileSystem(out GameFileSystem? gameFileSystem)) + if (!launchOptions.TryGetGameFileSystem(out IGameFileSystem? gameFileSystem)) { return; } @@ -228,7 +228,7 @@ private async Task StartAsync(string state) gameChannelSDK, default); - if (!await gamePackageService.StartOperationAsync(context).ConfigureAwait(false)) + if (!await gamePackageService.ExecuteOperationAsync(context).ConfigureAwait(false)) { // Operation canceled return; diff --git a/src/Snap.Hutao/Snap.Hutao/ViewModel/Game/LaunchGameShared.cs b/src/Snap.Hutao/Snap.Hutao/ViewModel/Game/LaunchGameShared.cs index 1b0c7ad99d..e3f8425a9b 100644 --- a/src/Snap.Hutao/Snap.Hutao/ViewModel/Game/LaunchGameShared.cs +++ b/src/Snap.Hutao/Snap.Hutao/ViewModel/Game/LaunchGameShared.cs @@ -72,7 +72,7 @@ internal sealed partial class LaunchGameShared [Command("HandleConfigurationFileNotFoundCommand")] private async Task HandleConfigurationFileNotFoundAsync() { - if (!launchOptions.TryGetGameFileSystem(out GameFileSystem? gameFileSystem)) + if (!launchOptions.TryGetGameFileSystem(out IGameFileSystem? gameFileSystem)) { return; } diff --git a/src/Snap.Hutao/Snap.Hutao/ViewModel/Game/LaunchGameViewModel.cs b/src/Snap.Hutao/Snap.Hutao/ViewModel/Game/LaunchGameViewModel.cs index dc0ea966a1..a9ecabeecd 100644 --- a/src/Snap.Hutao/Snap.Hutao/ViewModel/Game/LaunchGameViewModel.cs +++ b/src/Snap.Hutao/Snap.Hutao/ViewModel/Game/LaunchGameViewModel.cs @@ -270,7 +270,7 @@ private async Task RemoveGameAccountAsync(GameAccount? gameAccount) [Command("OpenScreenshotFolderCommand")] private async Task OpenScreenshotFolderAsync() { - if (!launchOptions.TryGetGameFileSystem(out GameFileSystem? gameFileSystem)) + if (!launchOptions.TryGetGameFileSystem(out IGameFileSystem? gameFileSystem)) { return; } diff --git a/src/Snap.Hutao/Snap.Hutao/ViewModel/TestViewModel.cs b/src/Snap.Hutao/Snap.Hutao/ViewModel/TestViewModel.cs index 8e7d6e208f..1f563306f8 100644 --- a/src/Snap.Hutao/Snap.Hutao/ViewModel/TestViewModel.cs +++ b/src/Snap.Hutao/Snap.Hutao/ViewModel/TestViewModel.cs @@ -340,7 +340,7 @@ private async Task ExtractGameBlocksAsync() return; } - if (!launchOptions.TryGetGameFileSystem(out GameFileSystem? gameFileSystem)) + if (!launchOptions.TryGetGameFileSystem(out IGameFileSystem? gameFileSystem)) { return; } @@ -359,13 +359,13 @@ private async Task ExtractGameBlocksAsync() } string message = $""" - Local: {localVersion} - Remote: {gameBranch.PreDownload.Tag} - Extract Directory: {extractDirectory} + Local: {localVersion} + Remote: {gameBranch.PreDownload.Tag} + Extract Directory: {extractDirectory} - Please ensure local game is integrated. - We need some of old blocks to patch up. - """; + Please ensure local game is integrated. + We need some of old blocks to patch up. + """; ContentDialogResult result = await contentDialogFactory.CreateForConfirmCancelAsync( "Extract Game Blocks", @@ -386,7 +386,7 @@ We need some of old blocks to patch up. default, extractDirectory); - await gamePackageService.StartOperationAsync(context).ConfigureAwait(false); + await gamePackageService.ExecuteOperationAsync(context).ConfigureAwait(false); } } @@ -447,7 +447,7 @@ private async Task ExtractGameExeAsync() default, default); - await gamePackageService.StartOperationAsync(context).ConfigureAwait(false); + await gamePackageService.ExecuteOperationAsync(context).ConfigureAwait(false); } } From f7f8ac378b6dcca179ddafa448c03f95a8cf51ce Mon Sep 17 00:00:00 2001 From: qhy040404 Date: Tue, 26 Nov 2024 10:41:17 +0800 Subject: [PATCH 05/70] drop OrTools --- .../Service/Inventory/InventoryService.cs | 4 +- ...otionDelta.cs => PromotionDeltaFactory.cs} | 66 ++----------------- src/Snap.Hutao/Snap.Hutao/Snap.Hutao.csproj | 1 - 3 files changed, 7 insertions(+), 64 deletions(-) rename src/Snap.Hutao/Snap.Hutao/Service/Inventory/{MinimalPromotionDelta.cs => PromotionDeltaFactory.cs} (66%) diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Inventory/InventoryService.cs b/src/Snap.Hutao/Snap.Hutao/Service/Inventory/InventoryService.cs index 2a5346db67..c6ffd55c79 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Inventory/InventoryService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Inventory/InventoryService.cs @@ -17,7 +17,7 @@ namespace Snap.Hutao.Service.Inventory; [Injection(InjectAs.Singleton, typeof(IInventoryService))] internal sealed partial class InventoryService : IInventoryService { - private readonly MinimalPromotionDelta minimalPromotionDelta; + private readonly PromotionDeltaFactory promotionDeltaFactory; private readonly IServiceScopeFactory serviceScopeFactory; private readonly IInventoryRepository inventoryRepository; private readonly IInfoBarService infoBarService; @@ -54,7 +54,7 @@ public async ValueTask RefreshInventoryAsync(CultivateProject project) return; } - List deltas = await minimalPromotionDelta.GetAsync(userAndUid).ConfigureAwait(false); + List deltas = await promotionDeltaFactory.GetAsync(userAndUid).ConfigureAwait(false); BatchConsumption? batchConsumption; using (IServiceScope scope = serviceScopeFactory.CreateScope()) diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Inventory/MinimalPromotionDelta.cs b/src/Snap.Hutao/Snap.Hutao/Service/Inventory/PromotionDeltaFactory.cs similarity index 66% rename from src/Snap.Hutao/Snap.Hutao/Service/Inventory/MinimalPromotionDelta.cs rename to src/Snap.Hutao/Snap.Hutao/Service/Inventory/PromotionDeltaFactory.cs index b82de51c1e..89b0794c07 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Inventory/MinimalPromotionDelta.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Inventory/PromotionDeltaFactory.cs @@ -1,10 +1,8 @@ // Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. -using Google.OrTools.LinearSolver; using Microsoft.Extensions.Caching.Memory; using Snap.Hutao.Core.Diagnostics; -using Snap.Hutao.Core.ExceptionService; using Snap.Hutao.Model.Metadata.Abstraction; using Snap.Hutao.Model.Primitive; using Snap.Hutao.Service.Metadata; @@ -21,16 +19,16 @@ namespace Snap.Hutao.Service.Inventory; [ConstructorGenerated] [Injection(InjectAs.Singleton)] -internal sealed partial class MinimalPromotionDelta +internal sealed partial class PromotionDeltaFactory { - private readonly ILogger logger; + private readonly ILogger logger; private readonly IServiceProvider serviceProvider; private readonly IMetadataService metadataService; private readonly IMemoryCache memoryCache; public async ValueTask> GetAsync(UserAndUid userAndUid) { - List? result = await memoryCache.GetOrCreateAsync($"{nameof(MinimalPromotionDelta)}.Cache", async entry => + List? result = await memoryCache.GetOrCreateAsync($"{nameof(PromotionDeltaFactory)}.Cache", async entry => { List calculableAvatars; List calculableWeapons; @@ -48,9 +46,8 @@ public async ValueTask> GetAsync(UserAndUid userAndUi using (ValueStopwatch.MeasureExecution(logger)) { - List minimal = Minimize(cultivationItemsEntryList); - minimal.Sort(CultivationItemsAccessComparer.Shared); - return ToPromotionDeltaList(minimal); + cultivationItemsEntryList.Sort(CultivationItemsAccessComparer.Shared); + return ToPromotionDeltaList(cultivationItemsEntryList); } }).ConfigureAwait(false); @@ -79,59 +76,6 @@ private static List Create(List items, return cultivationItems; } - private static List Minimize(List cultivationItems) - { - using (Solver? solver = Solver.CreateSolver("SCIP")) - { - ArgumentNullException.ThrowIfNull(solver); - - Objective objective = solver.Objective(); - objective.SetMinimization(); - - Dictionary itemVariableMap = []; - foreach (ref readonly ICultivationItemsAccess item in CollectionsMarshal.AsSpan(cultivationItems)) - { - Variable variable = solver.MakeBoolVar(item.Name); - itemVariableMap[item] = variable; - objective.SetCoefficient(variable, 1); - } - - Dictionary materialConstraintMap = []; - foreach (ref readonly ICultivationItemsAccess item in CollectionsMarshal.AsSpan(cultivationItems)) - { - foreach (ref readonly MaterialId materialId in item.CultivationItems.AsSpan()) - { - ref Constraint? constraint = ref CollectionsMarshal.GetValueRefOrAddDefault(materialConstraintMap, materialId, out _); - if (constraint is null) - { - constraint = solver.MakeConstraint(double.NegativeInfinity, double.PositiveInfinity, $"{materialId}"); - - Variable penalty = solver.MakeNumVar(0, double.PositiveInfinity, $"penalty_{materialId}"); - objective.SetCoefficient(penalty, 1000); - constraint.SetCoefficient(penalty, 1); - } - - constraint.SetCoefficient(itemVariableMap[item], 1); - constraint.SetBounds(3, double.PositiveInfinity); - } - } - - Solver.ResultStatus status = solver.Solve(); - HutaoException.ThrowIf(status != Solver.ResultStatus.OPTIMAL, "Unable to solve minimal item set"); - - List results = []; - foreach ((ICultivationItemsAccess item, Variable variable) in itemVariableMap) - { - if (variable.SolutionValue() > 0.5) - { - results.Add(item); - } - } - - return results; - } - } - private static List ToPromotionDeltaList(List cultivationItems) { List deltas = []; diff --git a/src/Snap.Hutao/Snap.Hutao/Snap.Hutao.csproj b/src/Snap.Hutao/Snap.Hutao/Snap.Hutao.csproj index 0fad49445a..d413810466 100644 --- a/src/Snap.Hutao/Snap.Hutao/Snap.Hutao.csproj +++ b/src/Snap.Hutao/Snap.Hutao/Snap.Hutao.csproj @@ -354,7 +354,6 @@ - From 951b15c7b26027c168a2a63448151e9c43a71653 Mon Sep 17 00:00:00 2001 From: DismissedLight <1686188646@qq.com> Date: Tue, 26 Nov 2024 14:13:31 +0800 Subject: [PATCH 06/70] refine ini serialization --- .../Snap.Hutao/Core/IO/Ini/IniParameter.cs | 2 +- .../Snap.Hutao/Core/IO/Ini/IniSerializer.cs | 19 +++++++------ .../GameChannelOptionsService.cs | 28 +++++++++++++++++-- .../Snap.Hutao/Service/Game/GameFileSystem.cs | 22 +++++++-------- .../Service/Game/GameFileSystemExtension.cs | 23 +++++++++++---- ...LaunchExecutionSetChannelOptionsHandler.cs | 5 ++-- .../Game/Locator/RegistryLauncherLocator.cs | 11 ++++---- .../Package/Advanced/GamePackageService.cs | 2 +- 8 files changed, 72 insertions(+), 40 deletions(-) diff --git a/src/Snap.Hutao/Snap.Hutao/Core/IO/Ini/IniParameter.cs b/src/Snap.Hutao/Snap.Hutao/Core/IO/Ini/IniParameter.cs index 0f31d2e6c2..3a9718ed22 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/IO/Ini/IniParameter.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/IO/Ini/IniParameter.cs @@ -30,4 +30,4 @@ public override string ToString() { return $"{Key}={Value}"; } -} +} \ No newline at end of file diff --git a/src/Snap.Hutao/Snap.Hutao/Core/IO/Ini/IniSerializer.cs b/src/Snap.Hutao/Snap.Hutao/Core/IO/Ini/IniSerializer.cs index b703b2cdeb..4cb8007b5f 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/IO/Ini/IniSerializer.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/IO/Ini/IniSerializer.cs @@ -1,13 +1,14 @@ // Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. +using System.Collections.Immutable; using System.IO; namespace Snap.Hutao.Core.IO.Ini; internal static class IniSerializer { - public static List DeserializeFromFile(string filePath) + public static ImmutableArray DeserializeFromFile(string filePath) { using (StreamReader reader = File.OpenText(filePath)) { @@ -15,9 +16,9 @@ public static List DeserializeFromFile(string filePath) } } - public static List Deserialize(Stream fileStream) + public static ImmutableArray Deserialize(Stream stream) { - using (StreamReader reader = new(fileStream)) + using (StreamReader reader = new(stream)) { return DeserializeCore(reader); } @@ -39,9 +40,9 @@ public static void Serialize(FileStream fileStream, IEnumerable elem } } - private static List DeserializeCore(StreamReader reader) + private static ImmutableArray DeserializeCore(StreamReader reader) { - List results = []; + ImmutableArray.Builder builder = ImmutableArray.CreateBuilder(); IniSection? currentSection = default; while (reader.ReadLine() is { } line) @@ -56,26 +57,26 @@ private static List DeserializeCore(StreamReader reader) if (lineSpan[0] is '[') { IniSection section = new(lineSpan[1..^1].ToString()); - results.Add(section); + builder.Add(section); currentSection = section; } if (lineSpan[0] is ';') { IniComment comment = new(lineSpan[1..].ToString()); - results.Add(comment); + builder.Add(comment); currentSection?.Children.Add(comment); } if (lineSpan.TrySplitIntoTwo('=', out ReadOnlySpan left, out ReadOnlySpan right)) { IniParameter parameter = new(left.Trim().ToString(), right.Trim().ToString()); - results.Add(parameter); + builder.Add(parameter); currentSection?.Children.Add(parameter); } } - return results; + return builder.ToImmutable(); } private static void SerializeCore(StreamWriter writer, IEnumerable elements) diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Configuration/GameChannelOptionsService.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Configuration/GameChannelOptionsService.cs index 1e6f303eac..c5119186d1 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Configuration/GameChannelOptionsService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Configuration/GameChannelOptionsService.cs @@ -4,6 +4,7 @@ using Snap.Hutao.Core.IO.Ini; using Snap.Hutao.Service.Game.Scheme; using System.IO; +using System.Runtime.CompilerServices; namespace Snap.Hutao.Service.Game.Configuration; @@ -48,9 +49,30 @@ public ChannelOptions GetChannelOptions() return ChannelOptions.ConfigurationFileNotFound(gameFileSystem.GameConfigFilePath); } - List parameters = IniSerializer.DeserializeFromFile(gameFileSystem.GameConfigFilePath).OfType().ToList(); - string? channel = parameters.FirstOrDefault(p => p.Key is ChannelOptions.ChannelName)?.Value; - string? subChannel = parameters.FirstOrDefault(p => p.Key is ChannelOptions.SubChannelName)?.Value; + string? channel = default; + string? subChannel = default; + foreach (ref readonly IniElement element in IniSerializer.DeserializeFromFile(gameFileSystem.GameConfigFilePath).AsSpan()) + { + if (element is not IniParameter parameter) + { + continue; + } + + switch (parameter.Key) + { + case ChannelOptions.ChannelName: + channel = parameter.Value; + break; + case ChannelOptions.SubChannelName: + subChannel = parameter.Value; + break; + } + + if (channel is not null && subChannel is not null) + { + break; + } + } return new(channel, subChannel, isOversea); } diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/GameFileSystem.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/GameFileSystem.cs index 72bc21d087..860e712583 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/GameFileSystem.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/GameFileSystem.cs @@ -16,13 +16,6 @@ public GameFileSystem(string gameFilePath, AsyncReaderWriterLock.Releaser releas this.releaser = releaser; } - public GameFileSystem(string gameFilePath, AsyncReaderWriterLock.Releaser releaser, GameAudioSystem gameAudioSystem) - { - GameFilePath = gameFilePath; - this.releaser = releaser; - Audio = gameAudioSystem; - } - public string GameFilePath { get; } [field: MaybeNull] @@ -50,15 +43,20 @@ public string GameDirectory [field: MaybeNull] public string PCGameSDKFilePath { get => field ??= Path.Combine(GameDirectory, GameConstants.PCGameSDKFilePath); } - public string ScreenShotDirectory { get => Path.Combine(GameDirectory, "ScreenShot"); } + [field: MaybeNull] + public string ScreenShotDirectory { get => field ??= Path.Combine(GameDirectory, "ScreenShot"); } - public string DataDirectory { get => Path.Combine(GameDirectory, LaunchScheme.ExecutableIsOversea(GameFileName) ? GameConstants.GenshinImpactData : GameConstants.YuanShenData); } + [field: MaybeNull] + public string DataDirectory { get => field ??= Path.Combine(GameDirectory, LaunchScheme.ExecutableIsOversea(GameFileName) ? GameConstants.GenshinImpactData : GameConstants.YuanShenData); } - public string ScriptVersionFilePath { get => Path.Combine(DataDirectory, "Persistent", "ScriptVersion"); } + [field: MaybeNull] + public string ScriptVersionFilePath { get => field ??= Path.Combine(DataDirectory, "Persistent", "ScriptVersion"); } - public string ChunksDirectory { get => Path.Combine(GameDirectory, "chunks"); } + [field: MaybeNull] + public string ChunksDirectory { get => field ??= Path.Combine(GameDirectory, "chunks"); } - public string PredownloadStatusPath { get => Path.Combine(ChunksDirectory, "snap_hutao_predownload_status.json"); } + [field: MaybeNull] + public string PredownloadStatusPath { get => field ??= Path.Combine(ChunksDirectory, "snap_hutao_predownload_status.json"); } [field: MaybeNull] public GameAudioSystem Audio { get => field ??= new(GameFilePath); } diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/GameFileSystemExtension.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/GameFileSystemExtension.cs index 121f56afe5..72f5d33e92 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/GameFileSystemExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/GameFileSystemExtension.cs @@ -3,6 +3,7 @@ using Snap.Hutao.Core.IO.Ini; using Snap.Hutao.Service.Game.Scheme; +using System.Collections.Immutable; using System.IO; using System.Runtime.InteropServices; @@ -15,7 +16,7 @@ public static bool TryGetGameVersion(this IGameFileSystem gameFileSystem, [NotNu version = default!; if (File.Exists(gameFileSystem.GameConfigFilePath)) { - foreach (ref readonly IniElement element in CollectionsMarshal.AsSpan(IniSerializer.DeserializeFromFile(gameFileSystem.GameConfigFilePath))) + foreach (ref readonly IniElement element in IniSerializer.DeserializeFromFile(gameFileSystem.GameConfigFilePath).AsSpan()) { if (element is IniParameter { Key: "game_version" } parameter) { @@ -56,12 +57,22 @@ public static void GenerateConfigurationFile(this IGameFileSystem gameFileSystem File.WriteAllText(gameFileSystem.GameConfigFilePath, content); } - public static void UpdateConfigurationFile(this IGameFileSystem gameFileSystem, string version) + public static bool TryUpdateConfigurationFile(this IGameFileSystem gameFileSystem, string version) { - List ini = IniSerializer.DeserializeFromFile(gameFileSystem.GameConfigFilePath); - IniParameter gameVersion = (IniParameter)ini.Single(e => e is IniParameter { Key: "game_version" }); - gameVersion.Set(version); + bool updated = false; + ImmutableArray ini = IniSerializer.DeserializeFromFile(gameFileSystem.GameConfigFilePath); + foreach (ref readonly IniElement element in ini.AsSpan()) + { + if (element is not IniParameter { Key: "game_version" } parameter) + { + continue; + } + + updated = parameter.Set(version); + } + IniSerializer.SerializeToFile(gameFileSystem.GameConfigFilePath, ini); + return updated; } public static bool TryFixConfigurationFile(this IGameFileSystem gameFileSystem, LaunchScheme launchScheme) @@ -85,7 +96,7 @@ public static bool TryFixScriptVersion(this IGameFileSystem gameFileSystem) } string? version = default; - foreach (ref readonly IniElement element in CollectionsMarshal.AsSpan(IniSerializer.DeserializeFromFile(gameFileSystem.GameConfigFilePath))) + foreach (ref readonly IniElement element in IniSerializer.DeserializeFromFile(gameFileSystem.GameConfigFilePath).AsSpan()) { if (element is IniParameter { Key: "game_version" } parameter) { diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionSetChannelOptionsHandler.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionSetChannelOptionsHandler.cs index 584eca5bf6..21cd8a9b57 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionSetChannelOptionsHandler.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionSetChannelOptionsHandler.cs @@ -3,6 +3,7 @@ using Snap.Hutao.Core.IO.Ini; using Snap.Hutao.Service.Game.Configuration; +using System.Collections.Immutable; using System.IO; namespace Snap.Hutao.Service.Game.Launching.Handler; @@ -20,10 +21,10 @@ public async ValueTask OnExecutionAsync(LaunchExecutionContext context, LaunchEx string configPath = gameFileSystem.GameConfigFilePath; context.Logger.LogInformation("Game config file path: {ConfigPath}", configPath); - List elements; + ImmutableArray elements; try { - elements = [.. IniSerializer.DeserializeFromFile(configPath)]; + elements = IniSerializer.DeserializeFromFile(configPath); } catch (FileNotFoundException) { diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Locator/RegistryLauncherLocator.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Locator/RegistryLauncherLocator.cs index 48eddcb40b..019604496c 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Locator/RegistryLauncherLocator.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Locator/RegistryLauncherLocator.cs @@ -16,7 +16,7 @@ internal sealed partial class RegistryLauncherLocator : IGameLocator private readonly ITaskContext taskContext; [GeneratedRegex(@"\\x(?=[0-9a-f]{4})")] - private static partial Regex UTF16Regex { get; } + private static partial Regex Utf16Regex { get; } public async ValueTask> LocateGamePathAsync() { @@ -36,8 +36,7 @@ public async ValueTask> LocateGamePathAsync() string? escapedPath; using (FileStream stream = File.OpenRead(configPath)) { - IEnumerable elements = IniSerializer.Deserialize(stream); - escapedPath = elements + escapedPath = IniSerializer.Deserialize(stream) .OfType() .FirstOrDefault(p => p.Key == "game_install_path")?.Value; } @@ -63,13 +62,13 @@ private static ValueResult LocateInternal(string valueName) private static string Unescape(string str) { - string hex4Result = UTF16Regex.Replace(str, @"\u"); + string hex4Result = Utf16Regex.Replace(str, @"\u"); // 不包含中文 - // Some one's folder might begin with 'u' + // Someone's folder might begin with 'u' if (!hex4Result.Contains(@"\u", StringComparison.Ordinal)) { - // fix path with \ + // Fix path with \ hex4Result = hex4Result.Replace(@"\", @"\\", StringComparison.Ordinal); } diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GamePackageService.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GamePackageService.cs index 538411ac36..0ac2c8b7a9 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GamePackageService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GamePackageService.cs @@ -347,7 +347,7 @@ await DecodeManifestsAsync(context, context.Operation.RemoteBranch).ConfigureAwa await VerifyAndRepairCoreAsync(context, remoteBuild, remoteBuild.TotalBytes, remoteBuild.TotalChunks).ConfigureAwait(false); - context.Operation.GameFileSystem.UpdateConfigurationFile(context.Operation.RemoteBranch.Tag); + context.Operation.GameFileSystem.TryUpdateConfigurationFile(context.Operation.RemoteBranch.Tag); if (Directory.Exists(context.Operation.ProxiedChunksDirectory)) { From b5c6d29aebd7aeeeb6236575ec5fd8ec0c4718ec Mon Sep 17 00:00:00 2001 From: DismissedLight <1686188646@qq.com> Date: Tue, 26 Nov 2024 15:57:47 +0800 Subject: [PATCH 07/70] refactor --- .../Core/ExceptionService/HutaoException.cs | 16 ++ .../Snap.Hutao/Core/HutaoRuntime.cs | 6 +- .../GameChannelOptionsService.cs | 20 +- .../Service/Game/GameAudioSystem.cs | 33 ++-- .../Snap.Hutao/Service/Game/GameFileSystem.cs | 44 +---- .../Service/Game/GameFileSystemExtension.cs | 184 ++++++++++++++++-- .../Service/Game/IGameFileSystem.cs | 21 +- ...aunchExecutionEnsureGameResourceHandler.cs | 18 +- ...ecutionGameProcessInitializationHandler.cs | 2 +- ...LaunchExecutionSetChannelOptionsHandler.cs | 2 +- .../Package/Advanced/GameAssetOperation.cs | 12 +- .../Advanced/GamePackageOperationContext.cs | 8 +- .../Package/Advanced/GamePackageService.cs | 12 +- .../PackageOperationGameFileSystem.cs | 41 +--- .../Game/Package/PackageConverterContext.cs | 6 +- .../Package/ScatteredFilesPackageConverter.cs | 23 +-- .../Package/SophonChunksPackageConverter.cs | 21 +- .../Service/Game/Scheme/LaunchScheme.cs | 1 + .../ViewModel/Game/GamePackageViewModel.cs | 10 +- .../ViewModel/Game/LaunchGameShared.cs | 5 +- .../ViewModel/Game/LaunchGameViewModel.cs | 4 +- 21 files changed, 285 insertions(+), 204 deletions(-) diff --git a/src/Snap.Hutao/Snap.Hutao/Core/ExceptionService/HutaoException.cs b/src/Snap.Hutao/Snap.Hutao/Core/ExceptionService/HutaoException.cs index 0f42bc8db5..74a50f54e2 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/ExceptionService/HutaoException.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/ExceptionService/HutaoException.cs @@ -88,4 +88,20 @@ public static OperationCanceledException OperationCanceled(string message, Excep { throw new OperationCanceledException(message, innerException); } + + [DoesNotReturn] + [MethodImpl(MethodImplOptions.NoInlining)] + public static ObjectDisposedException ObjectDisposed(string objectName) + { + throw new ObjectDisposedException(objectName); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + public static void ObjectDisposedIf(bool condition, string objectName) + { + if (condition) + { + throw new ObjectDisposedException(objectName); + } + } } \ No newline at end of file diff --git a/src/Snap.Hutao/Snap.Hutao/Core/HutaoRuntime.cs b/src/Snap.Hutao/Snap.Hutao/Core/HutaoRuntime.cs index a4eccf2160..1453713dc3 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/HutaoRuntime.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/HutaoRuntime.cs @@ -86,12 +86,12 @@ private static string InitializeDataFolder() string myDocuments = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments); #if IS_ALPHA_BUILD - string folderName = "HutaoAlpha"; + const string FolderName = "HutaoAlpha"; #else // 使得迁移能正常生成 - string folderName = "Hutao"; + const string FolderName = "Hutao"; #endif - string path = Path.GetFullPath(Path.Combine(myDocuments, folderName)); + string path = Path.GetFullPath(Path.Combine(myDocuments, FolderName)); Directory.CreateDirectory(path); return path; } diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Configuration/GameChannelOptionsService.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Configuration/GameChannelOptionsService.cs index c5119186d1..aacc51f667 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Configuration/GameChannelOptionsService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Configuration/GameChannelOptionsService.cs @@ -24,34 +24,32 @@ public ChannelOptions GetChannelOptions() using (gameFileSystem) { - bool isOversea = LaunchScheme.ExecutableIsOversea(gameFileSystem.GameFileName); - - if (!File.Exists(gameFileSystem.GameConfigFilePath)) + if (!File.Exists(gameFileSystem.GetGameConfigurationFilePath())) { // Try restore the configuration file if it does not exist - // The configuration file may be deleted by a incompatible launcher - gameConfigurationFileService.Restore(gameFileSystem.GameConfigFilePath); + // The configuration file may be deleted by an incompatible launcher + gameConfigurationFileService.Restore(gameFileSystem.GetGameConfigurationFilePath()); } - if (!File.Exists(gameFileSystem.ScriptVersionFilePath)) + if (!File.Exists(gameFileSystem.GetScriptVersionFilePath())) { // Try to fix ScriptVersion by reading game_version from the configuration file // Will check the configuration file first // If the configuration file and ScriptVersion file are both missing, the game content is corrupted if (!gameFileSystem.TryFixScriptVersion()) { - return ChannelOptions.GameContentCorrupted(gameFileSystem.GameDirectory); + return ChannelOptions.GameContentCorrupted(gameFileSystem.GetGameDirectory()); } } - if (!File.Exists(gameFileSystem.GameConfigFilePath)) + if (!File.Exists(gameFileSystem.GetGameConfigurationFilePath())) { - return ChannelOptions.ConfigurationFileNotFound(gameFileSystem.GameConfigFilePath); + return ChannelOptions.ConfigurationFileNotFound(gameFileSystem.GetGameConfigurationFilePath()); } string? channel = default; string? subChannel = default; - foreach (ref readonly IniElement element in IniSerializer.DeserializeFromFile(gameFileSystem.GameConfigFilePath).AsSpan()) + foreach (ref readonly IniElement element in IniSerializer.DeserializeFromFile(gameFileSystem.GetGameConfigurationFilePath()).AsSpan()) { if (element is not IniParameter parameter) { @@ -74,7 +72,7 @@ public ChannelOptions GetChannelOptions() } } - return new(channel, subChannel, isOversea); + return new(channel, subChannel, gameFileSystem.IsOversea()); } } } \ No newline at end of file diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/GameAudioSystem.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/GameAudioSystem.cs index fb249ca99f..b76cce6cc8 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/GameAudioSystem.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/GameAudioSystem.cs @@ -7,35 +7,30 @@ namespace Snap.Hutao.Service.Game; internal sealed class GameAudioSystem { - private readonly string gameDirectory; - - private bool? chinese; - private bool? english; - private bool? japanese; - private bool? korean; - public GameAudioSystem(string gameFilePath) { string? directory = Path.GetDirectoryName(gameFilePath); ArgumentException.ThrowIfNullOrEmpty(directory); - gameDirectory = directory; + + Chinese = File.Exists(Path.Combine(directory, GameConstants.AudioChinesePkgVersion)); + English = File.Exists(Path.Combine(directory, GameConstants.AudioEnglishPkgVersion)); + Japanese = File.Exists(Path.Combine(directory, GameConstants.AudioJapanesePkgVersion)); + Korean = File.Exists(Path.Combine(directory, GameConstants.AudioKoreanPkgVersion)); } public GameAudioSystem(bool chinese, bool english, bool japanese, bool korean) { - gameDirectory = default!; - - this.chinese = chinese; - this.english = english; - this.japanese = japanese; - this.korean = korean; + Chinese = chinese; + English = english; + Japanese = japanese; + Korean = korean; } - public bool Chinese { get => chinese ??= File.Exists(Path.Combine(gameDirectory, GameConstants.AudioChinesePkgVersion)); } + public bool Chinese { get; } - public bool English { get => english ??= File.Exists(Path.Combine(gameDirectory, GameConstants.AudioEnglishPkgVersion)); } + public bool English { get; } - public bool Japanese { get => japanese ??= File.Exists(Path.Combine(gameDirectory, GameConstants.AudioJapanesePkgVersion)); } + public bool Japanese { get; } - public bool Korean { get => korean ??= File.Exists(Path.Combine(gameDirectory, GameConstants.AudioKoreanPkgVersion)); } -} + public bool Korean { get; } +} \ No newline at end of file diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/GameFileSystem.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/GameFileSystem.cs index 860e712583..e1fc7c4c2b 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/GameFileSystem.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/GameFileSystem.cs @@ -1,6 +1,7 @@ // Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. +using Snap.Hutao.Core.ExceptionService; using Snap.Hutao.Service.Game.Scheme; using System.IO; @@ -18,51 +19,14 @@ public GameFileSystem(string gameFilePath, AsyncReaderWriterLock.Releaser releas public string GameFilePath { get; } - [field: MaybeNull] - public string GameFileName { get => field ??= Path.GetFileName(GameFilePath); } - - [field: MaybeNull] - public string GameDirectory - { - get - { - if (field is not null) - { - return field; - } - - string? directoryName = Path.GetDirectoryName(GameFilePath); - ArgumentException.ThrowIfNullOrEmpty(directoryName); - return field = directoryName; - } - } - - [field: MaybeNull] - public string GameConfigFilePath { get => field ??= Path.Combine(GameDirectory, GameConstants.ConfigFileName); } - - [field: MaybeNull] - public string PCGameSDKFilePath { get => field ??= Path.Combine(GameDirectory, GameConstants.PCGameSDKFilePath); } - - [field: MaybeNull] - public string ScreenShotDirectory { get => field ??= Path.Combine(GameDirectory, "ScreenShot"); } - - [field: MaybeNull] - public string DataDirectory { get => field ??= Path.Combine(GameDirectory, LaunchScheme.ExecutableIsOversea(GameFileName) ? GameConstants.GenshinImpactData : GameConstants.YuanShenData); } - - [field: MaybeNull] - public string ScriptVersionFilePath { get => field ??= Path.Combine(DataDirectory, "Persistent", "ScriptVersion"); } - - [field: MaybeNull] - public string ChunksDirectory { get => field ??= Path.Combine(GameDirectory, "chunks"); } - - [field: MaybeNull] - public string PredownloadStatusPath { get => field ??= Path.Combine(ChunksDirectory, "snap_hutao_predownload_status.json"); } - [field: MaybeNull] public GameAudioSystem Audio { get => field ??= new(GameFilePath); } + public bool IsDisposed { get; private set; } + public void Dispose() { releaser.Dispose(); + IsDisposed = true; } } \ No newline at end of file diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/GameFileSystemExtension.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/GameFileSystemExtension.cs index 72f5d33e92..650294f587 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/GameFileSystemExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/GameFileSystemExtension.cs @@ -1,22 +1,176 @@ // Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. +using Snap.Hutao.Core.ExceptionService; using Snap.Hutao.Core.IO.Ini; using Snap.Hutao.Service.Game.Scheme; using System.Collections.Immutable; using System.IO; -using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; namespace Snap.Hutao.Service.Game; internal static class GameFileSystemExtension { + private static readonly ConditionalWeakTable GameFileSystemGameFileNames = []; + private static readonly ConditionalWeakTable GameFileSystemGameDirectories = []; + private static readonly ConditionalWeakTable GameFileSystemGameConfigurationFilePaths = []; + private static readonly ConditionalWeakTable GameFileSystemPcGameSdkFilePaths = []; + private static readonly ConditionalWeakTable GameFileSystemScreenShotDirectories = []; + private static readonly ConditionalWeakTable GameFileSystemDataDirectories = []; + private static readonly ConditionalWeakTable GameFileSystemScriptVersionFilePaths = []; + private static readonly ConditionalWeakTable GameFileSystemChunksDirectories = []; + private static readonly ConditionalWeakTable GameFileSystemPredownloadStatusPaths = []; + + public static string GetGameFileName(this IGameFileSystem gameFileSystem) + { + ObjectDisposedException.ThrowIf(gameFileSystem.IsDisposed, gameFileSystem); + + if (GameFileSystemGameFileNames.TryGetValue(gameFileSystem, out string? gameFileName)) + { + return gameFileName; + } + + gameFileName = string.Intern(Path.GetFileName(gameFileSystem.GameFilePath)); + GameFileSystemGameFileNames.Add(gameFileSystem, gameFileName); + return gameFileName; + } + + public static string GetGameDirectory(this IGameFileSystem gameFileSystem) + { + ObjectDisposedException.ThrowIf(gameFileSystem.IsDisposed, gameFileSystem); + + if (GameFileSystemGameDirectories.TryGetValue(gameFileSystem, out string? gameDirectory)) + { + return gameDirectory; + } + + gameDirectory = Path.GetDirectoryName(gameFileSystem.GameFilePath); + ArgumentException.ThrowIfNullOrEmpty(gameDirectory); + string internedGameDirectory = string.Intern(gameDirectory); + GameFileSystemGameDirectories.Add(gameFileSystem, internedGameDirectory); + return internedGameDirectory; + } + + public static string GetGameConfigurationFilePath(this IGameFileSystem gameFileSystem) + { + ObjectDisposedException.ThrowIf(gameFileSystem.IsDisposed, gameFileSystem); + + if (GameFileSystemGameConfigurationFilePaths.TryGetValue(gameFileSystem, out string? gameConfigFilePath)) + { + return gameConfigFilePath; + } + + gameConfigFilePath = string.Intern(Path.Combine(gameFileSystem.GetGameDirectory(), GameConstants.ConfigFileName)); + GameFileSystemGameConfigurationFilePaths.Add(gameFileSystem, gameConfigFilePath); + return gameConfigFilePath; + } + + public static string GetPcGameSdkFilePath(this IGameFileSystem gameFileSystem) + { + ObjectDisposedException.ThrowIf(gameFileSystem.IsDisposed, gameFileSystem); + + // ReSharper disable once InconsistentNaming + if (GameFileSystemPcGameSdkFilePaths.TryGetValue(gameFileSystem, out string? pcGameSdkFilePath)) + { + return pcGameSdkFilePath; + } + + pcGameSdkFilePath = string.Intern(Path.Combine(gameFileSystem.GetGameDirectory(), GameConstants.PCGameSDKFilePath)); + GameFileSystemPcGameSdkFilePaths.Add(gameFileSystem, pcGameSdkFilePath); + return pcGameSdkFilePath; + } + + public static string GetScreenShotDirectory(this IGameFileSystem gameFileSystem) + { + ObjectDisposedException.ThrowIf(gameFileSystem.IsDisposed, gameFileSystem); + + if (GameFileSystemScreenShotDirectories.TryGetValue(gameFileSystem, out string? screenShotDirectory)) + { + return screenShotDirectory; + } + + screenShotDirectory = string.Intern(Path.Combine(gameFileSystem.GetGameDirectory(), "ScreenShot")); + GameFileSystemScreenShotDirectories.Add(gameFileSystem, screenShotDirectory); + return screenShotDirectory; + } + + public static string GetDataDirectory(this IGameFileSystem gameFileSystem) + { + ObjectDisposedException.ThrowIf(gameFileSystem.IsDisposed, gameFileSystem); + + if (GameFileSystemDataDirectories.TryGetValue(gameFileSystem, out string? dataDirectory)) + { + return dataDirectory; + } + + string dataDirectoryName = gameFileSystem.IsOversea() ? GameConstants.GenshinImpactData : GameConstants.YuanShenData; + dataDirectory = string.Intern(Path.Combine(gameFileSystem.GetGameDirectory(), dataDirectoryName)); + GameFileSystemDataDirectories.Add(gameFileSystem, dataDirectory); + return dataDirectory; + } + + public static string GetScriptVersionFilePath(this IGameFileSystem gameFileSystem) + { + ObjectDisposedException.ThrowIf(gameFileSystem.IsDisposed, gameFileSystem); + + if (GameFileSystemScriptVersionFilePaths.TryGetValue(gameFileSystem, out string? scriptVersionFilePath)) + { + return scriptVersionFilePath; + } + + scriptVersionFilePath = string.Intern(Path.Combine(gameFileSystem.GetDataDirectory(), "Persistent", "ScriptVersion")); + GameFileSystemScriptVersionFilePaths.Add(gameFileSystem, scriptVersionFilePath); + return scriptVersionFilePath; + } + + public static string GetChunksDirectory(this IGameFileSystem gameFileSystem) + { + ObjectDisposedException.ThrowIf(gameFileSystem.IsDisposed, gameFileSystem); + + if (GameFileSystemChunksDirectories.TryGetValue(gameFileSystem, out string? chunksDirectory)) + { + return chunksDirectory; + } + + chunksDirectory = string.Intern(Path.Combine(gameFileSystem.GetGameDirectory(), "chunks")); + GameFileSystemChunksDirectories.Add(gameFileSystem, chunksDirectory); + return chunksDirectory; + } + + public static string GetPredownloadStatusPath(this IGameFileSystem gameFileSystem) + { + ObjectDisposedException.ThrowIf(gameFileSystem.IsDisposed, gameFileSystem); + + if (GameFileSystemPredownloadStatusPaths.TryGetValue(gameFileSystem, out string? predownloadStatusPath)) + { + return predownloadStatusPath; + } + + predownloadStatusPath = string.Intern(Path.Combine(gameFileSystem.GetChunksDirectory(), "snap_hutao_predownload_status.json")); + GameFileSystemPredownloadStatusPaths.Add(gameFileSystem, predownloadStatusPath); + return predownloadStatusPath; + } + + public static bool IsOversea(this IGameFileSystem gameFileSystem) + { + ObjectDisposedException.ThrowIf(gameFileSystem.IsDisposed, gameFileSystem); + + string gameFileName = gameFileSystem.GetGameFileName(); + return gameFileName.ToUpperInvariant() switch + { + GameConstants.GenshinImpactFileNameUpper => true, + GameConstants.YuanShenFileNameUpper => false, + _ => throw HutaoException.Throw($"Invalid game executable file name:{gameFileName}"), + }; + } + public static bool TryGetGameVersion(this IGameFileSystem gameFileSystem, [NotNullWhen(true)] out string? version) { version = default!; - if (File.Exists(gameFileSystem.GameConfigFilePath)) + if (File.Exists(gameFileSystem.GetGameConfigurationFilePath())) { - foreach (ref readonly IniElement element in IniSerializer.DeserializeFromFile(gameFileSystem.GameConfigFilePath).AsSpan()) + foreach (ref readonly IniElement element in IniSerializer.DeserializeFromFile(gameFileSystem.GetGameConfigurationFilePath()).AsSpan()) { if (element is IniParameter { Key: "game_version" } parameter) { @@ -28,9 +182,9 @@ public static bool TryGetGameVersion(this IGameFileSystem gameFileSystem, [NotNu return true; } - if (File.Exists(gameFileSystem.ScriptVersionFilePath)) + if (File.Exists(gameFileSystem.GetScriptVersionFilePath())) { - version = File.ReadAllText(gameFileSystem.ScriptVersionFilePath); + version = File.ReadAllText(gameFileSystem.GetScriptVersionFilePath()); return true; } @@ -51,16 +205,16 @@ public static void GenerateConfigurationFile(this IGameFileSystem gameFileSystem uapc={"hk4e_cn":{"uapc":""},"hyp":{"uapc":""}} """; - string? directory = Path.GetDirectoryName(gameFileSystem.GameConfigFilePath); + string? directory = Path.GetDirectoryName(gameFileSystem.GetGameConfigurationFilePath()); ArgumentNullException.ThrowIfNull(directory); Directory.CreateDirectory(directory); - File.WriteAllText(gameFileSystem.GameConfigFilePath, content); + File.WriteAllText(gameFileSystem.GetGameConfigurationFilePath(), content); } public static bool TryUpdateConfigurationFile(this IGameFileSystem gameFileSystem, string version) { bool updated = false; - ImmutableArray ini = IniSerializer.DeserializeFromFile(gameFileSystem.GameConfigFilePath); + ImmutableArray ini = IniSerializer.DeserializeFromFile(gameFileSystem.GetGameConfigurationFilePath()); foreach (ref readonly IniElement element in ini.AsSpan()) { if (element is not IniParameter { Key: "game_version" } parameter) @@ -71,18 +225,18 @@ public static bool TryUpdateConfigurationFile(this IGameFileSystem gameFileSyste updated = parameter.Set(version); } - IniSerializer.SerializeToFile(gameFileSystem.GameConfigFilePath, ini); + IniSerializer.SerializeToFile(gameFileSystem.GetGameConfigurationFilePath(), ini); return updated; } public static bool TryFixConfigurationFile(this IGameFileSystem gameFileSystem, LaunchScheme launchScheme) { - if (!File.Exists(gameFileSystem.ScriptVersionFilePath)) + if (!File.Exists(gameFileSystem.GetScriptVersionFilePath())) { return false; } - string version = File.ReadAllText(gameFileSystem.ScriptVersionFilePath); + string version = File.ReadAllText(gameFileSystem.GetScriptVersionFilePath()); GenerateConfigurationFile(gameFileSystem, version, launchScheme); return true; @@ -90,13 +244,13 @@ public static bool TryFixConfigurationFile(this IGameFileSystem gameFileSystem, public static bool TryFixScriptVersion(this IGameFileSystem gameFileSystem) { - if (!File.Exists(gameFileSystem.GameConfigFilePath)) + if (!File.Exists(gameFileSystem.GetGameConfigurationFilePath())) { return false; } string? version = default; - foreach (ref readonly IniElement element in IniSerializer.DeserializeFromFile(gameFileSystem.GameConfigFilePath).AsSpan()) + foreach (ref readonly IniElement element in IniSerializer.DeserializeFromFile(gameFileSystem.GetGameConfigurationFilePath()).AsSpan()) { if (element is IniParameter { Key: "game_version" } parameter) { @@ -105,11 +259,11 @@ public static bool TryFixScriptVersion(this IGameFileSystem gameFileSystem) } } - string? directory = Path.GetDirectoryName(gameFileSystem.ScriptVersionFilePath); + string? directory = Path.GetDirectoryName(gameFileSystem.GetScriptVersionFilePath()); ArgumentNullException.ThrowIfNull(directory); Directory.CreateDirectory(directory); - File.WriteAllText(gameFileSystem.ScriptVersionFilePath, version); + File.WriteAllText(gameFileSystem.GetScriptVersionFilePath(), version); return true; } } \ No newline at end of file diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/IGameFileSystem.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/IGameFileSystem.cs index 6405be2b07..77e0ee94a1 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/IGameFileSystem.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/IGameFileSystem.cs @@ -7,24 +7,7 @@ internal interface IGameFileSystem : IDisposable { string GameFilePath { get; } - string GameFileName { get; } - - string GameDirectory { get; } - - string GameConfigFilePath { get; } - - // ReSharper disable once InconsistentNaming - string PCGameSDKFilePath { get; } - - string ScreenShotDirectory { get; } - - string DataDirectory { get; } - - string ScriptVersionFilePath { get; } - - string ChunksDirectory { get; } - - string PredownloadStatusPath { get; } - GameAudioSystem Audio { get; } + + bool IsDisposed { get; } } \ No newline at end of file diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionEnsureGameResourceHandler.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionEnsureGameResourceHandler.cs index 94b4623450..739ac858ca 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionEnsureGameResourceHandler.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionEnsureGameResourceHandler.cs @@ -49,8 +49,8 @@ public async ValueTask OnExecutionAsync(LaunchExecutionContext context, LaunchEx return; } - // Backup config file, recover when a incompatible launcher deleted it. - context.ServiceProvider.GetRequiredService().Backup(gameFileSystem.GameConfigFilePath); + // Backup config file, recover when an incompatible launcher deleted it. + context.ServiceProvider.GetRequiredService().Backup(gameFileSystem.GetGameConfigurationFilePath()); await context.TaskContext.SwitchToMainThreadAsync(); context.UpdateGamePathEntry(); @@ -69,7 +69,7 @@ private static bool ShouldConvert(LaunchExecutionContext context, IGameFileSyste } // Executable name not match - if (!context.TargetScheme.ExecutableMatches(gameFileSystem.GameFileName)) + if (!context.TargetScheme.ExecutableMatches(gameFileSystem.GetGameFileName())) { return true; } @@ -77,7 +77,7 @@ private static bool ShouldConvert(LaunchExecutionContext context, IGameFileSyste if (!context.TargetScheme.IsOversea) { // [It's Bilibili channel xor PCGameSDK.dll exists] means we need to convert - if (context.TargetScheme.Channel is ChannelType.Bili ^ File.Exists(gameFileSystem.PCGameSDKFilePath)) + if (context.TargetScheme.Channel is ChannelType.Bili ^ File.Exists(gameFileSystem.GetPcGameSdkFilePath())) { return true; } @@ -88,7 +88,7 @@ private static bool ShouldConvert(LaunchExecutionContext context, IGameFileSyste private static async ValueTask EnsureGameResourceAsync(LaunchExecutionContext context, IGameFileSystem gameFileSystem, IProgress progress) { - string gameFolder = gameFileSystem.GameDirectory; + string gameFolder = gameFileSystem.GetGameDirectory(); context.Logger.LogInformation("Game folder: {GameFolder}", gameFolder); if (!CheckDirectoryPermissions(gameFolder)) @@ -103,7 +103,7 @@ private static async ValueTask EnsureGameResourceAsync(LaunchExecutionCont HoyoPlayClient hoyoPlayClient = context.ServiceProvider.GetRequiredService(); Response sdkResponse = await hoyoPlayClient.GetChannelSDKAsync(context.TargetScheme).ConfigureAwait(false); - if (!ResponseValidator.TryValidateWithoutUINotification(sdkResponse, out GameChannelSDKsWrapper? channelSDKs)) + if (!ResponseValidator.TryValidateWithoutUINotification(sdkResponse, out GameChannelSDKsWrapper? channelSdks)) { context.Result.Kind = LaunchExecutionResultKind.GameResourceIndexQueryInvalidResponse; context.Result.ErrorMessage = SH.FormatServiceGameLaunchExecutionGameResourceQueryIndexFailed(sdkResponse); @@ -128,7 +128,7 @@ private static async ValueTask EnsureGameResourceAsync(LaunchExecutionCont context.CurrentScheme, context.TargetScheme, gameFileSystem, - channelSDKs.GameChannelSDKs.SingleOrDefault(), + channelSdks.GameChannelSDKs.SingleOrDefault(), deprecatedFileConfigs.DeprecatedFileConfigurations.SingleOrDefault(), progress); @@ -174,7 +174,7 @@ private static async ValueTask EnsureGameResourceAsync(LaunchExecutionCont IPackageConverter packageConverter = context.ServiceProvider.GetRequiredKeyedService(type); - if (!context.TargetScheme.ExecutableMatches(gameFileSystem.GameFileName)) + if (!context.TargetScheme.ExecutableMatches(gameFileSystem.GetGameFileName())) { if (!await packageConverter.EnsureGameResourceAsync(packageConverterContext).ConfigureAwait(false)) { @@ -228,4 +228,4 @@ private static bool CheckDirectoryPermissions(string folder) return false; } } -} +} \ No newline at end of file diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionGameProcessInitializationHandler.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionGameProcessInitializationHandler.cs index 2a4cd88f5f..0980144112 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionGameProcessInitializationHandler.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionGameProcessInitializationHandler.cs @@ -52,7 +52,7 @@ private static System.Diagnostics.Process InitializeGameProcess(LaunchExecutionC FileName = gameFileSystem.GameFilePath, UseShellExecute = true, Verb = "runas", - WorkingDirectory = gameFileSystem.GameDirectory, + WorkingDirectory = gameFileSystem.GetGameDirectory(), }, }; } diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionSetChannelOptionsHandler.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionSetChannelOptionsHandler.cs index 21cd8a9b57..fd9350fede 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionSetChannelOptionsHandler.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionSetChannelOptionsHandler.cs @@ -18,7 +18,7 @@ public async ValueTask OnExecutionAsync(LaunchExecutionContext context, LaunchEx return; } - string configPath = gameFileSystem.GameConfigFilePath; + string configPath = gameFileSystem.GetGameConfigurationFilePath(); context.Logger.LogInformation("Game config file path: {ConfigPath}", configPath); ImmutableArray elements; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GameAssetOperation.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GameAssetOperation.cs index 7109863223..ba286702e3 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GameAssetOperation.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GameAssetOperation.cs @@ -38,7 +38,7 @@ public async ValueTask VerifyGamePackageIntegrityAsync if (context.Operation.GameChannelSDK is not null) { - string sdkPackageVersionFilePath = Path.Combine(context.Operation.GameFileSystem.GameDirectory, context.Operation.GameChannelSDK.PackageVersionFileName); + string sdkPackageVersionFilePath = Path.Combine(context.Operation.GameFileSystem.GetGameDirectory(), context.Operation.GameChannelSDK.PackageVersionFileName); if (!File.Exists(sdkPackageVersionFilePath)) { channelSdkConflicted = true; @@ -54,7 +54,7 @@ public async ValueTask VerifyGamePackageIntegrityAsync VersionItem? item = JsonSerializer.Deserialize(row, jsonOptions); ArgumentNullException.ThrowIfNull(item); - string path = Path.Combine(context.Operation.GameFileSystem.GameDirectory, item.RelativePath); + string path = Path.Combine(context.Operation.GameFileSystem.GetGameDirectory(), item.RelativePath); if (!item.Md5.Equals(await Hash.FileToHexStringAsync(HashAlgorithmName.MD5, path, token).ConfigureAwait(false), StringComparison.OrdinalIgnoreCase)) { channelSdkConflicted = true; @@ -102,7 +102,7 @@ public async ValueTask EnsureChannelSdkAsync(GamePackageServiceContext context) using (Stream sdkStream = await context.HttpClient.GetStreamAsync(context.Operation.GameChannelSDK.ChannelSdkPackage.Url, token).ConfigureAwait(false)) { - ZipFile.ExtractToDirectory(sdkStream, context.Operation.GameFileSystem.GameDirectory, true); + ZipFile.ExtractToDirectory(sdkStream, context.Operation.GameFileSystem.GetGameDirectory(), true); } } @@ -110,7 +110,7 @@ protected static async ValueTask VerifyAssetAsync(GamePackageServiceContext cont { CancellationToken token = context.CancellationToken; - string assetPath = Path.Combine(context.Operation.GameFileSystem.GameDirectory, asset.AssetProperty.AssetName); + string assetPath = Path.Combine(context.Operation.GameFileSystem.GetGameDirectory(), asset.AssetProperty.AssetName); if (asset.AssetProperty.AssetType is 64) { @@ -237,7 +237,7 @@ protected async ValueTask EnsureAssetAsync(GamePackageServiceContext context, So { if (asset.NewAsset.AssetType is 64) { - Directory.CreateDirectory(Path.Combine(context.Operation.GameFileSystem.GameDirectory, asset.NewAsset.AssetName)); + Directory.CreateDirectory(Path.Combine(context.Operation.GameFileSystem.GetGameDirectory(), asset.NewAsset.AssetName)); return; } @@ -270,7 +270,7 @@ private async ValueTask MergeDiffAssetAsync(GamePackageServiceContext context, S using (MemoryStream newAssetStream = memoryStreamFactory.GetStream()) { - string oldAssetPath = Path.Combine(context.Operation.GameFileSystem.GameDirectory, asset.OldAsset.AssetName); + string oldAssetPath = Path.Combine(context.Operation.GameFileSystem.GetGameDirectory(), asset.OldAsset.AssetName); if (!File.Exists(oldAssetPath)) { // File not found, skip this asset and repair later diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GamePackageOperationContext.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GamePackageOperationContext.cs index 6d5e10838c..1321b62889 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GamePackageOperationContext.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GamePackageOperationContext.cs @@ -29,15 +29,15 @@ public GamePackageOperationContext( string? extractDirectory) { Kind = kind; - Asset = serviceProvider.GetRequiredService>().Create(gameFileSystem.GameDirectory); + Asset = serviceProvider.GetRequiredService>().Create(gameFileSystem.GetGameDirectory()); GameFileSystem = gameFileSystem; LocalBranch = localBranch; RemoteBranch = remoteBranch; GameChannelSDK = gameChannelSDK; - ExtractOrGameDirectory = extractDirectory ?? gameFileSystem.GameDirectory; + ExtractOrGameDirectory = extractDirectory ?? gameFileSystem.GetGameDirectory(); ProxiedChunksDirectory = kind is GamePackageOperationKind.Verify - ? Path.Combine(gameFileSystem.ChunksDirectory, "repair") - : gameFileSystem.ChunksDirectory; + ? Path.Combine(gameFileSystem.GetChunksDirectory(), "repair") + : gameFileSystem.GetChunksDirectory(); } } \ No newline at end of file diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GamePackageService.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GamePackageService.cs index 0ac2c8b7a9..9b2092d912 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GamePackageService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GamePackageService.cs @@ -378,13 +378,13 @@ await DecodeManifestsAsync(context, context.Operation.RemoteBranch).ConfigureAwa context.Progress.Report(new GamePackageOperationReport.Reset(SH.ServiceGamePackageAdvancedPredownloading, totalBlocks, 0, totalBytes)); - if (!Directory.Exists(context.Operation.GameFileSystem.ChunksDirectory)) + if (!Directory.Exists(context.Operation.GameFileSystem.GetChunksDirectory())) { - Directory.CreateDirectory(context.Operation.GameFileSystem.ChunksDirectory); + Directory.CreateDirectory(context.Operation.GameFileSystem.GetChunksDirectory()); } PredownloadStatus predownloadStatus = new(context.Operation.RemoteBranch.Tag, false, uniqueTotalBlocks); - using (FileStream predownloadStatusStream = File.Create(context.Operation.GameFileSystem.PredownloadStatusPath)) + using (FileStream predownloadStatusStream = File.Create(context.Operation.GameFileSystem.GetPredownloadStatusPath())) { await JsonSerializer.SerializeAsync(predownloadStatusStream, predownloadStatus, jsonOptions).ConfigureAwait(false); } @@ -393,7 +393,7 @@ await DecodeManifestsAsync(context, context.Operation.RemoteBranch).ConfigureAwa context.Progress.Report(new GamePackageOperationReport.Finish(context.Operation.Kind)); - using (FileStream predownloadStatusStream = File.Create(context.Operation.GameFileSystem.PredownloadStatusPath)) + using (FileStream predownloadStatusStream = File.Create(context.Operation.GameFileSystem.GetPredownloadStatusPath())) { predownloadStatus.Finished = true; await JsonSerializer.SerializeAsync(predownloadStatusStream, predownloadStatus, jsonOptions).ConfigureAwait(false); @@ -409,7 +409,7 @@ await DecodeManifestsAsync(context, context.Operation.RemoteBranch).ConfigureAwa { ISophonClient client = scope.ServiceProvider .GetRequiredService>() - .Create(LaunchScheme.ExecutableIsOversea(context.Operation.GameFileSystem.GameFileName)); + .Create(context.Operation.GameFileSystem.IsOversea()); Response response = await client.GetBuildAsync(branch, token).ConfigureAwait(false); if (!ResponseValidator.TryValidate(response, serviceProvider, out build)) @@ -499,7 +499,7 @@ await DecodeManifestsAsync(context, context.Operation.RemoteBranch).ConfigureAwa .Where(ao => ao.Kind is SophonAssetOperationKind.Modify) .Select(ao => Path.GetFileName(ao.OldAsset.AssetName)) .ToList(); - string oldBlksDirectory = Path.Combine(context.Operation.GameFileSystem.DataDirectory, @"StreamingAssets\AssetBundles\blocks"); + string oldBlksDirectory = Path.Combine(context.Operation.GameFileSystem.GetDataDirectory(), @"StreamingAssets\AssetBundles\blocks"); foreach (string file in Directory.GetFiles(oldBlksDirectory, "*.blk", SearchOption.AllDirectories)) { string fileName = Path.GetFileName(file); diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/PackageOperationGameFileSystem.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/PackageOperationGameFileSystem.cs index 3b9a60dd18..4efb125d0d 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/PackageOperationGameFileSystem.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/PackageOperationGameFileSystem.cs @@ -11,6 +11,7 @@ internal sealed partial class PackageOperationGameFileSystem : IGameFileSystem public PackageOperationGameFileSystem(string gameFilePath) { GameFilePath = gameFilePath; + Audio = new(GameFilePath); } public PackageOperationGameFileSystem(string gameFilePath, GameAudioSystem gameAudioSystem) @@ -21,46 +22,12 @@ public PackageOperationGameFileSystem(string gameFilePath, GameAudioSystem gameA public string GameFilePath { get; } - [field: MaybeNull] - public string GameFileName { get => field ??= Path.GetFileName(GameFilePath); } + public GameAudioSystem Audio { get; } - [field: MaybeNull] - public string GameDirectory - { - get - { - if (field is not null) - { - return field; - } - - string? directoryName = Path.GetDirectoryName(GameFilePath); - ArgumentException.ThrowIfNullOrEmpty(directoryName); - return field = directoryName; - } - } - - [field: MaybeNull] - public string GameConfigFilePath { get => field ??= Path.Combine(GameDirectory, GameConstants.ConfigFileName); } - - // ReSharper disable once InconsistentNaming - [field: MaybeNull] - public string PCGameSDKFilePath { get => field ??= Path.Combine(GameDirectory, GameConstants.PCGameSDKFilePath); } - - public string ScreenShotDirectory { get => Path.Combine(GameDirectory, "ScreenShot"); } - - public string DataDirectory { get => Path.Combine(GameDirectory, LaunchScheme.ExecutableIsOversea(GameFileName) ? GameConstants.GenshinImpactData : GameConstants.YuanShenData); } - - public string ScriptVersionFilePath { get => Path.Combine(DataDirectory, "Persistent", "ScriptVersion"); } - - public string ChunksDirectory { get => Path.Combine(GameDirectory, "chunks"); } - - public string PredownloadStatusPath { get => Path.Combine(ChunksDirectory, "snap_hutao_predownload_status.json"); } - - [field: MaybeNull] - public GameAudioSystem Audio { get => field ??= new(GameFilePath); } + public bool IsDisposed { get; private set; } public void Dispose() { + IsDisposed = true; } } \ No newline at end of file diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/PackageConverterContext.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/PackageConverterContext.cs index cb1eca9257..2f4554317c 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/PackageConverterContext.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/PackageConverterContext.cs @@ -74,8 +74,8 @@ private PackageConverterContext(CommonReferences common) ? (YuanShenData, GenshinImpactData) : (GenshinImpactData, YuanShenData); - FromDataFolder = Path.Combine(common.GameFileSystem.GameDirectory, FromDataFolderName); - ToDataFolder = Path.Combine(common.GameFileSystem.GameDirectory, ToDataFolderName); + FromDataFolder = Path.Combine(common.GameFileSystem.GetGameDirectory(), FromDataFolderName); + ToDataFolder = Path.Combine(common.GameFileSystem.GetGameDirectory(), ToDataFolderName); } public HttpClient HttpClient { get => Common.HttpClient; } @@ -109,7 +109,7 @@ public readonly string GetServerCacheTargetFilePath(string filePath) public readonly string GetGameFolderFilePath(string filePath) { - return Path.Combine(Common.GameFileSystem.GameDirectory, filePath); + return Path.Combine(Common.GameFileSystem.GetGameDirectory(), filePath); } [SuppressMessage("", "SH003")] diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/ScatteredFilesPackageConverter.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/ScatteredFilesPackageConverter.cs index 3ecd521c6e..4ccddcb559 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/ScatteredFilesPackageConverter.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/ScatteredFilesPackageConverter.cs @@ -54,7 +54,7 @@ public async ValueTask EnsureGameResourceAsync(PackageConverterContext con // Step 1 context.Progress.Report(new(SH.ServiceGamePackageRequestPackageVerion)); RelativePathVersionItemDictionary remoteItems = await GetRemoteItemsAsync(context).ConfigureAwait(false); - RelativePathVersionItemDictionary localItems = await GetLocalItemsAsync(context.GameFileSystem.GameDirectory).ConfigureAwait(false); + RelativePathVersionItemDictionary localItems = await GetLocalItemsAsync(context.GameFileSystem.GetGameDirectory()).ConfigureAwait(false); // Step 2 List diffOperations = GetItemOperationInfos(remoteItems, localItems).ToList(); @@ -70,19 +70,20 @@ public async ValueTask EnsureGameResourceAsync(PackageConverterContext con public async ValueTask EnsureDeprecatedFilesAndSdkAsync(PackageConverterContext context) { // Just try to delete these files, always download from server when needed - FileOperation.Delete(Path.Combine(context.GameFileSystem.GameDirectory, YuanShenData, "Plugins\\PCGameSDK.dll")); - FileOperation.Delete(Path.Combine(context.GameFileSystem.GameDirectory, GenshinImpactData, "Plugins\\PCGameSDK.dll")); - FileOperation.Delete(Path.Combine(context.GameFileSystem.GameDirectory, YuanShenData, "Plugins\\EOSSDK-Win64-Shipping.dll")); - FileOperation.Delete(Path.Combine(context.GameFileSystem.GameDirectory, GenshinImpactData, "Plugins\\EOSSDK-Win64-Shipping.dll")); - FileOperation.Delete(Path.Combine(context.GameFileSystem.GameDirectory, YuanShenData, "Plugins\\PluginEOSSDK.dll")); - FileOperation.Delete(Path.Combine(context.GameFileSystem.GameDirectory, GenshinImpactData, "Plugins\\PluginEOSSDK.dll")); - FileOperation.Delete(Path.Combine(context.GameFileSystem.GameDirectory, "sdk_pkg_version")); + string gameDirectory = context.GameFileSystem.GetGameDirectory(); + FileOperation.Delete(Path.Combine(gameDirectory, YuanShenData, "Plugins\\PCGameSDK.dll")); + FileOperation.Delete(Path.Combine(gameDirectory, GenshinImpactData, "Plugins\\PCGameSDK.dll")); + FileOperation.Delete(Path.Combine(gameDirectory, YuanShenData, "Plugins\\EOSSDK-Win64-Shipping.dll")); + FileOperation.Delete(Path.Combine(gameDirectory, GenshinImpactData, "Plugins\\EOSSDK-Win64-Shipping.dll")); + FileOperation.Delete(Path.Combine(gameDirectory, YuanShenData, "Plugins\\PluginEOSSDK.dll")); + FileOperation.Delete(Path.Combine(gameDirectory, GenshinImpactData, "Plugins\\PluginEOSSDK.dll")); + FileOperation.Delete(Path.Combine(gameDirectory, "sdk_pkg_version")); if (context.GameChannelSDK is not null) { using (Stream sdkWebStream = await context.HttpClient.GetStreamAsync(context.GameChannelSDK.ChannelSdkPackage.Url).ConfigureAwait(false)) { - ZipFile.ExtractToDirectory(sdkWebStream, context.GameFileSystem.GameDirectory, true); + ZipFile.ExtractToDirectory(sdkWebStream, gameDirectory, true); } } @@ -90,7 +91,7 @@ public async ValueTask EnsureDeprecatedFilesAndSdkAsync(PackageConverterContext { foreach (DeprecatedFile file in context.DeprecatedFiles.DeprecatedFiles) { - string filePath = Path.Combine(context.GameFileSystem.GameDirectory, file.Name); + string filePath = Path.Combine(gameDirectory, file.Name); FileOperation.Move(filePath, $"{filePath}.backup", true); } } @@ -196,7 +197,7 @@ private static async ValueTask SkipOrDownloadAsync(PackageConverterContext conte private static async ValueTask ReplacePackageVersionFilesAsync(PackageConverterContext context) { - foreach (string versionFilePath in Directory.EnumerateFiles(context.GameFileSystem.GameDirectory, "*pkg_version")) + foreach (string versionFilePath in Directory.EnumerateFiles(context.GameFileSystem.GetGameDirectory(), "*pkg_version")) { string versionFileName = Path.GetFileName(versionFilePath); diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/SophonChunksPackageConverter.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/SophonChunksPackageConverter.cs index 7250b1912f..c67c12f400 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/SophonChunksPackageConverter.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/SophonChunksPackageConverter.cs @@ -78,19 +78,20 @@ public async ValueTask EnsureGameResourceAsync(PackageConverterContext con public async ValueTask EnsureDeprecatedFilesAndSdkAsync(PackageConverterContext context) { // Just try to delete these files, always download from server when needed - FileOperation.Delete(Path.Combine(context.GameFileSystem.GameDirectory, YuanShenData, "Plugins\\PCGameSDK.dll")); - FileOperation.Delete(Path.Combine(context.GameFileSystem.GameDirectory, GenshinImpactData, "Plugins\\PCGameSDK.dll")); - FileOperation.Delete(Path.Combine(context.GameFileSystem.GameDirectory, YuanShenData, "Plugins\\EOSSDK-Win64-Shipping.dll")); - FileOperation.Delete(Path.Combine(context.GameFileSystem.GameDirectory, GenshinImpactData, "Plugins\\EOSSDK-Win64-Shipping.dll")); - FileOperation.Delete(Path.Combine(context.GameFileSystem.GameDirectory, YuanShenData, "Plugins\\PluginEOSSDK.dll")); - FileOperation.Delete(Path.Combine(context.GameFileSystem.GameDirectory, GenshinImpactData, "Plugins\\PluginEOSSDK.dll")); - FileOperation.Delete(Path.Combine(context.GameFileSystem.GameDirectory, "sdk_pkg_version")); + string gameDirectory = context.GameFileSystem.GetGameDirectory(); + FileOperation.Delete(Path.Combine(gameDirectory, YuanShenData, "Plugins\\PCGameSDK.dll")); + FileOperation.Delete(Path.Combine(gameDirectory, GenshinImpactData, "Plugins\\PCGameSDK.dll")); + FileOperation.Delete(Path.Combine(gameDirectory, YuanShenData, "Plugins\\EOSSDK-Win64-Shipping.dll")); + FileOperation.Delete(Path.Combine(gameDirectory, GenshinImpactData, "Plugins\\EOSSDK-Win64-Shipping.dll")); + FileOperation.Delete(Path.Combine(gameDirectory, YuanShenData, "Plugins\\PluginEOSSDK.dll")); + FileOperation.Delete(Path.Combine(gameDirectory, GenshinImpactData, "Plugins\\PluginEOSSDK.dll")); + FileOperation.Delete(Path.Combine(gameDirectory, "sdk_pkg_version")); if (context.GameChannelSDK is not null) { using (Stream sdkWebStream = await context.HttpClient.GetStreamAsync(context.GameChannelSDK.ChannelSdkPackage.Url).ConfigureAwait(false)) { - ZipFile.ExtractToDirectory(sdkWebStream, context.GameFileSystem.GameDirectory, true); + ZipFile.ExtractToDirectory(sdkWebStream, gameDirectory, true); } } @@ -98,7 +99,7 @@ public async ValueTask EnsureDeprecatedFilesAndSdkAsync(PackageConverterContext { foreach (DeprecatedFile file in context.DeprecatedFiles.DeprecatedFiles) { - string filePath = Path.Combine(context.GameFileSystem.GameDirectory, file.Name); + string filePath = Path.Combine(gameDirectory, file.Name); FileOperation.Move(filePath, $"{filePath}.backup", true); } } @@ -378,7 +379,7 @@ private async ValueTask MergeDiffAssetAsync(PackageConverterContext context, Pac { using (MemoryStream newAssetStream = memoryStreamFactory.GetStream()) { - string oldAssetPath = Path.Combine(context.GameFileSystem.GameDirectory, asset.OldAsset.AssetName); + string oldAssetPath = Path.Combine(context.GameFileSystem.GetGameDirectory(), asset.OldAsset.AssetName); if (!File.Exists(oldAssetPath)) { // File not found, skip this asset and repair later diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Scheme/LaunchScheme.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Scheme/LaunchScheme.cs index 3f6881bf5e..f90e251381 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Scheme/LaunchScheme.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Scheme/LaunchScheme.cs @@ -35,6 +35,7 @@ public string DisplayName public bool IsNotCompatOnly { get; private protected set; } = true; + [Obsolete("Use IGameFileSystem.IsOversea instead")] public static bool ExecutableIsOversea(string gameFileName) { return gameFileName.ToUpperInvariant() switch diff --git a/src/Snap.Hutao/Snap.Hutao/ViewModel/Game/GamePackageViewModel.cs b/src/Snap.Hutao/Snap.Hutao/ViewModel/Game/GamePackageViewModel.cs index 1cd4ca5261..a65944aa22 100644 --- a/src/Snap.Hutao/Snap.Hutao/ViewModel/Game/GamePackageViewModel.cs +++ b/src/Snap.Hutao/Snap.Hutao/ViewModel/Game/GamePackageViewModel.cs @@ -107,14 +107,14 @@ public bool IsPredownloadFinished using (gameFileSystem) { - if (!File.Exists(gameFileSystem.PredownloadStatusPath)) + if (!File.Exists(gameFileSystem.GetPredownloadStatusPath())) { return false; } - if (JsonSerializer.Deserialize(File.ReadAllText(gameFileSystem.PredownloadStatusPath)) is { } predownloadStatus) + if (JsonSerializer.Deserialize(File.ReadAllText(gameFileSystem.GetPredownloadStatusPath())) is { } predownloadStatus) { - int fileCount = Directory.GetFiles(gameFileSystem.ChunksDirectory).Length - 1; + int fileCount = Directory.GetFiles(gameFileSystem.GetChunksDirectory()).Length - 1; return predownloadStatus.Finished && fileCount == predownloadStatus.TotalBlocks; } } @@ -173,9 +173,9 @@ protected override async ValueTask LoadOverrideAsync() LocalVersion = new(localVersion); } - if (!IsUpdateAvailable && PreVersion is null && File.Exists(gameFileSystem.PredownloadStatusPath)) + if (!IsUpdateAvailable && PreVersion is null && File.Exists(gameFileSystem.GetPredownloadStatusPath())) { - File.Delete(gameFileSystem.PredownloadStatusPath); + File.Delete(gameFileSystem.GetPredownloadStatusPath()); } } diff --git a/src/Snap.Hutao/Snap.Hutao/ViewModel/Game/LaunchGameShared.cs b/src/Snap.Hutao/Snap.Hutao/ViewModel/Game/LaunchGameShared.cs index e3f8425a9b..cb7fedb162 100644 --- a/src/Snap.Hutao/Snap.Hutao/ViewModel/Game/LaunchGameShared.cs +++ b/src/Snap.Hutao/Snap.Hutao/ViewModel/Game/LaunchGameShared.cs @@ -79,13 +79,14 @@ private async Task HandleConfigurationFileNotFoundAsync() using (gameFileSystem) { - bool isOversea = LaunchScheme.ExecutableIsOversea(gameFileSystem.GameFileName); - LaunchGameConfigurationFixDialog dialog = await contentDialogFactory .CreateInstanceAsync() .ConfigureAwait(false); + bool isOversea = gameFileSystem.IsOversea(); + await taskContext.SwitchToMainThreadAsync(); + dialog.KnownSchemes = KnownLaunchSchemes.Get().Where(scheme => scheme.IsOversea == isOversea); dialog.SelectedScheme = dialog.KnownSchemes.First(scheme => scheme.IsNotCompatOnly); (bool isOk, LaunchScheme launchScheme) = await dialog.GetLaunchSchemeAsync().ConfigureAwait(false); diff --git a/src/Snap.Hutao/Snap.Hutao/ViewModel/Game/LaunchGameViewModel.cs b/src/Snap.Hutao/Snap.Hutao/ViewModel/Game/LaunchGameViewModel.cs index a9ecabeecd..0a43874814 100644 --- a/src/Snap.Hutao/Snap.Hutao/ViewModel/Game/LaunchGameViewModel.cs +++ b/src/Snap.Hutao/Snap.Hutao/ViewModel/Game/LaunchGameViewModel.cs @@ -277,8 +277,8 @@ private async Task OpenScreenshotFolderAsync() using (gameFileSystem) { - Directory.CreateDirectory(gameFileSystem.ScreenShotDirectory); - await Windows.System.Launcher.LaunchFolderPathAsync(gameFileSystem.ScreenShotDirectory); + Directory.CreateDirectory(gameFileSystem.GetScreenShotDirectory()); + await Windows.System.Launcher.LaunchFolderPathAsync(gameFileSystem.GetScreenShotDirectory()); } } From 17bb3e8b9871cf8ea9cddb31124b006477d35991 Mon Sep 17 00:00:00 2001 From: DismissedLight <1686188646@qq.com> Date: Tue, 26 Nov 2024 16:32:02 +0800 Subject: [PATCH 08/70] refactor 2 --- .../Core/ExceptionService/HutaoException.cs | 16 -------------- .../Service/Game/GameAudioSystem.cs | 13 +++++------- .../Snap.Hutao/Service/Game/GameFileSystem.cs | 13 +++++++++++- ...aunchExecutionEnsureGameResourceHandler.cs | 5 ++--- .../PackageOperationGameFileSystem.cs | 10 ++------- .../Game/PathAbstraction/GamePathEntry.cs | 2 +- .../Game/RestrictedGamePathAccessExtension.cs | 2 +- .../Service/Game/Scheme/LaunchScheme.cs | 21 ------------------- .../LaunchGameInstallGameDialog.xaml.cs | 2 +- .../ViewModel/Game/LaunchGameViewModel.cs | 6 ++++++ .../Snap.Hutao/ViewModel/TestViewModel.cs | 2 +- 11 files changed, 31 insertions(+), 61 deletions(-) diff --git a/src/Snap.Hutao/Snap.Hutao/Core/ExceptionService/HutaoException.cs b/src/Snap.Hutao/Snap.Hutao/Core/ExceptionService/HutaoException.cs index 74a50f54e2..0f42bc8db5 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/ExceptionService/HutaoException.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/ExceptionService/HutaoException.cs @@ -88,20 +88,4 @@ public static OperationCanceledException OperationCanceled(string message, Excep { throw new OperationCanceledException(message, innerException); } - - [DoesNotReturn] - [MethodImpl(MethodImplOptions.NoInlining)] - public static ObjectDisposedException ObjectDisposed(string objectName) - { - throw new ObjectDisposedException(objectName); - } - - [MethodImpl(MethodImplOptions.NoInlining)] - public static void ObjectDisposedIf(bool condition, string objectName) - { - if (condition) - { - throw new ObjectDisposedException(objectName); - } - } } \ No newline at end of file diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/GameAudioSystem.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/GameAudioSystem.cs index b76cce6cc8..77ed000eea 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/GameAudioSystem.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/GameAudioSystem.cs @@ -7,15 +7,12 @@ namespace Snap.Hutao.Service.Game; internal sealed class GameAudioSystem { - public GameAudioSystem(string gameFilePath) + public GameAudioSystem(string gameDirectory) { - string? directory = Path.GetDirectoryName(gameFilePath); - ArgumentException.ThrowIfNullOrEmpty(directory); - - Chinese = File.Exists(Path.Combine(directory, GameConstants.AudioChinesePkgVersion)); - English = File.Exists(Path.Combine(directory, GameConstants.AudioEnglishPkgVersion)); - Japanese = File.Exists(Path.Combine(directory, GameConstants.AudioJapanesePkgVersion)); - Korean = File.Exists(Path.Combine(directory, GameConstants.AudioKoreanPkgVersion)); + Chinese = File.Exists(Path.Combine(gameDirectory, GameConstants.AudioChinesePkgVersion)); + English = File.Exists(Path.Combine(gameDirectory, GameConstants.AudioEnglishPkgVersion)); + Japanese = File.Exists(Path.Combine(gameDirectory, GameConstants.AudioJapanesePkgVersion)); + Korean = File.Exists(Path.Combine(gameDirectory, GameConstants.AudioKoreanPkgVersion)); } public GameAudioSystem(bool chinese, bool english, bool japanese, bool korean) diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/GameFileSystem.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/GameFileSystem.cs index e1fc7c4c2b..251e29a56a 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/GameFileSystem.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/GameFileSystem.cs @@ -2,6 +2,7 @@ // Licensed under the MIT license. using Snap.Hutao.Core.ExceptionService; +using Snap.Hutao.Service.Game.Package.Advanced; using Snap.Hutao.Service.Game.Scheme; using System.IO; @@ -20,10 +21,20 @@ public GameFileSystem(string gameFilePath, AsyncReaderWriterLock.Releaser releas public string GameFilePath { get; } [field: MaybeNull] - public GameAudioSystem Audio { get => field ??= new(GameFilePath); } + public GameAudioSystem Audio { get => field ??= new(this.GetGameDirectory()); } public bool IsDisposed { get; private set; } + public static IGameFileSystem Create(string gameFilePath, AsyncReaderWriterLock.Releaser releaser) + { + return new GameFileSystem(gameFilePath, releaser); + } + + public static IGameFileSystem CreateForPackageOperation(string gameFilePath, GameAudioSystem? gameAudioSystem = default) + { + return new PackageOperationGameFileSystem(gameFilePath, gameAudioSystem); + } + public void Dispose() { releaser.Dispose(); diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionEnsureGameResourceHandler.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionEnsureGameResourceHandler.cs index 739ac858ca..6ea01343c4 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionEnsureGameResourceHandler.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionEnsureGameResourceHandler.cs @@ -68,8 +68,7 @@ private static bool ShouldConvert(LaunchExecutionContext context, IGameFileSyste return true; } - // Executable name not match - if (!context.TargetScheme.ExecutableMatches(gameFileSystem.GetGameFileName())) + if (context.TargetScheme.IsOversea ^ gameFileSystem.IsOversea()) { return true; } @@ -174,7 +173,7 @@ private static async ValueTask EnsureGameResourceAsync(LaunchExecutionCont IPackageConverter packageConverter = context.ServiceProvider.GetRequiredKeyedService(type); - if (!context.TargetScheme.ExecutableMatches(gameFileSystem.GetGameFileName())) + if (context.TargetScheme.IsOversea ^ gameFileSystem.IsOversea()) { if (!await packageConverter.EnsureGameResourceAsync(packageConverterContext).ConfigureAwait(false)) { diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/PackageOperationGameFileSystem.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/PackageOperationGameFileSystem.cs index 4efb125d0d..8089a0ae34 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/PackageOperationGameFileSystem.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/PackageOperationGameFileSystem.cs @@ -8,16 +8,10 @@ namespace Snap.Hutao.Service.Game.Package.Advanced; internal sealed partial class PackageOperationGameFileSystem : IGameFileSystem { - public PackageOperationGameFileSystem(string gameFilePath) + public PackageOperationGameFileSystem(string gameFilePath, GameAudioSystem? gameAudioSystem = default) { GameFilePath = gameFilePath; - Audio = new(GameFilePath); - } - - public PackageOperationGameFileSystem(string gameFilePath, GameAudioSystem gameAudioSystem) - { - GameFilePath = gameFilePath; - Audio = gameAudioSystem; + Audio = gameAudioSystem ?? new(this.GetGameDirectory()); } public string GameFilePath { get; } diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/PathAbstraction/GamePathEntry.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/PathAbstraction/GamePathEntry.cs index 536b6488c6..f73be7ef7d 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/PathAbstraction/GamePathEntry.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/PathAbstraction/GamePathEntry.cs @@ -6,7 +6,7 @@ namespace Snap.Hutao.Service.Game.PathAbstraction; internal sealed class GamePathEntry { [JsonPropertyName("Path")] - public string Path { get; private set; } = default!; + public string Path { get; init; } = default!; public static GamePathEntry Create(string path) { diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/RestrictedGamePathAccessExtension.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/RestrictedGamePathAccessExtension.cs index e8fa78d1e6..2041616b2f 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/RestrictedGamePathAccessExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/RestrictedGamePathAccessExtension.cs @@ -25,7 +25,7 @@ public static bool TryGetGameFileSystem(this IRestrictedGamePathAccess access, [ return false; } - fileSystem = new GameFileSystem(gamePath, releaser); + fileSystem = GameFileSystem.Create(gamePath, releaser); return true; } diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Scheme/LaunchScheme.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Scheme/LaunchScheme.cs index f90e251381..f925dd2f0b 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Scheme/LaunchScheme.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Scheme/LaunchScheme.cs @@ -35,29 +35,8 @@ public string DisplayName public bool IsNotCompatOnly { get; private protected set; } = true; - [Obsolete("Use IGameFileSystem.IsOversea instead")] - public static bool ExecutableIsOversea(string gameFileName) - { - return gameFileName.ToUpperInvariant() switch - { - GameConstants.GenshinImpactFileNameUpper => true, - GameConstants.YuanShenFileNameUpper => false, - _ => throw Requires.Fail("Invalid game executable file name:{0}", gameFileName), - }; - } - public bool Equals(ChannelOptions other) { return Channel == other.Channel && SubChannel == other.SubChannel && IsOversea == other.IsOversea; } - - public bool ExecutableMatches(string gameFileName) - { - return (IsOversea, gameFileName) switch - { - (true, GameConstants.GenshinImpactFileName) => true, - (false, GameConstants.YuanShenFileName) => true, - _ => false, - }; - } } \ No newline at end of file diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/Dialog/LaunchGameInstallGameDialog.xaml.cs b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/Dialog/LaunchGameInstallGameDialog.xaml.cs index 8fc6c0b0fc..89a7ef5190 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/Dialog/LaunchGameInstallGameDialog.xaml.cs +++ b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/Dialog/LaunchGameInstallGameDialog.xaml.cs @@ -59,7 +59,7 @@ public async ValueTask> GetGameInstallOpti GameAudioSystem gameAudioSystem = new(Chinese, English, Japanese, Korean); string gamePath = Path.Combine(GameDirectory, SelectedScheme.IsOversea ? GameConstants.GenshinImpactFileName : GameConstants.YuanShenFileName); - return new(true, new(new PackageOperationGameFileSystem(gamePath, gameAudioSystem), SelectedScheme)); + return new(true, new(GameFileSystem.CreateForPackageOperation(gamePath, gameAudioSystem), SelectedScheme)); } private static void OnGameDirectoryChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args) diff --git a/src/Snap.Hutao/Snap.Hutao/ViewModel/Game/LaunchGameViewModel.cs b/src/Snap.Hutao/Snap.Hutao/ViewModel/Game/LaunchGameViewModel.cs index 0a43874814..8b157ee8b1 100644 --- a/src/Snap.Hutao/Snap.Hutao/ViewModel/Game/LaunchGameViewModel.cs +++ b/src/Snap.Hutao/Snap.Hutao/ViewModel/Game/LaunchGameViewModel.cs @@ -133,11 +133,17 @@ public GamePathEntry? SelectedGamePathEntry get; set { + if (value is not null && !launchOptions.GamePathEntries.Contains(value)) + { + HutaoException.InvalidOperation("Selected game path entry is not in the game path entries."); + } + if (!SetProperty(ref field, value)) { return; } + // We are selecting from existing entries, so we don't need to update GamePathEntries if (launchOptions.GamePathLock.TryWriterLock(out AsyncReaderWriterLock.Releaser releaser)) { using (releaser) diff --git a/src/Snap.Hutao/Snap.Hutao/ViewModel/TestViewModel.cs b/src/Snap.Hutao/Snap.Hutao/ViewModel/TestViewModel.cs index 1f563306f8..dc9fb23bec 100644 --- a/src/Snap.Hutao/Snap.Hutao/ViewModel/TestViewModel.cs +++ b/src/Snap.Hutao/Snap.Hutao/ViewModel/TestViewModel.cs @@ -436,7 +436,7 @@ private async Task ExtractGameExeAsync() if (result is ContentDialogResult.Primary) { - IGameFileSystem gameFileSystem = new PackageOperationGameFileSystem(Path.Combine(extractDirectory, ExtractExeOptions.IsOversea ? GameConstants.GenshinImpactFileName : GameConstants.YuanShenFileName)); + IGameFileSystem gameFileSystem = GameFileSystem.CreateForPackageOperation(Path.Combine(extractDirectory, ExtractExeOptions.IsOversea ? GameConstants.GenshinImpactFileName : GameConstants.YuanShenFileName)); GamePackageOperationContext context = new( serviceProvider, From 29c9def77ac3479532722d93433cf11e8ee97a7d Mon Sep 17 00:00:00 2001 From: qhy040404 Date: Tue, 26 Nov 2024 19:02:52 +0800 Subject: [PATCH 09/70] magic theme --- .../UI/Xaml/View/Page/TestPage.xaml | 10 ++++++++ .../Snap.Hutao/ViewModel/TestViewModel.cs | 23 +++++++++++++++++++ 2 files changed, 33 insertions(+) diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/Page/TestPage.xaml b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/Page/TestPage.xaml index fc5def785c..750b948d25 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/Page/TestPage.xaml +++ b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/Page/TestPage.xaml @@ -179,6 +179,16 @@ Header="Test GamePackageOperationWindow" IsClickEnabled="True"/> + + + + (); + *(BOOLEAN*)(IntPtr)(GetApplicationObjectReference(app).ThisPtr + 0x118U) = true; + } + } + + [UnsafeAccessor(UnsafeAccessorKind.Method, Name = "get__objRef_global__Microsoft_UI_Xaml_IApplication")] + private static extern IObjectReference GetApplicationObjectReference(Application app); + + [Command("ReverseRequestedThemeCommand")] + private void ReverseRequestedTheme() + { + App app = serviceProvider.GetRequiredService(); + app.RequestedTheme = app.RequestedTheme is ApplicationTheme.Dark ? ApplicationTheme.Light : ApplicationTheme.Dark; + } + internal sealed class ExtractOptions { public bool IsOversea { get; set; } From ce243841ecb9a2fe422d2ef6e8d3c8fb4f4d13c3 Mon Sep 17 00:00:00 2001 From: qhy040404 Date: Tue, 26 Nov 2024 13:35:48 +0800 Subject: [PATCH 10/70] code style --- .../Snap.Hutao/Core/IO/StreamCopyWorker.cs | 6 +- .../ContentDialog/ContentDialogFactory.cs | 11 +- .../Service/GachaLog/GachaLogService.cs | 11 +- .../GameScreenCaptureMemoryPool.cs | 6 +- .../Snap.Hutao/Service/Game/GameRepository.cs | 6 +- .../Game/Launching/LaunchExecutionContext.cs | 2 +- .../Service/Metadata/MetadataService.cs | 9 +- .../AutoSuggestBox/AutoSuggestTokenBoxItem.cs | 102 +++++++++--------- .../Control/TextBlock/DescriptionTextBlock.cs | 6 +- .../TextBlock/HtmlDescriptionTextBlock.cs | 6 +- .../UI/Xaml/Data/AdvancedCollectionView.cs | 92 ++++++++-------- ...emBackdropDesktopWindowXamlSourceAccess.cs | 14 ++- .../Media/Backdrop/TransparentBackdrop.cs | 4 +- .../Snap.Hutao/UI/Xaml/View/GuideView.xaml | 2 +- .../UI/Xaml/View/InfoBarView.xaml.cs | 4 +- .../Snap.Hutao/UI/Xaml/View/MainView.xaml.cs | 4 +- .../UI/Xaml/View/Page/SettingPage.xaml | 14 +-- .../Snap.Hutao/UI/Xaml/View/TitleView.xaml | 2 +- .../ViewModel/DailyNote/DailyNoteViewModel.cs | 7 +- .../ViewModel/GachaLog/Countdown.cs | 8 +- .../ViewModel/Game/LaunchGameViewModel.cs | 19 ++-- .../ViewModel/Guide/DownloadSummary.cs | 7 +- .../Snap.Hutao/ViewModel/MainViewModel.cs | 7 +- .../ViewModel/NotifyIconViewModel.cs | 3 +- .../Setting/HutaoPassportViewModel.cs | 13 ++- .../Setting/SettingFolderViewModel.cs | 9 +- .../ViewModel/Setting/SettingGameViewModel.cs | 7 +- .../Setting/SettingHotKeyViewModel.cs | 16 +-- .../Snap.Hutao/ViewModel/TitleViewModel.cs | 11 +- .../Snap.Hutao/ViewModel/User/User.cs | 33 +++--- 30 files changed, 200 insertions(+), 241 deletions(-) diff --git a/src/Snap.Hutao/Snap.Hutao/Core/IO/StreamCopyWorker.cs b/src/Snap.Hutao/Snap.Hutao/Core/IO/StreamCopyWorker.cs index 658dd50f02..2a1e56ea1a 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/IO/StreamCopyWorker.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/IO/StreamCopyWorker.cs @@ -49,12 +49,11 @@ public async ValueTask CopyAsync(IProgress progress, CancellationToken long bytesReadSinceCopyStart = 0; long bytesReadSinceLastReport = 0; - int bytesRead; - using (IMemoryOwner memoryOwner = MemoryPool.Shared.Rent(bufferSize)) { Memory buffer = memoryOwner.Memory; + int bytesRead; do { bytesRead = await source.ReadAsync(buffer, token).ConfigureAwait(false); @@ -84,14 +83,13 @@ public async ValueTask CopyAsync(StrongBox rateLimiterB long bytesReadSinceCopyStart = 0; long bytesReadSinceLastReport = 0; - int bytesRead; - using (IMemoryOwner memoryOwner = MemoryPool.Shared.Rent(bufferSize)) { Memory buffer = memoryOwner.Memory; do { + int bytesRead; if (rateLimiterBox.Value is { } rateLimiter) { if (!rateLimiter.TryAcquire(buffer.Length, out int bytesToRead, out TimeSpan retryAfter)) diff --git a/src/Snap.Hutao/Snap.Hutao/Factory/ContentDialog/ContentDialogFactory.cs b/src/Snap.Hutao/Snap.Hutao/Factory/ContentDialog/ContentDialogFactory.cs index 92256fd292..8e1fb6e1b3 100644 --- a/src/Snap.Hutao/Snap.Hutao/Factory/ContentDialog/ContentDialogFactory.cs +++ b/src/Snap.Hutao/Snap.Hutao/Factory/ContentDialog/ContentDialogFactory.cs @@ -14,7 +14,6 @@ internal sealed partial class ContentDialogFactory : IContentDialogFactory private readonly ICurrentXamlWindowReference currentWindowReference; private readonly IContentDialogQueue contentDialogQueue; private readonly IServiceProvider serviceProvider; - private readonly ITaskContext taskContext; private readonly AppOptions appOptions; public bool IsDialogShowing @@ -22,11 +21,11 @@ public bool IsDialogShowing get => contentDialogQueue.IsDialogShowing; } - public ITaskContext TaskContext { get => taskContext; } + public partial ITaskContext TaskContext { get; } public async ValueTask CreateForConfirmAsync(string title, string content) { - await taskContext.SwitchToMainThreadAsync(); + await TaskContext.SwitchToMainThreadAsync(); Microsoft.UI.Xaml.Controls.ContentDialog dialog = new() { @@ -43,7 +42,7 @@ public async ValueTask CreateForConfirmAsync(string title, public async ValueTask CreateForConfirmCancelAsync(string title, string content, ContentDialogButton defaultButton = ContentDialogButton.Close) { - await taskContext.SwitchToMainThreadAsync(); + await TaskContext.SwitchToMainThreadAsync(); Microsoft.UI.Xaml.Controls.ContentDialog dialog = new() { @@ -61,7 +60,7 @@ public async ValueTask CreateForConfirmCancelAsync(string t public async ValueTask CreateForIndeterminateProgressAsync(string title) { - await taskContext.SwitchToMainThreadAsync(); + await TaskContext.SwitchToMainThreadAsync(); Microsoft.UI.Xaml.Controls.ContentDialog dialog = new() { @@ -77,7 +76,7 @@ public async ValueTask CreateForConfirmCancelAsync(string t public async ValueTask CreateInstanceAsync(params object[] parameters) where TContentDialog : Microsoft.UI.Xaml.Controls.ContentDialog { - await taskContext.SwitchToMainThreadAsync(); + await TaskContext.SwitchToMainThreadAsync(); TContentDialog contentDialog = ActivatorUtilities.CreateInstance(serviceProvider, parameters); contentDialog.XamlRoot = currentWindowReference.GetXamlRoot(); diff --git a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/GachaLogService.cs b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/GachaLogService.cs index c91b10d257..3cae53ab4c 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/GachaLogService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/GachaLogService.cs @@ -28,13 +28,8 @@ internal sealed partial class GachaLogService : IGachaLogService private readonly ITaskContext taskContext; private GachaLogServiceMetadataContext context; - private AdvancedDbCollectionView? archives; - public AdvancedDbCollectionView? Archives - { - get => archives; - private set => archives = value; - } + public AdvancedDbCollectionView? Archives { get; private set; } public async ValueTask InitializeAsync(CancellationToken token = default) { @@ -100,7 +95,7 @@ public async ValueTask RefreshGachaLogAsync(GachaLogQuery query, RefreshSt public async ValueTask RemoveArchiveAsync(GachaArchive archive) { - ArgumentNullException.ThrowIfNull(archives); + ArgumentNullException.ThrowIfNull(Archives); // Sync database await taskContext.SwitchToBackgroundAsync(); @@ -108,7 +103,7 @@ public async ValueTask RemoveArchiveAsync(GachaArchive archive) // Sync cache await taskContext.SwitchToMainThreadAsync(); - archives.Remove(archive); + Archives.Remove(archive); } public async ValueTask EnsureArchiveInCollectionAsync(Guid archiveId, CancellationToken token = default) diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Automation/ScreenCapture/GameScreenCaptureMemoryPool.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Automation/ScreenCapture/GameScreenCaptureMemoryPool.cs index 0cb83a5988..6ff2a46530 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Automation/ScreenCapture/GameScreenCaptureMemoryPool.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Automation/ScreenCapture/GameScreenCaptureMemoryPool.cs @@ -14,13 +14,11 @@ internal sealed partial class GameScreenCaptureMemoryPool : MemoryPool private readonly LinkedList unrentedBuffers = []; private readonly LinkedList rentedBuffers = []; - private int bufferCount; - public static new GameScreenCaptureMemoryPool Shared { get => LazyShared.Value; } public override int MaxBufferSize { get => Array.MaxLength; } - public int BufferCount { get => bufferCount; } + public int BufferCount { get; private set; } public override IMemoryOwner Rent(int minBufferSize = -1) { @@ -40,7 +38,7 @@ public override IMemoryOwner Rent(int minBufferSize = -1) GameScreenCaptureBuffer newBuffer = new(this, minBufferSize); rentedBuffers.AddLast(newBuffer); - ++bufferCount; + ++BufferCount; return newBuffer; } } diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/GameRepository.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/GameRepository.cs index 33656c6649..da075c69ac 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/GameRepository.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/GameRepository.cs @@ -11,13 +11,11 @@ namespace Snap.Hutao.Service.Game; [Injection(InjectAs.Singleton, typeof(IGameRepository))] internal sealed partial class GameRepository : IGameRepository { - private readonly IServiceProvider serviceProvider; - - public IServiceProvider ServiceProvider { get => serviceProvider; } + public partial IServiceProvider ServiceProvider { get; } public ObservableReorderableDbCollection GetGameAccountCollection() { - return this.Query(query => query.ToObservableReorderableDbCollection(serviceProvider)); + return this.Query(query => query.ToObservableReorderableDbCollection(ServiceProvider)); } public void AddGameAccount(GameAccount gameAccount) diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/LaunchExecutionContext.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/LaunchExecutionContext.cs index eda0350e8c..8f8f86508a 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/LaunchExecutionContext.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/LaunchExecutionContext.cs @@ -40,7 +40,7 @@ public LaunchExecutionContext(IServiceProvider serviceProvider, IViewModelSuppor public partial LaunchOptions Options { get; } - public IViewModelSupportLaunchExecution ViewModel { get; private set; } = default!; + public IViewModelSupportLaunchExecution ViewModel { get; } = default!; public LaunchScheme CurrentScheme { get; private set; } = default!; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/MetadataService.cs b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/MetadataService.cs index be2ee43087..665a878138 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/MetadataService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/MetadataService.cs @@ -31,11 +31,10 @@ internal sealed partial class MetadataService : IMetadataService, IMetadataServi private readonly MetadataOptions metadataOptions; private readonly IInfoBarService infoBarService; private readonly JsonSerializerOptions options; - private readonly IMemoryCache memoryCache; private bool isInitialized; - public IMemoryCache MemoryCache { get => memoryCache; } + public partial IMemoryCache MemoryCache { get; } public async ValueTask InitializeAsync() { @@ -63,7 +62,7 @@ public async ValueTask> FromCacheOrFileAsync(MetadataFileSt Verify.Operation(isInitialized, SH.ServiceMetadataNotInitialized); string cacheKey = $"{nameof(MetadataService)}.Cache.{strategy.Name}"; - if (memoryCache.TryGetValue(cacheKey, out object? value)) + if (MemoryCache.TryGetValue(cacheKey, out object? value)) { ArgumentNullException.ThrowIfNull(value); return (ImmutableArray)value; @@ -89,7 +88,7 @@ private async ValueTask> FromCacheOrSingleFile(MetadataFile try { ImmutableArray result = await JsonSerializer.DeserializeAsync>(fileStream, options, token).ConfigureAwait(false); - return memoryCache.Set(cacheKey, result); + return MemoryCache.Set(cacheKey, result); } catch (Exception ex) { @@ -128,7 +127,7 @@ private async ValueTask> FromCacheOrScatteredFile(MetadataF } } - return memoryCache.Set(cacheKey, results.ToImmutable()); + return MemoryCache.Set(cacheKey, results.ToImmutable()); } private async ValueTask DownloadMetadataDescriptionFileAndCheckAsync(CancellationToken token) diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/AutoSuggestBox/AutoSuggestTokenBoxItem.cs b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/AutoSuggestBox/AutoSuggestTokenBoxItem.cs index 3eaea5680e..0a803fc08b 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/AutoSuggestBox/AutoSuggestTokenBoxItem.cs +++ b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/AutoSuggestBox/AutoSuggestTokenBoxItem.cs @@ -24,8 +24,6 @@ internal partial class AutoSuggestTokenBoxItem : ListViewItem private const string TextTokensCounter = nameof(TextTokensCounter); private const string QueryButton = nameof(QueryButton); - private Microsoft.UI.Xaml.Controls.AutoSuggestBox? autoSuggestBox; - private TextBox? autoSuggestTextBox; private bool isSelectedFocusOnFirstCharacter; private bool isSelectedFocusOnLastCharacter; @@ -40,32 +38,32 @@ public AutoSuggestTokenBoxItem() public event TypedEventHandler? ClearAllAction; - public Microsoft.UI.Xaml.Controls.AutoSuggestBox? AutoSuggestBox { get => autoSuggestBox; } + public Microsoft.UI.Xaml.Controls.AutoSuggestBox? AutoSuggestBox { get; private set; } - public TextBox? AutoSuggestTextBox { get => autoSuggestTextBox; } + public TextBox? AutoSuggestTextBox { get; private set; } public bool UseCharacterAsUser { get; set; } private bool IsAllSelected { - get => autoSuggestTextBox?.SelectedText == autoSuggestTextBox?.Text && !string.IsNullOrEmpty(autoSuggestTextBox?.Text); + get => AutoSuggestTextBox?.SelectedText == AutoSuggestTextBox?.Text && !string.IsNullOrEmpty(AutoSuggestTextBox?.Text); } private bool IsCaretAtStart { - get => autoSuggestTextBox?.SelectionStart is 0; + get => AutoSuggestTextBox?.SelectionStart is 0; } private bool IsCaretAtEnd { - get => autoSuggestTextBox?.SelectionStart == autoSuggestTextBox?.Text.Length || autoSuggestTextBox?.SelectionStart + autoSuggestTextBox?.SelectionLength == autoSuggestTextBox?.Text.Length; + get => AutoSuggestTextBox?.SelectionStart == AutoSuggestTextBox?.Text.Length || AutoSuggestTextBox?.SelectionStart + AutoSuggestTextBox?.SelectionLength == AutoSuggestTextBox?.Text.Length; } public void UpdateText(string text) { - if (autoSuggestBox is not null) + if (AutoSuggestBox is not null) { - autoSuggestBox.Text = text; + AutoSuggestBox.Text = text; return; } @@ -73,9 +71,9 @@ public void UpdateText(string text) void WaitForLoad(object s, RoutedEventArgs eargs) { - if (autoSuggestTextBox is not null) + if (AutoSuggestTextBox is not null) { - autoSuggestTextBox.Text = text; + AutoSuggestTextBox.Text = text; } AutoSuggestTextBoxLoaded -= WaitForLoad; @@ -96,44 +94,44 @@ protected override void OnApplyTemplate() private void OnAutoSuggestBoxApplyTemplate(Microsoft.UI.Xaml.Controls.AutoSuggestBox asb) { // Revoke previous events - if (autoSuggestBox is not null) + if (AutoSuggestBox is not null) { - autoSuggestBox.Loaded -= OnAutoSuggestBoxLoaded; - - autoSuggestBox.QuerySubmitted -= OnAutoSuggestBoxQuerySubmitted; - autoSuggestBox.SuggestionChosen -= OnAutoSuggestBoxSuggestionChosen; - autoSuggestBox.TextChanged -= OnAutoSuggestBoxTextChanged; - autoSuggestBox.PointerEntered -= OnAutoSuggestBoxPointerEntered; - autoSuggestBox.PointerExited -= OnAutoSuggestBoxPointerExited; - autoSuggestBox.PointerCanceled -= OnAutoSuggestBoxPointerExited; - autoSuggestBox.PointerCaptureLost -= OnAutoSuggestBoxPointerExited; - autoSuggestBox.GotFocus -= OnAutoSuggestBoxGotFocus; - autoSuggestBox.LostFocus -= OnAutoSuggestBoxLostFocus; + AutoSuggestBox.Loaded -= OnAutoSuggestBoxLoaded; + + AutoSuggestBox.QuerySubmitted -= OnAutoSuggestBoxQuerySubmitted; + AutoSuggestBox.SuggestionChosen -= OnAutoSuggestBoxSuggestionChosen; + AutoSuggestBox.TextChanged -= OnAutoSuggestBoxTextChanged; + AutoSuggestBox.PointerEntered -= OnAutoSuggestBoxPointerEntered; + AutoSuggestBox.PointerExited -= OnAutoSuggestBoxPointerExited; + AutoSuggestBox.PointerCanceled -= OnAutoSuggestBoxPointerExited; + AutoSuggestBox.PointerCaptureLost -= OnAutoSuggestBoxPointerExited; + AutoSuggestBox.GotFocus -= OnAutoSuggestBoxGotFocus; + AutoSuggestBox.LostFocus -= OnAutoSuggestBoxLostFocus; // Remove any previous QueryIcon - autoSuggestBox.QueryIcon = default; + AutoSuggestBox.QueryIcon = default; } - autoSuggestBox = asb; + AutoSuggestBox = asb; - if (autoSuggestBox is not null) + if (AutoSuggestBox is not null) { - autoSuggestBox.Loaded += OnAutoSuggestBoxLoaded; - - autoSuggestBox.QuerySubmitted += OnAutoSuggestBoxQuerySubmitted; - autoSuggestBox.SuggestionChosen += OnAutoSuggestBoxSuggestionChosen; - autoSuggestBox.TextChanged += OnAutoSuggestBoxTextChanged; - autoSuggestBox.PointerEntered += OnAutoSuggestBoxPointerEntered; - autoSuggestBox.PointerExited += OnAutoSuggestBoxPointerExited; - autoSuggestBox.PointerCanceled += OnAutoSuggestBoxPointerExited; - autoSuggestBox.PointerCaptureLost += OnAutoSuggestBoxPointerExited; - autoSuggestBox.GotFocus += OnAutoSuggestBoxGotFocus; - autoSuggestBox.LostFocus += OnAutoSuggestBoxLostFocus; + AutoSuggestBox.Loaded += OnAutoSuggestBoxLoaded; + + AutoSuggestBox.QuerySubmitted += OnAutoSuggestBoxQuerySubmitted; + AutoSuggestBox.SuggestionChosen += OnAutoSuggestBoxSuggestionChosen; + AutoSuggestBox.TextChanged += OnAutoSuggestBoxTextChanged; + AutoSuggestBox.PointerEntered += OnAutoSuggestBoxPointerEntered; + AutoSuggestBox.PointerExited += OnAutoSuggestBoxPointerExited; + AutoSuggestBox.PointerCanceled += OnAutoSuggestBoxPointerExited; + AutoSuggestBox.PointerCaptureLost += OnAutoSuggestBoxPointerExited; + AutoSuggestBox.GotFocus += OnAutoSuggestBoxGotFocus; + AutoSuggestBox.LostFocus += OnAutoSuggestBoxLostFocus; // Setup a binding to the QueryIcon of the Parent if we're the last box. if (Content is ITokenStringContainer str) { - autoSuggestBox.Text = str.Text; + AutoSuggestBox.Text = str.Text; if (str.IsLast) { @@ -159,7 +157,7 @@ private void OnAutoSuggestBoxApplyTemplate(Microsoft.UI.Xaml.Controls.AutoSugges IconSourceElement iconSourceElement = new(); iconSourceElement.SetBinding(IconSourceElement.IconSourceProperty, iconBinding); - autoSuggestBox.QueryIcon = iconSourceElement; + AutoSuggestBox.QueryIcon = iconSourceElement; } } } @@ -179,28 +177,28 @@ private void OnAutoSuggestBoxGotFocus(object sender, RoutedEventArgs e) private void OnAutoSuggestBoxLoaded(object sender, RoutedEventArgs e) { - ArgumentNullException.ThrowIfNull(autoSuggestBox); - if (autoSuggestBox.FindDescendant(QueryButton) is Button queryButton) + ArgumentNullException.ThrowIfNull(AutoSuggestBox); + if (AutoSuggestBox.FindDescendant(QueryButton) is Button queryButton) { queryButton.Visibility = Owner.QueryIcon is not null ? Visibility.Visible : Visibility.Collapsed; } - if (autoSuggestTextBox is not null) + if (AutoSuggestTextBox is not null) { - autoSuggestTextBox.PreviewKeyDown -= OnAutoSuggestTextBoxPreviewKeyDown; - autoSuggestTextBox.TextChanging -= OnAutoSuggestTextBoxTextChanging; - autoSuggestTextBox.SelectionChanged -= OnAutoSuggestTextBoxSelectionChanged; - autoSuggestTextBox.SelectionChanging -= OnAutoSuggestTextBoxSelectionChanging; + AutoSuggestTextBox.PreviewKeyDown -= OnAutoSuggestTextBoxPreviewKeyDown; + AutoSuggestTextBox.TextChanging -= OnAutoSuggestTextBoxTextChanging; + AutoSuggestTextBox.SelectionChanged -= OnAutoSuggestTextBoxSelectionChanged; + AutoSuggestTextBox.SelectionChanging -= OnAutoSuggestTextBoxSelectionChanging; } - autoSuggestTextBox = autoSuggestBox.FindDescendant(); + AutoSuggestTextBox = AutoSuggestBox.FindDescendant(); - if (autoSuggestTextBox is not null) + if (AutoSuggestTextBox is not null) { - autoSuggestTextBox.PreviewKeyDown += OnAutoSuggestTextBoxPreviewKeyDown; - autoSuggestTextBox.TextChanging += OnAutoSuggestTextBoxTextChanging; - autoSuggestTextBox.SelectionChanged += OnAutoSuggestTextBoxSelectionChanged; - autoSuggestTextBox.SelectionChanging += OnAutoSuggestTextBoxSelectionChanging; + AutoSuggestTextBox.PreviewKeyDown += OnAutoSuggestTextBoxPreviewKeyDown; + AutoSuggestTextBox.TextChanging += OnAutoSuggestTextBoxTextChanging; + AutoSuggestTextBox.SelectionChanged += OnAutoSuggestTextBoxSelectionChanged; + AutoSuggestTextBox.SelectionChanging += OnAutoSuggestTextBoxSelectionChanging; AutoSuggestTextBoxLoaded?.Invoke(this, e); } diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/TextBlock/DescriptionTextBlock.cs b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/TextBlock/DescriptionTextBlock.cs index caa13aa3a8..600453fe9c 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/TextBlock/DescriptionTextBlock.cs +++ b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/TextBlock/DescriptionTextBlock.cs @@ -8,7 +8,6 @@ using Snap.Hutao.Model.Metadata; using Snap.Hutao.UI.Xaml.Control.TextBlock.Syntax.MiHoYo; using Snap.Hutao.UI.Xaml.Control.Theme; -using Windows.Foundation; using Windows.UI; using MUXCTextBlock = Microsoft.UI.Xaml.Controls.TextBlock; @@ -18,8 +17,6 @@ namespace Snap.Hutao.UI.Xaml.Control.TextBlock; [DependencyProperty("TextStyle", typeof(Style), default(Style), nameof(OnTextStyleChanged))] internal sealed partial class DescriptionTextBlock : ContentControl { - private readonly TypedEventHandler actualThemeChangedEventHandler; - public DescriptionTextBlock() { this.DisableInteraction(); @@ -30,8 +27,7 @@ public DescriptionTextBlock() Style = TextStyle, }; - actualThemeChangedEventHandler = OnActualThemeChanged; - ActualThemeChanged += actualThemeChangedEventHandler; + ActualThemeChanged += OnActualThemeChanged; } private static void OnDescriptionChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/TextBlock/HtmlDescriptionTextBlock.cs b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/TextBlock/HtmlDescriptionTextBlock.cs index 53dc7eaafb..b81d891b50 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/TextBlock/HtmlDescriptionTextBlock.cs +++ b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/TextBlock/HtmlDescriptionTextBlock.cs @@ -7,7 +7,6 @@ using Microsoft.UI.Xaml.Documents; using Microsoft.UI.Xaml.Media; using Snap.Hutao.UI.Xaml.Control.Theme; -using Windows.Foundation; using Windows.UI; using MUXCTextBlock = Microsoft.UI.Xaml.Controls.TextBlock; @@ -27,8 +26,6 @@ internal sealed partial class HtmlDescriptionTextBlock : ContentControl private static readonly int BoldTagFullLength = "".Length; private static readonly int BoldTagLeftLength = "".Length; - private readonly TypedEventHandler actualThemeChangedEventHandler; - /// /// 构造一个新的呈现描述文本的文本块 /// @@ -42,8 +39,7 @@ public HtmlDescriptionTextBlock() Style = TextStyle, }; - actualThemeChangedEventHandler = OnActualThemeChanged; - ActualThemeChanged += actualThemeChangedEventHandler; + ActualThemeChanged += OnActualThemeChanged; } private static void OnDescriptionChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Data/AdvancedCollectionView.cs b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Data/AdvancedCollectionView.cs index c07cb9a69e..481bbcf1b8 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Data/AdvancedCollectionView.cs +++ b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Data/AdvancedCollectionView.cs @@ -18,8 +18,6 @@ internal partial class AdvancedCollectionView : IAdvancedCollectionView, I where T : class, IAdvancedCollectionViewItem { private readonly bool created; - private readonly List view; - private readonly ObservableCollection sortDescriptions; private IList source; private Predicate? filter; @@ -28,9 +26,9 @@ internal partial class AdvancedCollectionView : IAdvancedCollectionView, I public AdvancedCollectionView(IList source) { - view = []; - sortDescriptions = []; - sortDescriptions.CollectionChanged += SortDescriptionsCollectionChanged; + View = []; + SortDescriptions = []; + SortDescriptions.CollectionChanged += SortDescriptionsCollectionChanged; Source = source; created = true; @@ -46,7 +44,7 @@ public AdvancedCollectionView(IList source) public int Count { - get => view.Count; + get => View.Count; } [Obsolete("IsReadOnly is not supported")] @@ -59,7 +57,7 @@ public IObservableVector CollectionGroups public T? CurrentItem { - get => CurrentPosition > -1 && CurrentPosition < view.Count ? view[CurrentPosition] : default; + get => CurrentPosition > -1 && CurrentPosition < View.Count ? View[CurrentPosition] : default; set => MoveCurrentTo(value); } @@ -67,7 +65,7 @@ public T? CurrentItem public bool HasMoreItems { get => source is ISupportIncrementalLoading { HasMoreItems: true }; } - public bool IsCurrentAfterLast { get => CurrentPosition >= view.Count; } + public bool IsCurrentAfterLast { get => CurrentPosition >= View.Count; } public bool IsCurrentBeforeFirst { get => CurrentPosition < 0; } @@ -86,11 +84,11 @@ public Predicate? Filter } } - public ObservableCollection SortDescriptions { get => sortDescriptions; } + public ObservableCollection SortDescriptions { get; } public IList SourceCollection { get => source; } - public List View { get => view; } + public List View { get; } private IList Source { @@ -136,8 +134,8 @@ static void OnSourceNotifyCollectionCollectionChanged(AdvancedCollectionView public T this[int index] { - get => view[index]; - set => view[index] = value; + get => View[index]; + set => View[index] = value; } public void Refresh() @@ -157,12 +155,12 @@ public void RefreshSorting() public IEnumerator GetEnumerator() { - return view.GetEnumerator(); + return View.GetEnumerator(); } IEnumerator IEnumerable.GetEnumerator() { - return view.GetEnumerator(); + return View.GetEnumerator(); } public void Add(T item) @@ -177,12 +175,12 @@ public void Clear() public bool Contains(T item) { - return view.Contains(item); + return View.Contains(item); } public void CopyTo(T[] array, int arrayIndex) { - view.CopyTo(array, arrayIndex); + View.CopyTo(array, arrayIndex); } public bool Remove(T item) @@ -192,7 +190,7 @@ public bool Remove(T item) public int IndexOf(T item) { - return view.IndexOf(item); + return View.IndexOf(item); } public void Insert(int index, T item) @@ -202,7 +200,7 @@ public void Insert(int index, T item) public void RemoveAt(int index) { - Remove(view[index]); + Remove(View[index]); } [SuppressMessage("", "SH007")] @@ -223,7 +221,7 @@ public bool MoveCurrentToFirst() public bool MoveCurrentToLast() { - return MoveCurrentToIndex(view.Count - 1); + return MoveCurrentToIndex(View.Count - 1); } public bool MoveCurrentToNext() @@ -248,7 +246,7 @@ public IDisposable DeferRefresh() int IComparer.Compare(T? x, T? y) { - foreach (SortDescription sd in sortDescriptions) + foreach (SortDescription sd in SortDescriptions) { object? cx, cy; @@ -298,7 +296,7 @@ private void ItemOnPropertyChanged(object? item, PropertyChangedEventArgs e) return; } - int oldIndex = view.IndexOf(typedItem); + int oldIndex = View.IndexOf(typedItem); // Check if item is in view if (oldIndex < 0) @@ -306,8 +304,8 @@ private void ItemOnPropertyChanged(object? item, PropertyChangedEventArgs e) return; } - view.RemoveAt(oldIndex); - int targetIndex = view.BinarySearch(typedItem, comparer: this); + View.RemoveAt(oldIndex); + int targetIndex = View.BinarySearch(typedItem, comparer: this); if (targetIndex < 0) { targetIndex = ~targetIndex; @@ -319,7 +317,7 @@ private void ItemOnPropertyChanged(object? item, PropertyChangedEventArgs e) bool itemWasCurrent = oldIndex == CurrentPosition; OnVectorChanged(new VectorChangedEventArgs(CollectionChange.ItemRemoved, oldIndex, typedItem)); - view.Insert(targetIndex, typedItem); + View.Insert(targetIndex, typedItem); OnVectorChanged(new VectorChangedEventArgs(CollectionChange.ItemInserted, targetIndex, typedItem)); @@ -328,7 +326,7 @@ private void ItemOnPropertyChanged(object? item, PropertyChangedEventArgs e) } else { - view.Insert(targetIndex, typedItem); + View.Insert(targetIndex, typedItem); } } @@ -366,7 +364,7 @@ private void DetachPropertyChangedHandler(IEnumerable items) private void HandleSortChanged() { - view.Sort(this); + View.Sort(this); OnVectorChanged(new VectorChangedEventArgs(CollectionChange.Reset)); } @@ -374,9 +372,9 @@ private void HandleFilterChanged() { if (filter is not null) { - for (int index = 0; index < view.Count; index++) + for (int index = 0; index < View.Count; index++) { - T item = view[index]; + T item = View[index]; if (filter(item)) { continue; @@ -387,7 +385,7 @@ private void HandleFilterChanged() } } - HashSet viewSet = new(view); + HashSet viewSet = new(View); int viewIndex = 0; for (int index = 0; index < source.Count; index++) { @@ -408,10 +406,10 @@ private void HandleFilterChanged() private void HandleSourceChanged() { T? currentItem = CurrentItem; - view.Clear(); - view.TrimExcess(); + View.Clear(); + View.TrimExcess(); - if (filter is null && sortDescriptions.Count <= 0) + if (filter is null && SortDescriptions.Count <= 0) { // Fast path View.AddRange(Source); @@ -425,19 +423,19 @@ private void HandleSourceChanged() continue; } - if (sortDescriptions.Count > 0) + if (SortDescriptions.Count > 0) { - int targetIndex = view.BinarySearch(item, this); + int targetIndex = View.BinarySearch(item, this); if (targetIndex < 0) { targetIndex = ~targetIndex; } - view.Insert(targetIndex, item); + View.Insert(targetIndex, item); } else { - view.Add(item); + View.Add(item); } } } @@ -513,9 +511,9 @@ private bool HandleSourceItemAdded(int newStartingIndex, T newItem, int? viewInd int newViewIndex = newStartingIndex; - if (sortDescriptions.Count > 0) + if (SortDescriptions.Count > 0) { - newViewIndex = view.BinarySearch(newItem, this); + newViewIndex = View.BinarySearch(newItem, this); if (newViewIndex < 0) { newViewIndex = ~newViewIndex; @@ -529,13 +527,13 @@ private bool HandleSourceItemAdded(int newStartingIndex, T newItem, int? viewInd return false; } - if (newStartingIndex == 0 || view.Count == 0) + if (newStartingIndex == 0 || View.Count == 0) { newViewIndex = 0; } else if (newStartingIndex == source.Count - 1) { - newViewIndex = view.Count; + newViewIndex = View.Count; } else if (viewIndex.HasValue) { @@ -551,7 +549,7 @@ private bool HandleSourceItemAdded(int newStartingIndex, T newItem, int? viewInd break; } - if (Equals(view[j], source[i])) + if (Equals(View[j], source[i])) { j++; } @@ -559,7 +557,7 @@ private bool HandleSourceItemAdded(int newStartingIndex, T newItem, int? viewInd } } - view.Insert(newViewIndex, newItem); + View.Insert(newViewIndex, newItem); if (newViewIndex <= CurrentPosition) { CurrentPosition++; @@ -576,9 +574,9 @@ private void HandleSourceItemRemoved(int oldStartingIndex, T oldItem) return; } - if (oldStartingIndex < 0 || oldStartingIndex >= view.Count || !Equals(view[oldStartingIndex], oldItem)) + if (oldStartingIndex < 0 || oldStartingIndex >= View.Count || !Equals(View[oldStartingIndex], oldItem)) { - oldStartingIndex = view.IndexOf(oldItem); + oldStartingIndex = View.IndexOf(oldItem); } if (oldStartingIndex < 0) @@ -591,13 +589,13 @@ private void HandleSourceItemRemoved(int oldStartingIndex, T oldItem) private void RemoveFromView(int itemIndex, T item) { - view.RemoveAt(itemIndex); + View.RemoveAt(itemIndex); if (itemIndex <= CurrentPosition) { CurrentPosition--; // Removed item is last item - if (view.Count == itemIndex) + if (View.Count == itemIndex) { OnCurrentChanged(); } @@ -623,7 +621,7 @@ private bool MoveCurrentToIndex(int i) return false; } - if (i < -1 || i >= view.Count) + if (i < -1 || i >= View.Count) { // view is empty, i is 0, current pos is -1 OnPropertyChanged(nameof(CurrentItem)); diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Media/Backdrop/SystemBackdropDesktopWindowXamlSourceAccess.cs b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Media/Backdrop/SystemBackdropDesktopWindowXamlSourceAccess.cs index cb9bbced10..03726943f2 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Media/Backdrop/SystemBackdropDesktopWindowXamlSourceAccess.cs +++ b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Media/Backdrop/SystemBackdropDesktopWindowXamlSourceAccess.cs @@ -12,11 +12,9 @@ namespace Snap.Hutao.UI.Xaml.Media.Backdrop; internal sealed partial class SystemBackdropDesktopWindowXamlSourceAccess : SystemBackdrop { - private readonly SystemBackdrop? innerBackdrop; - public SystemBackdropDesktopWindowXamlSourceAccess(SystemBackdrop? systemBackdrop) { - innerBackdrop = systemBackdrop; + InnerBackdrop = systemBackdrop; } public DesktopWindowXamlSource? DesktopWindowXamlSource @@ -24,23 +22,23 @@ public DesktopWindowXamlSource? DesktopWindowXamlSource get; private set; } - public SystemBackdrop? InnerBackdrop { get => innerBackdrop; } + public SystemBackdrop? InnerBackdrop { get; } protected override void OnTargetConnected(ICompositionSupportsSystemBackdrop target, XamlRoot xamlRoot) { DesktopWindowXamlSource = DesktopWindowXamlSource.FromAbi(target.As().ThisPtr); - if (innerBackdrop is not null) + if (InnerBackdrop is not null) { - ProtectedOnTargetConnected(innerBackdrop, target, xamlRoot); + ProtectedOnTargetConnected(InnerBackdrop, target, xamlRoot); } } protected override void OnTargetDisconnected(ICompositionSupportsSystemBackdrop target) { DesktopWindowXamlSource = null; - if (innerBackdrop is not null) + if (InnerBackdrop is not null) { - ProtectedOnTargetDisconnected(innerBackdrop, target); + ProtectedOnTargetDisconnected(InnerBackdrop, target); } } diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Media/Backdrop/TransparentBackdrop.cs b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Media/Backdrop/TransparentBackdrop.cs index 961b9ccad9..31b3ee8f5e 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Media/Backdrop/TransparentBackdrop.cs +++ b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Media/Backdrop/TransparentBackdrop.cs @@ -11,11 +11,11 @@ namespace Snap.Hutao.UI.Xaml.Media.Backdrop; internal sealed partial class TransparentBackdrop : SystemBackdrop, IBackdropNeedEraseBackground { - private object? compositorLock; + private readonly Color tintColor; - private Color tintColor; private Windows.UI.Composition.CompositionColorBrush? brush; private Windows.UI.Composition.Compositor? compositor; + private object? compositorLock; public TransparentBackdrop() : this(Colors.Transparent) diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/GuideView.xaml b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/GuideView.xaml index b39866d505..c2facf1ac5 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/GuideView.xaml +++ b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/GuideView.xaml @@ -31,7 +31,7 @@ Margin="0,0,4,4" Style="{StaticResource BorderCardStyle}"> - + ))] internal sealed partial class InfoBarView : UserControl { - private readonly IInfoBarService infoBarService; - public InfoBarView() { InitializeComponent(); DataContext = this; IServiceProvider serviceProvider = Ioc.Default; - infoBarService = serviceProvider.GetRequiredService(); + IInfoBarService infoBarService = serviceProvider.GetRequiredService(); InfoBars = infoBarService.Collection; InfoBars.CollectionChanged += OnInfoBarsCollectionChanged; Unloaded += OnUnloaded; diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/MainView.xaml.cs b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/MainView.xaml.cs index f491801428..1db25c7922 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/MainView.xaml.cs +++ b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/MainView.xaml.cs @@ -11,8 +11,6 @@ namespace Snap.Hutao.UI.Xaml.View; internal sealed partial class MainView : UserControl { - private readonly INavigationService navigationService; - public MainView() { IServiceProvider serviceProvider = Ioc.Default; @@ -25,7 +23,7 @@ public MainView() (DataContext as MainViewModel)?.Initialize(new BackgroundImagePresenterAccessor(BackgroundImagePresenter)); - navigationService = serviceProvider.GetRequiredService(); + INavigationService navigationService = serviceProvider.GetRequiredService(); if (navigationService is INavigationInitialization navigationInitialization) { navigationInitialization.Initialize(new NavigationViewAccessor(NavView, ContentFrame)); diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/Page/SettingPage.xaml b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/Page/SettingPage.xaml index 7c83325d39..04ab4c30b2 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/Page/SettingPage.xaml +++ b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/Page/SettingPage.xaml @@ -189,7 +189,7 @@ @@ -198,24 +198,24 @@ Command="{Binding LoginCommand}" Content="{shuxm:ResourceString Name=ViewPageSettingHutaoPassportLoginAction}" Style="{ThemeResource SettingButtonStyle}" - Visibility="{Binding User.IsLoggedIn, Converter={StaticResource BoolToVisibilityRevertConverter}}"/> + Visibility="{Binding HutaoUserOptions.IsLoggedIn, Converter={StaticResource BoolToVisibilityRevertConverter}}"/> diff --git a/src/Snap.Hutao/Snap.Hutao/ViewModel/GachaLog/Countdown.cs b/src/Snap.Hutao/Snap.Hutao/ViewModel/GachaLog/Countdown.cs index 297e286057..2917ef1dd6 100644 --- a/src/Snap.Hutao/Snap.Hutao/ViewModel/GachaLog/Countdown.cs +++ b/src/Snap.Hutao/Snap.Hutao/ViewModel/GachaLog/Countdown.cs @@ -2,21 +2,14 @@ // Licensed under the MIT license. using Snap.Hutao.Model; -using Snap.Hutao.Model.Metadata; namespace Snap.Hutao.ViewModel.GachaLog; internal sealed class Countdown { - public Countdown(Item item, GachaEvent gachaEvent) + public Countdown(Item item) { Item = item; - LastTime = gachaEvent.To; - - FormattedVersionOrder = $"{gachaEvent.Version} {(gachaEvent.Order is 1 ? SH.ViewModelGachaLogCountdownOrderUp : SH.ViewModelGachaLogCountdownOrderDown)}"; - - int cdDays = (int)(DateTimeOffset.Now - LastTime).TotalDays; - FormattedCountdown = cdDays > 0 ? SH.FormatViewModelGachaLogCountdownLastTimeDelta(cdDays) : SH.FormatViewModelGachaLogCountdownCurrentWishDelta(-cdDays); } public string FormattedLastTime @@ -24,11 +17,20 @@ public string FormattedLastTime get => LastTime <= DateTimeOffset.Now ? SH.FormatViewModelGachaLogCountdownLastTime(LastTime) : SH.ViewModelGachaLogCountdownCurrentWish; } - public string FormattedVersionOrder { get; } + public string FormattedVersionOrder { get => Histories.First().FormattedVersionOrder; } - public string FormattedCountdown { get; } + public string FormattedCountdown + { + get + { + int cdDays = (int)(DateTimeOffset.Now - LastTime).TotalDays; + return cdDays > 0 ? SH.FormatViewModelGachaLogCountdownLastTimeDelta(cdDays) : SH.FormatViewModelGachaLogCountdownCurrentWishDelta(-cdDays); + } + } public Item Item { get; } - internal DateTimeOffset LastTime { get; } -} \ No newline at end of file + public List Histories { get; set; } = []; + + internal DateTimeOffset LastTime { get => Histories.First().LastTime; } +} diff --git a/src/Snap.Hutao/Snap.Hutao/ViewModel/GachaLog/CountdownHistory.cs b/src/Snap.Hutao/Snap.Hutao/ViewModel/GachaLog/CountdownHistory.cs new file mode 100644 index 0000000000..a09aaf9278 --- /dev/null +++ b/src/Snap.Hutao/Snap.Hutao/ViewModel/GachaLog/CountdownHistory.cs @@ -0,0 +1,25 @@ +// Copyright (c) DGP Studio. All rights reserved. +// Licensed under the MIT license. + +using Snap.Hutao.Model.Metadata; + +namespace Snap.Hutao.ViewModel.GachaLog; + +internal sealed class CountdownHistory +{ + public CountdownHistory(GachaEvent gachaEvent) + { + LastTime = gachaEvent.To; + FormattedTime = $"{gachaEvent.To:yyyy-MM-dd}"; + FormattedVersionOrder = $"{gachaEvent.Version} {(gachaEvent.Order is 1 ? SH.ViewModelGachaLogCountdownOrderUp : SH.ViewModelGachaLogCountdownOrderDown)}"; + Banner = gachaEvent.Banner; + } + + public string FormattedTime { get; } + + public string FormattedVersionOrder { get; } + + public Uri Banner { get; } + + internal DateTimeOffset LastTime { get; } +} \ No newline at end of file From 952fdb2a63bfd595d1cc46467966bf87788cee1c Mon Sep 17 00:00:00 2001 From: qhy040404 Date: Mon, 25 Nov 2024 21:30:53 +0800 Subject: [PATCH 13/70] use onetime --- .../Snap.Hutao/UI/Xaml/View/Specialized/CountdownCard.xaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/Specialized/CountdownCard.xaml b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/Specialized/CountdownCard.xaml index 08866b79fe..9aa981b875 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/Specialized/CountdownCard.xaml +++ b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/Specialized/CountdownCard.xaml @@ -122,7 +122,7 @@ From 4a3a0244a02270f6fa969ce55c1f5254c04ebb73 Mon Sep 17 00:00:00 2001 From: DismissedLight <1686188646@qq.com> Date: Tue, 26 Nov 2024 22:05:03 +0800 Subject: [PATCH 14/70] refine UI --- .../UI/Xaml/Control/Theme/FlyoutStyle.xaml | 6 +++ .../Xaml/View/Specialized/CountdownCard.xaml | 54 +++++++++---------- 2 files changed, 32 insertions(+), 28 deletions(-) diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Theme/FlyoutStyle.xaml b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Theme/FlyoutStyle.xaml index 7a9a5b7ce1..d23e3d7b30 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Theme/FlyoutStyle.xaml +++ b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Theme/FlyoutStyle.xaml @@ -30,6 +30,12 @@ TargetType="FlyoutPresenter"> + + \ No newline at end of file diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Panel/DataTable/DataTable.cs b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Panel/DataTable/DataTable.cs new file mode 100644 index 0000000000..01508a2cc1 --- /dev/null +++ b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Panel/DataTable/DataTable.cs @@ -0,0 +1,399 @@ +// Copyright (c) DGP Studio. All rights reserved. +// Licensed under the MIT license. + +using CommunityToolkit.WinUI; +using Microsoft.UI.Xaml; +using Microsoft.UI.Xaml.Controls; +using Windows.Foundation; +using ContentControl = Microsoft.UI.Xaml.Controls.ContentControl; + +namespace Snap.Hutao.UI.Xaml.Control.Panel.DataTable; + +[DependencyProperty("ColumnSpacing", typeof(double))] +internal sealed partial class DataTable : Microsoft.UI.Xaml.Controls.Panel +{ + // TODO: We should cache this result and update if column properties change + internal bool IsAnyColumnAuto { get => Children.Any(static e => e is DataColumn { CurrentWidth.GridUnitType: GridUnitType.Auto }); } + + // TODO: Check with Sergio if there's a better structure here, as I don't need a Dictionary like ConditionalWeakTable + internal HashSet Rows { get; private set; } = []; + + internal void ColumnResized() + { + InvalidateArrange(); + + foreach (DataRow row in Rows) + { + row.InvalidateArrange(); + } + } + + protected override Size MeasureOverride(Size availableSize) + { + double fixedWidth = 0; + double proportionalUnits = 0; + double autoSized = 0; + double maxWidth = 0; + + double maxHeight = 0; + + List elements = Children.Where(static e => e.Visibility == Visibility.Visible).OfType().ToList(); + + // We only need to measure elements that are visible + foreach (DataColumn column in elements) + { + if (column.CurrentWidth.IsStar) + { + proportionalUnits += column.DesiredWidth.Value; + } + else if (column.CurrentWidth.IsAbsolute) + { + fixedWidth += column.DesiredWidth.Value; + } + } + + // Add in spacing between columns to our fixed size allotment + fixedWidth += (elements.Count - 1) * ColumnSpacing; + + // TODO: Handle infinite width? + double proportionalAmount = (availableSize.Width - fixedWidth) / proportionalUnits; + + foreach (DataColumn column in elements) + { + if (column.CurrentWidth.IsStar) + { + column.Measure(new Size(proportionalAmount * column.CurrentWidth.Value, availableSize.Height)); + } + else if (column.CurrentWidth.IsAbsolute) + { + column.Measure(new Size(column.CurrentWidth.Value, availableSize.Height)); + } + else + { + // TODO: Technically this is using 'Auto' on the Header content + // What the developer probably intends is it to be adjusted based on the contents of the rows... + // To enable this scenario, we'll need to actually measure the contents of the rows for that column + // in DataRow and figure out the maximum size to report back and adjust here in some sort of hand-shake + // for the layout process... (i.e. get the data in the measure step, use it in the arrange step here, + // then invalidate the child arranges [don't re-measure and cause loop]...) + + // For now, we'll just use the header content as a guideline to see if things work. + // Avoid negative values when columns don't fit `availableSize`. Otherwise the `Size` constructor will throw. + column.Measure(new Size(Math.Max(0, availableSize.Width - fixedWidth - autoSized), availableSize.Height)); + + // Keep track of already 'allotted' space, use either the maximum child size (if we know it) or the header content + autoSized += Math.Max(column.DesiredSize.Width, column.MaxChildDesiredWidth); + } + + maxWidth += column.DesiredSize.Width; + maxHeight = Math.Max(maxHeight, column.DesiredSize.Height); + } + + maxWidth += fixedWidth; + return new(Math.Min(availableSize.Width, maxWidth), maxHeight); + } + + protected override Size ArrangeOverride(Size finalSize) + { + double fixedWidth = 0; + double proportionalUnits = 0; + double autoSized = 0; + + List elements = Children.Where(static e => e.Visibility == Visibility.Visible).OfType().ToList(); + + // We only need to measure elements that are visible + foreach (DataColumn column in elements) + { + if (column.CurrentWidth.IsStar) + { + proportionalUnits += column.CurrentWidth.Value; + } + else if (column.CurrentWidth.IsAbsolute) + { + fixedWidth += column.CurrentWidth.Value; + } + else + { + autoSized += Math.Max(column.DesiredSize.Width, column.MaxChildDesiredWidth); + } + } + + // TODO: Handle infinite width? + // TODO: This can go out of bounds or something around here when pushing a resized column to the right... + double proportionalAmount = (finalSize.Width - fixedWidth - autoSized) / proportionalUnits; + + double width = 0; + double x = 0; + + foreach (DataColumn column in elements) + { + if (column.CurrentWidth.IsStar) + { + width = proportionalAmount * column.CurrentWidth.Value; + } + else if (column.CurrentWidth.IsAbsolute) + { + width = column.CurrentWidth.Value; + } + else + { + // TODO: We use the comparison of sizes a lot, should we cache in the DataColumn itself? + width = Math.Max(column.DesiredSize.Width, column.MaxChildDesiredWidth); + } + + column.Arrange(new(x, 0, width, finalSize.Height)); + x += width + ColumnSpacing; + } + + return finalSize; + } +} + +[DependencyProperty("CanResize", typeof(bool))] +[DependencyProperty("DesiredWidth", typeof(GridLength), default, nameof(OnDesiredWidthPropertyChanged), RawDefaultValue = "GridLength.Auto")] +internal partial class DataColumn : ContentControl +{ + private WeakReference? _parent; + + internal double MaxChildDesiredWidth { get; set; } + + internal GridLength CurrentWidth { get; private set; } + + public DataColumn() + { + this.DefaultStyleKey = typeof(DataColumn); + } + + protected override void OnApplyTemplate() + { + // Get DataTable parent weak reference for when we manipulate columns. + DataTable? parent = this.FindAscendant(); + if (parent is not null) + { + _parent = new(parent); + } + + base.OnApplyTemplate(); + } + + private static void OnDesiredWidthPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) + { + // If the developer updates the size of the column, update our internal copy + if (d is DataColumn col) + { + col.CurrentWidth = col.DesiredWidth; + } + } +} + +internal partial class DataRow : Microsoft.UI.Xaml.Controls.Panel +{ + // TODO: Create our own helper class here for the Header as well vs. straight-Grid. + // TODO: WeakReference? + private Microsoft.UI.Xaml.Controls.Panel? _parentPanel; + private DataTable? _parentTable; + + private bool _isTreeView; + private double _treePadding; + + public DataRow() + { + Unloaded += OnDataRowUnloaded; + } + + private void OnDataRowUnloaded(object sender, RoutedEventArgs e) + { + // Remove our references on unloaded + _parentTable?.Rows.Remove(this); + _parentTable = null; + _parentPanel = null; + } + + private Microsoft.UI.Xaml.Controls.Panel? InitializeParentHeaderConnection() + { + // TODO: Think about this expression instead... + // Drawback: Can't have Grid between table and header + // Positive: don't have to restart climbing the Visual Tree if we don't find ItemsPresenter... + ////var parent = this.FindAscendant(static (element) => element is ItemsPresenter or Grid); + + // TODO: Investigate what a scenario with an ItemsRepeater would look like (with a StackLayout, but using DataRow as the item's panel inside) + Microsoft.UI.Xaml.Controls.Panel? panel = null; + + // 1a. Get parent ItemsPresenter to find header + if (this.FindAscendant() is { } itemsPresenter) + { + // 2. Quickly check if the header is just what we're looking for. + if (itemsPresenter.Header is Grid or DataTable) + { + panel = itemsPresenter.Header as Microsoft.UI.Xaml.Controls.Panel; + } + else + { + // 3. Otherwise, try and find the inner thing we want. + panel = itemsPresenter.FindDescendant(static element => element is Grid or DataTable); + } + + // Check if we're in a TreeView + _isTreeView = itemsPresenter.FindAscendant() is not null; + } + + // 1b. If we can't find the ItemsPresenter, then we reach up outside to find the next thing we could use as a parent + panel ??= this.FindAscendant(static (element) => element is Grid or DataTable); + + // Cache actual datatable reference + if (panel is DataTable table) + { + _parentTable = table; + _parentTable.Rows.Add(this); // Add us to the row list. + } + + return panel; + } + + protected override Size MeasureOverride(Size availableSize) + { + // We should probably only have to do this once ever? + _parentPanel ??= InitializeParentHeaderConnection(); + + double maxHeight = 0; + + if (Children.Count > 0) + { + // If we don't have a grid, just measure first child to get row height and take available space + if (_parentPanel is null) + { + Children[0].Measure(availableSize); + return new Size(availableSize.Width, Children[0].DesiredSize.Height); + } + // Handle DataTable Parent + else if (_parentTable != null + && _parentTable.Children.Count == Children.Count) + { + // TODO: Need to check visibility + // Measure all children since we need to determine the row's height at minimum + for (int i = 0; i < Children.Count; i++) + { + if (_parentTable.Children[i] is DataColumn { CurrentWidth.GridUnitType: GridUnitType.Auto } col) + { + Children[i].Measure(availableSize); + + // For TreeView in the first column, we want the header to expand to encompass + // the maximum indentation of the tree. + double padding = 0; + //// TODO: We only want/need to do this once? We may want to do if we're not an Auto column too...? + if (i == 0 && _isTreeView) + { + // Get our containing grid from TreeViewItem, start with our indented padding + var parentContainer = this.FindAscendant("MultiSelectGrid") as Grid; + if (parentContainer != null) + { + _treePadding = parentContainer.Padding.Left; + // We assume our 'DataRow' is in the last child slot of the Grid, need to know how large the other columns are. + for (int j = 0; j < parentContainer.Children.Count - 1; j++) + { + // TODO: We may need to get the actual size here later in Arrange? + _treePadding += parentContainer.Children[j].DesiredSize.Width; + } + } + padding = _treePadding; + } + + // TODO: Do we want this to ever shrink back? + var prev = col.MaxChildDesiredWidth; + col.MaxChildDesiredWidth = Math.Max(col.MaxChildDesiredWidth, Children[i].DesiredSize.Width + padding); + if (col.MaxChildDesiredWidth != prev) + { + // If our measure has changed, then we have to invalidate the arrange of the DataTable + _parentTable.ColumnResized(); + } + + } + else if (_parentTable.Children[i] is DataColumn { CurrentWidth.GridUnitType: GridUnitType.Pixel } pixel) + { + Children[i].Measure(new(pixel.DesiredWidth.Value, availableSize.Height)); + } + else + { + Children[i].Measure(availableSize); + } + + maxHeight = Math.Max(maxHeight, Children[i].DesiredSize.Height); + } + } + // Fallback for Grid Hybrid scenario... + else if (_parentPanel is Grid grid + && _parentPanel.Children.Count == Children.Count + && grid.ColumnDefinitions.Count == Children.Count) + { + // TODO: Need to check visibility + // Measure all children since we need to determine the row's height at minimum + for (int i = 0; i < Children.Count; i++) + { + if (grid.ColumnDefinitions[i].Width.GridUnitType == GridUnitType.Pixel) + { + Children[i].Measure(new(grid.ColumnDefinitions[i].Width.Value, availableSize.Height)); + } + else + { + Children[i].Measure(availableSize); + } + + maxHeight = Math.Max(maxHeight, Children[i].DesiredSize.Height); + } + } + // TODO: What do we want to do if there's unequal children in the DataTable vs. DataRow? + } + + // Otherwise, return our parent's size as the desired size. + return new(_parentPanel?.DesiredSize.Width ?? availableSize.Width, maxHeight); + } + + protected override Size ArrangeOverride(Size finalSize) + { + int column = 0; + double x = 0; + + // Try and grab Column Spacing from DataTable, if not a parent Grid, if not 0. + double spacing = _parentTable?.ColumnSpacing ?? (_parentPanel as Grid)?.ColumnSpacing ?? 0; + + double width = 0; + + if (_parentPanel != null) + { + int i = 0; + foreach (UIElement child in Children.Where(static e => e.Visibility == Visibility.Visible)) + { + if (_parentPanel is Grid grid && + column < grid.ColumnDefinitions.Count) + { + width = grid.ColumnDefinitions[column++].ActualWidth; + } + // TODO: Need to check Column visibility here as well... + else if (_parentPanel is DataTable table && + column < table.Children.Count) + { + // TODO: This is messy... + width = (table.Children[column++] as DataColumn)?.ActualWidth ?? 0; + } + + // Note: For Auto, since we measured our children and bubbled that up to the DataTable layout, then the DataColumn size we grab above should account for the largest of our children. + if (i == 0) + { + child.Arrange(new Rect(x, 0, width, finalSize.Height)); + } + else + { + // If we're in a tree, remove the indentation from the layout of columns beyond the first. + child.Arrange(new Rect(x - _treePadding, 0, width, finalSize.Height)); + } + + x += width + spacing; + i++; + } + + return new Size(x - spacing, finalSize.Height); + } + + return finalSize; + } +} \ No newline at end of file diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Panel/IDataRow.cs b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Panel/IDataRow.cs deleted file mode 100644 index 3d82eb092f..0000000000 --- a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Panel/IDataRow.cs +++ /dev/null @@ -1,11 +0,0 @@ -// Copyright (c) DGP Studio. All rights reserved. -// Licensed under the MIT license. - -using System.Collections.Immutable; - -namespace Snap.Hutao.UI.Xaml.Control.Panel; - -internal interface IDataRow -{ - ImmutableArray ColumnsLength { get; set; } -} \ No newline at end of file diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/Page/CultivationPage.xaml b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/Page/CultivationPage.xaml index 5732127223..9951e26f6b 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/Page/CultivationPage.xaml +++ b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/Page/CultivationPage.xaml @@ -14,10 +14,9 @@ xmlns:shuxcc="using:Snap.Hutao.UI.Xaml.Control.Card" xmlns:shuxci="using:Snap.Hutao.UI.Xaml.Control.Image" xmlns:shuxcl="using:Snap.Hutao.UI.Xaml.Control.Layout" - xmlns:shuxcp="using:Snap.Hutao.UI.Xaml.Control.Panel" + xmlns:shuxcpd="using:Snap.Hutao.UI.Xaml.Control.Panel.DataTable" xmlns:shuxdc="using:Snap.Hutao.UI.Xaml.Data.Converter" xmlns:shuxm="using:Snap.Hutao.UI.Xaml.Markup" - xmlns:shuxvs="using:Snap.Hutao.UI.Xaml.View.Specialized" xmlns:shvcu="using:Snap.Hutao.ViewModel.Cultivation" d:DataContext="{d:DesignInstance shvcu:CultivationViewModel}" Background="{ThemeResource ApplicationPageBackgroundThemeBrush}" @@ -397,8 +396,8 @@ Visibility="{Binding ElementName=MaterialListPivot, Path=SelectedItem.Tag, Converter={StaticResource MaterialListSelectedItemIsStatisticsViewConverter}}"/> - - + + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/Specialized/ResinStatisticsItemView.xaml b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/Specialized/ResinStatisticsItemView.xaml deleted file mode 100644 index 9000e04e64..0000000000 --- a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/Specialized/ResinStatisticsItemView.xaml +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/Specialized/ResinStatisticsItemView.xaml.cs b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/Specialized/ResinStatisticsItemView.xaml.cs deleted file mode 100644 index 98f059337b..0000000000 --- a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/Specialized/ResinStatisticsItemView.xaml.cs +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright (c) DGP Studio. All rights reserved. -// Licensed under the MIT license. - -using Microsoft.UI.Xaml; -using Microsoft.UI.Xaml.Controls; -using Snap.Hutao.UI.Xaml.Control.Panel; -using Snap.Hutao.ViewModel.Cultivation; -using System.Collections.Immutable; -using Windows.Foundation; - -namespace Snap.Hutao.UI.Xaml.View.Specialized; - -[DependencyProperty("Item", typeof(ResinStatisticsItem))] -internal sealed partial class ResinStatisticsItemView : UserControl, IDataRow -{ - private static readonly Size InfiniteSize = new(double.PositiveInfinity, double.PositiveInfinity); - - public ResinStatisticsItemView() - { - InitializeComponent(); - } - - public ImmutableArray ColumnsLength - { - get - { - return RootGrid.Children - .GroupBy(element => Grid.GetColumn((FrameworkElement)element)) - .Select(group => group.MaxBy(a => - { - //a.Measure(InfiniteSize); - return a.DesiredSize.Width; - })) - .Select(a => a.DesiredSize.Width) - .ToImmutableArray(); - } - - set - { - ColumnDefinitionCollection collection = RootGrid.ColumnDefinitions; - for (int index = 0; index < value.Length; index++) - { - collection[index].Width = new GridLength(value[index]); - } - } - } -} \ No newline at end of file diff --git a/src/Snap.Hutao/Snap.Hutao/ViewModel/Cultivation/ResinStatistics.cs b/src/Snap.Hutao/Snap.Hutao/ViewModel/Cultivation/ResinStatistics.cs index 2697199bb0..c551abe7b3 100644 --- a/src/Snap.Hutao/Snap.Hutao/ViewModel/Cultivation/ResinStatistics.cs +++ b/src/Snap.Hutao/Snap.Hutao/ViewModel/Cultivation/ResinStatistics.cs @@ -46,6 +46,42 @@ public MaterialDropDistribution SelectedDropDistribution public ResinStatisticsItem WeeklyBoss { get; } = new(SH.ViewModelCultivationResinStatisticsWeeklyBossTitle, ResinStatisticsItemKind.WeeklyBoss, 60, false); + public IEnumerable ItemsSource + { + get + { + if (BlossomOfWealth.HasData) + { + yield return BlossomOfWealth; + } + + if (BlossomOfRevelation.HasData) + { + yield return BlossomOfRevelation; + } + + if (TalentAscension.HasData) + { + yield return TalentAscension; + } + + if (WeaponAscension.HasData) + { + yield return WeaponAscension; + } + + if (NormalBoss.HasData) + { + yield return NormalBoss; + } + + if (WeeklyBoss.HasData) + { + yield return WeeklyBoss; + } + } + } + public void RefreshBlossomOfWealth() { BlossomOfWealth.MiscMoraEarned = BlossomOfRevelation.Mora + From 6d712d9c81dd6ecb6887a5bce4cbbc9aef507031 Mon Sep 17 00:00:00 2001 From: DismissedLight <1686188646@qq.com> Date: Wed, 4 Dec 2024 14:41:06 +0800 Subject: [PATCH 65/70] datatable fine tuning --- .../UI/Shell/NotifyIconContextMenu.xaml | 14 +- .../Control/Panel/DataTable/DataColumn.cs | 31 ++ .../Control/Panel/DataTable/DataColumn.xaml | 4 +- .../Xaml/Control/Panel/DataTable/DataRow.cs | 225 +++++++++++++++ .../Xaml/Control/Panel/DataTable/DataTable.cs | 268 +----------------- .../UI/Xaml/View/Page/CultivationPage.xaml | 81 +++--- 6 files changed, 314 insertions(+), 309 deletions(-) create mode 100644 src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Panel/DataTable/DataColumn.cs create mode 100644 src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Panel/DataTable/DataRow.cs diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Shell/NotifyIconContextMenu.xaml b/src/Snap.Hutao/Snap.Hutao/UI/Shell/NotifyIconContextMenu.xaml index 1be4311833..1c6eed4795 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Shell/NotifyIconContextMenu.xaml +++ b/src/Snap.Hutao/Snap.Hutao/UI/Shell/NotifyIconContextMenu.xaml @@ -1,4 +1,4 @@ - - + - + - - + diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Panel/DataTable/DataRow.cs b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Panel/DataTable/DataRow.cs new file mode 100644 index 0000000000..8c7521ded4 --- /dev/null +++ b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Panel/DataTable/DataRow.cs @@ -0,0 +1,225 @@ +// Copyright (c) DGP Studio. All rights reserved. +// Licensed under the MIT license. + +using CommunityToolkit.WinUI; +using Microsoft.UI.Xaml; +using Microsoft.UI.Xaml.Controls; +using Windows.Foundation; + +namespace Snap.Hutao.UI.Xaml.Control.Panel.DataTable; + +internal sealed partial class DataRow : Microsoft.UI.Xaml.Controls.Panel +{ + // TODO: Create our own helper class here for the Header as well vs. straight-Grid. + // TODO: WeakReference? + private Microsoft.UI.Xaml.Controls.Panel? parentPanel; + private DataTable? parentTable; + + private bool isTreeView; + private double treePadding; + + public DataRow() + { + Unloaded += OnDataRowUnloaded; + } + + protected override Size MeasureOverride(Size availableSize) + { + // We should probably only have to do this once ever? + parentPanel ??= InitializeParentHeaderConnection(); + + double maxHeight = 0; + + if (Children.Count > 0) + { + // If we don't have a grid, just measure first child to get row height and take available space + if (parentPanel is null) + { + Children[0].Measure(availableSize); + return new(availableSize.Width, Children[0].DesiredSize.Height); + } + + // Handle DataTable Parent + if (parentTable is not null && parentTable.Children.Count == Children.Count) + { + // TODO: Need to check visibility + // Measure all children since we need to determine the row's height at minimum + for (int i = 0; i < Children.Count; i++) + { + switch (parentTable.Children[i]) + { + case DataColumn { CurrentWidth.GridUnitType: GridUnitType.Auto } col: + { + Children[i].Measure(availableSize); + + // For TreeView in the first column, we want the header to expand to encompass + // the maximum indentation of the tree. + double padding = 0; + //// TODO: We only want/need to do this once? We may want to do if we're not an Auto column too...? + if (i is 0 && isTreeView) + { + // Get our containing grid from TreeViewItem, start with our indented padding + if (this.FindAscendant("MultiSelectGrid") is Grid parentContainer) + { + treePadding = parentContainer.Padding.Left; + + // We assume our 'DataRow' is in the last child slot of the Grid, need to know how large the other columns are. + for (int j = 0; j < parentContainer.Children.Count - 1; j++) + { + // TODO: We may need to get the actual size here later in Arrange? + treePadding += parentContainer.Children[j].DesiredSize.Width; + } + } + + padding = treePadding; + } + + // TODO: Do we want this to ever shrink back? + double prev = col.MaxChildDesiredWidth; + col.MaxChildDesiredWidth = Math.Max(col.MaxChildDesiredWidth, Children[i].DesiredSize.Width + padding); + if (col.MaxChildDesiredWidth != prev) + { + // If our measure has changed, then we have to invalidate the arrangement of the DataTable + parentTable.ColumnResized(); + } + + break; + } + + case DataColumn { CurrentWidth.GridUnitType: GridUnitType.Pixel } pixel: + Children[i].Measure(new(pixel.DesiredWidth.Value, availableSize.Height)); + break; + default: + Children[i].Measure(availableSize); + break; + } + + maxHeight = Math.Max(maxHeight, Children[i].DesiredSize.Height); + } + } + + // Fallback for Grid Hybrid scenario... + else if (parentPanel is Grid grid + && parentPanel.Children.Count == Children.Count + && grid.ColumnDefinitions.Count == Children.Count) + { + // TODO: Need to check visibility + // Measure all children since we need to determine the row's height at minimum + for (int i = 0; i < Children.Count; i++) + { + if (grid.ColumnDefinitions[i].Width.GridUnitType is GridUnitType.Pixel) + { + Children[i].Measure(new(grid.ColumnDefinitions[i].Width.Value, availableSize.Height)); + } + else + { + Children[i].Measure(availableSize); + } + + maxHeight = Math.Max(maxHeight, Children[i].DesiredSize.Height); + } + } + } + + // Otherwise, return our parent's size as the desired size. + return new(parentPanel?.DesiredSize.Width ?? availableSize.Width, maxHeight); + } + + protected override Size ArrangeOverride(Size finalSize) + { + int column = 0; + double x = 0; + + // Try and grab Column Spacing from DataTable, if not a parent Grid, if not 0. + double spacing = parentTable?.ColumnSpacing ?? (parentPanel as Grid)?.ColumnSpacing ?? 0; + + double width = 0; + + if (parentPanel is not null) + { + int i = 0; + foreach (UIElement child in Children.Where(static e => e.Visibility == Visibility.Visible)) + { + if (parentPanel is Grid grid && column < grid.ColumnDefinitions.Count) + { + width = grid.ColumnDefinitions[column++].ActualWidth; + } + + // TODO: Need to check Column visibility here as well... + else if (parentPanel is DataTable table && + column < table.Children.Count) + { + // TODO: This is messy... + width = (table.Children[column++] as DataColumn)?.ActualWidth ?? 0; + } + + // Note: For Auto, since we measured our children and bubbled that up to the DataTable layout, then the DataColumn size we grab above should account for the largest of our children. + if (i == 0) + { + child.Arrange(new(x, 0, width, finalSize.Height)); + } + else + { + // If we're in a tree, remove the indentation from the layout of columns beyond the first. + child.Arrange(new(x - treePadding, 0, width, finalSize.Height)); + } + + x += width + spacing; + i++; + } + + return new(Math.Max(0, x - spacing), finalSize.Height); + } + + return finalSize; + } + + private void OnDataRowUnloaded(object sender, RoutedEventArgs e) + { + // Remove our references on unloaded + parentTable?.Rows.Remove(this); + parentTable = null; + parentPanel = null; + } + + private Microsoft.UI.Xaml.Controls.Panel? InitializeParentHeaderConnection() + { + // TODO: Think about this expression instead... + // Drawback: Can't have Grid between table and header + // Positive: don't have to restart climbing the Visual Tree if we don't find ItemsPresenter... + ////var parent = this.FindAscendant(static (element) => element is ItemsPresenter or Grid); + + // TODO: Investigate what a scenario with an ItemsRepeater would look like (with a StackLayout, but using DataRow as the item's panel inside) + Microsoft.UI.Xaml.Controls.Panel? panel = null; + + // 1a. Get parent ItemsPresenter to find header + if (this.FindAscendant() is { } itemsPresenter) + { + // 2. Quickly check if the header is just what we're looking for. + if (itemsPresenter.Header is Grid or DataTable) + { + panel = itemsPresenter.Header as Microsoft.UI.Xaml.Controls.Panel; + } + else + { + // 3. Otherwise, try and find the inner thing we want. + panel = itemsPresenter.FindDescendant(static element => element is Grid or DataTable); + } + + // Check if we're in a TreeView + isTreeView = itemsPresenter.FindAscendant() is not null; + } + + // 1b. If we can't find the ItemsPresenter, then we reach up outside to find the next thing we could use as a parent + panel ??= this.FindAscendant(static (element) => element is Grid or DataTable); + + // Cache actual datatable reference + if (panel is DataTable table) + { + parentTable = table; + parentTable.Rows.Add(this); // Add us to the row list. + } + + return panel; + } +} \ No newline at end of file diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Panel/DataTable/DataTable.cs b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Panel/DataTable/DataTable.cs index 01508a2cc1..6f4fe0827a 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Panel/DataTable/DataTable.cs +++ b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Panel/DataTable/DataTable.cs @@ -1,30 +1,23 @@ // Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. -using CommunityToolkit.WinUI; using Microsoft.UI.Xaml; -using Microsoft.UI.Xaml.Controls; using Windows.Foundation; -using ContentControl = Microsoft.UI.Xaml.Controls.ContentControl; namespace Snap.Hutao.UI.Xaml.Control.Panel.DataTable; [DependencyProperty("ColumnSpacing", typeof(double))] internal sealed partial class DataTable : Microsoft.UI.Xaml.Controls.Panel { - // TODO: We should cache this result and update if column properties change - internal bool IsAnyColumnAuto { get => Children.Any(static e => e is DataColumn { CurrentWidth.GridUnitType: GridUnitType.Auto }); } - - // TODO: Check with Sergio if there's a better structure here, as I don't need a Dictionary like ConditionalWeakTable - internal HashSet Rows { get; private set; } = []; + internal HashSet Rows { get; } = []; internal void ColumnResized() { - InvalidateArrange(); + InvalidateMeasure(); foreach (DataRow row in Rows) { - row.InvalidateArrange(); + row.InvalidateMeasure(); } } @@ -85,11 +78,11 @@ protected override Size MeasureOverride(Size availableSize) autoSized += Math.Max(column.DesiredSize.Width, column.MaxChildDesiredWidth); } - maxWidth += column.DesiredSize.Width; + maxWidth += column.MaxChildDesiredWidth; maxHeight = Math.Max(maxHeight, column.DesiredSize.Height); } - maxWidth += fixedWidth; + maxWidth += (elements.Count - 1) * ColumnSpacing; return new(Math.Min(availableSize.Width, maxWidth), maxHeight); } @@ -145,255 +138,6 @@ protected override Size ArrangeOverride(Size finalSize) x += width + ColumnSpacing; } - return finalSize; - } -} - -[DependencyProperty("CanResize", typeof(bool))] -[DependencyProperty("DesiredWidth", typeof(GridLength), default, nameof(OnDesiredWidthPropertyChanged), RawDefaultValue = "GridLength.Auto")] -internal partial class DataColumn : ContentControl -{ - private WeakReference? _parent; - - internal double MaxChildDesiredWidth { get; set; } - - internal GridLength CurrentWidth { get; private set; } - - public DataColumn() - { - this.DefaultStyleKey = typeof(DataColumn); - } - - protected override void OnApplyTemplate() - { - // Get DataTable parent weak reference for when we manipulate columns. - DataTable? parent = this.FindAscendant(); - if (parent is not null) - { - _parent = new(parent); - } - - base.OnApplyTemplate(); - } - - private static void OnDesiredWidthPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) - { - // If the developer updates the size of the column, update our internal copy - if (d is DataColumn col) - { - col.CurrentWidth = col.DesiredWidth; - } - } -} - -internal partial class DataRow : Microsoft.UI.Xaml.Controls.Panel -{ - // TODO: Create our own helper class here for the Header as well vs. straight-Grid. - // TODO: WeakReference? - private Microsoft.UI.Xaml.Controls.Panel? _parentPanel; - private DataTable? _parentTable; - - private bool _isTreeView; - private double _treePadding; - - public DataRow() - { - Unloaded += OnDataRowUnloaded; - } - - private void OnDataRowUnloaded(object sender, RoutedEventArgs e) - { - // Remove our references on unloaded - _parentTable?.Rows.Remove(this); - _parentTable = null; - _parentPanel = null; - } - - private Microsoft.UI.Xaml.Controls.Panel? InitializeParentHeaderConnection() - { - // TODO: Think about this expression instead... - // Drawback: Can't have Grid between table and header - // Positive: don't have to restart climbing the Visual Tree if we don't find ItemsPresenter... - ////var parent = this.FindAscendant(static (element) => element is ItemsPresenter or Grid); - - // TODO: Investigate what a scenario with an ItemsRepeater would look like (with a StackLayout, but using DataRow as the item's panel inside) - Microsoft.UI.Xaml.Controls.Panel? panel = null; - - // 1a. Get parent ItemsPresenter to find header - if (this.FindAscendant() is { } itemsPresenter) - { - // 2. Quickly check if the header is just what we're looking for. - if (itemsPresenter.Header is Grid or DataTable) - { - panel = itemsPresenter.Header as Microsoft.UI.Xaml.Controls.Panel; - } - else - { - // 3. Otherwise, try and find the inner thing we want. - panel = itemsPresenter.FindDescendant(static element => element is Grid or DataTable); - } - - // Check if we're in a TreeView - _isTreeView = itemsPresenter.FindAscendant() is not null; - } - - // 1b. If we can't find the ItemsPresenter, then we reach up outside to find the next thing we could use as a parent - panel ??= this.FindAscendant(static (element) => element is Grid or DataTable); - - // Cache actual datatable reference - if (panel is DataTable table) - { - _parentTable = table; - _parentTable.Rows.Add(this); // Add us to the row list. - } - - return panel; - } - - protected override Size MeasureOverride(Size availableSize) - { - // We should probably only have to do this once ever? - _parentPanel ??= InitializeParentHeaderConnection(); - - double maxHeight = 0; - - if (Children.Count > 0) - { - // If we don't have a grid, just measure first child to get row height and take available space - if (_parentPanel is null) - { - Children[0].Measure(availableSize); - return new Size(availableSize.Width, Children[0].DesiredSize.Height); - } - // Handle DataTable Parent - else if (_parentTable != null - && _parentTable.Children.Count == Children.Count) - { - // TODO: Need to check visibility - // Measure all children since we need to determine the row's height at minimum - for (int i = 0; i < Children.Count; i++) - { - if (_parentTable.Children[i] is DataColumn { CurrentWidth.GridUnitType: GridUnitType.Auto } col) - { - Children[i].Measure(availableSize); - - // For TreeView in the first column, we want the header to expand to encompass - // the maximum indentation of the tree. - double padding = 0; - //// TODO: We only want/need to do this once? We may want to do if we're not an Auto column too...? - if (i == 0 && _isTreeView) - { - // Get our containing grid from TreeViewItem, start with our indented padding - var parentContainer = this.FindAscendant("MultiSelectGrid") as Grid; - if (parentContainer != null) - { - _treePadding = parentContainer.Padding.Left; - // We assume our 'DataRow' is in the last child slot of the Grid, need to know how large the other columns are. - for (int j = 0; j < parentContainer.Children.Count - 1; j++) - { - // TODO: We may need to get the actual size here later in Arrange? - _treePadding += parentContainer.Children[j].DesiredSize.Width; - } - } - padding = _treePadding; - } - - // TODO: Do we want this to ever shrink back? - var prev = col.MaxChildDesiredWidth; - col.MaxChildDesiredWidth = Math.Max(col.MaxChildDesiredWidth, Children[i].DesiredSize.Width + padding); - if (col.MaxChildDesiredWidth != prev) - { - // If our measure has changed, then we have to invalidate the arrange of the DataTable - _parentTable.ColumnResized(); - } - - } - else if (_parentTable.Children[i] is DataColumn { CurrentWidth.GridUnitType: GridUnitType.Pixel } pixel) - { - Children[i].Measure(new(pixel.DesiredWidth.Value, availableSize.Height)); - } - else - { - Children[i].Measure(availableSize); - } - - maxHeight = Math.Max(maxHeight, Children[i].DesiredSize.Height); - } - } - // Fallback for Grid Hybrid scenario... - else if (_parentPanel is Grid grid - && _parentPanel.Children.Count == Children.Count - && grid.ColumnDefinitions.Count == Children.Count) - { - // TODO: Need to check visibility - // Measure all children since we need to determine the row's height at minimum - for (int i = 0; i < Children.Count; i++) - { - if (grid.ColumnDefinitions[i].Width.GridUnitType == GridUnitType.Pixel) - { - Children[i].Measure(new(grid.ColumnDefinitions[i].Width.Value, availableSize.Height)); - } - else - { - Children[i].Measure(availableSize); - } - - maxHeight = Math.Max(maxHeight, Children[i].DesiredSize.Height); - } - } - // TODO: What do we want to do if there's unequal children in the DataTable vs. DataRow? - } - - // Otherwise, return our parent's size as the desired size. - return new(_parentPanel?.DesiredSize.Width ?? availableSize.Width, maxHeight); - } - - protected override Size ArrangeOverride(Size finalSize) - { - int column = 0; - double x = 0; - - // Try and grab Column Spacing from DataTable, if not a parent Grid, if not 0. - double spacing = _parentTable?.ColumnSpacing ?? (_parentPanel as Grid)?.ColumnSpacing ?? 0; - - double width = 0; - - if (_parentPanel != null) - { - int i = 0; - foreach (UIElement child in Children.Where(static e => e.Visibility == Visibility.Visible)) - { - if (_parentPanel is Grid grid && - column < grid.ColumnDefinitions.Count) - { - width = grid.ColumnDefinitions[column++].ActualWidth; - } - // TODO: Need to check Column visibility here as well... - else if (_parentPanel is DataTable table && - column < table.Children.Count) - { - // TODO: This is messy... - width = (table.Children[column++] as DataColumn)?.ActualWidth ?? 0; - } - - // Note: For Auto, since we measured our children and bubbled that up to the DataTable layout, then the DataColumn size we grab above should account for the largest of our children. - if (i == 0) - { - child.Arrange(new Rect(x, 0, width, finalSize.Height)); - } - else - { - // If we're in a tree, remove the indentation from the layout of columns beyond the first. - child.Arrange(new Rect(x - _treePadding, 0, width, finalSize.Height)); - } - - x += width + spacing; - i++; - } - - return new Size(x - spacing, finalSize.Height); - } - - return finalSize; + return new(x - ColumnSpacing, finalSize.Height); } } \ No newline at end of file diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/Page/CultivationPage.xaml b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/Page/CultivationPage.xaml index 9951e26f6b..35167b6a4f 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/Page/CultivationPage.xaml +++ b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/Page/CultivationPage.xaml @@ -396,48 +396,49 @@ Visibility="{Binding ElementName=MaterialListPivot, Path=SelectedItem.Tag, Converter={StaticResource MaterialListSelectedItemIsStatisticsViewConverter}}"/> - + - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - + + + + - - + + + UriSource="ms-appx:///Resource/Icon/UI_ItemIcon_211.png" + Visibility="{Binding CondensedResin, Converter={StaticResource EmptyObjectToBoolConverter}}"/> - - - + From 1df40e4ff6ead00d06fe95a460077b49c2732066 Mon Sep 17 00:00:00 2001 From: DismissedLight <1686188646@qq.com> Date: Wed, 4 Dec 2024 14:57:58 +0800 Subject: [PATCH 66/70] remove BOM 1 --- .../Core/Abstraction/BuilderExtension.cs | 2 +- .../Snap.Hutao/Core/Abstraction/IBuilder.cs | 2 +- .../Core/Abstraction/IDeconstruct.cs | 2 +- .../Snap.Hutao/Core/Abstraction/IPinnable.cs | 2 +- .../Core/Abstraction/IResurrectable.cs | 2 +- .../Snap.Hutao/Core/Caching/IImageCache.cs | 2 +- .../Caching/IImageCacheDownloadOperation.cs | 2 +- .../Snap.Hutao/Core/Caching/ImageCache.cs | 2 +- .../Caching/ImageCacheDownloadOperation.cs | 2 +- .../Core/Collection/TwoEnumerbleEnumerator.cs | 2 +- .../Core/CommandLineArgumentSeparator.cs | 2 +- .../Snap.Hutao/Core/CommandLineBuilder.cs | 2 +- .../NotifyPropertyChangedBox.cs | 2 +- .../DataTransfer/DefaultClipboardSource.cs | 2 +- .../Core/DataTransfer/IClipboardProvider.cs | 2 +- .../Core/Database/Abstraction/IReorderable.cs | 2 +- .../Core/Database/Abstraction/ISelectable.cs | 2 +- .../Core/Database/AdvancedDbCollectionView.cs | 2 +- .../Core/Database/DbSetExtension.cs | 2 +- .../Database/IAdvancedDbCollectionView.cs | 2 +- .../ObservableReorderableDbCollection.cs | 2 +- ...ervableReorderableDbCollectionExtension.cs | 2 +- .../Core/Database/SelectableExtension.cs | 2 +- .../DriverMediaTypeAwareFactory.cs | 2 +- .../IDriverMediaTypeAwareFactory.cs | 2 +- .../Abstraction/IOverseaSupportFactory.cs | 2 +- .../Abstraction/OverseaSupportFactory.cs | 2 +- .../DependencyInjection.cs | 2 +- .../DependencyInjection/IocConfiguration.cs | 2 +- .../IocHttpClientConfiguration.cs | 2 +- .../ServiceCollectionExtension.cs | 2 +- .../ServiceProviderExtension.cs | 2 +- .../Core/Diagnostics/MeasureExecutionToken.cs | 2 +- .../Core/Diagnostics/ValueStopwatch.cs | 2 +- .../Core/ExceptionService/ExceptionFormat.cs | 2 +- .../ExceptionHandlingSupport.cs | 2 +- .../Core/ExceptionService/HutaoException.cs | 2 +- .../Snap.Hutao/Core/Gen2GcCallback.cs | 2 +- .../Imaging/SoftwareBitmapExtension.cs | 2 +- .../Core/Graphics/PointInt32Kind.cs | 2 +- .../Snap.Hutao/Core/Graphics/PointUInt16.cs | 2 +- .../Snap.Hutao/Core/Graphics/RectInt16.cs | 2 +- .../Core/Graphics/RectInt32Convert.cs | 2 +- .../Core/Graphics/RectInt32Extension.cs | 2 +- .../Snap.Hutao/Core/Graphics/RectInt32View.cs | 2 +- .../Core/Graphics/SizeInt32Extension.cs | 2 +- .../Snap.Hutao/Core/HutaoRuntime.cs | 2 +- .../Zstandard/ZstandardDecompressionStream.cs | 2 +- .../Zstandard/ZstandardException.cs | 2 +- .../Snap.Hutao/Core/IO/DirectoryOperation.cs | 2 +- .../Snap.Hutao/Core/IO/FileOperation.cs | 2 +- .../Snap.Hutao/Core/IO/Hashing/Hash.cs | 2 +- .../Snap.Hutao/Core/IO/Hashing/XXH64.cs | 2 +- .../Core/IO/Http/Loopback/LoopbackSupport.cs | 2 +- .../Http/Proxy/HttpProxyUsingSystemProxy.cs | 2 +- .../Core/IO/Http/Sharding/AsyncHttpShards.cs | 2 +- .../IO/Http/Sharding/HttpShardCopyWorker.cs | 2 +- .../Sharding/HttpShardCopyWorkerOptions.cs | 2 +- .../Core/IO/Http/Sharding/IHttpShard.cs | 2 +- .../IO/Http/Sharding/IHttpShardCopyWorker.cs | 2 +- .../Snap.Hutao/Core/IO/Ini/IniComment.cs | 2 +- .../Snap.Hutao/Core/IO/Ini/IniElement.cs | 2 +- .../Snap.Hutao/Core/IO/Ini/IniParameter.cs | 2 +- .../Snap.Hutao/Core/IO/Ini/IniSection.cs | 2 +- .../Snap.Hutao/Core/IO/Ini/IniSerializer.cs | 2 +- .../Snap.Hutao/Core/IO/LogicalDriver.cs | 2 +- .../Snap.Hutao/Core/IO/PhysicalDriver.cs | 2 +- .../Snap.Hutao/Core/IO/RandomAccessRead.cs | 2 +- .../Snap.Hutao/Core/IO/StreamCopyStatus.cs | 2 +- .../Snap.Hutao/Core/IO/StreamCopyWorker.cs | 2 +- .../Snap.Hutao/Core/IO/StreamReaderWriter.cs | 2 +- .../Snap.Hutao/Core/IO/TempFileStream.cs | 2 +- .../Snap.Hutao/Core/IO/ValueFile.cs | 2 +- .../Snap.Hutao/Core/IO/ValueFileExtension.cs | 2 +- .../Snap.Hutao/Core/InstalledLocation.cs | 2 +- .../Core/Json/Annotation/JsonEnumAttribute.cs | 2 +- .../Json/Annotation/JsonEnumSerializeType.cs | 2 +- .../Core/Json/Converter/DateTimeConverter.cs | 2 +- .../Json/Converter/DateTimeOffsetConverter.cs | 2 +- .../Json/Converter/UnsafeEnumConverter.cs | 2 +- .../Core/Json/JsonExtensionDataDictionary.cs | 2 +- .../Snap.Hutao/Core/Json/JsonOptions.cs | 2 +- .../Core/Json/JsonTypeInfoResolvers.cs | 2 +- .../Core/LifeCycle/AppActivation.cs | 2 +- .../AppActivationArgumentsExtensions.cs | 2 +- .../Core/LifeCycle/AppInstanceExtension.cs | 2 +- .../LifeCycle/CurrentXamlWindowReference.cs | 2 +- .../CurrentXamlWindowReferenceExtension.cs | 2 +- .../LifeCycle/HutaoActivationArguments.cs | 2 +- .../Core/LifeCycle/HutaoActivationKind.cs | 2 +- .../Core/LifeCycle/IAppActivation.cs | 2 +- .../IAppActivationActionHandlersAccess.cs | 2 +- .../LifeCycle/ICurrentXamlWindowReference.cs | 2 +- .../AutomationCultivaionEntry.cs | 2 +- .../AutomationCultivaionItem.cs | 2 +- .../AutomationGameAccount.cs | 2 +- .../AutomationGameAccountType.cs | 2 +- .../AutomationTaskDefinition.cs | 2 +- .../AutomationTaskStepDefinition.cs | 2 +- .../BetterGenshinImpactNamedPipeClient.cs | 2 +- ...mulativeSteppedAutomationTaskDefinition.cs | 2 +- .../FixedSteppedAutomationTaskDefinition.cs | 2 +- .../BetterGenshinImpact/PipeRequest.cs | 2 +- .../BetterGenshinImpact/PipeRequestKind.cs | 2 +- .../BetterGenshinImpact/PipeResponse.cs | 2 +- .../BetterGenshinImpact/PipeResponseKind.cs | 2 +- .../Model/ElevationStatusResponse.cs | 2 +- .../NamedPipeClientStreamExtension.cs | 2 +- .../InterProcess/PipePacketCommand.cs | 2 +- .../InterProcess/PipePacketContentType.cs | 2 +- .../InterProcess/PipePacketHeader.cs | 2 +- .../LifeCycle/InterProcess/PipePacketType.cs | 2 +- .../InterProcess/PipeStreamExtension.cs | 2 +- .../InterProcess/PrivateNamedPipe.cs | 2 +- .../InterProcess/PrivateNamedPipeClient.cs | 2 +- .../PrivateNamedPipeMessageDispatcher.cs | 2 +- .../InterProcess/PrivateNamedPipeServer.cs | 2 +- .../Snap.Hutao/Core/Linq/DictionaryLookup.cs | 2 +- .../Core/Linq/DictionaryLookupExtension.cs | 2 +- .../ConsoleVirtualTerminalSequences.cs | 2 +- .../Core/Logging/ConsoleWindowLifeTime.cs | 2 +- .../Snap.Hutao/Core/Logging/LogArgument.cs | 2 +- .../Snap.Hutao/Core/Logging/LogMessage.cs | 2 +- .../Core/Logging/LoggerExtension.cs | 2 +- .../Core/Logging/LoggerFactoryExtension.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Core/Random.cs | 2 +- .../Snap.Hutao/Core/ReadOnlySpan2D.cs | 2 +- .../Snap.Hutao/Core/RuntimeOptions.cs | 2 +- .../Core/Scripting/HutaoDiagnostics.cs | 2 +- .../Core/Scripting/IHutaoDiagnostics.cs | 2 +- .../Core/Scripting/ScriptContext.cs | 2 +- .../Snap.Hutao/Core/Setting/LocalSetting.cs | 2 +- .../Snap.Hutao/Core/Setting/SettingKeys.cs | 2 +- .../Core/Setting/UnsafeLocalSetting.cs | 2 +- .../Core/Shell/IShellLinkInterop.cs | 2 +- .../Snap.Hutao/Core/Shell/ShellLinkInterop.cs | 2 +- .../Core/Threading/Abstraction/IAwaitable.cs | 2 +- .../Core/Threading/Abstraction/IAwaiter.cs | 2 +- .../Threading/Abstraction/ICriticalAwaiter.cs | 2 +- .../Core/Threading/AsyncAutoResetEvent.cs | 2 +- .../Snap.Hutao/Core/Threading/AsyncBarrier.cs | 2 +- .../Core/Threading/AsyncCountdownEvent.cs | 2 +- .../Core/Threading/AsyncKeyedLock.cs | 2 +- .../Snap.Hutao/Core/Threading/AsyncLock.cs | 2 +- .../Core/Threading/AsyncManualResetEvent.cs | 2 +- .../Core/Threading/AsyncReaderWriterLock.cs | 2 +- .../Threading/DispatcherQueueExtension.cs | 2 +- .../DispatcherQueueSwitchOperation.cs | 2 +- .../Snap.Hutao/Core/Threading/ITaskContext.cs | 2 +- .../Core/Threading/ITaskContextUnsafe.cs | 2 +- .../Snap.Hutao/Core/Threading/LazySlim.cs | 2 +- .../RateLimiting/ProgressReportRateLimiter.cs | 2 +- .../RateLimiting/StreamCopyRateLimiter.cs | 2 +- .../TokenBucketRateLimiterExtension.cs | 2 +- .../Core/Threading/SemaphoreSlimExtension.cs | 2 +- .../Core/Threading/SemaphoreSlimToken.cs | 2 +- .../Core/Threading/SpinWaitPolyfill.cs | 2 +- .../Snap.Hutao/Core/Threading/TaskContext.cs | 2 +- .../TaskContextWrapperForDispatcherQueue.cs | 2 +- .../Core/Threading/TaskExtension.cs | 2 +- .../Threading/ThreadPoolSwitchOperation.cs | 2 +- .../Snap.Hutao/Core/Threading/ValueResult.cs | 2 +- .../Core/Threading/ValueResultExtension.cs | 2 +- .../Snap.Hutao/Core/TypeNameHelper.cs | 2 +- .../Snap.Hutao/Core/UniversalApiContract.cs | 2 +- .../Snap.Hutao/Core/UnsafeDateTimeOffset.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Core/Uuid.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Core/Void.cs | 2 +- .../Snap.Hutao/Core/WebView2Version.cs | 2 +- .../Snap.Hutao/Core/WindowsVersion.cs | 2 +- .../AppNotificationBuilderExtension.cs | 2 +- .../Extension/CollectionExtension.cs | 2 +- .../Extension/DateTimeOffsetExtension.cs | 2 +- .../Extension/DictionaryExtension.cs | 2 +- .../Extension/EnumerableExtension.cs | 2 +- .../Snap.Hutao/Extension/GroupingExtension.cs | 2 +- .../Extension/ImmutableArrayExtension.cs | 2 +- .../Extension/ImmutableDictionaryExtension.cs | 2 +- .../Snap.Hutao/Extension/ListExtension.cs | 2 +- .../Extension/MemoryCacheExtension.cs | 2 +- .../Extension/NameValueCollectionExtension.cs | 2 +- .../Snap.Hutao/Extension/NullableExtension.cs | 2 +- .../Snap.Hutao/Extension/NumberExtension.cs | 2 +- .../Extension/PackageVersionExtension.cs | 2 +- .../Snap.Hutao/Extension/RefValueTuple.cs | 2 +- .../Snap.Hutao/Extension/SizeExtension.cs | 2 +- .../Snap.Hutao/Extension/SpanExtension.cs | 2 +- .../Extension/StorageFileExtension.cs | 2 +- .../Extension/StringBuilderExtension.cs | 2 +- .../Snap.Hutao/Extension/StringExtension.cs | 2 +- .../Snap.Hutao/Extension/WinRTExtension.cs | 2 +- .../Snap.Hutao/Extension/ZipSpan.cs | 2 +- .../ContentDialog/ContentDialogFactory.cs | 2 +- .../ContentDialogFactoryExtension.cs | 2 +- .../ContentDialog/ContentDialogQueue.cs | 2 +- .../ContentDialog/ContentDialogScope.cs | 2 +- .../ContentDialog/IContentDialogFactory.cs | 2 +- .../ContentDialog/IContentDialogQueue.cs | 2 +- .../ContentDialog/ValueContentDialogTask.cs | 2 +- .../Factory/IO/IMemoryStreamFactory.cs | 2 +- .../Factory/IO/MemoryStreamFactory.cs | 2 +- .../IO/MemoryStreamFactoryExtension.cs | 2 +- .../Picker/FileSystemPickerInteraction.cs | 2 +- .../FileSystemPickerInteractionExtension.cs | 2 +- .../Picker/IFileSystemPickerInteraction.cs | 2 +- .../Progress/DispatcherQueueProgress.cs | 2 +- .../Factory/Progress/IProgressFactory.cs | 2 +- .../Factory/Progress/ProgressFactory.cs | 2 +- .../Factory/QuickResponse/IQRCodeFactory.cs | 2 +- .../Factory/QuickResponse/QRCodeFactory.cs | 2 +- .../Model/Calculable/CalculableAvatar.cs | 2 +- .../Model/Calculable/CalculableOptions.cs | 2 +- .../Model/Calculable/CalculableSkill.cs | 2 +- .../Model/Calculable/CalculableWeapon.cs | 2 +- .../Model/Calculable/ICalculable.cs | 2 +- .../Model/Calculable/ICalculableAvatar.cs | 2 +- .../Calculable/ICalculableMinMaxLevel.cs | 2 +- .../Model/Calculable/ICalculableSkill.cs | 2 +- .../Model/Calculable/ICalculableSource.cs | 2 +- .../Model/Calculable/ICalculableWeapon.cs | 2 +- .../Snap.Hutao/Model/Calculable/SkillType.cs | 2 +- .../Snap.Hutao/Model/CollectionsNameValue.cs | 2 +- .../Model/Entity/Abstraction/IAppDbEntity.cs | 2 +- .../Abstraction/IAppDbEntityHasArchive.cs | 2 +- .../Abstraction/IDbMappingForeignKeyFrom.cs | 27 ------------------- .../Snap.Hutao/Model/Entity/Achievement.cs | 2 +- .../Model/Entity/AchievementArchive.cs | 2 +- .../Snap.Hutao/Model/Entity/AvatarInfo.cs | 2 +- .../Configuration/AvatarInfoConfiguration.cs | 2 +- .../DailyNoteEntryConfiguration.cs | 2 +- .../Configuration/JsonTextValueConverter.cs | 2 +- .../RoleCombatEntryConfiguration.cs | 2 +- .../SpiralAbyssEntryConfiguration.cs | 2 +- .../Entity/Configuration/SqliteTypeNames.cs | 2 +- .../Entity/Configuration/UserConfiguration.cs | 2 +- .../Snap.Hutao/Model/Entity/CultivateEntry.cs | 2 +- .../Entity/CultivateEntryLevelInformation.cs | 2 +- .../Snap.Hutao/Model/Entity/CultivateItem.cs | 2 +- .../Model/Entity/CultivateProject.cs | 2 +- .../Snap.Hutao/Model/Entity/DailyNoteEntry.cs | 2 +- .../Model/Entity/Database/AppDbContext.cs | 2 +- .../Model/Entity/Extension/UserExtension.cs | 2 +- .../Snap.Hutao/Model/Entity/GachaArchive.cs | 2 +- .../Snap.Hutao/Model/Entity/GachaItem.cs | 2 +- .../Snap.Hutao/Model/Entity/GameAccount.cs | 2 +- .../Snap.Hutao/Model/Entity/InventoryItem.cs | 2 +- .../Model/Entity/ObjectCacheEntry.cs | 2 +- .../Model/Entity/Primitive/CultivateType.cs | 2 +- .../Model/Entity/Primitive/SchemeType.cs | 2 +- .../Model/Entity/RoleCombatEntry.cs | 2 +- .../Snap.Hutao/Model/Entity/SettingEntry.cs | 2 +- .../Model/Entity/SpiralAbyssEntry.cs | 2 +- .../Model/Entity/UidProfilePicture.cs | 2 +- .../Snap.Hutao/Model/Entity/User.cs | 2 +- .../Snap.Hutao/Model/IEntityAccess.cs | 2 +- .../Model/IEntityAccessWithMetadata.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Model/INameIcon.cs | 2 +- .../Snap.Hutao/Model/INameIconSide.cs | 2 +- .../Model/InterChange/Achievement/UIAF.cs | 2 +- .../Model/InterChange/Achievement/UIAFInfo.cs | 2 +- .../Model/InterChange/Achievement/UIAFItem.cs | 2 +- .../Model/InterChange/GachaLog/Hk4eItem.cs | 2 +- .../Model/InterChange/GachaLog/UIGF.cs | 2 +- .../Model/InterChange/GachaLog/UIGFEntry.cs | 2 +- .../Model/InterChange/GachaLog/UIGFInfo.cs | 2 +- .../Model/Intrinsic/AchievementStatus.cs | 2 +- .../Snap.Hutao/Model/Intrinsic/Arkhe.cs | 2 +- .../Model/Intrinsic/AssociationType.cs | 2 +- .../Snap.Hutao/Model/Intrinsic/BodyType.cs | 2 +- .../Snap.Hutao/Model/Intrinsic/ChannelType.cs | 2 +- .../Snap.Hutao/Model/Intrinsic/ElementName.cs | 2 +- .../Snap.Hutao/Model/Intrinsic/ElementType.cs | 2 +- .../Snap.Hutao/Model/Intrinsic/EquipType.cs | 2 +- .../Model/Intrinsic/FightProperty.cs | 2 +- .../Model/Intrinsic/Format/FormatMethod.cs | 2 +- .../Intrinsic/Format/FormatMethodExtension.cs | 2 +- .../Intrinsic/FurnitureDeploySurfaceType.cs | 2 +- .../Model/Intrinsic/FurnitureDeployType.cs | 2 +- .../Model/Intrinsic/GroupRecordType.cs | 2 +- .../Model/Intrinsic/GrowCurveType.cs | 2 +- .../Snap.Hutao/Model/Intrinsic/ItemType.cs | 2 +- .../Model/Intrinsic/MaterialType.cs | 2 +- .../Snap.Hutao/Model/Intrinsic/MonsterType.cs | 2 +- .../Model/Intrinsic/PlayerProperty.cs | 2 +- .../Intrinsic/ProfilePictureUnlockType.cs | 2 +- .../Snap.Hutao/Model/Intrinsic/QualityType.cs | 2 +- .../Snap.Hutao/Model/Intrinsic/QuestType.cs | 2 +- .../Intrinsic/RoleCombatDifficultyLevel.cs | 2 +- .../Model/Intrinsic/SpecialFurnitureType.cs | 2 +- .../Model/Intrinsic/SubChannelType.cs | 2 +- .../Snap.Hutao/Model/Intrinsic/WeaponType.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Model/Item.cs | 2 +- .../Abstraction/ICultivationItemsAccess.cs | 2 +- .../Metadata/Abstraction/IItemConvertible.cs | 2 +- .../Abstraction/INameQualityAccess.cs | 2 +- .../Abstraction/IStatisticsItemConvertible.cs | 2 +- .../Abstraction/ISummaryItemConvertible.cs | 2 +- .../Model/Metadata/Achievement/Achievement.cs | 2 +- .../Metadata/Achievement/AchievementGoal.cs | 2 +- .../Model/Metadata/Achievement/Reward.cs | 2 +- .../Model/Metadata/Avatar/Avatar.cs | 2 +- .../Model/Metadata/Avatar/AvatarBaseValue.cs | 2 +- .../Model/Metadata/Avatar/AvatarIds.cs | 2 +- .../Model/Metadata/Avatar/CookBonus.cs | 2 +- .../Model/Metadata/Avatar/Costume.cs | 2 +- .../Metadata/Avatar/DescriptionsParameters.cs | 2 +- .../Metadata/Avatar/ExtraLevelIndexKind.cs | 2 +- .../Model/Metadata/Avatar/ExtraLevelInfo.cs | 2 +- .../Model/Metadata/Avatar/Fetter.cs | 2 +- .../Model/Metadata/Avatar/FetterInfo.cs | 2 +- .../Avatar/LevelParametersCollection.cs | 2 +- .../LevelParametersCollectionExtension.cs | 2 +- .../Model/Metadata/Avatar/NameCard.cs | 2 +- .../Model/Metadata/Avatar/ProfilePicture.cs | 2 +- .../Model/Metadata/Avatar/ProudableSkill.cs | 2 +- .../Snap.Hutao/Model/Metadata/Avatar/Skill.cs | 2 +- .../Model/Metadata/Avatar/SkillDepot.cs | 2 +- .../Snap.Hutao/Model/Metadata/BaseValue.cs | 2 +- .../Snap.Hutao/Model/Metadata/Chapter.cs | 2 +- .../Snap.Hutao/Model/Metadata/City.cs | 2 +- .../Converter/AchievementIconConverter.cs | 2 +- .../Converter/AssociationTypeIconConverter.cs | 2 +- .../Metadata/Converter/AvatarCardConverter.cs | 2 +- .../Converter/AvatarIconCircleConverter.cs | 2 +- .../Metadata/Converter/AvatarIconConverter.cs | 2 +- .../Converter/AvatarNameCardIconConverter.cs | 2 +- .../AvatarNameCardPicAlphaConverter.cs | 2 +- .../Converter/AvatarNameCardPicConverter.cs | 2 +- .../Converter/AvatarSideIconConverter.cs | 2 +- .../Metadata/Converter/BaseValueInfoFormat.cs | 2 +- .../DescriptionsParametersDescriptor.cs | 2 +- .../Converter/ElementNameIconConverter.cs | 2 +- .../Converter/EmotionIconConverter.cs | 2 +- .../Metadata/Converter/EquipIconConverter.cs | 2 +- .../Metadata/Converter/FightPropertyFormat.cs | 2 +- .../Converter/GachaAvatarIconConverter.cs | 2 +- .../Converter/GachaAvatarImgConverter.cs | 2 +- .../Converter/GachaEquipIconConverter.cs | 2 +- .../Converter/IIconNameToUriConverter.cs | 2 +- .../Metadata/Converter/ItemIconConverter.cs | 2 +- .../Converter/MonsterIconConverter.cs | 2 +- .../Converter/QualityColorConverter.cs | 2 +- .../Metadata/Converter/QualityConverter.cs | 2 +- .../QualityToImageSourceConverter.cs | 2 +- .../Metadata/Converter/RelicIconConverter.cs | 2 +- .../Metadata/Converter/SkillIconConverter.cs | 2 +- .../Converter/WeaponTypeIconConverter.cs | 2 +- .../Model/Metadata/Furniture/Furniture.cs | 2 +- .../Model/Metadata/Furniture/FurnitureMake.cs | 2 +- .../Metadata/Furniture/FurnitureSuite.cs | 2 +- .../Model/Metadata/Furniture/FurnitureType.cs | 2 +- .../Snap.Hutao/Model/Metadata/GachaEvent.cs | 2 +- .../Snap.Hutao/Model/Metadata/GrowCurve.cs | 2 +- .../Snap.Hutao/Model/Metadata/IdCount.cs | 2 +- .../Model/Metadata/Item/DisplayItem.cs | 2 +- .../Model/Metadata/Item/Material.cs | 2 +- .../Metadata/Item/MaterialDropDistribution.cs | 2 +- .../Model/Metadata/Item/MaterialIds.cs | 2 +- .../Item/RotationalMaterialIdEntry.cs | 2 +- .../Model/Metadata/LevelParameters.cs | 2 +- .../Model/Metadata/Monster/Monster.cs | 2 +- .../Metadata/Monster/MonsterBaseValue.cs | 2 +- .../Metadata/Monster/MonsterRelationship.cs | 2 +- .../Model/Metadata/ParameterDescription.cs | 2 +- .../Model/Metadata/ParameterFormat.cs | 2 +- .../Snap.Hutao/Model/Metadata/Promote.cs | 2 +- .../Model/Metadata/Reliquary/Reliquary.cs | 2 +- .../Metadata/Reliquary/ReliquaryMainAffix.cs | 2 +- .../Reliquary/ReliquaryMainAffixLevel.cs | 2 +- .../Model/Metadata/Reliquary/ReliquarySet.cs | 2 +- .../Metadata/Reliquary/ReliquarySubAffix.cs | 2 +- .../Model/Metadata/RoleCombatSchedule.cs | 2 +- .../Model/Metadata/SpecialNameHandling.cs | 2 +- .../Model/Metadata/Tower/GoalType.cs | 2 +- .../Model/Metadata/Tower/TowerFloor.cs | 2 +- .../Model/Metadata/Tower/TowerLevel.cs | 2 +- .../Model/Metadata/Tower/TowerMonster.cs | 2 +- .../Model/Metadata/Tower/TowerSchedule.cs | 2 +- .../Model/Metadata/Tower/TowerWave.cs | 2 +- .../Snap.Hutao/Model/Metadata/TypeValue.cs | 2 +- .../Metadata/TypeValueCollectionExtension.cs | 2 +- .../Model/Metadata/Weapon/LevelDescription.cs | 2 +- .../Model/Metadata/Weapon/NameDescriptions.cs | 2 +- .../Model/Metadata/Weapon/Weapon.cs | 2 +- .../Model/Metadata/Weapon/WeaponIds.cs | 2 +- .../Model/Metadata/Weapon/WeaponTypeValue.cs | 2 +- .../Weapon/WeaponTypeValueCollection.cs | 2 +- .../Snap.Hutao/Model/NameDescription.cs | 2 +- .../Snap.Hutao/Model/NameDescriptionValue.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Model/NameValue.cs | 2 +- .../Snap.Hutao/Model/NameValueDefaults.cs | 2 +- .../Primitive/Converter/IdentityConverter.cs | 2 +- .../Snap.Hutao/Model/Primitive/LevelFormat.cs | 2 +- .../Control/Panel/DataTable/DataColumn.cs | 1 - 394 files changed, 392 insertions(+), 420 deletions(-) delete mode 100644 src/Snap.Hutao/Snap.Hutao/Model/Entity/Abstraction/IDbMappingForeignKeyFrom.cs diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Abstraction/BuilderExtension.cs b/src/Snap.Hutao/Snap.Hutao/Core/Abstraction/BuilderExtension.cs index ec3687b470..45e781cf2f 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Abstraction/BuilderExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Abstraction/BuilderExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Diagnostics; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Abstraction/IBuilder.cs b/src/Snap.Hutao/Snap.Hutao/Core/Abstraction/IBuilder.cs index d38374d787..ec5ab51c2e 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Abstraction/IBuilder.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Abstraction/IBuilder.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Core.Abstraction; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Abstraction/IDeconstruct.cs b/src/Snap.Hutao/Snap.Hutao/Core/Abstraction/IDeconstruct.cs index a0052c175d..185c8ddbdd 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Abstraction/IDeconstruct.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Abstraction/IDeconstruct.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Core.Abstraction; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Abstraction/IPinnable.cs b/src/Snap.Hutao/Snap.Hutao/Core/Abstraction/IPinnable.cs index 954fc48cae..6c31f26fbf 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Abstraction/IPinnable.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Abstraction/IPinnable.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Core.Abstraction; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Abstraction/IResurrectable.cs b/src/Snap.Hutao/Snap.Hutao/Core/Abstraction/IResurrectable.cs index 66304c1f75..65c3d16b0c 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Abstraction/IResurrectable.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Abstraction/IResurrectable.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Core.Abstraction; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Caching/IImageCache.cs b/src/Snap.Hutao/Snap.Hutao/Core/Caching/IImageCache.cs index 9b0600acc2..1e29f984ff 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Caching/IImageCache.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Caching/IImageCache.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.UI.Xaml; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Caching/IImageCacheDownloadOperation.cs b/src/Snap.Hutao/Snap.Hutao/Core/Caching/IImageCacheDownloadOperation.cs index 2faac2cbfc..f27a85c836 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Caching/IImageCacheDownloadOperation.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Caching/IImageCacheDownloadOperation.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Core.Caching; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Caching/ImageCache.cs b/src/Snap.Hutao/Snap.Hutao/Core/Caching/ImageCache.cs index 5555675667..706ccdef91 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Caching/ImageCache.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Caching/ImageCache.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.UI.Xaml; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Caching/ImageCacheDownloadOperation.cs b/src/Snap.Hutao/Snap.Hutao/Core/Caching/ImageCacheDownloadOperation.cs index d711e9e62f..fad315eed0 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Caching/ImageCacheDownloadOperation.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Caching/ImageCacheDownloadOperation.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.DependencyInjection.Annotation.HttpClient; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Collection/TwoEnumerbleEnumerator.cs b/src/Snap.Hutao/Snap.Hutao/Core/Collection/TwoEnumerbleEnumerator.cs index 78336be67f..6c6329e8d5 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Collection/TwoEnumerbleEnumerator.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Collection/TwoEnumerbleEnumerator.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Core.Collection; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/CommandLineArgumentSeparator.cs b/src/Snap.Hutao/Snap.Hutao/Core/CommandLineArgumentSeparator.cs index 3c73de37b1..9fa9dd37b3 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/CommandLineArgumentSeparator.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/CommandLineArgumentSeparator.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Core; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/CommandLineBuilder.cs b/src/Snap.Hutao/Snap.Hutao/Core/CommandLineBuilder.cs index 277f7c8874..cea5434c3d 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/CommandLineBuilder.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/CommandLineBuilder.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Text; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/ComponentModel/NotifyPropertyChangedBox.cs b/src/Snap.Hutao/Snap.Hutao/Core/ComponentModel/NotifyPropertyChangedBox.cs index 841138a335..90128ee049 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/ComponentModel/NotifyPropertyChangedBox.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/ComponentModel/NotifyPropertyChangedBox.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Runtime.CompilerServices; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/DataTransfer/DefaultClipboardSource.cs b/src/Snap.Hutao/Snap.Hutao/Core/DataTransfer/DefaultClipboardSource.cs index 0e6ccb4224..023c6c4bf9 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/DataTransfer/DefaultClipboardSource.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/DataTransfer/DefaultClipboardSource.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Windows.ApplicationModel.DataTransfer; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/DataTransfer/IClipboardProvider.cs b/src/Snap.Hutao/Snap.Hutao/Core/DataTransfer/IClipboardProvider.cs index 417406109f..dc748693b5 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/DataTransfer/IClipboardProvider.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/DataTransfer/IClipboardProvider.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Windows.Storage.Streams; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Database/Abstraction/IReorderable.cs b/src/Snap.Hutao/Snap.Hutao/Core/Database/Abstraction/IReorderable.cs index 07fcced3d0..9019f75c7f 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Database/Abstraction/IReorderable.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Database/Abstraction/IReorderable.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Core.Database.Abstraction; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Database/Abstraction/ISelectable.cs b/src/Snap.Hutao/Snap.Hutao/Core/Database/Abstraction/ISelectable.cs index dd7470e5f8..68702cf8ee 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Database/Abstraction/ISelectable.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Database/Abstraction/ISelectable.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Entity.Abstraction; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Database/AdvancedDbCollectionView.cs b/src/Snap.Hutao/Snap.Hutao/Core/Database/AdvancedDbCollectionView.cs index a6af05a401..b7a9e3c084 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Database/AdvancedDbCollectionView.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Database/AdvancedDbCollectionView.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.EntityFrameworkCore; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Database/DbSetExtension.cs b/src/Snap.Hutao/Snap.Hutao/Core/Database/DbSetExtension.cs index 63f5ed91da..ab850e02ed 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Database/DbSetExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Database/DbSetExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.EntityFrameworkCore; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Database/IAdvancedDbCollectionView.cs b/src/Snap.Hutao/Snap.Hutao/Core/Database/IAdvancedDbCollectionView.cs index ee5c887f79..353afecc6b 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Database/IAdvancedDbCollectionView.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Database/IAdvancedDbCollectionView.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.UI.Xaml.Data; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Database/ObservableReorderableDbCollection.cs b/src/Snap.Hutao/Snap.Hutao/Core/Database/ObservableReorderableDbCollection.cs index 0a65d589a4..351756c7ea 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Database/ObservableReorderableDbCollection.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Database/ObservableReorderableDbCollection.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.Database.Abstraction; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Database/ObservableReorderableDbCollectionExtension.cs b/src/Snap.Hutao/Snap.Hutao/Core/Database/ObservableReorderableDbCollectionExtension.cs index 81904868f6..065239a731 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Database/ObservableReorderableDbCollectionExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Database/ObservableReorderableDbCollectionExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.Database.Abstraction; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Database/SelectableExtension.cs b/src/Snap.Hutao/Snap.Hutao/Core/Database/SelectableExtension.cs index f775a75993..f5b3ec1959 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Database/SelectableExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Database/SelectableExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.Database.Abstraction; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/DependencyInjection/Abstraction/DriverMediaTypeAwareFactory.cs b/src/Snap.Hutao/Snap.Hutao/Core/DependencyInjection/Abstraction/DriverMediaTypeAwareFactory.cs index 66b19e60d1..f6ef69dbc0 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/DependencyInjection/Abstraction/DriverMediaTypeAwareFactory.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/DependencyInjection/Abstraction/DriverMediaTypeAwareFactory.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.IO; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/DependencyInjection/Abstraction/IDriverMediaTypeAwareFactory.cs b/src/Snap.Hutao/Snap.Hutao/Core/DependencyInjection/Abstraction/IDriverMediaTypeAwareFactory.cs index 68edf021bf..e519fc44e8 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/DependencyInjection/Abstraction/IDriverMediaTypeAwareFactory.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/DependencyInjection/Abstraction/IDriverMediaTypeAwareFactory.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Core.DependencyInjection.Abstraction; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/DependencyInjection/Abstraction/IOverseaSupportFactory.cs b/src/Snap.Hutao/Snap.Hutao/Core/DependencyInjection/Abstraction/IOverseaSupportFactory.cs index 1e23090dc5..2728c0449d 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/DependencyInjection/Abstraction/IOverseaSupportFactory.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/DependencyInjection/Abstraction/IOverseaSupportFactory.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.ViewModel.User; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/DependencyInjection/Abstraction/OverseaSupportFactory.cs b/src/Snap.Hutao/Snap.Hutao/Core/DependencyInjection/Abstraction/OverseaSupportFactory.cs index 5aa3850900..b6af4563e1 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/DependencyInjection/Abstraction/OverseaSupportFactory.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/DependencyInjection/Abstraction/OverseaSupportFactory.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Core.DependencyInjection.Abstraction; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/DependencyInjection/DependencyInjection.cs b/src/Snap.Hutao/Snap.Hutao/Core/DependencyInjection/DependencyInjection.cs index 529346b3bf..cb234395d6 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/DependencyInjection/DependencyInjection.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/DependencyInjection/DependencyInjection.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using CommunityToolkit.Mvvm.Messaging; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/DependencyInjection/IocConfiguration.cs b/src/Snap.Hutao/Snap.Hutao/Core/DependencyInjection/IocConfiguration.cs index 249d1344d0..0ad41fc1ac 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/DependencyInjection/IocConfiguration.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/DependencyInjection/IocConfiguration.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.EntityFrameworkCore; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/DependencyInjection/IocHttpClientConfiguration.cs b/src/Snap.Hutao/Snap.Hutao/Core/DependencyInjection/IocHttpClientConfiguration.cs index e543802ff9..59bac42158 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/DependencyInjection/IocHttpClientConfiguration.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/DependencyInjection/IocHttpClientConfiguration.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.IO.Http.Proxy; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/DependencyInjection/ServiceCollectionExtension.cs b/src/Snap.Hutao/Snap.Hutao/Core/DependencyInjection/ServiceCollectionExtension.cs index 7cd2210b41..1c57578992 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/DependencyInjection/ServiceCollectionExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/DependencyInjection/ServiceCollectionExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Core.DependencyInjection; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/DependencyInjection/ServiceProviderExtension.cs b/src/Snap.Hutao/Snap.Hutao/Core/DependencyInjection/ServiceProviderExtension.cs index 9088ce4a43..c15fd4658d 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/DependencyInjection/ServiceProviderExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/DependencyInjection/ServiceProviderExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Runtime.CompilerServices; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Diagnostics/MeasureExecutionToken.cs b/src/Snap.Hutao/Snap.Hutao/Core/Diagnostics/MeasureExecutionToken.cs index e5fe4cd2fe..88a796fb17 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Diagnostics/MeasureExecutionToken.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Diagnostics/MeasureExecutionToken.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.Logging; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Diagnostics/ValueStopwatch.cs b/src/Snap.Hutao/Snap.Hutao/Core/Diagnostics/ValueStopwatch.cs index 7c4c94da4e..970b9328d1 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Diagnostics/ValueStopwatch.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Diagnostics/ValueStopwatch.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Diagnostics; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/ExceptionService/ExceptionFormat.cs b/src/Snap.Hutao/Snap.Hutao/Core/ExceptionService/ExceptionFormat.cs index a1c70c7a86..3a8d716e65 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/ExceptionService/ExceptionFormat.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/ExceptionService/ExceptionFormat.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Collections; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/ExceptionService/ExceptionHandlingSupport.cs b/src/Snap.Hutao/Snap.Hutao/Core/ExceptionService/ExceptionHandlingSupport.cs index 3cbf2a6dfc..4f71f0309f 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/ExceptionService/ExceptionHandlingSupport.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/ExceptionService/ExceptionHandlingSupport.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.UI.Xaml; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/ExceptionService/HutaoException.cs b/src/Snap.Hutao/Snap.Hutao/Core/ExceptionService/HutaoException.cs index 0f42bc8db5..17c53aa3f4 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/ExceptionService/HutaoException.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/ExceptionService/HutaoException.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Runtime.CompilerServices; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Gen2GcCallback.cs b/src/Snap.Hutao/Snap.Hutao/Core/Gen2GcCallback.cs index 41605f7cdd..7463813bf5 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Gen2GcCallback.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Gen2GcCallback.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Diagnostics; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Graphics/Imaging/SoftwareBitmapExtension.cs b/src/Snap.Hutao/Snap.Hutao/Core/Graphics/Imaging/SoftwareBitmapExtension.cs index 1a3ce3d551..c5dd0945a7 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Graphics/Imaging/SoftwareBitmapExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Graphics/Imaging/SoftwareBitmapExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.UI; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Graphics/PointInt32Kind.cs b/src/Snap.Hutao/Snap.Hutao/Core/Graphics/PointInt32Kind.cs index 7ae4c32e76..a4c8c9ffb6 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Graphics/PointInt32Kind.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Graphics/PointInt32Kind.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Core.Graphics; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Graphics/PointUInt16.cs b/src/Snap.Hutao/Snap.Hutao/Core/Graphics/PointUInt16.cs index bf8bf448cb..eafb0ae4cf 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Graphics/PointUInt16.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Graphics/PointUInt16.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Core.Graphics; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Graphics/RectInt16.cs b/src/Snap.Hutao/Snap.Hutao/Core/Graphics/RectInt16.cs index 28de22961b..2a548e7a1e 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Graphics/RectInt16.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Graphics/RectInt16.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Windows.Graphics; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Graphics/RectInt32Convert.cs b/src/Snap.Hutao/Snap.Hutao/Core/Graphics/RectInt32Convert.cs index 2f9ef5904c..421c77aaac 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Graphics/RectInt32Convert.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Graphics/RectInt32Convert.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Win32.Foundation; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Graphics/RectInt32Extension.cs b/src/Snap.Hutao/Snap.Hutao/Core/Graphics/RectInt32Extension.cs index 7e7d18cd71..4c5d5fe13c 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Graphics/RectInt32Extension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Graphics/RectInt32Extension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Win32.Foundation; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Graphics/RectInt32View.cs b/src/Snap.Hutao/Snap.Hutao/Core/Graphics/RectInt32View.cs index c23be26261..d168684c93 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Graphics/RectInt32View.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Graphics/RectInt32View.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Windows.Graphics; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Graphics/SizeInt32Extension.cs b/src/Snap.Hutao/Snap.Hutao/Core/Graphics/SizeInt32Extension.cs index f6143b5368..676d702bff 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Graphics/SizeInt32Extension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Graphics/SizeInt32Extension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Windows.Graphics; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/HutaoRuntime.cs b/src/Snap.Hutao/Snap.Hutao/Core/HutaoRuntime.cs index 1453713dc3..5c94c97021 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/HutaoRuntime.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/HutaoRuntime.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.Web.WebView2.Core; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/IO/Compression/Zstandard/ZstandardDecompressionStream.cs b/src/Snap.Hutao/Snap.Hutao/Core/IO/Compression/Zstandard/ZstandardDecompressionStream.cs index 10601d61d5..6949602f6d 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/IO/Compression/Zstandard/ZstandardDecompressionStream.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/IO/Compression/Zstandard/ZstandardDecompressionStream.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.ZStandard; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/IO/Compression/Zstandard/ZstandardException.cs b/src/Snap.Hutao/Snap.Hutao/Core/IO/Compression/Zstandard/ZstandardException.cs index 95c2071ef4..764c946661 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/IO/Compression/Zstandard/ZstandardException.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/IO/Compression/Zstandard/ZstandardException.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Runtime.InteropServices; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/IO/DirectoryOperation.cs b/src/Snap.Hutao/Snap.Hutao/Core/IO/DirectoryOperation.cs index 48ce8e6ec2..f40116552b 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/IO/DirectoryOperation.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/IO/DirectoryOperation.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.VisualBasic.FileIO; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/IO/FileOperation.cs b/src/Snap.Hutao/Snap.Hutao/Core/IO/FileOperation.cs index a28bb1c652..488c146026 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/IO/FileOperation.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/IO/FileOperation.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Win32.System.Com; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/IO/Hashing/Hash.cs b/src/Snap.Hutao/Snap.Hutao/Core/IO/Hashing/Hash.cs index 66400b5e4f..18d0769d66 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/IO/Hashing/Hash.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/IO/Hashing/Hash.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.IO; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/IO/Hashing/XXH64.cs b/src/Snap.Hutao/Snap.Hutao/Core/IO/Hashing/XXH64.cs index b273eaa4c4..6a43ff44e0 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/IO/Hashing/XXH64.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/IO/Hashing/XXH64.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.IO; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/IO/Http/Loopback/LoopbackSupport.cs b/src/Snap.Hutao/Snap.Hutao/Core/IO/Http/Loopback/LoopbackSupport.cs index 8825856847..27384f39e4 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/IO/Http/Loopback/LoopbackSupport.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/IO/Http/Loopback/LoopbackSupport.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using CommunityToolkit.Mvvm.ComponentModel; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/IO/Http/Proxy/HttpProxyUsingSystemProxy.cs b/src/Snap.Hutao/Snap.Hutao/Core/IO/Http/Proxy/HttpProxyUsingSystemProxy.cs index e5251c9790..f9a95a06ff 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/IO/Http/Proxy/HttpProxyUsingSystemProxy.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/IO/Http/Proxy/HttpProxyUsingSystemProxy.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using CommunityToolkit.Mvvm.ComponentModel; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/IO/Http/Sharding/AsyncHttpShards.cs b/src/Snap.Hutao/Snap.Hutao/Core/IO/Http/Sharding/AsyncHttpShards.cs index 212b60bd0c..df433f8c90 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/IO/Http/Sharding/AsyncHttpShards.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/IO/Http/Sharding/AsyncHttpShards.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Collections.Immutable; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/IO/Http/Sharding/HttpShardCopyWorker.cs b/src/Snap.Hutao/Snap.Hutao/Core/IO/Http/Sharding/HttpShardCopyWorker.cs index 87335b64ee..9502c99c65 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/IO/Http/Sharding/HttpShardCopyWorker.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/IO/Http/Sharding/HttpShardCopyWorker.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.Threading.RateLimiting; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/IO/Http/Sharding/HttpShardCopyWorkerOptions.cs b/src/Snap.Hutao/Snap.Hutao/Core/IO/Http/Sharding/HttpShardCopyWorkerOptions.cs index 40a7705c6d..eb5d610aa2 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/IO/Http/Sharding/HttpShardCopyWorkerOptions.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/IO/Http/Sharding/HttpShardCopyWorkerOptions.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.Win32.SafeHandles; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/IO/Http/Sharding/IHttpShard.cs b/src/Snap.Hutao/Snap.Hutao/Core/IO/Http/Sharding/IHttpShard.cs index 6b5e6db82e..36b4aff773 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/IO/Http/Sharding/IHttpShard.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/IO/Http/Sharding/IHttpShard.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Core.IO.Http.Sharding; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/IO/Http/Sharding/IHttpShardCopyWorker.cs b/src/Snap.Hutao/Snap.Hutao/Core/IO/Http/Sharding/IHttpShardCopyWorker.cs index ac7fbeff57..c4cee6e084 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/IO/Http/Sharding/IHttpShardCopyWorker.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/IO/Http/Sharding/IHttpShardCopyWorker.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Core.IO.Http.Sharding; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/IO/Ini/IniComment.cs b/src/Snap.Hutao/Snap.Hutao/Core/IO/Ini/IniComment.cs index c7833787fb..182cfebf8b 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/IO/Ini/IniComment.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/IO/Ini/IniComment.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Core.IO.Ini; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/IO/Ini/IniElement.cs b/src/Snap.Hutao/Snap.Hutao/Core/IO/Ini/IniElement.cs index b7c881dd34..e9a73cc4c9 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/IO/Ini/IniElement.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/IO/Ini/IniElement.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Core.IO.Ini; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/IO/Ini/IniParameter.cs b/src/Snap.Hutao/Snap.Hutao/Core/IO/Ini/IniParameter.cs index 3a9718ed22..04c31006ef 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/IO/Ini/IniParameter.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/IO/Ini/IniParameter.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Core.IO.Ini; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/IO/Ini/IniSection.cs b/src/Snap.Hutao/Snap.Hutao/Core/IO/Ini/IniSection.cs index 5bbce0c829..144175c893 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/IO/Ini/IniSection.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/IO/Ini/IniSection.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Core.IO.Ini; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/IO/Ini/IniSerializer.cs b/src/Snap.Hutao/Snap.Hutao/Core/IO/Ini/IniSerializer.cs index 4cb8007b5f..8a035b87a2 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/IO/Ini/IniSerializer.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/IO/Ini/IniSerializer.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Collections.Immutable; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/IO/LogicalDriver.cs b/src/Snap.Hutao/Snap.Hutao/Core/IO/LogicalDriver.cs index 46c464dff3..903ee1a489 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/IO/LogicalDriver.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/IO/LogicalDriver.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.IO; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/IO/PhysicalDriver.cs b/src/Snap.Hutao/Snap.Hutao/Core/IO/PhysicalDriver.cs index d165e84a20..7452fbdd12 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/IO/PhysicalDriver.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/IO/PhysicalDriver.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.ExceptionService; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/IO/RandomAccessRead.cs b/src/Snap.Hutao/Snap.Hutao/Core/IO/RandomAccessRead.cs index 99456ca30e..7b6dfaab8c 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/IO/RandomAccessRead.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/IO/RandomAccessRead.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.Win32.SafeHandles; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/IO/StreamCopyStatus.cs b/src/Snap.Hutao/Snap.Hutao/Core/IO/StreamCopyStatus.cs index cc79931830..b1665a1161 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/IO/StreamCopyStatus.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/IO/StreamCopyStatus.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Core.IO; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/IO/StreamCopyWorker.cs b/src/Snap.Hutao/Snap.Hutao/Core/IO/StreamCopyWorker.cs index 2a1e56ea1a..2b8ad2d2be 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/IO/StreamCopyWorker.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/IO/StreamCopyWorker.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.Threading.RateLimiting; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/IO/StreamReaderWriter.cs b/src/Snap.Hutao/Snap.Hutao/Core/IO/StreamReaderWriter.cs index 35e31213f7..d2ae3e760f 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/IO/StreamReaderWriter.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/IO/StreamReaderWriter.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.IO; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/IO/TempFileStream.cs b/src/Snap.Hutao/Snap.Hutao/Core/IO/TempFileStream.cs index e786b3ddfc..bdb15fa42a 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/IO/TempFileStream.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/IO/TempFileStream.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.IO; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/IO/ValueFile.cs b/src/Snap.Hutao/Snap.Hutao/Core/IO/ValueFile.cs index e5e773ddf2..d203252ef3 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/IO/ValueFile.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/IO/ValueFile.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Core.IO; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/IO/ValueFileExtension.cs b/src/Snap.Hutao/Snap.Hutao/Core/IO/ValueFileExtension.cs index 63496f07b2..c59b203f22 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/IO/ValueFileExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/IO/ValueFileExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.IO; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/InstalledLocation.cs b/src/Snap.Hutao/Snap.Hutao/Core/InstalledLocation.cs index c8c72b93c3..fd00478cc6 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/InstalledLocation.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/InstalledLocation.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.IO; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Json/Annotation/JsonEnumAttribute.cs b/src/Snap.Hutao/Snap.Hutao/Core/Json/Annotation/JsonEnumAttribute.cs index be8c1f43b6..b083df3c13 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Json/Annotation/JsonEnumAttribute.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Json/Annotation/JsonEnumAttribute.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.Json.Converter; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Json/Annotation/JsonEnumSerializeType.cs b/src/Snap.Hutao/Snap.Hutao/Core/Json/Annotation/JsonEnumSerializeType.cs index 82c857b227..ca23fc9666 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Json/Annotation/JsonEnumSerializeType.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Json/Annotation/JsonEnumSerializeType.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Core.Json.Annotation; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Json/Converter/DateTimeConverter.cs b/src/Snap.Hutao/Snap.Hutao/Core/Json/Converter/DateTimeConverter.cs index 875f31492e..1593ed0b66 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Json/Converter/DateTimeConverter.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Json/Converter/DateTimeConverter.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Globalization; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Json/Converter/DateTimeOffsetConverter.cs b/src/Snap.Hutao/Snap.Hutao/Core/Json/Converter/DateTimeOffsetConverter.cs index db0266da1f..6622867ab4 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Json/Converter/DateTimeOffsetConverter.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Json/Converter/DateTimeOffsetConverter.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Globalization; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Json/Converter/UnsafeEnumConverter.cs b/src/Snap.Hutao/Snap.Hutao/Core/Json/Converter/UnsafeEnumConverter.cs index b4dd09bd70..076d20a7b3 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Json/Converter/UnsafeEnumConverter.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Json/Converter/UnsafeEnumConverter.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.Json.Annotation; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Json/JsonExtensionDataDictionary.cs b/src/Snap.Hutao/Snap.Hutao/Core/Json/JsonExtensionDataDictionary.cs index cfeeefc726..88cc2031f5 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Json/JsonExtensionDataDictionary.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Json/JsonExtensionDataDictionary.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Collections; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Json/JsonOptions.cs b/src/Snap.Hutao/Snap.Hutao/Core/Json/JsonOptions.cs index 7e781819f1..fc54ed1791 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Json/JsonOptions.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Json/JsonOptions.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Text.Encodings.Web; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Json/JsonTypeInfoResolvers.cs b/src/Snap.Hutao/Snap.Hutao/Core/Json/JsonTypeInfoResolvers.cs index 2af7dab433..4af6f276a5 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Json/JsonTypeInfoResolvers.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Json/JsonTypeInfoResolvers.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.Json.Annotation; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/AppActivation.cs b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/AppActivation.cs index 9f73a7d1ef..3b8f9acfae 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/AppActivation.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/AppActivation.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.UI.Xaml; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/AppActivationArgumentsExtensions.cs b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/AppActivationArgumentsExtensions.cs index 5c8b69864d..cee18d15f1 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/AppActivationArgumentsExtensions.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/AppActivationArgumentsExtensions.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.Windows.AppLifecycle; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/AppInstanceExtension.cs b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/AppInstanceExtension.cs index 979ca58cdd..c51d0cc161 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/AppInstanceExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/AppInstanceExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.Windows.AppLifecycle; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/CurrentXamlWindowReference.cs b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/CurrentXamlWindowReference.cs index 9650f05452..adaa80cbaa 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/CurrentXamlWindowReference.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/CurrentXamlWindowReference.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.UI.Xaml; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/CurrentXamlWindowReferenceExtension.cs b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/CurrentXamlWindowReferenceExtension.cs index 5920659f7b..62e2963bed 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/CurrentXamlWindowReferenceExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/CurrentXamlWindowReferenceExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.UI.Xaml; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/HutaoActivationArguments.cs b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/HutaoActivationArguments.cs index 7b71f052a9..be8d0fc11f 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/HutaoActivationArguments.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/HutaoActivationArguments.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.Windows.AppLifecycle; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/HutaoActivationKind.cs b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/HutaoActivationKind.cs index 8bce65057d..df410e1cc2 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/HutaoActivationKind.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/HutaoActivationKind.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Core.LifeCycle; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/IAppActivation.cs b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/IAppActivation.cs index 5a644cc61c..20731f54df 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/IAppActivation.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/IAppActivation.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.Windows.AppNotifications; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/IAppActivationActionHandlersAccess.cs b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/IAppActivationActionHandlersAccess.cs index b941d09f12..265a74b4c6 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/IAppActivationActionHandlersAccess.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/IAppActivationActionHandlersAccess.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Core.LifeCycle; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/ICurrentXamlWindowReference.cs b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/ICurrentXamlWindowReference.cs index ece0a59814..2b9450f6ee 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/ICurrentXamlWindowReference.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/ICurrentXamlWindowReference.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.UI.Xaml; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/BetterGenshinImpact/AutomationCultivaionEntry.cs b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/BetterGenshinImpact/AutomationCultivaionEntry.cs index a07cdc34d5..295de208bc 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/BetterGenshinImpact/AutomationCultivaionEntry.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/BetterGenshinImpact/AutomationCultivaionEntry.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Collections.Immutable; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/BetterGenshinImpact/AutomationCultivaionItem.cs b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/BetterGenshinImpact/AutomationCultivaionItem.cs index 6509111c30..e84e47da82 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/BetterGenshinImpact/AutomationCultivaionItem.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/BetterGenshinImpact/AutomationCultivaionItem.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Core.LifeCycle.InterProcess.BetterGenshinImpact; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/BetterGenshinImpact/AutomationGameAccount.cs b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/BetterGenshinImpact/AutomationGameAccount.cs index ca2f8ee9e0..a4832010d1 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/BetterGenshinImpact/AutomationGameAccount.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/BetterGenshinImpact/AutomationGameAccount.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Core.LifeCycle.InterProcess.BetterGenshinImpact; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/BetterGenshinImpact/AutomationGameAccountType.cs b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/BetterGenshinImpact/AutomationGameAccountType.cs index 3045c7f0fb..64dd508b6c 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/BetterGenshinImpact/AutomationGameAccountType.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/BetterGenshinImpact/AutomationGameAccountType.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Core.LifeCycle.InterProcess.BetterGenshinImpact; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/BetterGenshinImpact/AutomationTaskDefinition.cs b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/BetterGenshinImpact/AutomationTaskDefinition.cs index f29a6decac..37f7159483 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/BetterGenshinImpact/AutomationTaskDefinition.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/BetterGenshinImpact/AutomationTaskDefinition.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Core.LifeCycle.InterProcess.BetterGenshinImpact; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/BetterGenshinImpact/AutomationTaskStepDefinition.cs b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/BetterGenshinImpact/AutomationTaskStepDefinition.cs index 6f49175a2d..ed2890972a 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/BetterGenshinImpact/AutomationTaskStepDefinition.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/BetterGenshinImpact/AutomationTaskStepDefinition.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Core.LifeCycle.InterProcess.BetterGenshinImpact; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/BetterGenshinImpact/BetterGenshinImpactNamedPipeClient.cs b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/BetterGenshinImpact/BetterGenshinImpactNamedPipeClient.cs index dc6305f973..6c67c9e4b2 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/BetterGenshinImpact/BetterGenshinImpactNamedPipeClient.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/BetterGenshinImpact/BetterGenshinImpactNamedPipeClient.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Win32.Foundation; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/BetterGenshinImpact/CumulativeSteppedAutomationTaskDefinition.cs b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/BetterGenshinImpact/CumulativeSteppedAutomationTaskDefinition.cs index 2604654208..49b6a3b9d9 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/BetterGenshinImpact/CumulativeSteppedAutomationTaskDefinition.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/BetterGenshinImpact/CumulativeSteppedAutomationTaskDefinition.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Core.LifeCycle.InterProcess.BetterGenshinImpact; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/BetterGenshinImpact/FixedSteppedAutomationTaskDefinition.cs b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/BetterGenshinImpact/FixedSteppedAutomationTaskDefinition.cs index 45a0c9d548..953870af7d 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/BetterGenshinImpact/FixedSteppedAutomationTaskDefinition.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/BetterGenshinImpact/FixedSteppedAutomationTaskDefinition.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Collections.Immutable; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/BetterGenshinImpact/PipeRequest.cs b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/BetterGenshinImpact/PipeRequest.cs index fbf5355f33..bfc0b329a5 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/BetterGenshinImpact/PipeRequest.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/BetterGenshinImpact/PipeRequest.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Core.LifeCycle.InterProcess.BetterGenshinImpact; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/BetterGenshinImpact/PipeRequestKind.cs b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/BetterGenshinImpact/PipeRequestKind.cs index 9c1f8558c4..e705b10787 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/BetterGenshinImpact/PipeRequestKind.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/BetterGenshinImpact/PipeRequestKind.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Core.LifeCycle.InterProcess.BetterGenshinImpact; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/BetterGenshinImpact/PipeResponse.cs b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/BetterGenshinImpact/PipeResponse.cs index 11fd471ca5..e8e13bd7e4 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/BetterGenshinImpact/PipeResponse.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/BetterGenshinImpact/PipeResponse.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Core.LifeCycle.InterProcess.BetterGenshinImpact; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/BetterGenshinImpact/PipeResponseKind.cs b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/BetterGenshinImpact/PipeResponseKind.cs index 7ab2dd04f1..3fda12541e 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/BetterGenshinImpact/PipeResponseKind.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/BetterGenshinImpact/PipeResponseKind.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Core.LifeCycle.InterProcess.BetterGenshinImpact; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/Model/ElevationStatusResponse.cs b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/Model/ElevationStatusResponse.cs index 5f40af7126..d7c82f633a 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/Model/ElevationStatusResponse.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/Model/ElevationStatusResponse.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Core.LifeCycle.InterProcess.Model; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/NamedPipeClientStreamExtension.cs b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/NamedPipeClientStreamExtension.cs index 223266b386..74024b69b7 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/NamedPipeClientStreamExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/NamedPipeClientStreamExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.IO.Pipes; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/PipePacketCommand.cs b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/PipePacketCommand.cs index c1c2ea858e..8482d37770 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/PipePacketCommand.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/PipePacketCommand.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Core.LifeCycle.InterProcess; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/PipePacketContentType.cs b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/PipePacketContentType.cs index 7fb519b31b..9c1ef523d8 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/PipePacketContentType.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/PipePacketContentType.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Core.LifeCycle.InterProcess; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/PipePacketHeader.cs b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/PipePacketHeader.cs index 5c763241ca..c51413d665 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/PipePacketHeader.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/PipePacketHeader.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Runtime.InteropServices; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/PipePacketType.cs b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/PipePacketType.cs index 6d70a11295..605aa37e6a 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/PipePacketType.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/PipePacketType.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Core.LifeCycle.InterProcess; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/PipeStreamExtension.cs b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/PipeStreamExtension.cs index c276f07da8..54cc6b75f0 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/PipeStreamExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/PipeStreamExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.ExceptionService; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/PrivateNamedPipe.cs b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/PrivateNamedPipe.cs index 5b02f7f5b0..8882960f3d 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/PrivateNamedPipe.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/PrivateNamedPipe.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Core.LifeCycle.InterProcess; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/PrivateNamedPipeClient.cs b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/PrivateNamedPipeClient.cs index 6d2e8feaa3..71cc128b42 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/PrivateNamedPipeClient.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/PrivateNamedPipeClient.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.Windows.AppLifecycle; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/PrivateNamedPipeMessageDispatcher.cs b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/PrivateNamedPipeMessageDispatcher.cs index 5b7e9a250a..f7fe534acc 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/PrivateNamedPipeMessageDispatcher.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/PrivateNamedPipeMessageDispatcher.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Core.LifeCycle.InterProcess; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/PrivateNamedPipeServer.cs b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/PrivateNamedPipeServer.cs index 816aa6e757..fcabd5d0fb 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/PrivateNamedPipeServer.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/LifeCycle/InterProcess/PrivateNamedPipeServer.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.LifeCycle.InterProcess.BetterGenshinImpact; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Linq/DictionaryLookup.cs b/src/Snap.Hutao/Snap.Hutao/Core/Linq/DictionaryLookup.cs index 2f902e649f..cace896c64 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Linq/DictionaryLookup.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Linq/DictionaryLookup.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Collections; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Linq/DictionaryLookupExtension.cs b/src/Snap.Hutao/Snap.Hutao/Core/Linq/DictionaryLookupExtension.cs index 778fda360c..dc57749b1a 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Linq/DictionaryLookupExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Linq/DictionaryLookupExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Core.Linq; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Logging/ConsoleVirtualTerminalSequences.cs b/src/Snap.Hutao/Snap.Hutao/Core/Logging/ConsoleVirtualTerminalSequences.cs index de95710d2a..526a59aac8 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Logging/ConsoleVirtualTerminalSequences.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Logging/ConsoleVirtualTerminalSequences.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Core.Logging; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Logging/ConsoleWindowLifeTime.cs b/src/Snap.Hutao/Snap.Hutao/Core/Logging/ConsoleWindowLifeTime.cs index 367c49816e..f261a12297 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Logging/ConsoleWindowLifeTime.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Logging/ConsoleWindowLifeTime.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.Setting; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Logging/LogArgument.cs b/src/Snap.Hutao/Snap.Hutao/Core/Logging/LogArgument.cs index ee2e21d10e..5c2b46ac49 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Logging/LogArgument.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Logging/LogArgument.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Core.Logging; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Logging/LogMessage.cs b/src/Snap.Hutao/Snap.Hutao/Core/Logging/LogMessage.cs index b97ad088cc..121e64e5c8 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Logging/LogMessage.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Logging/LogMessage.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Core.Logging; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Logging/LoggerExtension.cs b/src/Snap.Hutao/Snap.Hutao/Core/Logging/LoggerExtension.cs index 416f72df3a..5b36352f95 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Logging/LoggerExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Logging/LoggerExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Text; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Logging/LoggerFactoryExtension.cs b/src/Snap.Hutao/Snap.Hutao/Core/Logging/LoggerFactoryExtension.cs index 1260446952..306ea42d78 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Logging/LoggerFactoryExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Logging/LoggerFactoryExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Core.Logging; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Random.cs b/src/Snap.Hutao/Snap.Hutao/Core/Random.cs index b7f96946fa..0bfa4698c8 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Random.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Random.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Core; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/ReadOnlySpan2D.cs b/src/Snap.Hutao/Snap.Hutao/Core/ReadOnlySpan2D.cs index 44ec04bf75..424bfd0231 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/ReadOnlySpan2D.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/ReadOnlySpan2D.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Runtime.CompilerServices; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/RuntimeOptions.cs b/src/Snap.Hutao/Snap.Hutao/Core/RuntimeOptions.cs index 99245c22c9..f42e013a89 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/RuntimeOptions.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/RuntimeOptions.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Core; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Scripting/HutaoDiagnostics.cs b/src/Snap.Hutao/Snap.Hutao/Core/Scripting/HutaoDiagnostics.cs index d7f5bca0bb..838f084304 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Scripting/HutaoDiagnostics.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Scripting/HutaoDiagnostics.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.EntityFrameworkCore; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Scripting/IHutaoDiagnostics.cs b/src/Snap.Hutao/Snap.Hutao/Core/Scripting/IHutaoDiagnostics.cs index b547dee517..2df017c3f0 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Scripting/IHutaoDiagnostics.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Scripting/IHutaoDiagnostics.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Core.Scripting; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Scripting/ScriptContext.cs b/src/Snap.Hutao/Snap.Hutao/Core/Scripting/ScriptContext.cs index 91d214e59b..6e2d3f4816 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Scripting/ScriptContext.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Scripting/ScriptContext.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Service.User; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Setting/LocalSetting.cs b/src/Snap.Hutao/Snap.Hutao/Core/Setting/LocalSetting.cs index 400c4b83b7..3273224826 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Setting/LocalSetting.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Setting/LocalSetting.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Windows.Storage; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Setting/SettingKeys.cs b/src/Snap.Hutao/Snap.Hutao/Core/Setting/SettingKeys.cs index 51c3a3f376..c3c61cc662 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Setting/SettingKeys.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Setting/SettingKeys.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Core.Setting; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Setting/UnsafeLocalSetting.cs b/src/Snap.Hutao/Snap.Hutao/Core/Setting/UnsafeLocalSetting.cs index 51ff1f26b7..e60413af78 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Setting/UnsafeLocalSetting.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Setting/UnsafeLocalSetting.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Core.Setting; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Shell/IShellLinkInterop.cs b/src/Snap.Hutao/Snap.Hutao/Core/Shell/IShellLinkInterop.cs index 30242a88d4..13e21264c8 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Shell/IShellLinkInterop.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Shell/IShellLinkInterop.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Core.Shell; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Shell/ShellLinkInterop.cs b/src/Snap.Hutao/Snap.Hutao/Core/Shell/ShellLinkInterop.cs index e6b2b86af7..c3fc7bb7fc 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Shell/ShellLinkInterop.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Shell/ShellLinkInterop.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Win32.System.Com; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Threading/Abstraction/IAwaitable.cs b/src/Snap.Hutao/Snap.Hutao/Core/Threading/Abstraction/IAwaitable.cs index 92b4a9ec11..818500c09f 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Threading/Abstraction/IAwaitable.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Threading/Abstraction/IAwaitable.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Core.Threading.Abstraction; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Threading/Abstraction/IAwaiter.cs b/src/Snap.Hutao/Snap.Hutao/Core/Threading/Abstraction/IAwaiter.cs index ca36a08ab6..8347981c72 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Threading/Abstraction/IAwaiter.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Threading/Abstraction/IAwaiter.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Runtime.CompilerServices; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Threading/Abstraction/ICriticalAwaiter.cs b/src/Snap.Hutao/Snap.Hutao/Core/Threading/Abstraction/ICriticalAwaiter.cs index 3635055518..0df328b623 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Threading/Abstraction/ICriticalAwaiter.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Threading/Abstraction/ICriticalAwaiter.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Runtime.CompilerServices; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Threading/AsyncAutoResetEvent.cs b/src/Snap.Hutao/Snap.Hutao/Core/Threading/AsyncAutoResetEvent.cs index f5bb48af6d..08be36d2dc 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Threading/AsyncAutoResetEvent.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Threading/AsyncAutoResetEvent.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Core.Threading; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Threading/AsyncBarrier.cs b/src/Snap.Hutao/Snap.Hutao/Core/Threading/AsyncBarrier.cs index 2e8cb9645b..5c1a4a45e4 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Threading/AsyncBarrier.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Threading/AsyncBarrier.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Collections.Concurrent; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Threading/AsyncCountdownEvent.cs b/src/Snap.Hutao/Snap.Hutao/Core/Threading/AsyncCountdownEvent.cs index 4d52c873f2..bc3da9f672 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Threading/AsyncCountdownEvent.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Threading/AsyncCountdownEvent.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Core.Threading; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Threading/AsyncKeyedLock.cs b/src/Snap.Hutao/Snap.Hutao/Core/Threading/AsyncKeyedLock.cs index 0d6c73ef96..c8dd8404db 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Threading/AsyncKeyedLock.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Threading/AsyncKeyedLock.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Collections.Concurrent; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Threading/AsyncLock.cs b/src/Snap.Hutao/Snap.Hutao/Core/Threading/AsyncLock.cs index ede94fac16..b994a9f34e 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Threading/AsyncLock.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Threading/AsyncLock.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Core.Threading; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Threading/AsyncManualResetEvent.cs b/src/Snap.Hutao/Snap.Hutao/Core/Threading/AsyncManualResetEvent.cs index 53c7971758..5d87a3b525 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Threading/AsyncManualResetEvent.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Threading/AsyncManualResetEvent.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Core.Threading; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Threading/AsyncReaderWriterLock.cs b/src/Snap.Hutao/Snap.Hutao/Core/Threading/AsyncReaderWriterLock.cs index 1302606ea8..2c5281c355 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Threading/AsyncReaderWriterLock.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Threading/AsyncReaderWriterLock.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Core.Threading; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Threading/DispatcherQueueExtension.cs b/src/Snap.Hutao/Snap.Hutao/Core/Threading/DispatcherQueueExtension.cs index 4aba85bb0b..a15c0f3e26 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Threading/DispatcherQueueExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Threading/DispatcherQueueExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.UI.Dispatching; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Threading/DispatcherQueueSwitchOperation.cs b/src/Snap.Hutao/Snap.Hutao/Core/Threading/DispatcherQueueSwitchOperation.cs index 43443cee24..4452a44945 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Threading/DispatcherQueueSwitchOperation.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Threading/DispatcherQueueSwitchOperation.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.UI.Dispatching; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Threading/ITaskContext.cs b/src/Snap.Hutao/Snap.Hutao/Core/Threading/ITaskContext.cs index e21dfe16e4..36cf02b803 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Threading/ITaskContext.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Threading/ITaskContext.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Core.Threading; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Threading/ITaskContextUnsafe.cs b/src/Snap.Hutao/Snap.Hutao/Core/Threading/ITaskContextUnsafe.cs index 04bf3a4da7..eb1796e080 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Threading/ITaskContextUnsafe.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Threading/ITaskContextUnsafe.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.UI.Dispatching; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Threading/LazySlim.cs b/src/Snap.Hutao/Snap.Hutao/Core/Threading/LazySlim.cs index a1251e9797..86fa089a4a 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Threading/LazySlim.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Threading/LazySlim.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Core.Threading; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Threading/RateLimiting/ProgressReportRateLimiter.cs b/src/Snap.Hutao/Snap.Hutao/Core/Threading/RateLimiting/ProgressReportRateLimiter.cs index 3ba7d86d1b..8bd39d302b 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Threading/RateLimiting/ProgressReportRateLimiter.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Threading/RateLimiting/ProgressReportRateLimiter.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Threading.RateLimiting; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Threading/RateLimiting/StreamCopyRateLimiter.cs b/src/Snap.Hutao/Snap.Hutao/Core/Threading/RateLimiting/StreamCopyRateLimiter.cs index df20e3c0d2..e513542a1c 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Threading/RateLimiting/StreamCopyRateLimiter.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Threading/RateLimiting/StreamCopyRateLimiter.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.ComponentModel; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Threading/RateLimiting/TokenBucketRateLimiterExtension.cs b/src/Snap.Hutao/Snap.Hutao/Core/Threading/RateLimiting/TokenBucketRateLimiterExtension.cs index 36bf67abf1..3952b135e5 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Threading/RateLimiting/TokenBucketRateLimiterExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Threading/RateLimiting/TokenBucketRateLimiterExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Runtime.CompilerServices; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Threading/SemaphoreSlimExtension.cs b/src/Snap.Hutao/Snap.Hutao/Core/Threading/SemaphoreSlimExtension.cs index 870ecc5a18..c6fc2e289d 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Threading/SemaphoreSlimExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Threading/SemaphoreSlimExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.ExceptionService; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Threading/SemaphoreSlimToken.cs b/src/Snap.Hutao/Snap.Hutao/Core/Threading/SemaphoreSlimToken.cs index 6d159cbbf4..5963d4afdc 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Threading/SemaphoreSlimToken.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Threading/SemaphoreSlimToken.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Core.Threading; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Threading/SpinWaitPolyfill.cs b/src/Snap.Hutao/Snap.Hutao/Core/Threading/SpinWaitPolyfill.cs index be41aed024..5a329f5e1c 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Threading/SpinWaitPolyfill.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Threading/SpinWaitPolyfill.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Diagnostics; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Threading/TaskContext.cs b/src/Snap.Hutao/Snap.Hutao/Core/Threading/TaskContext.cs index 67cacb1042..350b129abe 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Threading/TaskContext.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Threading/TaskContext.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.UI.Dispatching; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Threading/TaskContextWrapperForDispatcherQueue.cs b/src/Snap.Hutao/Snap.Hutao/Core/Threading/TaskContextWrapperForDispatcherQueue.cs index 3036d30775..c2d47353a2 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Threading/TaskContextWrapperForDispatcherQueue.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Threading/TaskContextWrapperForDispatcherQueue.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.UI.Dispatching; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Threading/TaskExtension.cs b/src/Snap.Hutao/Snap.Hutao/Core/Threading/TaskExtension.cs index b67bbb49b1..5d1d6248a5 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Threading/TaskExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Threading/TaskExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.ExceptionService; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Threading/ThreadPoolSwitchOperation.cs b/src/Snap.Hutao/Snap.Hutao/Core/Threading/ThreadPoolSwitchOperation.cs index 555a9557ad..bd8f27de97 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Threading/ThreadPoolSwitchOperation.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Threading/ThreadPoolSwitchOperation.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.UI.Dispatching; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Threading/ValueResult.cs b/src/Snap.Hutao/Snap.Hutao/Core/Threading/ValueResult.cs index f6f75f11f6..d2109221aa 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Threading/ValueResult.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Threading/ValueResult.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.Abstraction; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Threading/ValueResultExtension.cs b/src/Snap.Hutao/Snap.Hutao/Core/Threading/ValueResultExtension.cs index c50e2758b9..a4922f9ebf 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Threading/ValueResultExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Threading/ValueResultExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Core.Threading; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/TypeNameHelper.cs b/src/Snap.Hutao/Snap.Hutao/Core/TypeNameHelper.cs index becbe864a7..4ed971a55e 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/TypeNameHelper.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/TypeNameHelper.cs @@ -1,4 +1,4 @@ -// Licensed to the .NET Foundation under one or more agreements. +// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Frozen; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/UniversalApiContract.cs b/src/Snap.Hutao/Snap.Hutao/Core/UniversalApiContract.cs index 3fe006e3df..85254d229d 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/UniversalApiContract.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/UniversalApiContract.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Windows.Foundation.Metadata; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/UnsafeDateTimeOffset.cs b/src/Snap.Hutao/Snap.Hutao/Core/UnsafeDateTimeOffset.cs index 238703c478..c247af2b50 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/UnsafeDateTimeOffset.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/UnsafeDateTimeOffset.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Diagnostics.Contracts; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Uuid.cs b/src/Snap.Hutao/Snap.Hutao/Core/Uuid.cs index b0d74b4fab..d9776945ea 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Uuid.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Uuid.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Runtime.CompilerServices; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Void.cs b/src/Snap.Hutao/Snap.Hutao/Core/Void.cs index 06038b1ce3..fd8b663b4c 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Void.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Void.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Core; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/WebView2Version.cs b/src/Snap.Hutao/Snap.Hutao/Core/WebView2Version.cs index e482dc0890..29cadcf776 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/WebView2Version.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/WebView2Version.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Core; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/WindowsVersion.cs b/src/Snap.Hutao/Snap.Hutao/Core/WindowsVersion.cs index 8a7fbce2b2..0febc8c559 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/WindowsVersion.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/WindowsVersion.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Core; diff --git a/src/Snap.Hutao/Snap.Hutao/Extension/AppNotificationBuilderExtension.cs b/src/Snap.Hutao/Snap.Hutao/Extension/AppNotificationBuilderExtension.cs index 33cf0e46c2..5194e48e81 100644 --- a/src/Snap.Hutao/Snap.Hutao/Extension/AppNotificationBuilderExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Extension/AppNotificationBuilderExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.Windows.AppNotifications; diff --git a/src/Snap.Hutao/Snap.Hutao/Extension/CollectionExtension.cs b/src/Snap.Hutao/Snap.Hutao/Extension/CollectionExtension.cs index 6e4bcd73e2..8f36c64f65 100644 --- a/src/Snap.Hutao/Snap.Hutao/Extension/CollectionExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Extension/CollectionExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Collections.ObjectModel; diff --git a/src/Snap.Hutao/Snap.Hutao/Extension/DateTimeOffsetExtension.cs b/src/Snap.Hutao/Snap.Hutao/Extension/DateTimeOffsetExtension.cs index 1640049cb8..f78639189d 100644 --- a/src/Snap.Hutao/Snap.Hutao/Extension/DateTimeOffsetExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Extension/DateTimeOffsetExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Extension; diff --git a/src/Snap.Hutao/Snap.Hutao/Extension/DictionaryExtension.cs b/src/Snap.Hutao/Snap.Hutao/Extension/DictionaryExtension.cs index b2ccf5f0a0..eb659ab8ca 100644 --- a/src/Snap.Hutao/Snap.Hutao/Extension/DictionaryExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Extension/DictionaryExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Diagnostics.Contracts; diff --git a/src/Snap.Hutao/Snap.Hutao/Extension/EnumerableExtension.cs b/src/Snap.Hutao/Snap.Hutao/Extension/EnumerableExtension.cs index b70e2df00b..c7cea2d1d3 100644 --- a/src/Snap.Hutao/Snap.Hutao/Extension/EnumerableExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Extension/EnumerableExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Collections.ObjectModel; diff --git a/src/Snap.Hutao/Snap.Hutao/Extension/GroupingExtension.cs b/src/Snap.Hutao/Snap.Hutao/Extension/GroupingExtension.cs index d5a7c7f0b9..88f51e04e0 100644 --- a/src/Snap.Hutao/Snap.Hutao/Extension/GroupingExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Extension/GroupingExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Extension; diff --git a/src/Snap.Hutao/Snap.Hutao/Extension/ImmutableArrayExtension.cs b/src/Snap.Hutao/Snap.Hutao/Extension/ImmutableArrayExtension.cs index 7b5401344a..21fb5a4e36 100644 --- a/src/Snap.Hutao/Snap.Hutao/Extension/ImmutableArrayExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Extension/ImmutableArrayExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Collections.Immutable; diff --git a/src/Snap.Hutao/Snap.Hutao/Extension/ImmutableDictionaryExtension.cs b/src/Snap.Hutao/Snap.Hutao/Extension/ImmutableDictionaryExtension.cs index ccedae0c5c..dd49ddeb8c 100644 --- a/src/Snap.Hutao/Snap.Hutao/Extension/ImmutableDictionaryExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Extension/ImmutableDictionaryExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Collections.Immutable; diff --git a/src/Snap.Hutao/Snap.Hutao/Extension/ListExtension.cs b/src/Snap.Hutao/Snap.Hutao/Extension/ListExtension.cs index c883a8af28..ff9aad4ab7 100644 --- a/src/Snap.Hutao/Snap.Hutao/Extension/ListExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Extension/ListExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.ExceptionService; diff --git a/src/Snap.Hutao/Snap.Hutao/Extension/MemoryCacheExtension.cs b/src/Snap.Hutao/Snap.Hutao/Extension/MemoryCacheExtension.cs index f4a1f68d33..824799fdac 100644 --- a/src/Snap.Hutao/Snap.Hutao/Extension/MemoryCacheExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Extension/MemoryCacheExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.Extensions.Caching.Memory; diff --git a/src/Snap.Hutao/Snap.Hutao/Extension/NameValueCollectionExtension.cs b/src/Snap.Hutao/Snap.Hutao/Extension/NameValueCollectionExtension.cs index 90b85f4e6a..47ee6db475 100644 --- a/src/Snap.Hutao/Snap.Hutao/Extension/NameValueCollectionExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Extension/NameValueCollectionExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Collections.Specialized; diff --git a/src/Snap.Hutao/Snap.Hutao/Extension/NullableExtension.cs b/src/Snap.Hutao/Snap.Hutao/Extension/NullableExtension.cs index 7c25a34935..8eefe921f2 100644 --- a/src/Snap.Hutao/Snap.Hutao/Extension/NullableExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Extension/NullableExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Extension; diff --git a/src/Snap.Hutao/Snap.Hutao/Extension/NumberExtension.cs b/src/Snap.Hutao/Snap.Hutao/Extension/NumberExtension.cs index e5a510e2a1..7d36ee9471 100644 --- a/src/Snap.Hutao/Snap.Hutao/Extension/NumberExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Extension/NumberExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Runtime.CompilerServices; diff --git a/src/Snap.Hutao/Snap.Hutao/Extension/PackageVersionExtension.cs b/src/Snap.Hutao/Snap.Hutao/Extension/PackageVersionExtension.cs index 1254f6f076..a1f6befc13 100644 --- a/src/Snap.Hutao/Snap.Hutao/Extension/PackageVersionExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Extension/PackageVersionExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Runtime.CompilerServices; diff --git a/src/Snap.Hutao/Snap.Hutao/Extension/RefValueTuple.cs b/src/Snap.Hutao/Snap.Hutao/Extension/RefValueTuple.cs index 6b814b10a0..1f1b1b4c85 100644 --- a/src/Snap.Hutao/Snap.Hutao/Extension/RefValueTuple.cs +++ b/src/Snap.Hutao/Snap.Hutao/Extension/RefValueTuple.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Extension; diff --git a/src/Snap.Hutao/Snap.Hutao/Extension/SizeExtension.cs b/src/Snap.Hutao/Snap.Hutao/Extension/SizeExtension.cs index 98e6877f11..b5359d5365 100644 --- a/src/Snap.Hutao/Snap.Hutao/Extension/SizeExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Extension/SizeExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Extension; diff --git a/src/Snap.Hutao/Snap.Hutao/Extension/SpanExtension.cs b/src/Snap.Hutao/Snap.Hutao/Extension/SpanExtension.cs index 216abc85b6..d322201eea 100644 --- a/src/Snap.Hutao/Snap.Hutao/Extension/SpanExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Extension/SpanExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Numerics; diff --git a/src/Snap.Hutao/Snap.Hutao/Extension/StorageFileExtension.cs b/src/Snap.Hutao/Snap.Hutao/Extension/StorageFileExtension.cs index 130c6a0d4b..333db51675 100644 --- a/src/Snap.Hutao/Snap.Hutao/Extension/StorageFileExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Extension/StorageFileExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.IO; diff --git a/src/Snap.Hutao/Snap.Hutao/Extension/StringBuilderExtension.cs b/src/Snap.Hutao/Snap.Hutao/Extension/StringBuilderExtension.cs index 2b5b7b47aa..d12c44b857 100644 --- a/src/Snap.Hutao/Snap.Hutao/Extension/StringBuilderExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Extension/StringBuilderExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Runtime.CompilerServices; diff --git a/src/Snap.Hutao/Snap.Hutao/Extension/StringExtension.cs b/src/Snap.Hutao/Snap.Hutao/Extension/StringExtension.cs index 5a69637228..f1a297cf9e 100644 --- a/src/Snap.Hutao/Snap.Hutao/Extension/StringExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Extension/StringExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Runtime.CompilerServices; diff --git a/src/Snap.Hutao/Snap.Hutao/Extension/WinRTExtension.cs b/src/Snap.Hutao/Snap.Hutao/Extension/WinRTExtension.cs index f8df36170c..c42d9b4b3a 100644 --- a/src/Snap.Hutao/Snap.Hutao/Extension/WinRTExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Extension/WinRTExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Runtime.CompilerServices; diff --git a/src/Snap.Hutao/Snap.Hutao/Extension/ZipSpan.cs b/src/Snap.Hutao/Snap.Hutao/Extension/ZipSpan.cs index 531b94b048..d4d2edd82c 100644 --- a/src/Snap.Hutao/Snap.Hutao/Extension/ZipSpan.cs +++ b/src/Snap.Hutao/Snap.Hutao/Extension/ZipSpan.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Runtime.CompilerServices; diff --git a/src/Snap.Hutao/Snap.Hutao/Factory/ContentDialog/ContentDialogFactory.cs b/src/Snap.Hutao/Snap.Hutao/Factory/ContentDialog/ContentDialogFactory.cs index 8e1fb6e1b3..5286eaa522 100644 --- a/src/Snap.Hutao/Snap.Hutao/Factory/ContentDialog/ContentDialogFactory.cs +++ b/src/Snap.Hutao/Snap.Hutao/Factory/ContentDialog/ContentDialogFactory.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.UI.Xaml.Controls; diff --git a/src/Snap.Hutao/Snap.Hutao/Factory/ContentDialog/ContentDialogFactoryExtension.cs b/src/Snap.Hutao/Snap.Hutao/Factory/ContentDialog/ContentDialogFactoryExtension.cs index ba3daf89b9..9f13618e7d 100644 --- a/src/Snap.Hutao/Snap.Hutao/Factory/ContentDialog/ContentDialogFactoryExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Factory/ContentDialog/ContentDialogFactoryExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.UI.Xaml; diff --git a/src/Snap.Hutao/Snap.Hutao/Factory/ContentDialog/ContentDialogQueue.cs b/src/Snap.Hutao/Snap.Hutao/Factory/ContentDialog/ContentDialogQueue.cs index 974502066d..8dff728ee2 100644 --- a/src/Snap.Hutao/Snap.Hutao/Factory/ContentDialog/ContentDialogQueue.cs +++ b/src/Snap.Hutao/Snap.Hutao/Factory/ContentDialog/ContentDialogQueue.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.UI.Xaml.Controls; diff --git a/src/Snap.Hutao/Snap.Hutao/Factory/ContentDialog/ContentDialogScope.cs b/src/Snap.Hutao/Snap.Hutao/Factory/ContentDialog/ContentDialogScope.cs index 49e8fc44d3..695be5c2dc 100644 --- a/src/Snap.Hutao/Snap.Hutao/Factory/ContentDialog/ContentDialogScope.cs +++ b/src/Snap.Hutao/Snap.Hutao/Factory/ContentDialog/ContentDialogScope.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Factory.ContentDialog; diff --git a/src/Snap.Hutao/Snap.Hutao/Factory/ContentDialog/IContentDialogFactory.cs b/src/Snap.Hutao/Snap.Hutao/Factory/ContentDialog/IContentDialogFactory.cs index 5660b054ce..442bf8b7e0 100644 --- a/src/Snap.Hutao/Snap.Hutao/Factory/ContentDialog/IContentDialogFactory.cs +++ b/src/Snap.Hutao/Snap.Hutao/Factory/ContentDialog/IContentDialogFactory.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using JetBrains.Annotations; diff --git a/src/Snap.Hutao/Snap.Hutao/Factory/ContentDialog/IContentDialogQueue.cs b/src/Snap.Hutao/Snap.Hutao/Factory/ContentDialog/IContentDialogQueue.cs index 52294e44ae..915b490ceb 100644 --- a/src/Snap.Hutao/Snap.Hutao/Factory/ContentDialog/IContentDialogQueue.cs +++ b/src/Snap.Hutao/Snap.Hutao/Factory/ContentDialog/IContentDialogQueue.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Factory.ContentDialog; diff --git a/src/Snap.Hutao/Snap.Hutao/Factory/ContentDialog/ValueContentDialogTask.cs b/src/Snap.Hutao/Snap.Hutao/Factory/ContentDialog/ValueContentDialogTask.cs index 5c484534ef..86ebd8598a 100644 --- a/src/Snap.Hutao/Snap.Hutao/Factory/ContentDialog/ValueContentDialogTask.cs +++ b/src/Snap.Hutao/Snap.Hutao/Factory/ContentDialog/ValueContentDialogTask.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.UI.Xaml.Controls; diff --git a/src/Snap.Hutao/Snap.Hutao/Factory/IO/IMemoryStreamFactory.cs b/src/Snap.Hutao/Snap.Hutao/Factory/IO/IMemoryStreamFactory.cs index a66a19db34..7c2b652b17 100644 --- a/src/Snap.Hutao/Snap.Hutao/Factory/IO/IMemoryStreamFactory.cs +++ b/src/Snap.Hutao/Snap.Hutao/Factory/IO/IMemoryStreamFactory.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.IO; diff --git a/src/Snap.Hutao/Snap.Hutao/Factory/IO/MemoryStreamFactory.cs b/src/Snap.Hutao/Snap.Hutao/Factory/IO/MemoryStreamFactory.cs index d11320c53b..1b7479b1c1 100644 --- a/src/Snap.Hutao/Snap.Hutao/Factory/IO/MemoryStreamFactory.cs +++ b/src/Snap.Hutao/Snap.Hutao/Factory/IO/MemoryStreamFactory.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.IO; diff --git a/src/Snap.Hutao/Snap.Hutao/Factory/IO/MemoryStreamFactoryExtension.cs b/src/Snap.Hutao/Snap.Hutao/Factory/IO/MemoryStreamFactoryExtension.cs index 26714e790c..05271d16d5 100644 --- a/src/Snap.Hutao/Snap.Hutao/Factory/IO/MemoryStreamFactoryExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Factory/IO/MemoryStreamFactoryExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.IO; diff --git a/src/Snap.Hutao/Snap.Hutao/Factory/Picker/FileSystemPickerInteraction.cs b/src/Snap.Hutao/Snap.Hutao/Factory/Picker/FileSystemPickerInteraction.cs index aad83879be..1189708bd7 100644 --- a/src/Snap.Hutao/Snap.Hutao/Factory/Picker/FileSystemPickerInteraction.cs +++ b/src/Snap.Hutao/Snap.Hutao/Factory/Picker/FileSystemPickerInteraction.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.IO; diff --git a/src/Snap.Hutao/Snap.Hutao/Factory/Picker/FileSystemPickerInteractionExtension.cs b/src/Snap.Hutao/Snap.Hutao/Factory/Picker/FileSystemPickerInteractionExtension.cs index 62e7dd8353..2dd39fce7e 100644 --- a/src/Snap.Hutao/Snap.Hutao/Factory/Picker/FileSystemPickerInteractionExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Factory/Picker/FileSystemPickerInteractionExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.IO; diff --git a/src/Snap.Hutao/Snap.Hutao/Factory/Picker/IFileSystemPickerInteraction.cs b/src/Snap.Hutao/Snap.Hutao/Factory/Picker/IFileSystemPickerInteraction.cs index c2827cd440..84d3edd210 100644 --- a/src/Snap.Hutao/Snap.Hutao/Factory/Picker/IFileSystemPickerInteraction.cs +++ b/src/Snap.Hutao/Snap.Hutao/Factory/Picker/IFileSystemPickerInteraction.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using JetBrains.Annotations; diff --git a/src/Snap.Hutao/Snap.Hutao/Factory/Progress/DispatcherQueueProgress.cs b/src/Snap.Hutao/Snap.Hutao/Factory/Progress/DispatcherQueueProgress.cs index 9bbf63517c..5edf4788aa 100644 --- a/src/Snap.Hutao/Snap.Hutao/Factory/Progress/DispatcherQueueProgress.cs +++ b/src/Snap.Hutao/Snap.Hutao/Factory/Progress/DispatcherQueueProgress.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.UI.Dispatching; diff --git a/src/Snap.Hutao/Snap.Hutao/Factory/Progress/IProgressFactory.cs b/src/Snap.Hutao/Snap.Hutao/Factory/Progress/IProgressFactory.cs index a084afb44b..417cd2825a 100644 --- a/src/Snap.Hutao/Snap.Hutao/Factory/Progress/IProgressFactory.cs +++ b/src/Snap.Hutao/Snap.Hutao/Factory/Progress/IProgressFactory.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Factory.Progress; diff --git a/src/Snap.Hutao/Snap.Hutao/Factory/Progress/ProgressFactory.cs b/src/Snap.Hutao/Snap.Hutao/Factory/Progress/ProgressFactory.cs index ef6acaf40a..49b2cd2c2c 100644 --- a/src/Snap.Hutao/Snap.Hutao/Factory/Progress/ProgressFactory.cs +++ b/src/Snap.Hutao/Snap.Hutao/Factory/Progress/ProgressFactory.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.ExceptionService; diff --git a/src/Snap.Hutao/Snap.Hutao/Factory/QuickResponse/IQRCodeFactory.cs b/src/Snap.Hutao/Snap.Hutao/Factory/QuickResponse/IQRCodeFactory.cs index fef8179e86..b84596c4b6 100644 --- a/src/Snap.Hutao/Snap.Hutao/Factory/QuickResponse/IQRCodeFactory.cs +++ b/src/Snap.Hutao/Snap.Hutao/Factory/QuickResponse/IQRCodeFactory.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Factory.QuickResponse; diff --git a/src/Snap.Hutao/Snap.Hutao/Factory/QuickResponse/QRCodeFactory.cs b/src/Snap.Hutao/Snap.Hutao/Factory/QuickResponse/QRCodeFactory.cs index 99b85326ed..0f535edec3 100644 --- a/src/Snap.Hutao/Snap.Hutao/Factory/QuickResponse/QRCodeFactory.cs +++ b/src/Snap.Hutao/Snap.Hutao/Factory/QuickResponse/QRCodeFactory.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using QRCoder; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Calculable/CalculableAvatar.cs b/src/Snap.Hutao/Snap.Hutao/Model/Calculable/CalculableAvatar.cs index 782d067ce6..b474605860 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Calculable/CalculableAvatar.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Calculable/CalculableAvatar.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using CommunityToolkit.Mvvm.ComponentModel; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Calculable/CalculableOptions.cs b/src/Snap.Hutao/Snap.Hutao/Model/Calculable/CalculableOptions.cs index b77c689889..a80601efa8 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Calculable/CalculableOptions.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Calculable/CalculableOptions.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Model.Calculable; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Calculable/CalculableSkill.cs b/src/Snap.Hutao/Snap.Hutao/Model/Calculable/CalculableSkill.cs index 02a8920a24..3378b8dbee 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Calculable/CalculableSkill.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Calculable/CalculableSkill.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using CommunityToolkit.Mvvm.ComponentModel; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Calculable/CalculableWeapon.cs b/src/Snap.Hutao/Snap.Hutao/Model/Calculable/CalculableWeapon.cs index 0887a44cdc..7fd5f33f51 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Calculable/CalculableWeapon.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Calculable/CalculableWeapon.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using CommunityToolkit.Mvvm.ComponentModel; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Calculable/ICalculable.cs b/src/Snap.Hutao/Snap.Hutao/Model/Calculable/ICalculable.cs index 2224fb6d18..8a2fff1adc 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Calculable/ICalculable.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Calculable/ICalculable.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Calculable/ICalculableAvatar.cs b/src/Snap.Hutao/Snap.Hutao/Model/Calculable/ICalculableAvatar.cs index 333a93b30b..433f969d01 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Calculable/ICalculableAvatar.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Calculable/ICalculableAvatar.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Primitive; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Calculable/ICalculableMinMaxLevel.cs b/src/Snap.Hutao/Snap.Hutao/Model/Calculable/ICalculableMinMaxLevel.cs index 5a99695e3d..66c0b83605 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Calculable/ICalculableMinMaxLevel.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Calculable/ICalculableMinMaxLevel.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Model.Calculable; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Calculable/ICalculableSkill.cs b/src/Snap.Hutao/Snap.Hutao/Model/Calculable/ICalculableSkill.cs index 0a66d9dd5b..32d01d885d 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Calculable/ICalculableSkill.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Calculable/ICalculableSkill.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Primitive; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Calculable/ICalculableSource.cs b/src/Snap.Hutao/Snap.Hutao/Model/Calculable/ICalculableSource.cs index e42ebab84a..c8a49b86d5 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Calculable/ICalculableSource.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Calculable/ICalculableSource.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Model.Calculable; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Calculable/ICalculableWeapon.cs b/src/Snap.Hutao/Snap.Hutao/Model/Calculable/ICalculableWeapon.cs index b8f3bf4226..eb27549723 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Calculable/ICalculableWeapon.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Calculable/ICalculableWeapon.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Primitive; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Calculable/SkillType.cs b/src/Snap.Hutao/Snap.Hutao/Model/Calculable/SkillType.cs index 61b1d3cf15..46136c2eef 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Calculable/SkillType.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Calculable/SkillType.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Model.Calculable; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/CollectionsNameValue.cs b/src/Snap.Hutao/Snap.Hutao/Model/CollectionsNameValue.cs index 605289e379..88b979cd36 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/CollectionsNameValue.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/CollectionsNameValue.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Model; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Entity/Abstraction/IAppDbEntity.cs b/src/Snap.Hutao/Snap.Hutao/Model/Entity/Abstraction/IAppDbEntity.cs index 3a055fb484..71d2efc887 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Entity/Abstraction/IAppDbEntity.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Entity/Abstraction/IAppDbEntity.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Model.Entity.Abstraction; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Entity/Abstraction/IAppDbEntityHasArchive.cs b/src/Snap.Hutao/Snap.Hutao/Model/Entity/Abstraction/IAppDbEntityHasArchive.cs index 086eb1df46..1e1d29ec3e 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Entity/Abstraction/IAppDbEntityHasArchive.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Entity/Abstraction/IAppDbEntityHasArchive.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Model.Entity.Abstraction; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Entity/Abstraction/IDbMappingForeignKeyFrom.cs b/src/Snap.Hutao/Snap.Hutao/Model/Entity/Abstraction/IDbMappingForeignKeyFrom.cs deleted file mode 100644 index e2a9bd1f88..0000000000 --- a/src/Snap.Hutao/Snap.Hutao/Model/Entity/Abstraction/IDbMappingForeignKeyFrom.cs +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright (c) DGP Studio. All rights reserved. -// Licensed under the MIT license. - -using System.Diagnostics.Contracts; - -namespace Snap.Hutao.Model.Entity.Abstraction; - -[Obsolete] -internal interface IDbMappingForeignKeyFrom -{ - [Pure] - static abstract TSource From(Guid foreignKey, TFrom from); -} - -[Obsolete] -internal interface IDbMappingForeignKeyFrom -{ - [Pure] - static abstract TSource From(Guid foreignKey, T1 param1, T2 param2); -} - -[Obsolete] -internal interface IDbMappingForeignKeyFrom -{ - [Pure] - static abstract TSource From(Guid foreignKey, T1 param1, T2 param2, T3 param3); -} \ No newline at end of file diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Entity/Achievement.cs b/src/Snap.Hutao/Snap.Hutao/Model/Entity/Achievement.cs index cad7d76701..7ab279a66c 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Entity/Achievement.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Entity/Achievement.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Entity.Abstraction; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Entity/AchievementArchive.cs b/src/Snap.Hutao/Snap.Hutao/Model/Entity/AchievementArchive.cs index 3296991c2f..dc660cc9f5 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Entity/AchievementArchive.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Entity/AchievementArchive.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.Database.Abstraction; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Entity/AvatarInfo.cs b/src/Snap.Hutao/Snap.Hutao/Model/Entity/AvatarInfo.cs index bc535abb5d..397026b5a2 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Entity/AvatarInfo.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Entity/AvatarInfo.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Web.Hoyolab.Takumi.GameRecord.Avatar; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Entity/Configuration/AvatarInfoConfiguration.cs b/src/Snap.Hutao/Snap.Hutao/Model/Entity/Configuration/AvatarInfoConfiguration.cs index 23570449aa..f9bc21a1ae 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Entity/Configuration/AvatarInfoConfiguration.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Entity/Configuration/AvatarInfoConfiguration.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.EntityFrameworkCore; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Entity/Configuration/DailyNoteEntryConfiguration.cs b/src/Snap.Hutao/Snap.Hutao/Model/Entity/Configuration/DailyNoteEntryConfiguration.cs index 3a6d875e0f..fc698a5ffe 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Entity/Configuration/DailyNoteEntryConfiguration.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Entity/Configuration/DailyNoteEntryConfiguration.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.EntityFrameworkCore; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Entity/Configuration/JsonTextValueConverter.cs b/src/Snap.Hutao/Snap.Hutao/Model/Entity/Configuration/JsonTextValueConverter.cs index d681dc5994..2ef2d9c429 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Entity/Configuration/JsonTextValueConverter.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Entity/Configuration/JsonTextValueConverter.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.EntityFrameworkCore.Storage.ValueConversion; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Entity/Configuration/RoleCombatEntryConfiguration.cs b/src/Snap.Hutao/Snap.Hutao/Model/Entity/Configuration/RoleCombatEntryConfiguration.cs index d2639e570e..5461e6f5b2 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Entity/Configuration/RoleCombatEntryConfiguration.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Entity/Configuration/RoleCombatEntryConfiguration.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.EntityFrameworkCore; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Entity/Configuration/SpiralAbyssEntryConfiguration.cs b/src/Snap.Hutao/Snap.Hutao/Model/Entity/Configuration/SpiralAbyssEntryConfiguration.cs index 4f4354bac1..7f57ecb957 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Entity/Configuration/SpiralAbyssEntryConfiguration.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Entity/Configuration/SpiralAbyssEntryConfiguration.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.EntityFrameworkCore; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Entity/Configuration/SqliteTypeNames.cs b/src/Snap.Hutao/Snap.Hutao/Model/Entity/Configuration/SqliteTypeNames.cs index 5255dea5f9..6771ed71fa 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Entity/Configuration/SqliteTypeNames.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Entity/Configuration/SqliteTypeNames.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Model.Entity.Configuration; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Entity/Configuration/UserConfiguration.cs b/src/Snap.Hutao/Snap.Hutao/Model/Entity/Configuration/UserConfiguration.cs index d00caf91b3..d351b928fa 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Entity/Configuration/UserConfiguration.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Entity/Configuration/UserConfiguration.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.EntityFrameworkCore; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Entity/CultivateEntry.cs b/src/Snap.Hutao/Snap.Hutao/Model/Entity/CultivateEntry.cs index cfcf54a601..3a007029a8 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Entity/CultivateEntry.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Entity/CultivateEntry.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Entity.Abstraction; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Entity/CultivateEntryLevelInformation.cs b/src/Snap.Hutao/Snap.Hutao/Model/Entity/CultivateEntryLevelInformation.cs index afbb5735e4..bedf850f7b 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Entity/CultivateEntryLevelInformation.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Entity/CultivateEntryLevelInformation.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.ExceptionService; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Entity/CultivateItem.cs b/src/Snap.Hutao/Snap.Hutao/Model/Entity/CultivateItem.cs index 3ca57836d3..146397f780 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Entity/CultivateItem.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Entity/CultivateItem.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.ComponentModel.DataAnnotations; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Entity/CultivateProject.cs b/src/Snap.Hutao/Snap.Hutao/Model/Entity/CultivateProject.cs index 344645e7db..35e79e7ffb 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Entity/CultivateProject.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Entity/CultivateProject.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.Database.Abstraction; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Entity/DailyNoteEntry.cs b/src/Snap.Hutao/Snap.Hutao/Model/Entity/DailyNoteEntry.cs index 0165e1ab2c..67b5b7dde0 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Entity/DailyNoteEntry.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Entity/DailyNoteEntry.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using CommunityToolkit.Mvvm.ComponentModel; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Entity/Database/AppDbContext.cs b/src/Snap.Hutao/Snap.Hutao/Model/Entity/Database/AppDbContext.cs index 53cfa9240f..298319ff94 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Entity/Database/AppDbContext.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Entity/Database/AppDbContext.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.EntityFrameworkCore; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Entity/Extension/UserExtension.cs b/src/Snap.Hutao/Snap.Hutao/Model/Entity/Extension/UserExtension.cs index 66f2df903e..a6b09a350f 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Entity/Extension/UserExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Entity/Extension/UserExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Model.Entity.Extension; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Entity/GachaArchive.cs b/src/Snap.Hutao/Snap.Hutao/Model/Entity/GachaArchive.cs index c126bc1696..b92f8e2a77 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Entity/GachaArchive.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Entity/GachaArchive.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.Database.Abstraction; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Entity/GachaItem.cs b/src/Snap.Hutao/Snap.Hutao/Model/Entity/GachaItem.cs index 7a3c8c92d5..76a8f5629b 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Entity/GachaItem.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Entity/GachaItem.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.InterChange.GachaLog; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Entity/GameAccount.cs b/src/Snap.Hutao/Snap.Hutao/Model/Entity/GameAccount.cs index 75248f6746..bdfb29f977 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Entity/GameAccount.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Entity/GameAccount.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using CommunityToolkit.Mvvm.ComponentModel; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Entity/InventoryItem.cs b/src/Snap.Hutao/Snap.Hutao/Model/Entity/InventoryItem.cs index 2575e643ea..5490a32fea 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Entity/InventoryItem.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Entity/InventoryItem.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.ComponentModel.DataAnnotations; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Entity/ObjectCacheEntry.cs b/src/Snap.Hutao/Snap.Hutao/Model/Entity/ObjectCacheEntry.cs index 3d51d8ed54..d1093c791e 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Entity/ObjectCacheEntry.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Entity/ObjectCacheEntry.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.ComponentModel.DataAnnotations; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Entity/Primitive/CultivateType.cs b/src/Snap.Hutao/Snap.Hutao/Model/Entity/Primitive/CultivateType.cs index 18dc7dc6b5..8a0d1dcb00 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Entity/Primitive/CultivateType.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Entity/Primitive/CultivateType.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Model.Entity.Primitive; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Entity/Primitive/SchemeType.cs b/src/Snap.Hutao/Snap.Hutao/Model/Entity/Primitive/SchemeType.cs index c74ef4d0d5..305e081ef5 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Entity/Primitive/SchemeType.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Entity/Primitive/SchemeType.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Model.Entity.Primitive; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Entity/RoleCombatEntry.cs b/src/Snap.Hutao/Snap.Hutao/Model/Entity/RoleCombatEntry.cs index 5e539319e2..ff9f7b8475 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Entity/RoleCombatEntry.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Entity/RoleCombatEntry.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using CommunityToolkit.Mvvm.ComponentModel; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Entity/SettingEntry.cs b/src/Snap.Hutao/Snap.Hutao/Model/Entity/SettingEntry.cs index 8a51b297bc..03b4b74855 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Entity/SettingEntry.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Entity/SettingEntry.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.ComponentModel.DataAnnotations; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Entity/SpiralAbyssEntry.cs b/src/Snap.Hutao/Snap.Hutao/Model/Entity/SpiralAbyssEntry.cs index 389d7e6193..9c25b406c6 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Entity/SpiralAbyssEntry.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Entity/SpiralAbyssEntry.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using CommunityToolkit.Mvvm.ComponentModel; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Entity/UidProfilePicture.cs b/src/Snap.Hutao/Snap.Hutao/Model/Entity/UidProfilePicture.cs index cd15b6330b..e574d90658 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Entity/UidProfilePicture.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Entity/UidProfilePicture.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Web.Enka.Model; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Entity/User.cs b/src/Snap.Hutao/Snap.Hutao/Model/Entity/User.cs index ffda782aa5..b6b1f7d4fb 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Entity/User.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Entity/User.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.Database.Abstraction; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/IEntityAccess.cs b/src/Snap.Hutao/Snap.Hutao/Model/IEntityAccess.cs index fc3cfbc47b..f6ce65bee8 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/IEntityAccess.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/IEntityAccess.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Model; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/IEntityAccessWithMetadata.cs b/src/Snap.Hutao/Snap.Hutao/Model/IEntityAccessWithMetadata.cs index fd90a9ed11..ac0f7ac6fc 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/IEntityAccessWithMetadata.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/IEntityAccessWithMetadata.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Model; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/INameIcon.cs b/src/Snap.Hutao/Snap.Hutao/Model/INameIcon.cs index f38b168c40..38b7da2c50 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/INameIcon.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/INameIcon.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Model; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/INameIconSide.cs b/src/Snap.Hutao/Snap.Hutao/Model/INameIconSide.cs index 6c155acb90..4282824a7d 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/INameIconSide.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/INameIconSide.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Model; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/InterChange/Achievement/UIAF.cs b/src/Snap.Hutao/Snap.Hutao/Model/InterChange/Achievement/UIAF.cs index b95c5c8286..fa9fd8b76f 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/InterChange/Achievement/UIAF.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/InterChange/Achievement/UIAF.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Collections.Frozen; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/InterChange/Achievement/UIAFInfo.cs b/src/Snap.Hutao/Snap.Hutao/Model/InterChange/Achievement/UIAFInfo.cs index ccd864f385..49a1dca2de 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/InterChange/Achievement/UIAFInfo.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/InterChange/Achievement/UIAFInfo.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/InterChange/Achievement/UIAFItem.cs b/src/Snap.Hutao/Snap.Hutao/Model/InterChange/Achievement/UIAFItem.cs index 0fcbfeaf45..1786c0cb45 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/InterChange/Achievement/UIAFItem.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/InterChange/Achievement/UIAFItem.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/InterChange/GachaLog/Hk4eItem.cs b/src/Snap.Hutao/Snap.Hutao/Model/InterChange/GachaLog/Hk4eItem.cs index 3bfbb9e2b0..c9cacd2cff 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/InterChange/GachaLog/Hk4eItem.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/InterChange/GachaLog/Hk4eItem.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.Json.Annotation; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/InterChange/GachaLog/UIGF.cs b/src/Snap.Hutao/Snap.Hutao/Model/InterChange/GachaLog/UIGF.cs index 9b82e012b6..6a332271a5 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/InterChange/GachaLog/UIGF.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/InterChange/GachaLog/UIGF.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Collections.Immutable; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/InterChange/GachaLog/UIGFEntry.cs b/src/Snap.Hutao/Snap.Hutao/Model/InterChange/GachaLog/UIGFEntry.cs index 9429c2ceb3..1a9fdf95b1 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/InterChange/GachaLog/UIGFEntry.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/InterChange/GachaLog/UIGFEntry.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Collections.Immutable; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/InterChange/GachaLog/UIGFInfo.cs b/src/Snap.Hutao/Snap.Hutao/Model/InterChange/GachaLog/UIGFInfo.cs index 0cd35890e7..531dd24f90 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/InterChange/GachaLog/UIGFInfo.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/InterChange/GachaLog/UIGFInfo.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Model.InterChange.GachaLog; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/AchievementStatus.cs b/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/AchievementStatus.cs index a1e558e10f..54d39651d2 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/AchievementStatus.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/AchievementStatus.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/Arkhe.cs b/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/Arkhe.cs index 3ad89f4744..bb30edfd2f 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/Arkhe.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/Arkhe.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/AssociationType.cs b/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/AssociationType.cs index 3e301a26b7..23730ab6a1 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/AssociationType.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/AssociationType.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/BodyType.cs b/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/BodyType.cs index 277323ed19..9980496fd4 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/BodyType.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/BodyType.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/ChannelType.cs b/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/ChannelType.cs index 0cf4862265..58700ceec1 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/ChannelType.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/ChannelType.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/ElementName.cs b/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/ElementName.cs index ce9e0427c8..25ef9fde43 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/ElementName.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/ElementName.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/ElementType.cs b/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/ElementType.cs index 07cee99fa3..b8a784e634 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/ElementType.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/ElementType.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/EquipType.cs b/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/EquipType.cs index 9a3a83992d..413130d97b 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/EquipType.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/EquipType.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/FightProperty.cs b/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/FightProperty.cs index 5016b1de98..c1e3ee07a6 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/FightProperty.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/FightProperty.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/Format/FormatMethod.cs b/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/Format/FormatMethod.cs index f5bdd3965a..10cfa698b0 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/Format/FormatMethod.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/Format/FormatMethod.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Model.Intrinsic.Format; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/Format/FormatMethodExtension.cs b/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/Format/FormatMethodExtension.cs index ddfb0bbc85..462ba7c9e4 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/Format/FormatMethodExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/Format/FormatMethodExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Model.Intrinsic.Format; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/FurnitureDeploySurfaceType.cs b/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/FurnitureDeploySurfaceType.cs index bd6259925b..7cbf5b5246 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/FurnitureDeploySurfaceType.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/FurnitureDeploySurfaceType.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/FurnitureDeployType.cs b/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/FurnitureDeployType.cs index 3da4462869..c9f638c83a 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/FurnitureDeployType.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/FurnitureDeployType.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/GroupRecordType.cs b/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/GroupRecordType.cs index 90f2aebc5d..f4c6fa0077 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/GroupRecordType.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/GroupRecordType.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/GrowCurveType.cs b/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/GrowCurveType.cs index 418d30f574..b519a0ade9 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/GrowCurveType.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/GrowCurveType.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/ItemType.cs b/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/ItemType.cs index e3522fd296..f4e3515a24 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/ItemType.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/ItemType.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/MaterialType.cs b/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/MaterialType.cs index 6ef52cdde8..25b132f6a8 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/MaterialType.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/MaterialType.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/MonsterType.cs b/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/MonsterType.cs index 4261a2a7bf..be82acd5d3 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/MonsterType.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/MonsterType.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/PlayerProperty.cs b/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/PlayerProperty.cs index f2854f86f5..e794f4d41a 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/PlayerProperty.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/PlayerProperty.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/ProfilePictureUnlockType.cs b/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/ProfilePictureUnlockType.cs index b58b495773..611d6a60e2 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/ProfilePictureUnlockType.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/ProfilePictureUnlockType.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/QualityType.cs b/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/QualityType.cs index 7db0427a74..ea09beb3da 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/QualityType.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/QualityType.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/QuestType.cs b/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/QuestType.cs index 591d59aecd..0b2a4062c6 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/QuestType.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/QuestType.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/RoleCombatDifficultyLevel.cs b/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/RoleCombatDifficultyLevel.cs index f8e0fe282b..5bcd6cccdb 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/RoleCombatDifficultyLevel.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/RoleCombatDifficultyLevel.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/SpecialFurnitureType.cs b/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/SpecialFurnitureType.cs index 2b4e0ac703..a9825490be 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/SpecialFurnitureType.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/SpecialFurnitureType.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/SubChannelType.cs b/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/SubChannelType.cs index 2633c95c2d..5230a9ba8d 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/SubChannelType.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/SubChannelType.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/WeaponType.cs b/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/WeaponType.cs index 77bd95b3f5..a992e5d68c 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/WeaponType.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/WeaponType.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Item.cs b/src/Snap.Hutao/Snap.Hutao/Model/Item.cs index 0da8e6e2dc..cd6f3417ab 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Item.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Item.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Abstraction/ICultivationItemsAccess.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Abstraction/ICultivationItemsAccess.cs index f8463bfe25..6befea798e 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Abstraction/ICultivationItemsAccess.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Abstraction/ICultivationItemsAccess.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Primitive; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Abstraction/IItemConvertible.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Abstraction/IItemConvertible.cs index 8e1c4d9fcf..8ff3639c87 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Abstraction/IItemConvertible.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Abstraction/IItemConvertible.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Model.Metadata.Abstraction; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Abstraction/INameQualityAccess.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Abstraction/INameQualityAccess.cs index bb516c98b2..2b660f6631 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Abstraction/INameQualityAccess.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Abstraction/INameQualityAccess.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Abstraction/IStatisticsItemConvertible.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Abstraction/IStatisticsItemConvertible.cs index f98f017d2a..662a027564 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Abstraction/IStatisticsItemConvertible.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Abstraction/IStatisticsItemConvertible.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.ViewModel.GachaLog; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Abstraction/ISummaryItemConvertible.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Abstraction/ISummaryItemConvertible.cs index 1732f016df..82df913dfd 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Abstraction/ISummaryItemConvertible.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Abstraction/ISummaryItemConvertible.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Achievement/Achievement.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Achievement/Achievement.cs index 7e3ddfbc44..525fd12bd3 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Achievement/Achievement.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Achievement/Achievement.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Primitive; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Achievement/AchievementGoal.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Achievement/AchievementGoal.cs index 475712e64d..aa252146a4 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Achievement/AchievementGoal.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Achievement/AchievementGoal.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Primitive; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Achievement/Reward.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Achievement/Reward.cs index 3983771c0a..6dfd59c90e 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Achievement/Reward.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Achievement/Reward.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Model.Metadata.Achievement; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/Avatar.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/Avatar.cs index 009dcb044d..9a6ea9c271 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/Avatar.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/Avatar.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Calculable; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/AvatarBaseValue.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/AvatarBaseValue.cs index 975049e699..e0f846d5c0 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/AvatarBaseValue.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/AvatarBaseValue.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/AvatarIds.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/AvatarIds.cs index 2b5d7ab453..bb03840df7 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/AvatarIds.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/AvatarIds.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Primitive; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/CookBonus.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/CookBonus.cs index 79c1c18e2c..253cbdb3d7 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/CookBonus.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/CookBonus.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Primitive; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/Costume.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/Costume.cs index 38f32f9f5d..6675dbea69 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/Costume.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/Costume.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Primitive; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/DescriptionsParameters.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/DescriptionsParameters.cs index 7bf93292ca..180bf679f0 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/DescriptionsParameters.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/DescriptionsParameters.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Primitive; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/ExtraLevelIndexKind.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/ExtraLevelIndexKind.cs index dde2f7fe82..73f4ee2688 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/ExtraLevelIndexKind.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/ExtraLevelIndexKind.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Model.Metadata.Avatar; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/ExtraLevelInfo.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/ExtraLevelInfo.cs index b68124cc45..66c56c4fa4 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/ExtraLevelInfo.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/ExtraLevelInfo.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Model.Metadata.Avatar; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/Fetter.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/Fetter.cs index aed11d1a7e..c2a7c743f5 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/Fetter.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/Fetter.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Model.Metadata.Avatar; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/FetterInfo.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/FetterInfo.cs index 20d148d165..c7fffafd88 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/FetterInfo.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/FetterInfo.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/LevelParametersCollection.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/LevelParametersCollection.cs index 37eb1c8de7..1356d3ae03 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/LevelParametersCollection.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/LevelParametersCollection.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Collections.Immutable; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/LevelParametersCollectionExtension.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/LevelParametersCollectionExtension.cs index 710b64e710..f101736951 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/LevelParametersCollectionExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/LevelParametersCollectionExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Primitive; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/NameCard.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/NameCard.cs index 7a444ebb1f..16c4fddb4d 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/NameCard.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/NameCard.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Model.Metadata.Avatar; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/ProfilePicture.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/ProfilePicture.cs index 6cf81ff8c9..2f78a99289 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/ProfilePicture.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/ProfilePicture.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/ProudableSkill.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/ProudableSkill.cs index 7202b13c4a..905d6c004d 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/ProudableSkill.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/ProudableSkill.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Calculable; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/Skill.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/Skill.cs index a6c52c35a5..3f6e7c1996 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/Skill.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/Skill.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Primitive; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/SkillDepot.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/SkillDepot.cs index 3c5eac1ead..39c0911902 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/SkillDepot.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Avatar/SkillDepot.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/BaseValue.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/BaseValue.cs index 0eed961b44..ee953335ae 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/BaseValue.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/BaseValue.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Chapter.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Chapter.cs index 68ce4b3313..def02849d1 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Chapter.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Chapter.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/City.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/City.cs index 2cbb5ed1db..a4b555f3f5 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/City.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/City.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Model.Metadata; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/AchievementIconConverter.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/AchievementIconConverter.cs index 61341266b1..f1d83aaeb7 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/AchievementIconConverter.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/AchievementIconConverter.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.UI.Xaml.Data.Converter; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/AssociationTypeIconConverter.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/AssociationTypeIconConverter.cs index e6d7d14ec6..8180864295 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/AssociationTypeIconConverter.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/AssociationTypeIconConverter.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.ExceptionService; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/AvatarCardConverter.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/AvatarCardConverter.cs index ad20a639ba..65792be67b 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/AvatarCardConverter.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/AvatarCardConverter.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.UI.Xaml.Data.Converter; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/AvatarIconCircleConverter.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/AvatarIconCircleConverter.cs index 931614bfae..bd5eb3e965 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/AvatarIconCircleConverter.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/AvatarIconCircleConverter.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.UI.Xaml.Data.Converter; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/AvatarIconConverter.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/AvatarIconConverter.cs index fd9b18206a..fb61c89f57 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/AvatarIconConverter.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/AvatarIconConverter.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.UI.Xaml.Data.Converter; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/AvatarNameCardIconConverter.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/AvatarNameCardIconConverter.cs index 3f2f4e33f9..a12f0661f7 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/AvatarNameCardIconConverter.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/AvatarNameCardIconConverter.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.UI.Xaml.Data.Converter; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/AvatarNameCardPicAlphaConverter.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/AvatarNameCardPicAlphaConverter.cs index dc1dcf7774..463e19ea82 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/AvatarNameCardPicAlphaConverter.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/AvatarNameCardPicAlphaConverter.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.UI.Xaml.Data.Converter; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/AvatarNameCardPicConverter.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/AvatarNameCardPicConverter.cs index 3602385a3e..192ba45fcc 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/AvatarNameCardPicConverter.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/AvatarNameCardPicConverter.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.UI.Xaml.Data.Converter; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/AvatarSideIconConverter.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/AvatarSideIconConverter.cs index a8915866b5..fdf4cfed55 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/AvatarSideIconConverter.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/AvatarSideIconConverter.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.UI.Xaml.Data.Converter; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/BaseValueInfoFormat.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/BaseValueInfoFormat.cs index b797c855cc..fdcad03e5c 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/BaseValueInfoFormat.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/BaseValueInfoFormat.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/DescriptionsParametersDescriptor.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/DescriptionsParametersDescriptor.cs index de4481ee78..ebfc70044d 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/DescriptionsParametersDescriptor.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/DescriptionsParametersDescriptor.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.ExceptionService; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/ElementNameIconConverter.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/ElementNameIconConverter.cs index 235b4a4fed..d861210423 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/ElementNameIconConverter.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/ElementNameIconConverter.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/EmotionIconConverter.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/EmotionIconConverter.cs index 3b5052594e..6eacf0af03 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/EmotionIconConverter.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/EmotionIconConverter.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.UI.Xaml.Data.Converter; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/EquipIconConverter.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/EquipIconConverter.cs index b82c0986c5..ab0a6f7991 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/EquipIconConverter.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/EquipIconConverter.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.UI.Xaml.Data.Converter; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/FightPropertyFormat.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/FightPropertyFormat.cs index 383b4e9ef9..ef334e0fe8 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/FightPropertyFormat.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/FightPropertyFormat.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/GachaAvatarIconConverter.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/GachaAvatarIconConverter.cs index 2afebe2563..fd4d29948b 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/GachaAvatarIconConverter.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/GachaAvatarIconConverter.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.UI.Xaml.Data.Converter; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/GachaAvatarImgConverter.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/GachaAvatarImgConverter.cs index e113f32dd2..08b4e69509 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/GachaAvatarImgConverter.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/GachaAvatarImgConverter.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.UI.Xaml.Data.Converter; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/GachaEquipIconConverter.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/GachaEquipIconConverter.cs index 2a2a1441eb..c2a1fb6401 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/GachaEquipIconConverter.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/GachaEquipIconConverter.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.UI.Xaml.Data.Converter; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/IIconNameToUriConverter.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/IIconNameToUriConverter.cs index 464098a2d2..e8578874d3 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/IIconNameToUriConverter.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/IIconNameToUriConverter.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Model.Metadata.Converter; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/ItemIconConverter.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/ItemIconConverter.cs index 872acdcc6c..80e895b532 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/ItemIconConverter.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/ItemIconConverter.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.UI.Xaml.Data.Converter; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/MonsterIconConverter.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/MonsterIconConverter.cs index 2c7753a895..673e5ee576 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/MonsterIconConverter.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/MonsterIconConverter.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.UI.Xaml.Data.Converter; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/QualityColorConverter.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/QualityColorConverter.cs index 2cf0317b78..5f9c5d0e4b 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/QualityColorConverter.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/QualityColorConverter.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.UI; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/QualityConverter.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/QualityConverter.cs index 7dd8d258f0..d58c9f99cd 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/QualityConverter.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/QualityConverter.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/QualityToImageSourceConverter.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/QualityToImageSourceConverter.cs index 231e3620ce..e0f9d94ddd 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/QualityToImageSourceConverter.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/QualityToImageSourceConverter.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.UI.Xaml.Media; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/RelicIconConverter.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/RelicIconConverter.cs index afa6fb3fe7..2b109c0b35 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/RelicIconConverter.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/RelicIconConverter.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.UI.Xaml.Data.Converter; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/SkillIconConverter.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/SkillIconConverter.cs index 877aae03f6..3898ba0541 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/SkillIconConverter.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/SkillIconConverter.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.UI.Xaml.Data.Converter; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/WeaponTypeIconConverter.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/WeaponTypeIconConverter.cs index a2baab67a1..31da3617d5 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/WeaponTypeIconConverter.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Converter/WeaponTypeIconConverter.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.ExceptionService; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Furniture/Furniture.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Furniture/Furniture.cs index c7aa63ce83..2d53e667da 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Furniture/Furniture.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Furniture/Furniture.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Furniture/FurnitureMake.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Furniture/FurnitureMake.cs index 8f75797a80..7a70edce93 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Furniture/FurnitureMake.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Furniture/FurnitureMake.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Primitive; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Furniture/FurnitureSuite.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Furniture/FurnitureSuite.cs index ef8789f77b..2b071d23d3 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Furniture/FurnitureSuite.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Furniture/FurnitureSuite.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Primitive; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Furniture/FurnitureType.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Furniture/FurnitureType.cs index 5c3fc3c78d..1f85f122fd 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Furniture/FurnitureType.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Furniture/FurnitureType.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/GachaEvent.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/GachaEvent.cs index e3ca3e1c9e..a2fa3b5d20 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/GachaEvent.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/GachaEvent.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Web.Hoyolab.Hk4e.Event.GachaInfo; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/GrowCurve.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/GrowCurve.cs index 58ec64b60c..0beed2cb01 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/GrowCurve.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/GrowCurve.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/IdCount.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/IdCount.cs index 68eacd4553..e32d3c1640 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/IdCount.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/IdCount.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Primitive; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Item/DisplayItem.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Item/DisplayItem.cs index e2070078d5..c9e6b8638e 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Item/DisplayItem.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Item/DisplayItem.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Item/Material.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Item/Material.cs index e5ce05931b..e8b9fcd5aa 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Item/Material.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Item/Material.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Item/MaterialDropDistribution.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Item/MaterialDropDistribution.cs index 195b574ee0..69e64b8bd7 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Item/MaterialDropDistribution.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Item/MaterialDropDistribution.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Collections.Immutable; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Item/MaterialIds.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Item/MaterialIds.cs index fb4c6c8931..0ac1edb652 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Item/MaterialIds.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Item/MaterialIds.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Primitive; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Item/RotationalMaterialIdEntry.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Item/RotationalMaterialIdEntry.cs index b02140a11a..46f041fc87 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Item/RotationalMaterialIdEntry.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Item/RotationalMaterialIdEntry.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Primitive; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/LevelParameters.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/LevelParameters.cs index 9d6e61b411..b6995dd159 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/LevelParameters.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/LevelParameters.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Collections.Immutable; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Monster/Monster.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Monster/Monster.cs index ea16a8dabe..f045c6e634 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Monster/Monster.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Monster/Monster.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Monster/MonsterBaseValue.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Monster/MonsterBaseValue.cs index 3846d532d9..17de3432da 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Monster/MonsterBaseValue.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Monster/MonsterBaseValue.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Monster/MonsterRelationship.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Monster/MonsterRelationship.cs index 405ce8fd54..729fa92667 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Monster/MonsterRelationship.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Monster/MonsterRelationship.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Primitive; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/ParameterDescription.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/ParameterDescription.cs index fd346c095f..77c3aa1675 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/ParameterDescription.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/ParameterDescription.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Model.Metadata; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/ParameterFormat.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/ParameterFormat.cs index 1c4f4b8e89..51dcae128e 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/ParameterFormat.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/ParameterFormat.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Model.Metadata; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Promote.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Promote.cs index 72c1f4e7f9..5d2764129f 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Promote.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Promote.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Reliquary/Reliquary.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Reliquary/Reliquary.cs index c8c23fe238..5a9527328b 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Reliquary/Reliquary.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Reliquary/Reliquary.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Reliquary/ReliquaryMainAffix.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Reliquary/ReliquaryMainAffix.cs index 1a0ea6903b..9aaf7b3a90 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Reliquary/ReliquaryMainAffix.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Reliquary/ReliquaryMainAffix.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Reliquary/ReliquaryMainAffixLevel.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Reliquary/ReliquaryMainAffixLevel.cs index df647eb20c..f1a9bb30a7 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Reliquary/ReliquaryMainAffixLevel.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Reliquary/ReliquaryMainAffixLevel.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Reliquary/ReliquarySet.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Reliquary/ReliquarySet.cs index 68eeba0496..2aa6a58de9 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Reliquary/ReliquarySet.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Reliquary/ReliquarySet.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Primitive; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Reliquary/ReliquarySubAffix.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Reliquary/ReliquarySubAffix.cs index 87a0f1d739..a406b0d4c5 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Reliquary/ReliquarySubAffix.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Reliquary/ReliquarySubAffix.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/RoleCombatSchedule.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/RoleCombatSchedule.cs index 13b81b1e7b..6b3916439f 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/RoleCombatSchedule.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/RoleCombatSchedule.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/SpecialNameHandling.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/SpecialNameHandling.cs index 917ac9dbe9..694284f882 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/SpecialNameHandling.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/SpecialNameHandling.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Text; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Tower/GoalType.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Tower/GoalType.cs index 2daac6e027..4228208f8f 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Tower/GoalType.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Tower/GoalType.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Model.Metadata.Tower; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Tower/TowerFloor.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Tower/TowerFloor.cs index f2a7d9fffc..ec7a3df8a4 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Tower/TowerFloor.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Tower/TowerFloor.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Primitive; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Tower/TowerLevel.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Tower/TowerLevel.cs index 28b39cf7c1..7132d1a941 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Tower/TowerLevel.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Tower/TowerLevel.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Primitive; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Tower/TowerMonster.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Tower/TowerMonster.cs index fafc2c1ae8..37df2bb392 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Tower/TowerMonster.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Tower/TowerMonster.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Primitive; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Tower/TowerSchedule.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Tower/TowerSchedule.cs index 5b98678de4..f8a7109fc1 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Tower/TowerSchedule.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Tower/TowerSchedule.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Primitive; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Tower/TowerWave.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Tower/TowerWave.cs index 428d53aed0..31dd0f5ed8 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Tower/TowerWave.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Tower/TowerWave.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Collections.Immutable; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/TypeValue.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/TypeValue.cs index 8fe2c8ec7c..2e68b701ab 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/TypeValue.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/TypeValue.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Model.Metadata; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/TypeValueCollectionExtension.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/TypeValueCollectionExtension.cs index d97329e443..c9119e4fff 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/TypeValueCollectionExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/TypeValueCollectionExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Weapon/LevelDescription.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Weapon/LevelDescription.cs index 47509e667d..292d9c74af 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Weapon/LevelDescription.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Weapon/LevelDescription.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Model.Metadata.Weapon; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Weapon/NameDescriptions.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Weapon/NameDescriptions.cs index d69195d221..d477fe726e 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Weapon/NameDescriptions.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Weapon/NameDescriptions.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Collections.Immutable; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Weapon/Weapon.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Weapon/Weapon.cs index b3d9e8e000..b297ee051a 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Weapon/Weapon.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Weapon/Weapon.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Calculable; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Weapon/WeaponIds.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Weapon/WeaponIds.cs index 092125e553..78d30f3a20 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Weapon/WeaponIds.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Weapon/WeaponIds.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Primitive; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Weapon/WeaponTypeValue.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Weapon/WeaponTypeValue.cs index ec8d1c695a..a178a1ba54 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Weapon/WeaponTypeValue.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Weapon/WeaponTypeValue.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Weapon/WeaponTypeValueCollection.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Weapon/WeaponTypeValueCollection.cs index 96ea253cbb..b13f0ce76d 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Weapon/WeaponTypeValueCollection.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Weapon/WeaponTypeValueCollection.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/NameDescription.cs b/src/Snap.Hutao/Snap.Hutao/Model/NameDescription.cs index 18a400f409..7f171c9ec3 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/NameDescription.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/NameDescription.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Model; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/NameDescriptionValue.cs b/src/Snap.Hutao/Snap.Hutao/Model/NameDescriptionValue.cs index b575125cf6..a0ae479c8d 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/NameDescriptionValue.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/NameDescriptionValue.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Model; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/NameValue.cs b/src/Snap.Hutao/Snap.Hutao/Model/NameValue.cs index 9b4495ee40..df138b7821 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/NameValue.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/NameValue.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Model; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/NameValueDefaults.cs b/src/Snap.Hutao/Snap.Hutao/Model/NameValueDefaults.cs index d62258c152..afd4eefcf7 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/NameValueDefaults.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/NameValueDefaults.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Model; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Primitive/Converter/IdentityConverter.cs b/src/Snap.Hutao/Snap.Hutao/Model/Primitive/Converter/IdentityConverter.cs index 59f26947eb..e64e4b4073 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Primitive/Converter/IdentityConverter.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Primitive/Converter/IdentityConverter.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Model.Primitive.Converter; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Primitive/LevelFormat.cs b/src/Snap.Hutao/Snap.Hutao/Model/Primitive/LevelFormat.cs index 525479ae72..5640a140f8 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Primitive/LevelFormat.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Primitive/LevelFormat.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Runtime.CompilerServices; diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Panel/DataTable/DataColumn.cs b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Panel/DataTable/DataColumn.cs index 3ed9d72b18..9302eed64e 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Panel/DataTable/DataColumn.cs +++ b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Panel/DataTable/DataColumn.cs @@ -1,7 +1,6 @@ // Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. -using CommunityToolkit.WinUI; using Microsoft.UI.Xaml; using Microsoft.UI.Xaml.Controls; From 5decb0c4729c6f799ec7e6606f76cb6c9e2817ec Mon Sep 17 00:00:00 2001 From: DismissedLight <1686188646@qq.com> Date: Wed, 4 Dec 2024 15:23:37 +0800 Subject: [PATCH 67/70] remove BOM --- .../Snap.Hutao.Test/BaseClassLibrary/CollectionsMarshalTest.cs | 2 +- .../Snap.Hutao.Test/BaseClassLibrary/HttpClientTest.cs | 2 +- .../Snap.Hutao.Test/BaseClassLibrary/JsonSerializeTest.cs | 2 +- src/Snap.Hutao/Snap.Hutao.Test/BaseClassLibrary/LinqTest.cs | 2 +- src/Snap.Hutao/Snap.Hutao.Test/BaseClassLibrary/ListTest.cs | 2 +- .../Snap.Hutao.Test/BaseClassLibrary/PartialPropertyTest.cs | 2 +- .../Snap.Hutao.Test/BaseClassLibrary/TypeReflectionTest.cs | 2 +- .../Snap.Hutao.Test/BaseClassLibrary/UnsafeAccessorTest.cs | 2 +- .../Snap.Hutao.Test/IncomingFeature/GameRegistryContentTest.cs | 2 +- .../Snap.Hutao.Test/IncomingFeature/GeniusInvokationDecoding.cs | 2 +- .../IncomingFeature/SpiralAbyssScheduleIdTest.cs | 2 +- .../IncomingFeature/UnlockerIslandFunctionOffsetTest.cs | 2 +- .../PlatformExtensions/DependencyInjectionTest.cs | 2 +- .../Snap.Hutao.Test/PlatformExtensions/RateLimitingTest.cs | 2 +- .../Snap.Hutao.Test/RuntimeBehavior/EnumRuntimeBehaviorTest.cs | 2 +- .../RuntimeBehavior/ForEachRuntimeBehaviorTest.cs | 2 +- .../Snap.Hutao.Test/RuntimeBehavior/HttpClientBehaviorTest.cs | 2 +- .../RuntimeBehavior/PropertyRuntimeBehaviorTest.cs | 2 +- .../Snap.Hutao.Test/RuntimeBehavior/RangeRuntimeBehaviorTest.cs | 2 +- .../RuntimeBehavior/StringRuntimeBehaviorTest.cs | 2 +- .../RuntimeBehavior/UnsafeRuntimeBehaviorTest.cs | 2 +- src/Snap.Hutao/Snap.Hutao/App.xaml.cs | 2 +- .../Snap.Hutao/Core/Caching/IImageCacheFilePathOperation.cs | 2 +- src/Snap.Hutao/Snap.Hutao/GlobalUsing.cs | 2 +- .../Snap.Hutao/Migrations/20220720121642_Init.Designer.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Migrations/20220720121642_Init.cs | 2 +- .../Migrations/20220813040006_AddAchievement.Designer.cs | 2 +- .../Snap.Hutao/Migrations/20220813040006_AddAchievement.cs | 2 +- .../Migrations/20220815133601_AddAchievementArchive.Designer.cs | 2 +- .../Migrations/20220815133601_AddAchievementArchive.cs | 2 +- .../Snap.Hutao/Migrations/20220910080051_AddGacha.Designer.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Migrations/20220910080051_AddGacha.cs | 2 +- .../Migrations/20220914131149_AddGachaQueryType.Designer.cs | 2 +- .../Snap.Hutao/Migrations/20220914131149_AddGachaQueryType.cs | 2 +- .../Migrations/20220918062300_RenameGachaTable.Designer.cs | 2 +- .../Snap.Hutao/Migrations/20220918062300_RenameGachaTable.cs | 2 +- .../Migrations/20220924135810_AddAvatarInfo.Designer.cs | 2 +- .../Snap.Hutao/Migrations/20220924135810_AddAvatarInfo.cs | 2 +- .../Migrations/20221031104940_GameAccount.Designer.cs | 2 +- .../Snap.Hutao/Migrations/20221031104940_GameAccount.cs | 2 +- .../Migrations/20221108081525_DailyNoteEntry.Designer.cs | 2 +- .../Snap.Hutao/Migrations/20221108081525_DailyNoteEntry.cs | 2 +- .../Migrations/20221118095755_SplitStoken.Designer.cs | 2 +- .../Snap.Hutao/Migrations/20221118095755_SplitStoken.cs | 2 +- .../Snap.Hutao/Migrations/20221118124745_AddAidMid.Designer.cs | 2 +- .../Snap.Hutao/Migrations/20221118124745_AddAidMid.cs | 2 +- .../Migrations/20221123060511_RenameCookieToLtoken.Designer.cs | 2 +- .../Migrations/20221123060511_RenameCookieToLtoken.cs | 2 +- .../Migrations/20221123110240_AddCookieToken.Designer.cs | 2 +- .../Snap.Hutao/Migrations/20221123110240_AddCookieToken.cs | 2 +- .../Migrations/20221128115346_ObjectCache.Designer.cs | 2 +- .../Snap.Hutao/Migrations/20221128115346_ObjectCache.cs | 2 +- .../Migrations/20221202052444_Cultivation.Designer.cs | 2 +- .../Snap.Hutao/Migrations/20221202052444_Cultivation.cs | 2 +- .../Snap.Hutao/Migrations/20221210111128_Inventory.Designer.cs | 2 +- .../Snap.Hutao/Migrations/20221210111128_Inventory.cs | 2 +- .../Migrations/20221217061817_ItemFinishable.Designer.cs | 2 +- .../Snap.Hutao/Migrations/20221217061817_ItemFinishable.cs | 2 +- .../Migrations/20221231104727_SpiralAbyssEntry.Designer.cs | 2 +- .../Snap.Hutao/Migrations/20221231104727_SpiralAbyssEntry.cs | 2 +- .../Migrations/20230317151815_UserIsOverSea.Designer.cs | 2 +- .../Snap.Hutao/Migrations/20230317151815_UserIsOverSea.cs | 2 +- ...30506065837_RemoveDailyNoteEntryShowInHomeWidget.Designer.cs | 2 +- .../20230506065837_RemoveDailyNoteEntryShowInHomeWidget.cs | 2 +- .../20230824084447_AddRefreshTimeOnDailyNoteEntry.Designer.cs | 2 +- .../Migrations/20230824084447_AddRefreshTimeOnDailyNoteEntry.cs | 2 +- .../20230827040435_AddRefreshTimeOnAvatarInfo.Designer.cs | 2 +- .../Migrations/20230827040435_AddRefreshTimeOnAvatarInfo.cs | 2 +- .../Migrations/20231103032056_AddUserFingerprint.Designer.cs | 2 +- .../Snap.Hutao/Migrations/20231103032056_AddUserFingerprint.cs | 2 +- .../Migrations/20231126113631_AddUserLastUpdateTime.Designer.cs | 2 +- .../Migrations/20231126113631_AddUserLastUpdateTime.cs | 2 +- ...20231207085530_AddCultivateEntryLevelInformation.Designer.cs | 2 +- .../20231207085530_AddCultivateEntryLevelInformation.cs | 2 +- ...240202015857_ImplReorderableOnUserAndGameAccount.Designer.cs | 2 +- .../20240202015857_ImplReorderableOnUserAndGameAccount.cs | 2 +- .../Migrations/20240219020258_AddPerferredUidOnUser.Designer.cs | 2 +- .../Migrations/20240219020258_AddPerferredUidOnUser.cs | 2 +- .../Migrations/20240616104646_UidProfilePicture.Designer.cs | 2 +- .../Snap.Hutao/Migrations/20240616104646_UidProfilePicture.cs | 2 +- .../Migrations/20240830090102_NewCharacterDetail.Designer.cs | 2 +- .../Snap.Hutao/Migrations/20240830090102_NewCharacterDetail.cs | 2 +- .../Migrations/20241107151107_AddRoleCombatEntry.Designer.cs | 2 +- .../Snap.Hutao/Migrations/20241107151107_AddRoleCombatEntry.cs | 2 +- .../20241116142009_RemoveUnusedInventories.Designer.cs | 2 +- .../Migrations/20241116142009_RemoveUnusedInventories.cs | 2 +- .../Snap.Hutao/Migrations/AppDbContextModelSnapshot.cs | 2 +- .../Model/Entity/Database/AppDbContextDesignTimeFactory.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Model/Entity/SettingEntry.Constant.cs | 2 +- .../Snap.Hutao/Model/Intrinsic/Frozen/IntrinsicFrozen.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Model/Metadata/Tower/WaveType.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/Abstraction/DbStoreOptions.cs | 2 +- .../Snap.Hutao/Service/Abstraction/IAppInfrastructureService.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/Abstraction/IAppService.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/Abstraction/IRepository.cs | 2 +- .../Service/Abstraction/RepositoryAppDbEntityExtension.cs | 2 +- .../Service/Abstraction/RepositoryCollectionExtension.cs | 2 +- .../Snap.Hutao/Service/Abstraction/RepositoryExtension.cs | 2 +- .../Snap.Hutao/Service/Abstraction/ServiceScopeExtension.cs | 2 +- .../Snap.Hutao/Service/Achievement/AchievementRepository.cs | 2 +- .../Service/Achievement/AchievementRepositoryOperation.cs | 2 +- .../Snap.Hutao/Service/Achievement/AchievementService.cs | 2 +- .../Service/Achievement/AchievementServiceMetadataContext.cs | 2 +- .../Service/Achievement/AchievementStatisticsService.cs | 2 +- .../Snap.Hutao/Service/Achievement/ArchiveAddResultKind.cs | 2 +- .../Snap.Hutao/Service/Achievement/IAchievementRepository.cs | 2 +- .../Snap.Hutao/Service/Achievement/IAchievementService.cs | 2 +- .../Service/Achievement/IAchievementStatisticsService.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/Achievement/ImportResult.cs | 2 +- .../Snap.Hutao/Service/Achievement/ImportStrategyKind.cs | 2 +- .../Snap.Hutao/Service/Announcement/AnnouncementHtmlVisitor.cs | 2 +- .../Snap.Hutao/Service/Announcement/AnnouncementRegex.cs | 2 +- .../Snap.Hutao/Service/Announcement/IAnnouncementService.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/AppOptions.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/AppOptionsExtension.cs | 2 +- .../Snap.Hutao/Service/AvatarInfo/AvatarInfoRepository.cs | 2 +- .../Service/AvatarInfo/AvatarInfoRepositoryOperation.cs | 2 +- .../Snap.Hutao/Service/AvatarInfo/AvatarInfoService.cs | 2 +- .../Service/AvatarInfo/Factory/Builder/AvatarViewBuilder.cs | 2 +- .../AvatarInfo/Factory/Builder/AvatarViewBuilderExtension.cs | 2 +- .../AvatarInfo/Factory/Builder/EquipViewBuilderExtension.cs | 2 +- .../Service/AvatarInfo/Factory/Builder/IAvatarViewBuilder.cs | 2 +- .../Service/AvatarInfo/Factory/Builder/IEquipViewBuilder.cs | 2 +- .../AvatarInfo/Factory/Builder/INameIconDescriptionBuilder.cs | 2 +- .../Service/AvatarInfo/Factory/Builder/IReliquaryViewBuilder.cs | 2 +- .../Service/AvatarInfo/Factory/Builder/IScoreAccess.cs | 2 +- .../Service/AvatarInfo/Factory/Builder/IWeaponViewBuilder.cs | 2 +- .../Factory/Builder/NameIconDescriptionBuilderExtension.cs | 2 +- .../Service/AvatarInfo/Factory/Builder/ReliquaryViewBuilder.cs | 2 +- .../AvatarInfo/Factory/Builder/ReliquaryViewBuilderExtension.cs | 2 +- .../Service/AvatarInfo/Factory/Builder/ScoreAccessExtension.cs | 2 +- .../Service/AvatarInfo/Factory/Builder/WeaponViewBuilder.cs | 2 +- .../AvatarInfo/Factory/Builder/WeaponViewBuilderExtension.cs | 2 +- .../Snap.Hutao/Service/AvatarInfo/Factory/ISummaryFactory.cs | 2 +- .../Service/AvatarInfo/Factory/InGameFightPropertyComparer.cs | 2 +- .../Service/AvatarInfo/Factory/SummaryAvatarFactory.cs | 2 +- .../Snap.Hutao/Service/AvatarInfo/Factory/SummaryFactory.cs | 2 +- .../Service/AvatarInfo/Factory/SummaryFactoryMetadataContext.cs | 2 +- .../Snap.Hutao/Service/AvatarInfo/Factory/SummaryHelper.cs | 2 +- .../Service/AvatarInfo/Factory/SummaryReliquaryFactory.cs | 2 +- .../Snap.Hutao/Service/AvatarInfo/IAvatarInfoRepository.cs | 2 +- .../Snap.Hutao/Service/AvatarInfo/IAvatarInfoService.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/RefreshOption.cs | 2 +- .../Snap.Hutao/Service/AvatarInfo/RefreshResultKind.cs | 2 +- .../Snap.Hutao/Service/BackgroundImage/BackgroundImage.cs | 2 +- .../Service/BackgroundImage/BackgroundImageOptions.cs | 2 +- .../Service/BackgroundImage/BackgroundImageService.cs | 2 +- .../Snap.Hutao/Service/BackgroundImage/BackgroundImageType.cs | 2 +- .../Service/BackgroundImage/IBackgroundImageService.cs | 2 +- .../Cultivation/Consumption/ConsumptionSaveResultKind.cs | 2 +- .../Service/Cultivation/CultivationMetadataContext.cs | 2 +- .../Snap.Hutao/Service/Cultivation/CultivationRepository.cs | 2 +- .../Service/Cultivation/CultivationServiceExtension.cs | 2 +- .../Service/Cultivation/ICultivationMetadataContext.cs | 2 +- .../Snap.Hutao/Service/Cultivation/ICultivationRepository.cs | 2 +- .../Snap.Hutao/Service/Cultivation/ICultivationService.cs | 2 +- .../Snap.Hutao/Service/Cultivation/InputConsumption.cs | 2 +- .../Snap.Hutao/Service/Cultivation/LevelInformation.cs | 2 +- .../Snap.Hutao/Service/Cultivation/MaterialIdComparer.cs | 2 +- .../Snap.Hutao/Service/Cultivation/ProjectAddResultKind.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/CultureOptions.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/CultureOptionsExtension.cs | 2 +- .../Snap.Hutao/Service/DailyNote/DailyNoteMetadataContext.cs | 2 +- .../Service/DailyNote/DailyNoteNotificationOperation.cs | 2 +- .../Snap.Hutao/Service/DailyNote/DailyNoteNotifyInfo.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/DailyNote/DailyNoteOptions.cs | 2 +- .../Snap.Hutao/Service/DailyNote/DailyNoteRepository.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/DailyNote/DailyNoteService.cs | 2 +- .../Snap.Hutao/Service/DailyNote/DailyNoteWebhookOperation.cs | 2 +- .../Snap.Hutao/Service/DailyNote/IDailyNoteRepository.cs | 2 +- .../Snap.Hutao/Service/DailyNote/IDailyNoteService.cs | 2 +- .../NotifySuppression/DailyTaskNotifySuppressionChecker.cs | 2 +- .../NotifySuppression/ExpeditionNotifySuppressionChecker.cs | 2 +- .../NotifySuppression/HomeCoinNotifySuppressionChecker.cs | 2 +- .../DailyNote/NotifySuppression/INotifySuppressionChecker.cs | 2 +- .../DailyNote/NotifySuppression/INotifySuppressionContext.cs | 2 +- .../DailyNote/NotifySuppression/NotifySuppressionContext.cs | 2 +- .../DailyNote/NotifySuppression/NotifySuppressionInvoker.cs | 2 +- .../NotifySuppression/ResinNotifySuppressionChecker.cs | 2 +- .../NotifySuppression/TransformerNotifySuppressionChecker.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/Discord/DiscordController.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/Discord/DiscordService.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/Discord/IDiscordService.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/Feature/FeatureService.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/Feature/IFeatureService.cs | 2 +- .../Service/GachaLog/Factory/GachaStatisticsExtension.cs | 2 +- .../Service/GachaLog/Factory/GachaStatisticsFactory.cs | 2 +- .../Service/GachaLog/Factory/GachaStatisticsFactoryContext.cs | 2 +- .../Service/GachaLog/Factory/GachaStatisticsSlimFactory.cs | 2 +- .../Snap.Hutao/Service/GachaLog/Factory/GachaTypeComparer.cs | 2 +- .../Snap.Hutao/Service/GachaLog/Factory/HistoryWishBuilder.cs | 2 +- .../Service/GachaLog/Factory/HutaoStatisticsFactory.cs | 2 +- .../GachaLog/Factory/HutaoStatisticsFactoryMetadataContext.cs | 2 +- .../Service/GachaLog/Factory/IGachaStatisticsFactory.cs | 2 +- .../Service/GachaLog/Factory/IGachaStatisticsSlimFactory.cs | 2 +- .../Snap.Hutao/Service/GachaLog/Factory/PullPrediction.cs | 2 +- .../Service/GachaLog/Factory/TypedWishSummaryBuilder.cs | 2 +- .../Service/GachaLog/Factory/TypedWishSummaryBuilderContext.cs | 2 +- .../Snap.Hutao/Service/GachaLog/GachaArchiveOperation.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/GachaLog/GachaLog.cs | 2 +- .../Snap.Hutao/Service/GachaLog/GachaLogFetchContext.cs | 2 +- .../Snap.Hutao/Service/GachaLog/GachaLogFetchStatus.cs | 2 +- .../Snap.Hutao/Service/GachaLog/GachaLogHutaoCloudService.cs | 2 +- .../Snap.Hutao/Service/GachaLog/GachaLogRepository.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/GachaLog/GachaLogService.cs | 2 +- .../Service/GachaLog/GachaLogServiceMetadataContext.cs | 2 +- .../Snap.Hutao/Service/GachaLog/GachaLogTypedQueryOptions.cs | 2 +- .../Snap.Hutao/Service/GachaLog/GachaLogWishCountdownService.cs | 2 +- .../GachaLog/GachaLogWishCountdownServiceMetadataContext.cs | 2 +- .../Snap.Hutao/Service/GachaLog/IGachaLogHutaoCloudService.cs | 2 +- .../Snap.Hutao/Service/GachaLog/IGachaLogRepository.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/GachaLog/IGachaLogService.cs | 2 +- .../Service/GachaLog/IGachaLogWishCountdownService.cs | 2 +- .../Snap.Hutao/Service/GachaLog/QueryProvider/GachaLogQuery.cs | 2 +- .../GachaLog/QueryProvider/GachaLogQueryManualInputProvider.cs | 2 +- .../GachaLog/QueryProvider/GachaLogQuerySTokenProvider.cs | 2 +- .../GachaLog/QueryProvider/GachaLogQueryWebCacheProvider.cs | 2 +- .../Service/GachaLog/QueryProvider/IGachaLogQueryProvider.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/GachaLog/RefreshOption.cs | 2 +- .../Snap.Hutao/Service/GachaLog/RefreshStrategyKind.cs | 2 +- .../Snap.Hutao/Service/Game/Account/GameAccountService.cs | 2 +- .../Snap.Hutao/Service/Game/Account/IGameAccountService.cs | 2 +- .../Snap.Hutao/Service/Game/Account/RegistryInterop.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/Game/AspectRatio.cs | 2 +- .../Snap.Hutao/Service/Game/Automation/ScreenCapture/DirectX.cs | 2 +- .../Game/Automation/ScreenCapture/GameScreenCaptureContext.cs | 2 +- .../ScreenCapture/GameScreenCaptureContextCreationResult.cs | 2 +- .../ScreenCapture/GameScreenCaptureContextCreationResultKind.cs | 2 +- .../Automation/ScreenCapture/GameScreenCaptureMemoryPool.cs | 2 +- .../Game/Automation/ScreenCapture/GameScreenCaptureResult.cs | 2 +- .../Game/Automation/ScreenCapture/GameScreenCaptureService.cs | 2 +- .../Game/Automation/ScreenCapture/GameScreenCaptureSession.cs | 2 +- .../Game/Automation/ScreenCapture/IGameScreenCaptureService.cs | 2 +- .../Snap.Hutao/Service/Game/Configuration/ChannelOptions.cs | 2 +- .../Service/Game/Configuration/ChannelOptionsErrorKind.cs | 2 +- .../Service/Game/Configuration/GameChannelOptionsService.cs | 2 +- .../Service/Game/Configuration/GameConfigurationFileService.cs | 2 +- .../Service/Game/Configuration/IGameChannelOptionsService.cs | 2 +- .../Service/Game/Configuration/IGameConfigurationFileService.cs | 2 +- .../Service/Game/Configuration/IgnoredInvalidChannelOptions.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/Game/GameAudioSystem.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/Game/GameConstants.cs | 2 +- .../Snap.Hutao/Service/Game/GameFileOperationException.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/Game/GameFileSystem.cs | 2 +- .../Snap.Hutao/Service/Game/GameFileSystemExtension.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/Game/GameRepository.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/Game/GameServiceFacade.cs | 2 +- .../Snap.Hutao/Service/Game/GameServiceFacadeExtension.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/Game/IGameRepository.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/Game/IGameServiceFacade.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/Game/LaunchOptions.cs | 2 +- .../Snap.Hutao/Service/Game/LaunchOptionsExtension.cs | 2 +- .../Service/Game/LaunchOptionsIslandFeatureStateMachine.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/Game/LaunchPhase.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/Game/LaunchStatus.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/Game/LaunchStatusOptions.cs | 2 +- .../LaunchExecutionBetterGenshinImpactAutomationHandlder.cs | 2 +- .../Handler/LaunchExecutionEnsureGameNotRunningHandler.cs | 2 +- .../Handler/LaunchExecutionEnsureGameResourceHandler.cs | 2 +- .../Launching/Handler/LaunchExecutionEnsureSchemeHandler.cs | 2 +- .../Launching/Handler/LaunchExecutionGameProcessExitHandler.cs | 2 +- .../Handler/LaunchExecutionGameProcessInitializationHandler.cs | 2 +- .../Launching/Handler/LaunchExecutionGameProcessStartHandler.cs | 2 +- .../Handler/LaunchExecutionSetChannelOptionsHandler.cs | 2 +- .../Handler/LaunchExecutionSetDiscordActivityHandler.cs | 2 +- .../Launching/Handler/LaunchExecutionSetGameAccountHandler.cs | 2 +- .../Launching/Handler/LaunchExecutionSetWindowsHDRHandler.cs | 2 +- .../Handler/LaunchExecutionStarwardPlayTimeStatisticsHandler.cs | 2 +- .../Launching/Handler/LaunchExecutionStatusProgressHandler.cs | 2 +- .../Game/Launching/Handler/LaunchExecutionUnlockFpsHandler.cs | 2 +- .../Service/Game/Launching/ILaunchExecutionDelegateHandler.cs | 2 +- .../Snap.Hutao/Service/Game/Launching/LaunchExecutionContext.cs | 2 +- .../Snap.Hutao/Service/Game/Launching/LaunchExecutionInvoker.cs | 2 +- .../Launching/LaunchExecutionProcessStatusChangedMessage.cs | 2 +- .../Snap.Hutao/Service/Game/Launching/LaunchExecutionResult.cs | 2 +- .../Service/Game/Launching/LaunchExecutionResultKind.cs | 2 +- .../Snap.Hutao/Service/Game/Locator/GameLocationSource.cs | 2 +- .../Snap.Hutao/Service/Game/Locator/GameLocatorFactory.cs | 2 +- .../Service/Game/Locator/GameLocatorFactoryExtensions.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/Game/Locator/IGameLocator.cs | 2 +- .../Snap.Hutao/Service/Game/Locator/IGameLocatorFactory.cs | 2 +- .../Snap.Hutao/Service/Game/Locator/ManualGameLocator.cs | 2 +- .../Snap.Hutao/Service/Game/Locator/RegistryLauncherLocator.cs | 2 +- .../Snap.Hutao/Service/Game/Locator/UnityLogGameLocator.cs | 2 +- .../Service/Game/Package/Advanced/GameAssetOperation.cs | 2 +- .../Service/Game/Package/Advanced/GameAssetOperationFactory.cs | 2 +- .../Service/Game/Package/Advanced/GameAssetOperationHDD.cs | 2 +- .../Service/Game/Package/Advanced/GameAssetOperationSSD.cs | 2 +- .../Service/Game/Package/Advanced/GameInstallOptions.cs | 2 +- .../Service/Game/Package/Advanced/GamePackageIntegrityInfo.cs | 2 +- .../Game/Package/Advanced/GamePackageOperationContext.cs | 2 +- .../Service/Game/Package/Advanced/GamePackageOperationKind.cs | 2 +- .../Service/Game/Package/Advanced/GamePackageOperationReport.cs | 2 +- .../Game/Package/Advanced/GamePackageOperationReportKind.cs | 2 +- .../Service/Game/Package/Advanced/GamePackageService.cs | 2 +- .../Service/Game/Package/Advanced/GamePackageServiceContext.cs | 2 +- .../Service/Game/Package/Advanced/IGameAssetOperation.cs | 2 +- .../Service/Game/Package/Advanced/IGamePackageService.cs | 2 +- .../Service/Game/Package/Advanced/PredownloadStatus.cs | 2 +- .../Snap.Hutao/Service/Game/Package/Advanced/SophonAsset.cs | 2 +- .../Service/Game/Package/Advanced/SophonAssetOperation.cs | 2 +- .../Service/Game/Package/Advanced/SophonAssetOperationKind.cs | 2 +- .../Snap.Hutao/Service/Game/Package/Advanced/SophonChunk.cs | 2 +- .../Service/Game/Package/Advanced/SophonDecodedBuild.cs | 2 +- .../Service/Game/Package/Advanced/SophonDecodedManifest.cs | 2 +- .../Snap.Hutao/Service/Game/Package/IPackageConverter.cs | 2 +- .../Snap.Hutao/Service/Game/Package/PackageConvertStatus.cs | 2 +- .../Snap.Hutao/Service/Game/Package/PackageConverterContext.cs | 2 +- .../Snap.Hutao/Service/Game/Package/PackageConverterType.cs | 2 +- .../Service/Game/Package/PackageItemOperationForSophonChunks.cs | 2 +- .../Snap.Hutao/Service/Game/Package/PackageItemOperationInfo.cs | 2 +- .../Snap.Hutao/Service/Game/Package/PackageItemOperationKind.cs | 2 +- .../Service/Game/Package/ScatteredFilesPackageConverter.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/Game/Package/VersionItem.cs | 2 +- .../Snap.Hutao/Service/Game/PathAbstraction/GamePathEntry.cs | 2 +- .../Service/Game/PathAbstraction/GamePathEntryKind.cs | 2 +- .../Snap.Hutao/Service/Game/PathAbstraction/GamePathService.cs | 2 +- .../Snap.Hutao/Service/Game/PathAbstraction/IGamePathService.cs | 2 +- .../Service/Game/RestrictedGamePathAccessExtension.cs | 2 +- .../Snap.Hutao/Service/Game/Scheme/KnownLaunchSchemes.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/Game/Scheme/LaunchScheme.cs | 2 +- .../Snap.Hutao/Service/Game/Scheme/LaunchSchemeBilibili.cs | 2 +- .../Snap.Hutao/Service/Game/Scheme/LaunchSchemeChinese.cs | 2 +- .../Snap.Hutao/Service/Game/Scheme/LaunchSchemeExtension.cs | 2 +- .../Snap.Hutao/Service/Game/Scheme/LaunchSchemeOversea.cs | 2 +- .../Snap.Hutao/Service/Game/Unlocker/GameFpsUnlocker.cs | 2 +- .../Snap.Hutao/Service/Game/Unlocker/GameFpsUnlockerContext.cs | 2 +- .../Snap.Hutao/Service/Game/Unlocker/IGameFpsUnlocker.cs | 2 +- .../Service/Game/Unlocker/Island/IslandEnvironment.cs | 2 +- .../Service/Game/Unlocker/Island/IslandEnvironmentView.cs | 2 +- .../Snap.Hutao/Service/Game/Unlocker/Island/IslandFeature.cs | 2 +- .../Service/Game/Unlocker/Island/IslandFunctionOffsets.cs | 2 +- .../Snap.Hutao/Service/Game/Unlocker/Island/IslandState.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/Geetest/AigisSession.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/Geetest/GeetestService.cs | 2 +- .../Snap.Hutao/Service/Geetest/GeetestVerification.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/Geetest/GeetestWebResponse.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/Geetest/IGeetestService.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/Hutao/HutaoAsAService.cs | 2 +- .../Snap.Hutao/Service/Hutao/HutaoRoleCombatService.cs | 2 +- .../Snap.Hutao/Service/Hutao/HutaoRoleCombatStatisticsCache.cs | 2 +- .../Snap.Hutao/Service/Hutao/HutaoSpiralAbyssService.cs | 2 +- .../Snap.Hutao/Service/Hutao/HutaoSpiralAbyssStatisticsCache.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/Hutao/HutaoUserOptions.cs | 2 +- .../Snap.Hutao/Service/Hutao/HutaoUserOptionsExtension.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/Hutao/HutaoUserService.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/Hutao/IHutaoAsAService.cs | 2 +- .../Snap.Hutao/Service/Hutao/IHutaoRoleCombatService.cs | 2 +- .../Snap.Hutao/Service/Hutao/IHutaoRoleCombatStatisticsCache.cs | 2 +- .../Snap.Hutao/Service/Hutao/IHutaoSpiralAbyssService.cs | 2 +- .../Service/Hutao/IHutaoSpiralAbyssStatisticsCache.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/Hutao/IHutaoUserService.cs | 2 +- .../Snap.Hutao/Service/Hutao/IHutaoUserServiceInitialization.cs | 2 +- .../Snap.Hutao/Service/Hutao/IObjectCacheRepository.cs | 2 +- .../Snap.Hutao/Service/Hutao/ObjectCacheRepository.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/Hutao/ObjectCacheService.cs | 2 +- .../Snap.Hutao/Service/Inventory/IInventoryRepository.cs | 2 +- .../Snap.Hutao/Service/Inventory/IInventoryService.cs | 2 +- .../Snap.Hutao/Service/Inventory/InventoryRepository.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/Inventory/InventoryService.cs | 2 +- .../Snap.Hutao/Service/Inventory/PromotionDeltaFactory.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/Job/DailyNoteRefreshJob.cs | 2 +- .../Snap.Hutao/Service/Job/DailyNoteRefreshJobScheduler.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/Job/IJobScheduler.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/Job/IQuartzService.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/Job/JobIdentity.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/Job/QuartzService.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/KnownRegions.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/LocaleNames.cs | 2 +- .../ContextAbstraction/IMetadataArrayAchievementSource.cs | 2 +- .../Metadata/ContextAbstraction/IMetadataArrayAvatarSource.cs | 2 +- .../Metadata/ContextAbstraction/IMetadataArrayChapterSource.cs | 2 +- .../ContextAbstraction/IMetadataArrayGachaEventSource.cs | 2 +- .../Metadata/ContextAbstraction/IMetadataArrayMaterialSource.cs | 2 +- .../Metadata/ContextAbstraction/IMetadataArrayMonsterSource.cs | 2 +- .../ContextAbstraction/IMetadataArrayProfilePictureSource.cs | 2 +- .../IMetadataArrayReliquaryMainAffixLevelSource.cs | 2 +- .../ContextAbstraction/IMetadataArrayReliquarySource.cs | 2 +- .../Metadata/ContextAbstraction/IMetadataArrayWeaponSource.cs | 2 +- .../Service/Metadata/ContextAbstraction/IMetadataContext.cs | 2 +- .../IMetadataDictionaryIdAchievementSource.cs | 2 +- .../IMetadataDictionaryIdArrayTowerLevelSource.cs | 2 +- .../ContextAbstraction/IMetadataDictionaryIdAvatarSource.cs | 2 +- .../IMetadataDictionaryIdAvatarWithPlayersSource.cs | 2 +- .../IMetadataDictionaryIdDictionaryLevelAvatarPromoteSource.cs | 2 +- .../IMetadataDictionaryIdDictionaryLevelWeaponPromoteSource.cs | 2 +- .../IMetadataDictionaryIdDisplayItemAndMaterialSource.cs | 2 +- .../ContextAbstraction/IMetadataDictionaryIdMaterialSource.cs | 2 +- .../ContextAbstraction/IMetadataDictionaryIdMonsterSource.cs | 2 +- .../IMetadataDictionaryIdReliquaryMainPropertySource.cs | 2 +- .../IMetadataDictionaryIdReliquarySetSource.cs | 2 +- .../ContextAbstraction/IMetadataDictionaryIdReliquarySource.cs | 2 +- .../IMetadataDictionaryIdReliquarySubAffixSource.cs | 2 +- .../IMetadataDictionaryIdRoleCombatScheduleSource.cs | 2 +- .../ContextAbstraction/IMetadataDictionaryIdTowerFloorSource.cs | 2 +- .../IMetadataDictionaryIdTowerScheduleSource.cs | 2 +- .../ContextAbstraction/IMetadataDictionaryIdWeaponSource.cs | 2 +- .../IMetadataDictionaryLevelAvaterGrowCurveSource.cs | 2 +- .../IMetadataDictionaryLevelMonsterGrowCurveSource.cs | 2 +- .../IMetadataDictionaryLevelWeaponGrowCurveSource.cs | 2 +- .../ContextAbstraction/IMetadataDictionaryNameAvatarSource.cs | 2 +- .../ContextAbstraction/IMetadataDictionaryNameWeaponSource.cs | 2 +- .../ContextAbstraction/IMetadataSupportInitialization.cs | 2 +- .../ContextAbstraction/MetadataServiceContextExtension.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/Metadata/IMetadataService.cs | 2 +- .../Service/Metadata/IMetadataServiceInitialization.cs | 2 +- .../Snap.Hutao/Service/Metadata/MetadataFileStrategies.cs | 2 +- .../Snap.Hutao/Service/Metadata/MetadataFileStrategy.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/Metadata/MetadataOptions.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/Metadata/MetadataService.cs | 2 +- .../Service/Metadata/MetadataServiceImmutableArrayExtension.cs | 2 +- .../Metadata/MetadataServiceImmutableDictionaryExtension.cs | 2 +- .../Service/Navigation/INavigationCompletionSource.cs | 2 +- .../Snap.Hutao/Service/Navigation/INavigationCurrent.cs | 2 +- .../Snap.Hutao/Service/Navigation/INavigationExtraData.cs | 2 +- .../Snap.Hutao/Service/Navigation/INavigationInitialization.cs | 2 +- .../Snap.Hutao/Service/Navigation/INavigationRecipient.cs | 2 +- .../Snap.Hutao/Service/Navigation/INavigationService.cs | 2 +- .../Snap.Hutao/Service/Navigation/INavigationViewAccessor.cs | 2 +- .../Snap.Hutao/Service/Navigation/NavigationCompletionSource.cs | 2 +- .../Snap.Hutao/Service/Navigation/NavigationResult.cs | 2 +- .../Snap.Hutao/Service/Navigation/NavigationService.cs | 2 +- .../Snap.Hutao/Service/Notification/AppNotificationLifeTime.cs | 2 +- .../Snap.Hutao/Service/Notification/IAppNotificationLifeTime.cs | 2 +- .../Snap.Hutao/Service/Notification/IInfoBarOptionsBuilder.cs | 2 +- .../Snap.Hutao/Service/Notification/IInfoBarService.cs | 2 +- .../Snap.Hutao/Service/Notification/InfoBarOptions.cs | 2 +- .../Snap.Hutao/Service/Notification/InfoBarOptionsBuilder.cs | 2 +- .../Service/Notification/InfoBarOptionsBuilderExtension.cs | 2 +- .../Snap.Hutao/Service/Notification/InfoBarService.cs | 2 +- .../Snap.Hutao/Service/Notification/InfoBarServiceExtension.cs | 2 +- .../Snap.Hutao/Service/RoleCombat/IRoleCombatRepository.cs | 2 +- .../Snap.Hutao/Service/RoleCombat/IRoleCombatService.cs | 2 +- .../Snap.Hutao/Service/RoleCombat/RoleCombatRepository.cs | 2 +- .../Snap.Hutao/Service/RoleCombat/RoleCombatService.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/SignIn/ISignInService.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/SignIn/SignInService.cs | 2 +- .../Service/SpiralAbyss/ISpiralAbyssRecordRepository.cs | 2 +- .../Snap.Hutao/Service/SpiralAbyss/ISpiralAbyssRecordService.cs | 2 +- .../Service/SpiralAbyss/SpiralAbyssRecordRepository.cs | 2 +- .../Snap.Hutao/Service/SpiralAbyss/SpiralAbyssRecordService.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/SupportedCultures.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/UIGF/IUIGFExportService.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/UIGF/IUIGFImportService.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/UIGF/IUIGFService.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/UIGF/UIGF40ExportService.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/UIGF/UIGF40ImportService.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/UIGF/UIGFExportOptions.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/UIGF/UIGFImportOptions.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/UIGF/UIGFService.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/UIGF/UIGFVersion.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/Update/CheckUpdateResult.cs | 2 +- .../Snap.Hutao/Service/Update/CheckUpdateResultKind.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/Update/IUpdateService.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/Update/LaunchUpdaterResult.cs | 2 +- .../Snap.Hutao/Service/User/IProfilePictureService.cs | 2 +- .../Snap.Hutao/Service/User/IUidProfilePictureRepository.cs | 2 +- .../Snap.Hutao/Service/User/IUserCollectionService.cs | 2 +- .../Snap.Hutao/Service/User/IUserFingerprintService.cs | 2 +- .../Snap.Hutao/Service/User/IUserInitializationService.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/User/IUserMetadataContext.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/User/IUserRepository.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/User/IUserService.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/User/IUserServiceUnsafe.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/User/InputCookie.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/User/ProfilePictureService.cs | 2 +- .../Snap.Hutao/Service/User/UidProfilePictureRepository.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/User/UserCollectionService.cs | 2 +- .../Snap.Hutao/Service/User/UserFingerprintService.cs | 2 +- .../Snap.Hutao/Service/User/UserInitializationService.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/User/UserMetadataContext.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/User/UserOptionResult.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/User/UserRemovedMessage.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/User/UserRepository.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/User/UserService.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Service/User/UserServiceExtension.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Snap.Hutao.csproj | 1 + src/Snap.Hutao/Snap.Hutao/UI/Bgra32.cs | 2 +- src/Snap.Hutao/Snap.Hutao/UI/ColorHelper.cs | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Hsla32.cs | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Input/CommandInvocation.cs | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Input/HotKey/HotKeyCombination.cs | 2 +- .../Snap.Hutao/UI/Input/HotKey/HotKeyMessageWindow.cs | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Input/HotKey/HotKeyOptions.cs | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Input/HotKey/HotKeyParameter.cs | 2 +- .../Snap.Hutao/UI/Input/LowLevel/LowLevelInputKeyboardSource.cs | 2 +- .../Snap.Hutao/UI/Input/LowLevel/LowLevelKeyOptions.cs | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Input/VirtualKeys.cs | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Rgba32.cs | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Rgba64.cs | 2 +- .../Snap.Hutao/UI/Shell/NotifyIconContextMenu.xaml.cs | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Shell/NotifyIconMethods.cs | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Shell/NotifyIconXamlHostWindow.cs | 2 +- .../UI/Windowing/Abstraction/IXamlWindowClosedHandler.cs | 2 +- .../Abstraction/IXamlWindowContentAsFrameworkElement.cs | 2 +- .../Abstraction/IXamlWindowExtendContentIntoTitleBar.cs | 2 +- .../UI/Windowing/Abstraction/IXamlWindowHasInitSize.cs | 2 +- .../UI/Windowing/Abstraction/IXamlWindowRectPersisted.cs | 2 +- .../Abstraction/IXamlWindowSubclassMinMaxInfoHandler.cs | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Windowing/AppWindowExtension.cs | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Windowing/XamlWindowController.cs | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Windowing/XamlWindowNonRudeHWND.cs | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Windowing/XamlWindowSubclass.cs | 2 +- .../UI/Xaml/Behavior/Action/ShowAttachedFlyoutAction.cs | 2 +- .../UI/Xaml/Behavior/Action/ShowWebView2WindowAction.cs | 2 +- .../UI/Xaml/Behavior/Action/StartAnimationActionNoThrow.cs | 2 +- .../Snap.Hutao/UI/Xaml/Behavior/InfoBarDelayCloseBehavior.cs | 2 +- .../UI/Xaml/Behavior/InvokeCommandOnLoadedBehavior.cs | 2 +- .../PeriodicInvokeCommandOrOnActualThemeChangedBehavior.cs | 2 +- .../Snap.Hutao/UI/Xaml/Behavior/SelectedItemInViewBehavior.cs | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Xaml/BindingProxy.cs | 2 +- .../UI/Xaml/Control/AutoSuggestBox/AutoSuggestTokenBox.cs | 2 +- .../UI/Xaml/Control/AutoSuggestBox/AutoSuggestTokenBox.xaml | 2 +- .../Snap.Hutao/UI/Xaml/Control/AutoSuggestBox/SearchToken.cs | 2 +- .../UI/Xaml/Control/AutoSuggestBox/SearchTokenKind.cs | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Card/CardBlock.cs | 2 +- .../Snap.Hutao/UI/Xaml/Control/Card/CardProgressBar.cs | 2 +- .../Snap.Hutao/UI/Xaml/Control/Card/CardProgressBar.xaml | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Card/CardReference.cs | 2 +- .../Snap.Hutao/UI/Xaml/Control/Card/HorizontalCard.cs | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Card/VerticalCard.cs | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/ComboBox2.cs | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/ComboBoxHelper.cs | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/ControlHelper.cs | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Elevation.cs | 2 +- .../UI/Xaml/Control/IScopedPageScopeReferenceTracker.cs | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Image/CachedImage.cs | 2 +- .../Snap.Hutao/UI/Xaml/Control/Image/CachedImage.xaml | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/InfoBarHelper.cs | 2 +- .../Snap.Hutao/UI/Xaml/Control/InfoBarTemplateSelector.cs | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/ItemIcon.cs | 2 +- .../UI/Xaml/Control/Layout/UniformStaggeredColumnLayout.cs | 2 +- .../Snap.Hutao/UI/Xaml/Control/Layout/UniformStaggeredItem.cs | 2 +- .../Snap.Hutao/UI/Xaml/Control/Layout/UniformStaggeredLayout.cs | 2 +- .../UI/Xaml/Control/Layout/UniformStaggeredLayoutState.cs | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/LayoutSwitch.xaml | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/LayoutSwitch.xaml.cs | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Loading.cs | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Panel/EqualPanel.cs | 2 +- .../Snap.Hutao/UI/Xaml/Control/Panel/HorizontalEqualPanel.cs | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Panel/UniformPanel.cs | 2 +- .../Snap.Hutao/UI/Xaml/Control/Panel/UniformStaggeredPanel.cs | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/ScopedPage.cs | 2 +- .../UI/Xaml/Control/ScopedPageScopeReferenceTracker.cs | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/ScrollViewerHelper.cs | 2 +- .../Snap.Hutao/UI/Xaml/Control/SettingsExpanderHelper.cs | 2 +- .../Snap.Hutao/UI/Xaml/Control/SizeRestrictedContentControl.cs | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/StandardView.cs | 2 +- .../UI/Xaml/Control/TextBlock/DescriptionTextBlock.cs | 2 +- .../UI/Xaml/Control/TextBlock/HtmlDescriptionTextBlock.cs | 2 +- .../Snap.Hutao/UI/Xaml/Control/TextBlock/RateDeltaTextBlock.cs | 2 +- .../UI/Xaml/Control/TextBlock/Syntax/MiHoYo/MiHoYoColorKind.cs | 2 +- .../Control/TextBlock/Syntax/MiHoYo/MiHoYoColorTextSyntax.cs | 2 +- .../Control/TextBlock/Syntax/MiHoYo/MiHoYoItalicTextSyntax.cs | 2 +- .../Control/TextBlock/Syntax/MiHoYo/MiHoYoPlainTextSyntax.cs | 2 +- .../UI/Xaml/Control/TextBlock/Syntax/MiHoYo/MiHoYoRootSyntax.cs | 2 +- .../UI/Xaml/Control/TextBlock/Syntax/MiHoYo/MiHoYoSyntaxKind.cs | 2 +- .../UI/Xaml/Control/TextBlock/Syntax/MiHoYo/MiHoYoSyntaxNode.cs | 2 +- .../UI/Xaml/Control/TextBlock/Syntax/MiHoYo/MiHoYoSyntaxTree.cs | 2 +- .../Control/TextBlock/Syntax/MiHoYo/MiHoYoXmlElementSyntax.cs | 2 +- .../Snap.Hutao/UI/Xaml/Control/TextBlock/Syntax/SyntaxNode.cs | 2 +- .../Snap.Hutao/UI/Xaml/Control/TextBlock/Syntax/TextPosition.cs | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Theme/Card.xaml | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Theme/Color.xaml | 2 +- .../Snap.Hutao/UI/Xaml/Control/Theme/CornerRadius.xaml | 2 +- .../Snap.Hutao/UI/Xaml/Control/Theme/FlyoutStyle.xaml | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Theme/FontStyle.xaml | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Theme/KnownColors.cs | 2 +- .../Snap.Hutao/UI/Xaml/Control/Theme/NumericValue.xaml | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Theme/SystemColors.cs | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Theme/ThemeHelper.cs | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Theme/Thickness.xaml | 2 +- .../Snap.Hutao/UI/Xaml/Control/Theme/TransitionCollection.xaml | 2 +- .../Snap.Hutao/UI/Xaml/Data/AdvancedCollectionViewExtension.cs | 2 +- .../UI/Xaml/Data/Converter/BoolToVisibilityRevertConverter.cs | 2 +- .../UI/Xaml/Data/Converter/DependencyValueConverter.cs | 2 +- .../Xaml/Data/Converter/EmptyCollectionToVisibilityConverter.cs | 2 +- .../Converter/EmptyCollectionToVisibilityRevertConverter.cs | 2 +- .../UI/Xaml/Data/Converter/EmptyObjectToBoolConverter.cs | 2 +- .../UI/Xaml/Data/Converter/EmptyObjectToBoolRevertConverter.cs | 2 +- .../UI/Xaml/Data/Converter/EmptyObjectToVisibilityConverter.cs | 2 +- .../Data/Converter/EmptyObjectToVisibilityRevertConverter.cs | 2 +- .../Snap.Hutao/UI/Xaml/Data/Converter/Int32ToBoolConverter.cs | 2 +- .../UI/Xaml/Data/Converter/Int32ToBoolRevertConverter.cs | 2 +- .../UI/Xaml/Data/Converter/Int32ToVisibilityConverter.cs | 2 +- .../UI/Xaml/Data/Converter/Int32ToVisibilityRevertConverter.cs | 2 +- .../Converter/Specialized/BackdropTypeToOpacityConverter.cs | 2 +- .../Data/Converter/Specialized/BoolToGridLengthConverter.cs | 2 +- .../Xaml/Data/Converter/Specialized/ElementTypeIconConverter.cs | 2 +- .../Data/Converter/Specialized/Int32ToGradientColorConverter.cs | 2 +- .../Data/Converter/Specialized/LayoutSwitchModeConverter.cs | 2 +- .../Converter/Specialized/RoleCombatHeraldryIconConverter.cs | 2 +- .../Xaml/Data/Converter/Specialized/ThirdPartyIconConverter.cs | 2 +- .../Specialized/TimestampToLocalTimeStringConverter.cs | 2 +- .../Converter/Specialized/UInt32ToGradientColorConverter.cs | 2 +- .../Xaml/Data/Converter/SpecificStringToVisibilityConverter.cs | 2 +- .../Snap.Hutao/UI/Xaml/Data/Converter/StringBoolConverter.cs | 2 +- .../Snap.Hutao/UI/Xaml/Data/Converter/ValueConverter.cs | 2 +- .../UI/Xaml/Data/Converter/VisibilityToObjectConverter.cs | 2 +- .../Snap.Hutao/UI/Xaml/Data/IAdvancedCollectionView.cs | 2 +- .../Snap.Hutao/UI/Xaml/Data/IAdvancedCollectionViewItem.cs | 2 +- .../Snap.Hutao/UI/Xaml/Data/VectorChangedEventArgs.cs | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Xaml/DeferContentLoader.cs | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Xaml/DependencyObjectExtension.cs | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Xaml/FrameworkElementExtension.cs | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Xaml/FrameworkElementHelper.cs | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Xaml/IDeferContentLoader.cs | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Xaml/IXamlElementAccessor.cs | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Xaml/Markup/BitmapIconExtension.cs | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Xaml/Markup/FontIconExtension.cs | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Xaml/Markup/Int32Extension.cs | 2 +- .../Snap.Hutao/UI/Xaml/Markup/ResourceStringExtension.cs | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Xaml/Markup/UInt32Extension.cs | 2 +- .../Snap.Hutao/UI/Xaml/Markup/XamlServiceProviderExtension.cs | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Xaml/Media/Animation/Constants.cs | 2 +- .../Snap.Hutao/UI/Xaml/Media/Animation/ImageZoomInAnimation.cs | 2 +- .../Snap.Hutao/UI/Xaml/Media/Animation/ImageZoomOutAnimation.cs | 2 +- .../Snap.Hutao/UI/Xaml/Media/Backdrop/BackdropType.cs | 2 +- .../UI/Xaml/Media/Backdrop/IBackdropNeedEraseBackground.cs | 2 +- .../UI/Xaml/Media/Backdrop/IWindowNeedEraseBackground.cs | 2 +- .../UI/Xaml/Media/Backdrop/InputActiveDesktopAcrylicBackdrop.cs | 2 +- .../Backdrop/SystemBackdropDesktopWindowXamlSourceAccess.cs | 2 +- .../Snap.Hutao/UI/Xaml/Media/Backdrop/TransparentBackdrop.cs | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Xaml/UIElementHelper.cs | 2 +- .../Snap.Hutao/UI/Xaml/View/Card/AchievementCard.xaml | 2 +- .../Snap.Hutao/UI/Xaml/View/Card/AchievementCard.xaml.cs | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/Card/DailyNoteCard.xaml | 2 +- .../Snap.Hutao/UI/Xaml/View/Card/DailyNoteCard.xaml.cs | 2 +- .../Snap.Hutao/UI/Xaml/View/Card/GachaStatisticsCard.xaml | 2 +- .../Snap.Hutao/UI/Xaml/View/Card/GachaStatisticsCard.xaml.cs | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/Card/LaunchGameCard.xaml | 2 +- .../Snap.Hutao/UI/Xaml/View/Card/LaunchGameCard.xaml.cs | 2 +- .../UI/Xaml/View/Dialog/AchievementArchiveCreateDialog.xaml | 2 +- .../UI/Xaml/View/Dialog/AchievementArchiveCreateDialog.xaml.cs | 2 +- .../Snap.Hutao/UI/Xaml/View/Dialog/AchievementImportDialog.xaml | 2 +- .../UI/Xaml/View/Dialog/AchievementImportDialog.xaml.cs | 2 +- .../Snap.Hutao/UI/Xaml/View/Dialog/CultivateProjectDialog.xaml | 2 +- .../UI/Xaml/View/Dialog/CultivateProjectDialog.xaml.cs | 2 +- .../UI/Xaml/View/Dialog/CultivatePromotionDeltaBatchDialog.xaml | 2 +- .../Xaml/View/Dialog/CultivatePromotionDeltaBatchDialog.xaml.cs | 2 +- .../UI/Xaml/View/Dialog/CultivatePromotionDeltaDialog.xaml | 2 +- .../UI/Xaml/View/Dialog/CultivatePromotionDeltaDialog.xaml.cs | 2 +- .../UI/Xaml/View/Dialog/CultivatePromotionDeltaOptions.cs | 2 +- .../UI/Xaml/View/Dialog/DailyNoteNotificationDialog.xaml | 2 +- .../UI/Xaml/View/Dialog/DailyNoteNotificationDialog.xaml.cs | 2 +- .../Snap.Hutao/UI/Xaml/View/Dialog/DailyNoteWebhookDialog.xaml | 2 +- .../UI/Xaml/View/Dialog/DailyNoteWebhookDialog.xaml.cs | 2 +- .../UI/Xaml/View/Dialog/GachaLogRefreshProgressDialog.xaml | 2 +- .../UI/Xaml/View/Dialog/GachaLogRefreshProgressDialog.xaml.cs | 2 +- .../Snap.Hutao/UI/Xaml/View/Dialog/GachaLogUrlDialog.xaml | 2 +- .../Snap.Hutao/UI/Xaml/View/Dialog/GachaLogUrlDialog.xaml.cs | 2 +- .../UI/Xaml/View/Dialog/LaunchGameAccountNameDialog.xaml | 2 +- .../UI/Xaml/View/Dialog/LaunchGameAccountNameDialog.xaml.cs | 2 +- .../UI/Xaml/View/Dialog/LaunchGameConfigurationFixDialog.xaml | 2 +- .../Xaml/View/Dialog/LaunchGameConfigurationFixDialog.xaml.cs | 2 +- .../UI/Xaml/View/Dialog/LaunchGameInstallGameDialog.xaml.cs | 2 +- .../UI/Xaml/View/Dialog/LaunchGamePackageConvertDialog.xaml | 2 +- .../UI/Xaml/View/Dialog/LaunchGamePackageConvertDialog.xaml.cs | 2 +- .../Snap.Hutao/UI/Xaml/View/Dialog/ReconfirmDialog.xaml | 2 +- .../Snap.Hutao/UI/Xaml/View/Dialog/ReconfirmDialog.xaml.cs | 2 +- .../Dialog/SpiralAbyssUploadRecordHomaNotLoginDialog.xaml.cs | 2 +- .../Snap.Hutao/UI/Xaml/View/Dialog/UIGFUidSelection.cs | 2 +- .../UI/Xaml/View/Dialog/UpdatePackageDownloadConfirmDialog.xaml | 2 +- .../Xaml/View/Dialog/UpdatePackageDownloadConfirmDialog.xaml.cs | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/Dialog/UserDialog.xaml | 2 +- .../Snap.Hutao/UI/Xaml/View/Dialog/UserQRCodeDialog.xaml.cs | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/GuideView.xaml | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/GuideView.xaml.cs | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/InfoBarView.xaml | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/InfoBarView.xaml.cs | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/MainView.xaml | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/MainView.xaml.cs | 2 +- .../Snap.Hutao/UI/Xaml/View/Page/AchievementPage.xaml | 2 +- .../Snap.Hutao/UI/Xaml/View/Page/AchievementPage.xaml.cs | 2 +- .../Snap.Hutao/UI/Xaml/View/Page/AnnouncementPage.xaml | 2 +- .../Snap.Hutao/UI/Xaml/View/Page/AnnouncementPage.xaml.cs | 2 +- .../Snap.Hutao/UI/Xaml/View/Page/AvatarPropertyPage.xaml | 2 +- .../Snap.Hutao/UI/Xaml/View/Page/AvatarPropertyPage.xaml.cs | 2 +- .../Snap.Hutao/UI/Xaml/View/Page/CultivationPage.xaml.cs | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/Page/DailyNotePage.xaml | 2 +- .../Snap.Hutao/UI/Xaml/View/Page/DailyNotePage.xaml.cs | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/Page/GachaLogPage.xaml | 2 +- .../Snap.Hutao/UI/Xaml/View/Page/GachaLogPage.xaml.cs | 2 +- .../Snap.Hutao/UI/Xaml/View/Page/LaunchGamePage.xaml.cs | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/Page/RoleCombatPage.xaml | 2 +- .../Snap.Hutao/UI/Xaml/View/Page/RoleCombatPage.xaml.cs | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/Page/SettingPage.xaml | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/Page/SettingPage.xaml.cs | 2 +- .../Snap.Hutao/UI/Xaml/View/Page/SpiralAbyssRecordPage.xaml | 2 +- .../Snap.Hutao/UI/Xaml/View/Page/SpiralAbyssRecordPage.xaml.cs | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/Page/TestPage.xaml.cs | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/Page/WikiAvatarPage.xaml | 2 +- .../Snap.Hutao/UI/Xaml/View/Page/WikiAvatarPage.xaml.cs | 2 +- .../Snap.Hutao/UI/Xaml/View/Page/WikiMonsterPage.xaml | 2 +- .../Snap.Hutao/UI/Xaml/View/Page/WikiMonsterPage.xaml.cs | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/Page/WikiWeaponPage.xaml | 2 +- .../Snap.Hutao/UI/Xaml/View/Page/WikiWeaponPage.xaml.cs | 2 +- .../Snap.Hutao/UI/Xaml/View/Specialized/BaseValueSlider.xaml | 2 +- .../Snap.Hutao/UI/Xaml/View/Specialized/BaseValueSlider.xaml.cs | 2 +- .../Snap.Hutao/UI/Xaml/View/Specialized/CountdownCard.xaml | 2 +- .../Snap.Hutao/UI/Xaml/View/Specialized/CountdownCard.xaml.cs | 2 +- .../Snap.Hutao/UI/Xaml/View/Specialized/DescParamComboBox.xaml | 2 +- .../UI/Xaml/View/Specialized/DescParamComboBox.xaml.cs | 2 +- .../UI/Xaml/View/Specialized/HutaoStatisticsCard.xaml | 2 +- .../UI/Xaml/View/Specialized/HutaoStatisticsCard.xaml.cs | 2 +- .../UI/Xaml/View/Specialized/LaunchGameResourceExpander.xaml.cs | 2 +- .../Snap.Hutao/UI/Xaml/View/Specialized/SkillPivot.xaml | 2 +- .../Snap.Hutao/UI/Xaml/View/Specialized/SkillPivot.xaml.cs | 2 +- .../UI/Xaml/View/Specialized/SophonProgressBar.xaml.cs | 2 +- .../Snap.Hutao/UI/Xaml/View/Specialized/StatisticsCard.xaml | 2 +- .../Snap.Hutao/UI/Xaml/View/Specialized/StatisticsCard.xaml.cs | 2 +- .../UI/Xaml/View/Specialized/StatisticsSegmented.xaml | 2 +- .../UI/Xaml/View/Specialized/StatisticsSegmented.xaml.cs | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/TitleView.xaml | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/TitleView.xaml.cs | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/UserView.xaml | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/UserView.xaml.cs | 2 +- .../Snap.Hutao/UI/Xaml/View/Window/ExceptionWindow.xaml | 2 +- .../Snap.Hutao/UI/Xaml/View/Window/ExceptionWindow.xaml.cs | 2 +- .../UI/Xaml/View/Window/GamePackageOperationWindow.xaml.cs | 2 +- .../Snap.Hutao/UI/Xaml/View/Window/GuideWindow.xaml.cs | 2 +- .../UI/Xaml/View/Window/IdentifyMonitorWindow.xaml.cs | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Xaml/View/Window/MainWindow.xaml | 2 +- .../Snap.Hutao/UI/Xaml/View/Window/MainWindow.xaml.cs | 2 +- .../View/Window/WebView2/AnnouncementWebView2ContentProvider.cs | 2 +- .../Xaml/View/Window/WebView2/DefaultWebView2ContentProvider.cs | 2 +- .../Xaml/View/Window/WebView2/GeetestWebView2ContentProvider.cs | 2 +- .../UI/Xaml/View/Window/WebView2/IJSBridgeUriSourceProvider.cs | 2 +- .../UI/Xaml/View/Window/WebView2/IWebView2ContentProvider.cs | 2 +- .../Window/WebView2/MiHoYoJSBridgeWebView2ContentProvider.cs | 2 +- .../WebView2/OverseaThirdPartyLoginWebView2ContentProvider.cs | 2 +- .../View/Window/WebView2/StaticJSBridgeUriSourceProvider.cs | 2 +- .../UI/Xaml/View/Window/WebView2/UpdateLogContentProvider.cs | 2 +- .../Snap.Hutao/UI/Xaml/View/Window/WebView2/WebView2Window.xaml | 2 +- .../UI/Xaml/View/Window/WebView2/WebView2Window.xaml.cs | 2 +- .../UI/Xaml/View/Window/WebView2/WebView2WindowPosition.cs | 2 +- src/Snap.Hutao/Snap.Hutao/UI/Xaml/WindowExtension.cs | 2 +- src/Snap.Hutao/Snap.Hutao/ViewModel/Abstraction/IPageScoped.cs | 2 +- src/Snap.Hutao/Snap.Hutao/ViewModel/Abstraction/IViewModel.cs | 2 +- src/Snap.Hutao/Snap.Hutao/ViewModel/Abstraction/ViewModel.cs | 2 +- .../Snap.Hutao/ViewModel/Abstraction/ViewModelSlim.cs | 2 +- .../Snap.Hutao/ViewModel/Achievement/AchievementFilter.cs | 2 +- .../ViewModel/Achievement/AchievementFinishPercent.cs | 2 +- .../ViewModel/Achievement/AchievementGoalStatistics.cs | 2 +- .../Snap.Hutao/ViewModel/Achievement/AchievementGoalView.cs | 2 +- .../Snap.Hutao/ViewModel/Achievement/AchievementImporter.cs | 2 +- .../ViewModel/Achievement/AchievementImporterScopeContext.cs | 2 +- .../Snap.Hutao/ViewModel/Achievement/AchievementStatistics.cs | 2 +- .../Snap.Hutao/ViewModel/Achievement/AchievementView.cs | 2 +- .../Snap.Hutao/ViewModel/Achievement/AchievementViewModel.cs | 2 +- .../ViewModel/Achievement/AchievementViewModelScopeContext.cs | 2 +- .../ViewModel/Achievement/AchievementViewModelSlim.cs | 2 +- .../Snap.Hutao/ViewModel/AvatarProperty/AvatarProperty.cs | 2 +- .../ViewModel/AvatarProperty/AvatarPropertyViewModel.cs | 2 +- .../AvatarProperty/AvatarPropertyViewModelScopeContext.cs | 2 +- .../Snap.Hutao/ViewModel/AvatarProperty/AvatarView.cs | 2 +- .../Snap.Hutao/ViewModel/AvatarProperty/AvatarViewFilter.cs | 2 +- .../ViewModel/AvatarProperty/AvatarViewTextTemplating.cs | 2 +- .../Snap.Hutao/ViewModel/AvatarProperty/BatchCultivateResult.cs | 2 +- .../Snap.Hutao/ViewModel/AvatarProperty/ConstellationView.cs | 2 +- src/Snap.Hutao/Snap.Hutao/ViewModel/AvatarProperty/EquipView.cs | 2 +- .../Snap.Hutao/ViewModel/AvatarProperty/NameIconDescription.cs | 2 +- .../ViewModel/AvatarProperty/RecommandPropertiesView.cs | 2 +- .../ViewModel/AvatarProperty/ReliquaryComposedSubProperty.cs | 2 +- .../Snap.Hutao/ViewModel/AvatarProperty/ReliquarySubProperty.cs | 2 +- .../Snap.Hutao/ViewModel/AvatarProperty/ReliquaryView.cs | 2 +- src/Snap.Hutao/Snap.Hutao/ViewModel/AvatarProperty/SkillView.cs | 2 +- src/Snap.Hutao/Snap.Hutao/ViewModel/AvatarProperty/Summary.cs | 2 +- .../Snap.Hutao/ViewModel/AvatarProperty/WeaponView.cs | 2 +- src/Snap.Hutao/Snap.Hutao/ViewModel/Calendar/CalendarDay.cs | 2 +- src/Snap.Hutao/Snap.Hutao/ViewModel/Calendar/CalendarItem.cs | 2 +- .../Snap.Hutao/ViewModel/Calendar/CalendarMaterial.cs | 2 +- .../Snap.Hutao/ViewModel/Calendar/CalendarMetadataContext.cs | 2 +- .../Snap.Hutao/ViewModel/Calendar/CalendarMetadataContext2.cs | 2 +- .../Snap.Hutao/ViewModel/Calendar/CalendarViewModel.cs | 2 +- src/Snap.Hutao/Snap.Hutao/ViewModel/Calendar/MonthAndDay.cs | 2 +- .../Snap.Hutao/ViewModel/Complex/AvatarCollocationView.cs | 2 +- .../Snap.Hutao/ViewModel/Complex/AvatarConstellationInfoView.cs | 2 +- src/Snap.Hutao/Snap.Hutao/ViewModel/Complex/AvatarRankView.cs | 2 +- src/Snap.Hutao/Snap.Hutao/ViewModel/Complex/AvatarView.cs | 2 +- .../ViewModel/Complex/HutaoRoleCombatDatabaseViewModel.cs | 2 +- .../ViewModel/Complex/HutaoSpiralAbyssDatabaseViewModel.cs | 2 +- src/Snap.Hutao/Snap.Hutao/ViewModel/Complex/RateAndDelta.cs | 2 +- src/Snap.Hutao/Snap.Hutao/ViewModel/Complex/ReliquarySetView.cs | 2 +- src/Snap.Hutao/Snap.Hutao/ViewModel/Complex/Team.cs | 2 +- .../Snap.Hutao/ViewModel/Complex/TeamAppearanceView.cs | 2 +- .../Snap.Hutao/ViewModel/Complex/WeaponCollocationView.cs | 2 +- src/Snap.Hutao/Snap.Hutao/ViewModel/Complex/WeaponView.cs | 2 +- .../Snap.Hutao/ViewModel/Cultivation/CultivateEntryView.cs | 2 +- .../Snap.Hutao/ViewModel/Cultivation/CultivateItemView.cs | 2 +- .../Snap.Hutao/ViewModel/Cultivation/CultivationViewModel.cs | 2 +- src/Snap.Hutao/Snap.Hutao/ViewModel/Cultivation/DaysOfWeek.cs | 2 +- .../Snap.Hutao/ViewModel/Cultivation/InventoryItemView.cs | 2 +- .../Snap.Hutao/ViewModel/Cultivation/ResinStatisticsItemKind.cs | 2 +- .../Snap.Hutao/ViewModel/Cultivation/StatisticsCultivateItem.cs | 2 +- .../ViewModel/DailyNote/DailyJSBridgeUriSourceProvider.cs | 2 +- .../Snap.Hutao/ViewModel/DailyNote/DailyNoteArchonQuestView.cs | 2 +- .../Snap.Hutao/ViewModel/DailyNote/DailyNoteViewModel.cs | 2 +- .../Snap.Hutao/ViewModel/DailyNote/DailyNoteViewModelSlim.cs | 2 +- .../Snap.Hutao/ViewModel/Feedback/FeedbackViewModel.cs | 2 +- src/Snap.Hutao/Snap.Hutao/ViewModel/GachaLog/Countdown.cs | 2 +- .../Snap.Hutao/ViewModel/GachaLog/CountdownHistory.cs | 2 +- .../Snap.Hutao/ViewModel/GachaLog/GachaLogViewModel.cs | 2 +- .../Snap.Hutao/ViewModel/GachaLog/GachaLogViewModelSlim.cs | 2 +- src/Snap.Hutao/Snap.Hutao/ViewModel/GachaLog/GachaStatistics.cs | 2 +- .../Snap.Hutao/ViewModel/GachaLog/GachaStatisticsSlim.cs | 2 +- src/Snap.Hutao/Snap.Hutao/ViewModel/GachaLog/HistoryWish.cs | 2 +- .../ViewModel/GachaLog/HutaoCloudEntryOperationViewModel.cs | 2 +- .../ViewModel/GachaLog/HutaoCloudStatisticsViewModel.cs | 2 +- .../Snap.Hutao/ViewModel/GachaLog/HutaoCloudViewModel.cs | 2 +- src/Snap.Hutao/Snap.Hutao/ViewModel/GachaLog/HutaoStatistics.cs | 2 +- .../Snap.Hutao/ViewModel/GachaLog/HutaoWishSummary.cs | 2 +- src/Snap.Hutao/Snap.Hutao/ViewModel/GachaLog/StatisticsItem.cs | 2 +- src/Snap.Hutao/Snap.Hutao/ViewModel/GachaLog/SummaryItem.cs | 2 +- .../Snap.Hutao/ViewModel/GachaLog/TypedWishSummary.cs | 2 +- .../Snap.Hutao/ViewModel/GachaLog/TypedWishSummarySlim.cs | 2 +- src/Snap.Hutao/Snap.Hutao/ViewModel/GachaLog/Wish.cs | 2 +- .../Snap.Hutao/ViewModel/GachaLog/WishCountdownViewModel.cs | 2 +- src/Snap.Hutao/Snap.Hutao/ViewModel/GachaLog/WishCountdowns.cs | 2 +- .../ViewModel/Game/AspectRatioComboBoxTemplateSelector.cs | 2 +- src/Snap.Hutao/Snap.Hutao/ViewModel/Game/GameAccountFilter.cs | 2 +- .../Snap.Hutao/ViewModel/Game/GamePackageInstallViewModel.cs | 2 +- .../Snap.Hutao/ViewModel/Game/GamePackageOperationViewModel.cs | 2 +- .../Snap.Hutao/ViewModel/Game/GamePackageViewModel.cs | 2 +- .../ViewModel/Game/IViewModelSupportLaunchExecution.cs | 2 +- .../Snap.Hutao/ViewModel/Game/LaunchGameLaunchExecution.cs | 2 +- src/Snap.Hutao/Snap.Hutao/ViewModel/Game/LaunchGameShared.cs | 2 +- src/Snap.Hutao/Snap.Hutao/ViewModel/Game/LaunchGameViewModel.cs | 2 +- .../Snap.Hutao/ViewModel/Game/LaunchGameViewModelSlim.cs | 2 +- .../Snap.Hutao/ViewModel/Game/LaunchGameWithUidData.cs | 2 +- src/Snap.Hutao/Snap.Hutao/ViewModel/Guide/DownloadSummary.cs | 2 +- src/Snap.Hutao/Snap.Hutao/ViewModel/Guide/GuideState.cs | 2 +- src/Snap.Hutao/Snap.Hutao/ViewModel/Guide/GuideViewModel.cs | 2 +- src/Snap.Hutao/Snap.Hutao/ViewModel/Guide/StaticResource.cs | 2 +- .../Snap.Hutao/ViewModel/Guide/StaticResourceArchive.cs | 2 +- .../ViewModel/Guide/StaticResourceHttpHeaderBuilderExtension.cs | 2 +- .../Snap.Hutao/ViewModel/Guide/StaticResourceOptions.cs | 2 +- .../Snap.Hutao/ViewModel/Guide/StaticResourceQuality.cs | 2 +- .../Snap.Hutao/ViewModel/Home/AnnouncementViewModel.cs | 2 +- .../Snap.Hutao/ViewModel/IBackgroundImagePresenterAccessor.cs | 2 +- .../Snap.Hutao/ViewModel/IMainViewModelInitialization.cs | 2 +- src/Snap.Hutao/Snap.Hutao/ViewModel/MainViewModel.cs | 2 +- src/Snap.Hutao/Snap.Hutao/ViewModel/NotifyIconViewModel.cs | 2 +- src/Snap.Hutao/Snap.Hutao/ViewModel/RoleCombat/AvatarDamage.cs | 2 +- src/Snap.Hutao/Snap.Hutao/ViewModel/RoleCombat/AvatarView.cs | 2 +- src/Snap.Hutao/Snap.Hutao/ViewModel/RoleCombat/BuffView.cs | 2 +- src/Snap.Hutao/Snap.Hutao/ViewModel/RoleCombat/EnemyView.cs | 2 +- .../RoleCombat/RoleCombatAvatarTypeTemplateSelector.cs | 2 +- .../ViewModel/RoleCombat/RoleCombatMetadataContext.cs | 2 +- .../Snap.Hutao/ViewModel/RoleCombat/RoleCombatView.cs | 2 +- .../Snap.Hutao/ViewModel/RoleCombat/RoleCombatViewModel.cs | 2 +- src/Snap.Hutao/Snap.Hutao/ViewModel/RoleCombat/RoundView.cs | 2 +- .../Snap.Hutao/ViewModel/RoleCombat/SplendourBuffView.cs | 2 +- .../Snap.Hutao/ViewModel/Scripting/ScriptingViewModel.cs | 2 +- src/Snap.Hutao/Snap.Hutao/ViewModel/Setting/HomeCardOptions.cs | 2 +- .../Snap.Hutao/ViewModel/Setting/HutaoPassportViewModel.cs | 2 +- .../ViewModel/Setting/ISettingScrollViewerAccessor.cs | 2 +- .../Snap.Hutao/ViewModel/Setting/SettingAppearanceViewModel.cs | 2 +- .../ViewModel/Setting/SettingDangerousFeatureViewModel.cs | 2 +- .../Snap.Hutao/ViewModel/Setting/SettingFolderViewModel.cs | 2 +- .../Snap.Hutao/ViewModel/Setting/SettingGachaLogViewModel.cs | 2 +- .../Snap.Hutao/ViewModel/Setting/SettingGameViewModel.cs | 2 +- .../Snap.Hutao/ViewModel/Setting/SettingGeetestViewModel.cs | 2 +- .../Snap.Hutao/ViewModel/Setting/SettingHomeViewModel.cs | 2 +- .../Snap.Hutao/ViewModel/Setting/SettingHotKeyViewModel.cs | 2 +- .../Snap.Hutao/ViewModel/Setting/SettingStorageViewModel.cs | 2 +- src/Snap.Hutao/Snap.Hutao/ViewModel/Setting/SettingViewModel.cs | 2 +- .../Snap.Hutao/ViewModel/Setting/SettingWebViewViewModel.cs | 2 +- src/Snap.Hutao/Snap.Hutao/ViewModel/SpiralAbyss/AvatarView.cs | 2 +- src/Snap.Hutao/Snap.Hutao/ViewModel/SpiralAbyss/BattleView.cs | 2 +- src/Snap.Hutao/Snap.Hutao/ViewModel/SpiralAbyss/BattleWave.cs | 2 +- src/Snap.Hutao/Snap.Hutao/ViewModel/SpiralAbyss/FloorView.cs | 2 +- src/Snap.Hutao/Snap.Hutao/ViewModel/SpiralAbyss/LevelView.cs | 2 +- src/Snap.Hutao/Snap.Hutao/ViewModel/SpiralAbyss/MonsterView.cs | 2 +- src/Snap.Hutao/Snap.Hutao/ViewModel/SpiralAbyss/RankAvatar.cs | 2 +- .../ViewModel/SpiralAbyss/SpiralAbyssMetadataContext.cs | 2 +- .../ViewModel/SpiralAbyss/SpiralAbyssRecordViewModel.cs | 2 +- .../Snap.Hutao/ViewModel/SpiralAbyss/SpiralAbyssView.cs | 2 +- .../ViewModel/User/SignInJSBridgeUriSourceProvider.cs | 2 +- src/Snap.Hutao/Snap.Hutao/ViewModel/User/User.cs | 2 +- src/Snap.Hutao/Snap.Hutao/ViewModel/User/UserAndUid.cs | 2 +- .../Snap.Hutao/ViewModel/User/UserAndUidChangedMessage.cs | 2 +- src/Snap.Hutao/Snap.Hutao/ViewModel/User/UserExtension.cs | 2 +- src/Snap.Hutao/Snap.Hutao/ViewModel/User/UserViewModel.cs | 2 +- src/Snap.Hutao/Snap.Hutao/ViewModel/Wiki/AvatarFilter.cs | 2 +- src/Snap.Hutao/Snap.Hutao/ViewModel/Wiki/BaseValueInfo.cs | 2 +- src/Snap.Hutao/Snap.Hutao/ViewModel/Wiki/CookBonusView.cs | 2 +- src/Snap.Hutao/Snap.Hutao/ViewModel/Wiki/PropertyCurveValue.cs | 2 +- src/Snap.Hutao/Snap.Hutao/ViewModel/Wiki/WeaponFilter.cs | 2 +- .../Snap.Hutao/ViewModel/Wiki/WikiAvatarMetadataContext.cs | 2 +- src/Snap.Hutao/Snap.Hutao/ViewModel/Wiki/WikiAvatarViewModel.cs | 2 +- .../Snap.Hutao/ViewModel/Wiki/WikiMonsterMetadataContext.cs | 2 +- .../Snap.Hutao/ViewModel/Wiki/WikiMonsterViewModel.cs | 2 +- .../Snap.Hutao/ViewModel/Wiki/WikiWeaponMetadataContext.cs | 2 +- src/Snap.Hutao/Snap.Hutao/ViewModel/Wiki/WikiWeaponViewModel.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Bridge/BridgeShareContext.cs | 2 +- .../Snap.Hutao/Web/Bridge/BridgeShareImplementation.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Bridge/BridgeShareSaveType.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Bridge/CoreWebView2Navigator.cs | 2 +- .../Snap.Hutao/Web/Bridge/HoyolabCoreWebView2Extension.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Bridge/MiHoYoJSBridgeFacade.cs | 2 +- .../Snap.Hutao/Web/Bridge/Model/AccountInformation.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Bridge/Model/ActionTypePayload.cs | 2 +- .../Snap.Hutao/Web/Bridge/Model/CookieTokenPayload.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Bridge/Model/DataSignV2Payload.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Bridge/Model/IJsBridgeResult.cs | 2 +- .../Snap.Hutao/Web/Bridge/Model/JsBridgeResultExtension.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Bridge/Model/JsParam.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Bridge/Model/JsResult.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Bridge/Model/PushPagePayload.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Bridge/Model/ShareContent.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Bridge/Model/SharePayload.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Bridge/SignInJSBridge.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Bridge/SignInJSBridgeOversea.cs | 2 +- .../Snap.Hutao/Web/Endpoint/Hoyolab/ApiEndpointsExtension.cs | 2 +- .../Snap.Hutao/Web/Endpoint/Hoyolab/ApiEndpointsFactory.cs | 2 +- .../Web/Endpoint/Hoyolab/ApiEndpointsFactoryExtension.cs | 2 +- .../Snap.Hutao/Web/Endpoint/Hoyolab/ApiEndpointsForChinese.cs | 2 +- .../Snap.Hutao/Web/Endpoint/Hoyolab/ApiEndpointsForOversea.cs | 2 +- .../Snap.Hutao/Web/Endpoint/Hoyolab/ApiEndpointsKind.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Endpoint/Hoyolab/IApiEndpoints.cs | 2 +- .../Snap.Hutao/Web/Endpoint/Hoyolab/IApiEndpointsFactory.cs | 2 +- .../Snap.Hutao/Web/Endpoint/Hutao/HutaoEndpointsFactory.cs | 2 +- .../Snap.Hutao/Web/Endpoint/Hutao/IHomaDistributionEndpoints.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Endpoint/Hutao/IHomaEndpoints.cs | 2 +- .../Snap.Hutao/Web/Endpoint/Hutao/IHomaGachaLogEndpoints.cs | 2 +- .../Snap.Hutao/Web/Endpoint/Hutao/IHomaLogEndpoints.cs | 2 +- .../Snap.Hutao/Web/Endpoint/Hutao/IHomaPassportEndpoints.cs | 2 +- .../Snap.Hutao/Web/Endpoint/Hutao/IHomaRoleCombatEndpoints.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Endpoint/Hutao/IHomaRootAccess.cs | 2 +- .../Snap.Hutao/Web/Endpoint/Hutao/IHomaServiceEndpoints.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Endpoint/Hutao/IHutaoEndpoints.cs | 2 +- .../Snap.Hutao/Web/Endpoint/Hutao/IHutaoEndpointsFactory.cs | 2 +- .../Snap.Hutao/Web/Endpoint/Hutao/IInfrastructureEndpoints.cs | 2 +- .../Web/Endpoint/Hutao/IInfrastructureEnkaEndpoints.cs | 2 +- .../Web/Endpoint/Hutao/IInfrastructureFeatureEndpoints.cs | 2 +- .../Web/Endpoint/Hutao/IInfrastructureMetadataEndpoints.cs | 2 +- .../Snap.Hutao/Web/Endpoint/Hutao/IInfrastructureRootAccess.cs | 2 +- .../Web/Endpoint/Hutao/IInfrastructureWallpaperEndpoints.cs | 2 +- .../Snap.Hutao/Web/Endpoint/Hutao/StaticResourcesEndpoints.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Enka/EnkaClient.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Enka/Model/EnkaResponse.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Enka/Model/FetterInfo.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Enka/Model/Flat.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Enka/Model/PlayerInfo.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Enka/Model/ProfilePicture.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Enka/Model/Reliquary.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Enka/Model/ReliquaryMainstat.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Enka/Model/ReliquarySubstat.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Enka/Model/ShowAvatarInfo.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Enka/Model/Stat.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Enka/Model/TypeValue.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Enka/Model/Weapon.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Enka/Model/WeaponStat.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hoyolab/Bbs/Home/AppNavigator.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hoyolab/Bbs/Home/Background.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hoyolab/Bbs/Home/Carousels.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hoyolab/Bbs/Home/Discussion.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hoyolab/Bbs/Home/HomeBanner.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hoyolab/Bbs/Home/HomeClient.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/Bbs/Home/HomeClientOversea.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hoyolab/Bbs/Home/IHomeClient.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hoyolab/Bbs/Home/Live.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/Bbs/Home/NewHomeNewInfo.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hoyolab/Bbs/Home/Official.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hoyolab/Bbs/Home/OfficialData.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hoyolab/Bbs/User/Achieve.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hoyolab/Bbs/User/AuditInfo.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hoyolab/Bbs/User/Certification.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hoyolab/Bbs/User/CommunityInfo.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/Bbs/User/CustomerService.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/Bbs/User/DetailedCertification.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hoyolab/Bbs/User/IUserClient.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/Bbs/User/LevelExperience.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hoyolab/Bbs/User/NotifyDisable.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/Bbs/User/PrivacyInvisible.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hoyolab/Bbs/User/UserClient.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/Bbs/User/UserClientFactory.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/Bbs/User/UserClientOversea.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/Bbs/User/UserFullInfoWrapper.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/Bbs/User/UserFuncStatus.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hoyolab/Bbs/User/UserGender.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hoyolab/Bbs/User/UserInfo.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hoyolab/Cookie.Constant.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hoyolab/Cookie.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hoyolab/CookieExtension.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hoyolab/CookieType.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/DataSigning/DataSignAlgorithm.cs | 2 +- .../Web/Hoyolab/DataSigning/DataSignAlgorithmVersion.cs | 2 +- .../DataSigning/DataSignHttpRequestMessageBuilderExtension.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/DataSigning/DataSignOptions.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hoyolab/DataSigning/SaltType.cs | 2 +- .../Web/Hoyolab/Hk4e/Common/Announcement/Announcement.cs | 2 +- .../Web/Hoyolab/Hk4e/Common/Announcement/AnnouncementClient.cs | 2 +- .../Web/Hoyolab/Hk4e/Common/Announcement/AnnouncementContent.cs | 2 +- .../Hoyolab/Hk4e/Common/Announcement/AnnouncementListWrapper.cs | 2 +- .../Web/Hoyolab/Hk4e/Common/Announcement/AnnouncementType.cs | 2 +- .../Web/Hoyolab/Hk4e/Common/Announcement/AnnouncementWrapper.cs | 2 +- .../Hoyolab/Hk4e/Event/GachaInfo/GachaConfigTypeExtension.cs | 2 +- .../Web/Hoyolab/Hk4e/Event/GachaInfo/GachaInfoClient.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/Hk4e/Event/GachaInfo/GachaLogItem.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/Hk4e/Event/GachaInfo/GachaLogPage.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/Hk4e/Event/GachaInfo/GachaType.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/Hk4e/Sdk/Combo/GameLoginRequest.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/Hk4e/Sdk/Combo/GameLoginResult.cs | 2 +- .../Web/Hoyolab/Hk4e/Sdk/Combo/GameLoginResultPayload.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/Hk4e/Sdk/Combo/PandaClient.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/Hk4e/Sdk/Combo/UrlWrapper.cs | 2 +- .../Hoyolab/HoyoPlay/Connect/Branch/BranchWrapperExtension.cs | 2 +- .../Web/Hoyolab/HoyoPlay/Connect/ChannelSDK/GameChannelSDK.cs | 2 +- .../HoyoPlay/Connect/ChannelSDK/GameChannelSDKsWrapper.cs | 2 +- .../Hoyolab/HoyoPlay/Connect/DeprecatedFile/DeprecatedFile.cs | 2 +- .../DeprecatedFile/DeprecatedFileConfigurationsWrapper.cs | 2 +- .../HoyoPlay/Connect/DeprecatedFile/DeprecatedFilesWrapper.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hoyolab/HoyoPlay/Connect/Game.cs | 2 +- .../Web/Hoyolab/HoyoPlay/Connect/GameIndexedObject.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/HoyoPlay/Connect/HoyoPlayClient.cs | 2 +- .../Web/Hoyolab/HoyoPlay/Connect/Package/AudioPackageSegment.cs | 2 +- .../Web/Hoyolab/HoyoPlay/Connect/Package/GameBranch.cs | 2 +- .../Web/Hoyolab/HoyoPlay/Connect/Package/GamePackage.cs | 2 +- .../Web/Hoyolab/HoyoPlay/Connect/Package/GamePackagesWrapper.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/HoyoPlay/Connect/Package/Package.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/HoyoPlay/Connect/PackageSegment.cs | 2 +- .../Web/Hoyolab/HoyolabHttpRequestMessageBuilderExtension.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hoyolab/HoyolabOptions.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hoyolab/HoyolabRegex.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/Passport/AccountIdGameToken.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/Passport/AuthTicketRequest.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/Passport/AuthTicketRequestOversea.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/Passport/AuthTicketWrapper.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/Passport/HoyoPlayPassportClient.cs | 2 +- .../Web/Hoyolab/Passport/HoyoPlayPassportClientFactory.cs | 2 +- .../Web/Hoyolab/Passport/HoyoPlayPassportClientOversea.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/Passport/IAigisProvider.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/Passport/IHoyoPlayPassportClient.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/Passport/IPassportClient.cs | 2 +- .../Web/Hoyolab/Passport/IPassportMobileCaptchaProvider.cs | 2 +- .../Web/Hoyolab/Passport/IPassportPasswordProvider.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hoyolab/Passport/Link.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hoyolab/Passport/LoginResult.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hoyolab/Passport/LtokenWrapper.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hoyolab/Passport/MobileCaptcha.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/Passport/OverseaThirdPartyKind.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/Passport/PassportClient.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/Passport/PassportClientFactory.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/Passport/PassportClientOversea.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/Passport/ReactivateInfo.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hoyolab/Passport/STokenWrapper.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/Passport/ThirdPartyToken.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hoyolab/Passport/TokenWrapper.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/Passport/UidCookieToken.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hoyolab/Passport/UidGameToken.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/Passport/UserInfoWrapper.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/Passport/UserInformation.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hoyolab/PlayerUid.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hoyolab/PlayerUidExtension.cs | 2 +- .../Web/Hoyolab/PublicData/DeviceFp/DeviceFpClient.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/PublicData/DeviceFp/DeviceFpData.cs | 2 +- .../Web/Hoyolab/PublicData/DeviceFp/DeviceFpWrapper.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hoyolab/Region.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hoyolab/RegionConverter.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hoyolab/ServerRegionTimeZone.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/Takumi/Auth/ActionTicketWrapper.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hoyolab/Takumi/Auth/AuthClient.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hoyolab/Takumi/Auth/NameToken.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/Takumi/Binding/BindingClient.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/Takumi/Binding/BindingClient2.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/Takumi/Binding/GameAuthKey.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/Takumi/Binding/GenAuthKeyData.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/Takumi/Binding/UserGameRole.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/Takumi/Event/BbsSignReward/Award.cs | 2 +- .../Web/Hoyolab/Takumi/Event/BbsSignReward/ExtraAward.cs | 2 +- .../Web/Hoyolab/Takumi/Event/BbsSignReward/ExtraAwardInfo.cs | 2 +- .../Web/Hoyolab/Takumi/Event/BbsSignReward/ISignInClient.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/Takumi/Event/BbsSignReward/Reward.cs | 2 +- .../Web/Hoyolab/Takumi/Event/BbsSignReward/ShortActInfo.cs | 2 +- .../Web/Hoyolab/Takumi/Event/BbsSignReward/ShortExtraAward.cs | 2 +- .../Web/Hoyolab/Takumi/Event/BbsSignReward/SignInClient.cs | 2 +- .../Hoyolab/Takumi/Event/BbsSignReward/SignInClientFactory.cs | 2 +- .../Hoyolab/Takumi/Event/BbsSignReward/SignInClientOversea.cs | 2 +- .../Web/Hoyolab/Takumi/Event/BbsSignReward/SignInData.cs | 2 +- .../Web/Hoyolab/Takumi/Event/BbsSignReward/SignInResult.cs | 2 +- .../Web/Hoyolab/Takumi/Event/BbsSignReward/SignInRewardInfo.cs | 2 +- .../Takumi/Event/BbsSignReward/SignInRewardReSignInfo.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/Takumi/Event/Calculate/Avatar.cs | 2 +- .../Web/Hoyolab/Takumi/Event/Calculate/AvatarDetail.cs | 2 +- .../Web/Hoyolab/Takumi/Event/Calculate/AvatarPromotionDelta.cs | 2 +- .../Takumi/Event/Calculate/AvatarPromotionDeltaExtension.cs | 2 +- .../Web/Hoyolab/Takumi/Event/Calculate/BatchConsumption.cs | 2 +- .../Web/Hoyolab/Takumi/Event/Calculate/BatchSkillCosumption.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/Takumi/Event/Calculate/Calculable.cs | 2 +- .../Web/Hoyolab/Takumi/Event/Calculate/CalculateClient.cs | 2 +- .../Web/Hoyolab/Takumi/Event/Calculate/Consumption.cs | 2 +- .../Web/Hoyolab/Takumi/Event/Calculate/ElementAttributeId.cs | 2 +- .../Web/Hoyolab/Takumi/Event/Calculate/FurnitureListWrapper.cs | 2 +- .../Web/Hoyolab/Takumi/Event/Calculate/GroupCalculable.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/Takumi/Event/Calculate/Item.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/Takumi/Event/Calculate/ItemHelper.cs | 2 +- .../Web/Hoyolab/Takumi/Event/Calculate/PromotionDelta.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/Takumi/Event/Calculate/Reliquary.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/Takumi/Event/Calculate/Skill.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/Takumi/Event/Calculate/Weapon.cs | 2 +- .../Web/Hoyolab/Takumi/Event/Miyolive/CodeListWrapper.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/Takumi/Event/Miyolive/CodeWrapper.cs | 2 +- .../Web/Hoyolab/Takumi/Event/Miyolive/IMiyoliveClient.cs | 2 +- .../Web/Hoyolab/Takumi/Event/Miyolive/MiyoliveClient.cs | 2 +- .../Web/Hoyolab/Takumi/Event/Miyolive/MiyoliveClientOversea.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/Takumi/GameRecord/Avatar/Avatar.cs | 2 +- .../Web/Hoyolab/Takumi/GameRecord/Avatar/BaseProperty.cs | 2 +- .../Web/Hoyolab/Takumi/GameRecord/Avatar/Character.cs | 2 +- .../Web/Hoyolab/Takumi/GameRecord/Avatar/CharacterData.cs | 2 +- .../Web/Hoyolab/Takumi/GameRecord/Avatar/Constellation.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/Takumi/GameRecord/Avatar/Costume.cs | 2 +- .../Web/Hoyolab/Takumi/GameRecord/Avatar/DetailedCharacter.cs | 2 +- .../Web/Hoyolab/Takumi/GameRecord/Avatar/DetailedWeapon.cs | 2 +- .../Web/Hoyolab/Takumi/GameRecord/Avatar/RecommendProperties.cs | 2 +- .../Hoyolab/Takumi/GameRecord/Avatar/RecommendRelicProperty.cs | 2 +- .../Web/Hoyolab/Takumi/GameRecord/Avatar/Reliquary.cs | 2 +- .../Web/Hoyolab/Takumi/GameRecord/Avatar/ReliquaryAffix.cs | 2 +- .../Web/Hoyolab/Takumi/GameRecord/Avatar/ReliquaryProperty.cs | 2 +- .../Web/Hoyolab/Takumi/GameRecord/Avatar/ReliquarySet.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/Takumi/GameRecord/Avatar/Role.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/Takumi/GameRecord/Avatar/Skill.cs | 2 +- .../Web/Hoyolab/Takumi/GameRecord/Avatar/SkillType.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/Takumi/GameRecord/Avatar/Weapon.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/Takumi/GameRecord/BasicRoleInfo.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/Takumi/GameRecord/CardClient.cs | 2 +- .../Web/Hoyolab/Takumi/GameRecord/CardVerifiationHeaders.cs | 2 +- .../Web/Hoyolab/Takumi/GameRecord/DailyNote/ArchonQuest.cs | 2 +- .../Hoyolab/Takumi/GameRecord/DailyNote/ArchonQuestProgress.cs | 2 +- .../Hoyolab/Takumi/GameRecord/DailyNote/ArchonQuestStatus.cs | 2 +- .../Web/Hoyolab/Takumi/GameRecord/DailyNote/AttendanceReward.cs | 2 +- .../Takumi/GameRecord/DailyNote/AttendanceRewardStatus.cs | 2 +- .../Web/Hoyolab/Takumi/GameRecord/DailyNote/DailyNote.cs | 2 +- .../Web/Hoyolab/Takumi/GameRecord/DailyNote/DailyNoteCommon.cs | 2 +- .../Web/Hoyolab/Takumi/GameRecord/DailyNote/DailyTask.cs | 2 +- .../Web/Hoyolab/Takumi/GameRecord/DailyNote/Expedition.cs | 2 +- .../Web/Hoyolab/Takumi/GameRecord/DailyNote/ExpeditionStatus.cs | 2 +- .../Web/Hoyolab/Takumi/GameRecord/DailyNote/RecoveryTime.cs | 2 +- .../Web/Hoyolab/Takumi/GameRecord/DailyNote/TaskReward.cs | 2 +- .../Web/Hoyolab/Takumi/GameRecord/DailyNote/TaskRewardStatus.cs | 2 +- .../Web/Hoyolab/Takumi/GameRecord/DailyNote/Transformer.cs | 2 +- .../Web/Hoyolab/Takumi/GameRecord/DailyNote/WidgetDailyNote.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/Takumi/GameRecord/DateTime.cs | 2 +- .../Web/Hoyolab/Takumi/GameRecord/GameRecordClient.cs | 2 +- .../Web/Hoyolab/Takumi/GameRecord/GameRecordClientFactory.cs | 2 +- .../Web/Hoyolab/Takumi/GameRecord/GameRecordClientOversea.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hoyolab/Takumi/GameRecord/Home.cs | 2 +- .../Web/Hoyolab/Takumi/GameRecord/IGameRecordClient.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/Takumi/GameRecord/Offering.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/Takumi/GameRecord/PlayerInfo.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/Takumi/GameRecord/PlayerStats.cs | 2 +- .../Web/Hoyolab/Takumi/GameRecord/RoleCombat/RoleCombat.cs | 2 +- .../Hoyolab/Takumi/GameRecord/RoleCombat/RoleCombatAvatar.cs | 2 +- .../Takumi/GameRecord/RoleCombat/RoleCombatAvatarDamage.cs | 2 +- .../Takumi/GameRecord/RoleCombat/RoleCombatAvatarType.cs | 2 +- .../Web/Hoyolab/Takumi/GameRecord/RoleCombat/RoleCombatBuff.cs | 2 +- .../Web/Hoyolab/Takumi/GameRecord/RoleCombat/RoleCombatData.cs | 2 +- .../Hoyolab/Takumi/GameRecord/RoleCombat/RoleCombatDetail.cs | 2 +- .../Web/Hoyolab/Takumi/GameRecord/RoleCombat/RoleCombatEnemy.cs | 2 +- .../Takumi/GameRecord/RoleCombat/RoleCombatFightStatistic.cs | 2 +- .../Web/Hoyolab/Takumi/GameRecord/RoleCombat/RoleCombatLinks.cs | 2 +- .../Hoyolab/Takumi/GameRecord/RoleCombat/RoleCombatRoundData.cs | 2 +- .../Hoyolab/Takumi/GameRecord/RoleCombat/RoleCombatSchedule.cs | 2 +- .../Takumi/GameRecord/RoleCombat/RoleCombatSplendourBuff.cs | 2 +- .../GameRecord/RoleCombat/RoleCombatSplendourBuffLevelEffect.cs | 2 +- .../GameRecord/RoleCombat/RoleCombatSplendourBuffWrapper.cs | 2 +- .../Takumi/GameRecord/RoleCombat/RoleCombatSplendourSummary.cs | 2 +- .../Web/Hoyolab/Takumi/GameRecord/RoleCombat/RoleCombatStat.cs | 2 +- .../Snap.Hutao/Web/Hoyolab/Takumi/GameRecord/ScheduleType.cs | 2 +- .../Web/Hoyolab/Takumi/GameRecord/SpiralAbyss/SpiralAbyss.cs | 2 +- .../Hoyolab/Takumi/GameRecord/SpiralAbyss/SpiralAbyssAvatar.cs | 2 +- .../Hoyolab/Takumi/GameRecord/SpiralAbyss/SpiralAbyssBattle.cs | 2 +- .../Hoyolab/Takumi/GameRecord/SpiralAbyss/SpiralAbyssFloor.cs | 2 +- .../Hoyolab/Takumi/GameRecord/SpiralAbyss/SpiralAbyssLevel.cs | 2 +- .../Hoyolab/Takumi/GameRecord/SpiralAbyss/SpiralAbyssMonster.cs | 2 +- .../Hoyolab/Takumi/GameRecord/SpiralAbyss/SpiralAbyssRank.cs | 2 +- .../Takumi/GameRecord/Verification/VerificationResult.cs | 2 +- .../Web/Hoyolab/Takumi/GameRecord/WorldExploration.cs | 2 +- .../Web/Hoyolab/Takumi/GameRecord/WorldExplorationType.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/HttpContext.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hutao/Algolia/AlgoliaHierarchy.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hutao/Algolia/AlgoliaHit.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hutao/Algolia/AlgoliaRequest.cs | 2 +- .../Snap.Hutao/Web/Hutao/Algolia/AlgoliaRequestsWrapper.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hutao/Algolia/AlgoliaResponse.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hutao/Algolia/AlgoliaResult.cs | 2 +- .../Snap.Hutao/Web/Hutao/Algolia/HutaoDocumentationClient.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hutao/GachaLog/EndIds.cs | 2 +- .../Snap.Hutao/Web/Hutao/GachaLog/GachaDistribution.cs | 2 +- .../Snap.Hutao/Web/Hutao/GachaLog/GachaDistributionType.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hutao/GachaLog/GachaEntry.cs | 2 +- .../Snap.Hutao/Web/Hutao/GachaLog/GachaEventStatistics.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hutao/GachaLog/GachaItem.cs | 2 +- .../Snap.Hutao/Web/Hutao/GachaLog/HomaGachaLogClient.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hutao/GachaLog/ItemCount.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hutao/GachaLog/PullCount.cs | 2 +- .../Snap.Hutao/Web/Hutao/Geetest/CustomGeetestClient.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hutao/Geetest/GeetestData.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hutao/Geetest/GeetestResponse.cs | 2 +- .../Snap.Hutao/Web/Hutao/HutaoAsAService/Announcement.cs | 2 +- .../Web/Hutao/HutaoAsAService/HutaoAsAServiceClient.cs | 2 +- .../Snap.Hutao/Web/Hutao/HutaoAsAService/UploadAnnouncement.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hutao/HutaoDistributionClient.cs | 2 +- .../Snap.Hutao/Web/Hutao/HutaoInfrastructureClient.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hutao/HutaoPackageInformation.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hutao/HutaoPackageMirror.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hutao/HutaoPassportClient.cs | 2 +- .../Hutao/HutaoPassportHttpRequestMessageBuilderExtension.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hutao/IPInformation.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hutao/Log/HutaoLog.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hutao/Log/HutaoLogUploadClient.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hutao/Response/HutaoResponse.cs | 2 +- .../Snap.Hutao/Web/Hutao/Response/ILocalizableResponse.cs | 2 +- .../Web/Hutao/Response/LocalizableResponseExtension.cs | 2 +- .../Snap.Hutao/Web/Hutao/RoleCombat/HutaoRoleCombatClient.cs | 2 +- .../Web/Hutao/RoleCombat/Post/SimpleRoleCombatRecord.cs | 2 +- .../Snap.Hutao/Web/Hutao/RoleCombat/RoleCombatStatisticsItem.cs | 2 +- .../Snap.Hutao/Web/Hutao/SpiralAbyss/AvatarAppearanceRank.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hutao/SpiralAbyss/AvatarBuild.cs | 2 +- .../Snap.Hutao/Web/Hutao/SpiralAbyss/AvatarCollocation.cs | 2 +- .../Snap.Hutao/Web/Hutao/SpiralAbyss/AvatarConstellationInfo.cs | 2 +- .../Snap.Hutao/Web/Hutao/SpiralAbyss/AvatarUsageRank.cs | 2 +- .../Web/Hutao/SpiralAbyss/Converter/ReliquarySetsConverter.cs | 2 +- .../Snap.Hutao/Web/Hutao/SpiralAbyss/HutaoSpiralAbyssClient.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hutao/SpiralAbyss/ItemRate.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hutao/SpiralAbyss/Overview.cs | 2 +- .../Snap.Hutao/Web/Hutao/SpiralAbyss/Post/SimpleAvatar.cs | 2 +- .../Snap.Hutao/Web/Hutao/SpiralAbyss/Post/SimpleBattle.cs | 2 +- .../Snap.Hutao/Web/Hutao/SpiralAbyss/Post/SimpleFloor.cs | 2 +- .../Snap.Hutao/Web/Hutao/SpiralAbyss/Post/SimpleLevel.cs | 2 +- .../Snap.Hutao/Web/Hutao/SpiralAbyss/Post/SimpleRank.cs | 2 +- .../Snap.Hutao/Web/Hutao/SpiralAbyss/Post/SimpleRecord.cs | 2 +- .../Snap.Hutao/Web/Hutao/SpiralAbyss/Post/SimpleSpiralAbyss.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hutao/SpiralAbyss/RankInfo.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hutao/SpiralAbyss/RankValue.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hutao/SpiralAbyss/ReliquarySet.cs | 2 +- .../Snap.Hutao/Web/Hutao/SpiralAbyss/ReliquarySets.cs | 2 +- .../Snap.Hutao/Web/Hutao/SpiralAbyss/TeamAppearance.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hutao/SpiralAbyss/WeaponBuild.cs | 2 +- .../Snap.Hutao/Web/Hutao/SpiralAbyss/WeaponCollocation.cs | 2 +- .../Snap.Hutao/Web/Hutao/StaticResourceSizeInformation.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hutao/UserInfo.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hutao/VerifyCodeRequestType.cs | 2 +- .../Snap.Hutao/Web/Hutao/Wallpaper/HutaoWallpaperClient.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hutao/Wallpaper/Wallpaper.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Hutao/YaeVersionInformation.cs | 2 +- .../Web/Request/Builder/Abstraction/IHttpContentBuilder.cs | 2 +- .../Web/Request/Builder/Abstraction/IHttpContentDeserializer.cs | 2 +- .../Request/Builder/Abstraction/IHttpContentHeadersBuilder.cs | 2 +- .../Web/Request/Builder/Abstraction/IHttpContentSerializer.cs | 2 +- .../Web/Request/Builder/Abstraction/IHttpHeadersBuilder.cs | 2 +- .../Web/Request/Builder/Abstraction/IHttpMethodBuilder.cs | 2 +- .../Request/Builder/Abstraction/IHttpProtocolVersionBuilder.cs | 2 +- .../Request/Builder/Abstraction/IHttpRequestMessageBuilder.cs | 2 +- .../Builder/Abstraction/IHttpRequestMessageBuilderFactory.cs | 2 +- .../Request/Builder/Abstraction/IHttpRequestOptionsBuilder.cs | 2 +- .../Web/Request/Builder/Abstraction/IRequestUriBuilder.cs | 2 +- .../Snap.Hutao/Web/Request/Builder/HttpClientExtension.cs | 2 +- .../Web/Request/Builder/HttpContentBuilderExtension.cs | 2 +- .../Web/Request/Builder/HttpContentDeserializerExtension.cs | 2 +- .../Web/Request/Builder/HttpContentSerializationException.cs | 2 +- .../Snap.Hutao/Web/Request/Builder/HttpContentSerializer.cs | 2 +- .../Web/Request/Builder/HttpContentSerializerExtension.cs | 2 +- .../Web/Request/Builder/HttpHeadersBuilderExtension.cs | 2 +- .../Snap.Hutao/Web/Request/Builder/HttpHeadersExtension.cs | 2 +- .../Web/Request/Builder/HttpMethodBuilderExtension.cs | 2 +- .../Snap.Hutao/Web/Request/Builder/HttpRequestMessageBuilder.cs | 2 +- .../Web/Request/Builder/HttpRequestMessageBuilderExtension.cs | 2 +- .../Web/Request/Builder/HttpRequestMessageBuilderFactory.cs | 2 +- .../Builder/HttpRequestMessageBuilderFactoryExtension.cs | 2 +- .../Web/Request/Builder/HttpRequestMessageExtension.cs | 2 +- .../Snap.Hutao/Web/Request/Builder/JsonBuilderExtension.cs | 2 +- .../Snap.Hutao/Web/Request/Builder/JsonHttpContentSerializer.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Request/Builder/NoContent.cs | 2 +- .../Web/Request/Builder/RequestUriBuilderExtension.cs | 2 +- .../Snap.Hutao/Web/Request/NameValueCollectionExtension.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Response/DataWrapper.cs | 2 +- .../Snap.Hutao/Web/Response/DefaultResponseValidator.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Response/ICommonResponse.cs | 2 +- .../Snap.Hutao/Web/Response/ICommonResponseValidator.cs | 2 +- .../Snap.Hutao/Web/Response/ITypedResponseValidator.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Response/KnownReturnCode.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Response/ListWrapper.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Response/Response.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Response/ResponseExtension.cs | 2 +- .../Response/ResponseValidationServiceCollectionExtension.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Response/ResponseValidator.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/Response/TypedHttpResponse.cs | 2 +- .../Snap.Hutao/Web/Response/TypedResponseValidator.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Web/WebView2/WebView2Extension.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/AdvApi32.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/ComCtl32.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/ConstValues.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/D3d11.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/DwmApi.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/Dxgi.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/FirewallApi.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/Foundation/BOOL.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/Foundation/BOOLEAN.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/Foundation/COLORREF.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/Foundation/DECIMAL.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/Foundation/FILETIME.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/Foundation/FlexibleArray.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/Foundation/HANDLE.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/Foundation/HINSTANCE.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/Foundation/HMODULE.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/Foundation/HRESULT.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/Foundation/HWND.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/Foundation/LPARAM.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/Foundation/LRESULT.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/Foundation/LUID.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/Foundation/PCSTR.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/Foundation/PCWSTR.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/Foundation/POINT.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/Foundation/PSID.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/Foundation/PSTR.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/Foundation/PWSTR.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/Foundation/RECT.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/Foundation/WIN32_ERROR.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/Foundation/WPARAM.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/Gdi32.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D/D3D_DRIVER_TYPE.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D/D3D_FEATURE_LEVEL.cs | 2 +- .../Win32/Graphics/Direct3D/D3D_PRIMITIVE_TOPOLOGY.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D/D3D_SRV_DIMENSION.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D11/D3D11_BIND_FLAG.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D11/D3D11_BLEND.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D11/D3D11_BLEND_DESC.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D11/D3D11_BLEND_OP.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D11/D3D11_BOX.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D11/D3D11_BUFFEREX_SRV.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D11/D3D11_BUFFER_DESC.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D11/D3D11_BUFFER_RTV.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D11/D3D11_BUFFER_SRV.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D11/D3D11_BUFFER_UAV.cs | 2 +- .../Win32/Graphics/Direct3D11/D3D11_CLASS_INSTANCE_DESC.cs | 2 +- .../Win32/Graphics/Direct3D11/D3D11_COMPARISON_FUNC.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D11/D3D11_COUNTER.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D11/D3D11_COUNTER_DESC.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D11/D3D11_COUNTER_INFO.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D11/D3D11_COUNTER_TYPE.cs | 2 +- .../Win32/Graphics/Direct3D11/D3D11_CPU_ACCESS_FLAG.cs | 2 +- .../Win32/Graphics/Direct3D11/D3D11_CREATE_DEVICE_FLAG.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D11/D3D11_CULL_MODE.cs | 2 +- .../Win32/Graphics/Direct3D11/D3D11_DEPTH_STENCILOP_DESC.cs | 2 +- .../Win32/Graphics/Direct3D11/D3D11_DEPTH_STENCIL_DESC.cs | 2 +- .../Win32/Graphics/Direct3D11/D3D11_DEPTH_STENCIL_VIEW_DESC.cs | 2 +- .../Win32/Graphics/Direct3D11/D3D11_DEPTH_WRITE_MASK.cs | 2 +- .../Win32/Graphics/Direct3D11/D3D11_DEVICE_CONTEXT_TYPE.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D11/D3D11_DSV_DIMENSION.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D11/D3D11_FEATURE.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D11/D3D11_FILL_MODE.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D11/D3D11_FILTER.cs | 2 +- .../Win32/Graphics/Direct3D11/D3D11_INPUT_CLASSIFICATION.cs | 2 +- .../Win32/Graphics/Direct3D11/D3D11_INPUT_ELEMENT_DESC.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D11/D3D11_MAP.cs | 2 +- .../Win32/Graphics/Direct3D11/D3D11_MAPPED_SUBRESOURCE.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D11/D3D11_QUERY.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D11/D3D11_QUERY_DESC.cs | 2 +- .../Win32/Graphics/Direct3D11/D3D11_RASTERIZER_DESC.cs | 2 +- .../Win32/Graphics/Direct3D11/D3D11_RENDER_TARGET_BLEND_DESC.cs | 2 +- .../Win32/Graphics/Direct3D11/D3D11_RENDER_TARGET_VIEW_DESC.cs | 2 +- .../Win32/Graphics/Direct3D11/D3D11_RESOURCE_DIMENSION.cs | 2 +- .../Win32/Graphics/Direct3D11/D3D11_RESOURCE_MISC_FLAG.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D11/D3D11_RTV_DIMENSION.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D11/D3D11_SAMPLER_DESC.cs | 2 +- .../Graphics/Direct3D11/D3D11_SHADER_RESOURCE_VIEW_DESC.cs | 2 +- .../Win32/Graphics/Direct3D11/D3D11_SO_DECLARATION_ENTRY.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D11/D3D11_STENCIL_OP.cs | 2 +- .../Win32/Graphics/Direct3D11/D3D11_SUBRESOURCE_DATA.cs | 2 +- .../Win32/Graphics/Direct3D11/D3D11_TEX1D_ARRAY_DSV.cs | 2 +- .../Win32/Graphics/Direct3D11/D3D11_TEX1D_ARRAY_RTV.cs | 2 +- .../Win32/Graphics/Direct3D11/D3D11_TEX1D_ARRAY_SRV.cs | 2 +- .../Win32/Graphics/Direct3D11/D3D11_TEX1D_ARRAY_UAV.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D11/D3D11_TEX1D_DSV.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D11/D3D11_TEX1D_RTV.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D11/D3D11_TEX1D_SRV.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D11/D3D11_TEX1D_UAV.cs | 2 +- .../Win32/Graphics/Direct3D11/D3D11_TEX2DMS_ARRAY_DSV.cs | 2 +- .../Win32/Graphics/Direct3D11/D3D11_TEX2DMS_ARRAY_RTV.cs | 2 +- .../Win32/Graphics/Direct3D11/D3D11_TEX2DMS_ARRAY_SRV.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D11/D3D11_TEX2DMS_DSV.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D11/D3D11_TEX2DMS_RTV.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D11/D3D11_TEX2DMS_SRV.cs | 2 +- .../Win32/Graphics/Direct3D11/D3D11_TEX2D_ARRAY_DSV.cs | 2 +- .../Win32/Graphics/Direct3D11/D3D11_TEX2D_ARRAY_RTV.cs | 2 +- .../Win32/Graphics/Direct3D11/D3D11_TEX2D_ARRAY_SRV.cs | 2 +- .../Win32/Graphics/Direct3D11/D3D11_TEX2D_ARRAY_UAV.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D11/D3D11_TEX2D_DSV.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D11/D3D11_TEX2D_RTV.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D11/D3D11_TEX2D_SRV.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D11/D3D11_TEX2D_UAV.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D11/D3D11_TEX3D_RTV.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D11/D3D11_TEX3D_SRV.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D11/D3D11_TEX3D_UAV.cs | 2 +- .../Win32/Graphics/Direct3D11/D3D11_TEXCUBE_ARRAY_SRV.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D11/D3D11_TEXCUBE_SRV.cs | 2 +- .../Win32/Graphics/Direct3D11/D3D11_TEXTURE1D_DESC.cs | 2 +- .../Win32/Graphics/Direct3D11/D3D11_TEXTURE2D_DESC.cs | 2 +- .../Win32/Graphics/Direct3D11/D3D11_TEXTURE3D_DESC.cs | 2 +- .../Win32/Graphics/Direct3D11/D3D11_TEXTURE_ADDRESS_MODE.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D11/D3D11_UAV_DIMENSION.cs | 2 +- .../Graphics/Direct3D11/D3D11_UNORDERED_ACCESS_VIEW_DESC.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D11/D3D11_USAGE.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D11/D3D11_VIEWPORT.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D11/ID3D11Asynchronous.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D11/ID3D11BlendState.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D11/ID3D11Buffer.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D11/ID3D11ClassInstance.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D11/ID3D11ClassLinkage.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D11/ID3D11CommandList.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D11/ID3D11ComputeShader.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D11/ID3D11Counter.cs | 2 +- .../Win32/Graphics/Direct3D11/ID3D11DepthStencilState.cs | 2 +- .../Win32/Graphics/Direct3D11/ID3D11DepthStencilView.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D11/ID3D11Device.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D11/ID3D11DeviceChild.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D11/ID3D11DeviceContext.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D11/ID3D11DomainShader.cs | 2 +- .../Win32/Graphics/Direct3D11/ID3D11GeometryShader.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D11/ID3D11HullShader.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D11/ID3D11InputLayout.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D11/ID3D11PixelShader.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D11/ID3D11Predicate.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D11/ID3D11Query.cs | 2 +- .../Win32/Graphics/Direct3D11/ID3D11RasterizerState.cs | 2 +- .../Win32/Graphics/Direct3D11/ID3D11RenderTargetView.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D11/ID3D11Resource.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D11/ID3D11SamplerState.cs | 2 +- .../Win32/Graphics/Direct3D11/ID3D11ShaderResourceView.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D11/ID3D11Texture1D.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D11/ID3D11Texture2D.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D11/ID3D11Texture3D.cs | 2 +- .../Win32/Graphics/Direct3D11/ID3D11UnorderedAccessView.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D11/ID3D11VertexShader.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Direct3D11/ID3D11View.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Dwm/DWMWINDOWATTRIBUTE.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Dxgi/Common/DXGI_ALPHA_MODE.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Dxgi/Common/DXGI_FORMAT.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Dxgi/Common/DXGI_GAMMA_CONTROL.cs | 2 +- .../Graphics/Dxgi/Common/DXGI_GAMMA_CONTROL_CAPABILITIES.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Dxgi/Common/DXGI_MODE_DESC.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Dxgi/Common/DXGI_MODE_ROTATION.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Dxgi/Common/DXGI_MODE_SCALING.cs | 2 +- .../Win32/Graphics/Dxgi/Common/DXGI_MODE_SCANLINE_ORDER.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Dxgi/Common/DXGI_RATIONAL.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Dxgi/Common/DXGI_RGB.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Dxgi/Common/DXGI_SAMPLE_DESC.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Dxgi/DXGI_ADAPTER_DESC.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Dxgi/DXGI_ADAPTER_DESC1.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/Graphics/Dxgi/DXGI_FEATURE.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Dxgi/DXGI_FRAME_STATISTICS.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Dxgi/DXGI_GPU_PREFERENCE.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Dxgi/DXGI_MAPPED_RECT.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Dxgi/DXGI_OUTPUT_DESC.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Dxgi/DXGI_PRESENT_PARAMETERS.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/Graphics/Dxgi/DXGI_RESIDENCY.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/Graphics/Dxgi/DXGI_RGBA.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/Graphics/Dxgi/DXGI_SCALING.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Dxgi/DXGI_SHARED_RESOURCE.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Dxgi/DXGI_SURFACE_DESC.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Dxgi/DXGI_SWAP_CHAIN_DESC.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Dxgi/DXGI_SWAP_CHAIN_DESC1.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Dxgi/DXGI_SWAP_CHAIN_FLAG.cs | 2 +- .../Win32/Graphics/Dxgi/DXGI_SWAP_CHAIN_FULLSCREEN_DESC.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Dxgi/DXGI_SWAP_EFFECT.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/Graphics/Dxgi/DXGI_USAGE.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/Graphics/Dxgi/IDXGIAdapter.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/Graphics/Dxgi/IDXGIAdapter1.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/Graphics/Dxgi/IDXGIDevice.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Dxgi/IDXGIDeviceSubObject.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/Graphics/Dxgi/IDXGIFactory.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/Graphics/Dxgi/IDXGIFactory1.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/Graphics/Dxgi/IDXGIFactory2.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/Graphics/Dxgi/IDXGIFactory3.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/Graphics/Dxgi/IDXGIFactory4.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/Graphics/Dxgi/IDXGIFactory5.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/Graphics/Dxgi/IDXGIFactory6.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/Graphics/Dxgi/IDXGIObject.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/Graphics/Dxgi/IDXGIOutput.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/Graphics/Dxgi/IDXGISurface.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/Graphics/Dxgi/IDXGISwapChain.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Dxgi/IDXGISwapChain1.cs | 2 +- .../Snap.Hutao/Win32/Graphics/Gdi/GET_DEVICE_CAPS_INDEX.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/Graphics/Gdi/HDC.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/Graphics/Gdi/HMONITOR.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/Kernel32.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/Macros.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/Memory/IUnmanagedMemory.cs | 2 +- .../Snap.Hutao/Win32/Memory/UnmanagedMemoryExtension.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/Memory/VirtualMemory.cs | 2 +- .../WindowsFirewall/INET_FIREWALL_AC_BINARIES.cs | 2 +- .../WindowsFirewall/INET_FIREWALL_AC_CAPABILITIES.cs | 2 +- .../WindowsFirewall/INET_FIREWALL_APP_CONTAINER.cs | 2 +- .../Win32/NetworkManagement/WindowsFirewall/NETISO_FLAG.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/Ole32.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/Registry/HKEY.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/Registry/REG_NOTIFY_FILTER.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/Registry/REG_SAM_FLAGS.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/Registry/RegistryWatcher.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/Security/SECURITY_ATTRIBUTES.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/Security/SID.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/Security/SID_AND_ATTRIBUTES.cs | 2 +- .../Snap.Hutao/Win32/Security/SID_IDENTIFIER_AUTHORITY.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/Shell32.cs | 2 +- .../Win32/Storage/FileSystem/FILE_CREATION_DISPOSITION.cs | 2 +- .../Win32/Storage/FileSystem/FILE_FLAGS_AND_ATTRIBUTES.cs | 2 +- .../Snap.Hutao/Win32/Storage/FileSystem/FILE_SHARE_MODE.cs | 2 +- .../Snap.Hutao/Win32/Storage/FileSystem/WIN32_FIND_DATAW.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/System/Com/BIND_OPTS.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/System/Com/CLSCTX.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/System/Com/CWMO_FLAGS.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/System/Com/IBindCtx.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/System/Com/IEnumMoniker.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/System/Com/IEnumString.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/System/Com/IMoniker.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/System/Com/IPersist.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/System/Com/IPersistFile.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/System/Com/IPersistStream.cs | 2 +- .../Snap.Hutao/Win32/System/Com/IRunningObjectTable.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/System/Com/ISequentialStream.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/System/Com/IStream.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/System/Com/ROT_FLAGS.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/System/Com/STATSTG.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/System/Com/STGM.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/System/Com/STREAM_SEEK.cs | 2 +- .../Win32/System/Com/StructuredStorage/PROPVARIANT.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/System/Console/CONSOLE_MODE.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/System/Console/STD_HANDLE.cs | 2 +- .../Snap.Hutao/Win32/System/Diagnostics/Debug/FACILITY_CODE.cs | 2 +- .../Win32/System/Diagnostics/Debug/IMAGE_DATA_DIRECTORY.cs | 2 +- .../Win32/System/Diagnostics/Debug/IMAGE_DLL_CHARACTERISTICS.cs | 2 +- .../System/Diagnostics/Debug/IMAGE_FILE_CHARACTERISTICS.cs | 2 +- .../Win32/System/Diagnostics/Debug/IMAGE_FILE_HEADER.cs | 2 +- .../Win32/System/Diagnostics/Debug/IMAGE_NT_HEADERS64.cs | 2 +- .../Win32/System/Diagnostics/Debug/IMAGE_OPTIONAL_HEADER64.cs | 2 +- .../System/Diagnostics/Debug/IMAGE_OPTIONAL_HEADER_MAGIC.cs | 2 +- .../Win32/System/Diagnostics/Debug/IMAGE_SUBSYSTEM.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/System/IO/OVERLAPPED.cs | 2 +- .../Win32/System/Ioctl/DEVICE_SEEK_PENALTY_DESCRIPTOR.cs | 2 +- .../Snap.Hutao/Win32/System/Ioctl/DEVICE_TRIM_DESCRIPTOR.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/System/Ioctl/DISK_EXTENT.cs | 2 +- .../Snap.Hutao/Win32/System/Ioctl/STORAGE_DEVICE_NUMBER.cs | 2 +- .../Snap.Hutao/Win32/System/Ioctl/STORAGE_PROPERTY_ID.cs | 2 +- .../Snap.Hutao/Win32/System/Ioctl/STORAGE_PROPERTY_QUERY.cs | 2 +- .../Snap.Hutao/Win32/System/Ioctl/STORAGE_QUERY_TYPE.cs | 2 +- .../Snap.Hutao/Win32/System/Ioctl/VOLUME_DISK_EXTENTS.cs | 2 +- .../Snap.Hutao/Win32/System/LibraryLoader/LOAD_LIBRARY_FLAGS.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/System/Memory/HEAP_FLAGS.cs | 2 +- .../Snap.Hutao/Win32/System/ProcessStatus/MODULEINFO.cs | 2 +- .../Win32/System/SystemInformation/IMAGE_FILE_MACHINE.cs | 2 +- .../Snap.Hutao/Win32/System/SystemService/IMAGE_DOS_HEADER.cs | 2 +- .../Snap.Hutao/Win32/System/SystemServices/SFGAO_FLAGS.cs | 2 +- .../Snap.Hutao/Win32/System/Threading/PROCESS_ACCESS_RIGHTS.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/System/Variant/VARENUM.cs | 2 +- .../WinRT/Graphics/Capture/IDirect3DDxgiInterfaceAccess.cs | 2 +- .../Graphics/Capture/IDirect3DDxgiInterfaceAccessExtension.cs | 2 +- .../Win32/System/WinRT/Graphics/Capture/IGraphicsCaptureItem.cs | 2 +- .../WinRT/Graphics/Capture/IGraphicsCaptureItemInterop.cs | 2 +- .../Graphics/Capture/IGraphicsCaptureItemInteropExtension.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/System/WinRT/HSTRING.cs | 2 +- .../Snap.Hutao/Win32/System/WinRT/IMemoryBufferByteAccess.cs | 2 +- .../Win32/System/WinRT/IMemoryBufferByteAccessExtension.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/System/WinRT/TrustLevel.cs | 2 +- .../Snap.Hutao/Win32/System/WinRT/Xaml/ISwapChainPanelNative.cs | 2 +- .../Win32/System/WinRT/Xaml/ISwapChainPanelNativeExtension.cs | 2 +- .../Snap.Hutao/Win32/UI/Input/KeyboardAndMouse/HARDWAREINPUT.cs | 2 +- .../Win32/UI/Input/KeyboardAndMouse/HOT_KEY_MODIFIERS.cs | 2 +- .../Snap.Hutao/Win32/UI/Input/KeyboardAndMouse/INPUT.cs | 2 +- .../Snap.Hutao/Win32/UI/Input/KeyboardAndMouse/INPUT_TYPE.cs | 2 +- .../Snap.Hutao/Win32/UI/Input/KeyboardAndMouse/KEYBDINPUT.cs | 2 +- .../Win32/UI/Input/KeyboardAndMouse/KEYBD_EVENT_FLAGS.cs | 2 +- .../Snap.Hutao/Win32/UI/Input/KeyboardAndMouse/MOUSEINPUT.cs | 2 +- .../Win32/UI/Input/KeyboardAndMouse/MOUSE_EVENT_FLAGS.cs | 2 +- .../Snap.Hutao/Win32/UI/Input/KeyboardAndMouse/VIRTUAL_KEY.cs | 2 +- .../Snap.Hutao/Win32/UI/Shell/Common/COMDLG_FILTERSPEC.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/UI/Shell/Common/ITEMIDLIST.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/UI/Shell/Common/SHITEMID.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/UI/Shell/FDAP.cs | 2 +- .../Snap.Hutao/Win32/UI/Shell/FDE_OVERWRITE_RESPONSE.cs | 2 +- .../Snap.Hutao/Win32/UI/Shell/FDE_SHAREVIOLATION_RESPONSE.cs | 2 +- .../Snap.Hutao/Win32/UI/Shell/FILEOPENDIALOGOPTIONS.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/UI/Shell/FILEOPERATION_FLAGS.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/UI/Shell/FileOpenDialog.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/UI/Shell/FileOperation.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/UI/Shell/FileSaveDialog.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/UI/Shell/IFileDialog.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/UI/Shell/IFileDialogEvents.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/UI/Shell/IFileOperation.cs | 2 +- .../Snap.Hutao/Win32/UI/Shell/IFileOperationProgressSink.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/UI/Shell/IModalWindow.cs | 2 +- .../Snap.Hutao/Win32/UI/Shell/IOperationsProgressDialog.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/UI/Shell/IShellItem.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/UI/Shell/IShellItemFilter.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/UI/Shell/IShellLinkDataList.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/UI/Shell/IShellLinkW.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/UI/Shell/NOTIFYICONDATAW.cs | 2 +- .../Snap.Hutao/Win32/UI/Shell/NOTIFYICONIDENTIFIER.cs | 2 +- .../Snap.Hutao/Win32/UI/Shell/NOTIFY_ICON_DATA_FLAGS.cs | 2 +- .../Snap.Hutao/Win32/UI/Shell/NOTIFY_ICON_INFOTIP_FLAGS.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/UI/Shell/NOTIFY_ICON_MESSAGE.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/UI/Shell/NOTIFY_ICON_STATE.cs | 2 +- .../Win32/UI/Shell/PropertiesSystem/IObjectWithPropertyKey.cs | 2 +- .../Win32/UI/Shell/PropertiesSystem/IPropertyChange.cs | 2 +- .../Win32/UI/Shell/PropertiesSystem/IPropertyChangeArray.cs | 2 +- .../Snap.Hutao/Win32/UI/Shell/PropertiesSystem/PDOPSTATUS.cs | 2 +- .../Snap.Hutao/Win32/UI/Shell/PropertiesSystem/PROPERTYKEY.cs | 2 +- .../Snap.Hutao/Win32/UI/Shell/SHELL_LINK_DATA_FLAGS.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/UI/Shell/SIATTRIBFLAGS.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/UI/Shell/SIGDN.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/UI/Shell/SPACTION.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/UI/Shell/SUBCLASSPROC.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/UI/Shell/ShellLink.cs | 2 +- .../Snap.Hutao/Win32/UI/WindowsAndMessaging/HBRUSH.cs | 2 +- .../Snap.Hutao/Win32/UI/WindowsAndMessaging/HCURSOR.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/UI/WindowsAndMessaging/HHOOK.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/UI/WindowsAndMessaging/HICON.cs | 2 +- src/Snap.Hutao/Snap.Hutao/Win32/UI/WindowsAndMessaging/HMENU.cs | 2 +- .../Snap.Hutao/Win32/UI/WindowsAndMessaging/HOOKPROC.cs | 2 +- .../Snap.Hutao/Win32/UI/WindowsAndMessaging/KBDLLHOOKSTRUCT.cs | 2 +- .../Win32/UI/WindowsAndMessaging/KBDLLHOOKSTRUCT_FLAGS.cs | 2 +- .../UI/WindowsAndMessaging/LAYERED_WINDOW_ATTRIBUTES_FLAGS.cs | 2 +- .../Snap.Hutao/Win32/UI/WindowsAndMessaging/MINMAXINFO.cs | 2 +- .../Snap.Hutao/Win32/UI/WindowsAndMessaging/SHOW_WINDOW_CMD.cs | 2 +- .../Snap.Hutao/Win32/UI/WindowsAndMessaging/WINDOWPLACEMENT.cs | 2 +- .../Win32/UI/WindowsAndMessaging/WINDOWPLACEMENT_FLAGS.cs | 2 +- .../Snap.Hutao/Win32/UI/WindowsAndMessaging/WINDOWS_HOOK_ID.cs | 2 +- .../Snap.Hutao/Win32/UI/WindowsAndMessaging/WINDOW_EX_STYLE.cs | 2 +- .../Win32/UI/WindowsAndMessaging/WINDOW_LONG_PTR_INDEX.cs | 2 +- .../Snap.Hutao/Win32/UI/WindowsAndMessaging/WINDOW_STYLE.cs | 2 +- .../Snap.Hutao/Win32/UI/WindowsAndMessaging/WNDCLASSW.cs | 2 +- .../Snap.Hutao/Win32/UI/WindowsAndMessaging/WNDCLASS_STYLES.cs | 2 +- .../Snap.Hutao/Win32/UI/WindowsAndMessaging/WNDPROC.cs | 2 +- src/Snap.Hutao/Snap.Hutao/XamlApplicationLifetime.cs | 2 +- 1635 files changed, 1635 insertions(+), 1634 deletions(-) diff --git a/src/Snap.Hutao/Snap.Hutao.Test/BaseClassLibrary/CollectionsMarshalTest.cs b/src/Snap.Hutao/Snap.Hutao.Test/BaseClassLibrary/CollectionsMarshalTest.cs index 1d22ed8388..05079d7fc0 100644 --- a/src/Snap.Hutao/Snap.Hutao.Test/BaseClassLibrary/CollectionsMarshalTest.cs +++ b/src/Snap.Hutao/Snap.Hutao.Test/BaseClassLibrary/CollectionsMarshalTest.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; diff --git a/src/Snap.Hutao/Snap.Hutao.Test/BaseClassLibrary/HttpClientTest.cs b/src/Snap.Hutao/Snap.Hutao.Test/BaseClassLibrary/HttpClientTest.cs index 9b092586de..37abcd4809 100644 --- a/src/Snap.Hutao/Snap.Hutao.Test/BaseClassLibrary/HttpClientTest.cs +++ b/src/Snap.Hutao/Snap.Hutao.Test/BaseClassLibrary/HttpClientTest.cs @@ -1,4 +1,4 @@ -using System.Net.Http; +using System.Net.Http; namespace Snap.Hutao.Test.BaseClassLibrary; diff --git a/src/Snap.Hutao/Snap.Hutao.Test/BaseClassLibrary/JsonSerializeTest.cs b/src/Snap.Hutao/Snap.Hutao.Test/BaseClassLibrary/JsonSerializeTest.cs index beeb8682d6..5bb8e3e427 100644 --- a/src/Snap.Hutao/Snap.Hutao.Test/BaseClassLibrary/JsonSerializeTest.cs +++ b/src/Snap.Hutao/Snap.Hutao.Test/BaseClassLibrary/JsonSerializeTest.cs @@ -1,4 +1,4 @@ -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Text.Json; diff --git a/src/Snap.Hutao/Snap.Hutao.Test/BaseClassLibrary/LinqTest.cs b/src/Snap.Hutao/Snap.Hutao.Test/BaseClassLibrary/LinqTest.cs index c189ac2196..e6a80f44ad 100644 --- a/src/Snap.Hutao/Snap.Hutao.Test/BaseClassLibrary/LinqTest.cs +++ b/src/Snap.Hutao/Snap.Hutao.Test/BaseClassLibrary/LinqTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; diff --git a/src/Snap.Hutao/Snap.Hutao.Test/BaseClassLibrary/ListTest.cs b/src/Snap.Hutao/Snap.Hutao.Test/BaseClassLibrary/ListTest.cs index aa8c07b399..fb31fca32e 100644 --- a/src/Snap.Hutao/Snap.Hutao.Test/BaseClassLibrary/ListTest.cs +++ b/src/Snap.Hutao/Snap.Hutao.Test/BaseClassLibrary/ListTest.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace Snap.Hutao.Test.BaseClassLibrary; diff --git a/src/Snap.Hutao/Snap.Hutao.Test/BaseClassLibrary/PartialPropertyTest.cs b/src/Snap.Hutao/Snap.Hutao.Test/BaseClassLibrary/PartialPropertyTest.cs index 75b06f3003..397193bb52 100644 --- a/src/Snap.Hutao/Snap.Hutao.Test/BaseClassLibrary/PartialPropertyTest.cs +++ b/src/Snap.Hutao/Snap.Hutao.Test/BaseClassLibrary/PartialPropertyTest.cs @@ -1,4 +1,4 @@ -namespace Snap.Hutao.Test.BaseClassLibrary; +namespace Snap.Hutao.Test.BaseClassLibrary; [TestClass] public class PartialPropertyTest diff --git a/src/Snap.Hutao/Snap.Hutao.Test/BaseClassLibrary/TypeReflectionTest.cs b/src/Snap.Hutao/Snap.Hutao.Test/BaseClassLibrary/TypeReflectionTest.cs index 668fc70a12..dc3a485741 100644 --- a/src/Snap.Hutao/Snap.Hutao.Test/BaseClassLibrary/TypeReflectionTest.cs +++ b/src/Snap.Hutao/Snap.Hutao.Test/BaseClassLibrary/TypeReflectionTest.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Snap.Hutao.Test.BaseClassLibrary; diff --git a/src/Snap.Hutao/Snap.Hutao.Test/BaseClassLibrary/UnsafeAccessorTest.cs b/src/Snap.Hutao/Snap.Hutao.Test/BaseClassLibrary/UnsafeAccessorTest.cs index 0019bdc82e..4c25c31203 100644 --- a/src/Snap.Hutao/Snap.Hutao.Test/BaseClassLibrary/UnsafeAccessorTest.cs +++ b/src/Snap.Hutao/Snap.Hutao.Test/BaseClassLibrary/UnsafeAccessorTest.cs @@ -1,4 +1,4 @@ -using System.Runtime.CompilerServices; +using System.Runtime.CompilerServices; namespace Snap.Hutao.Test.BaseClassLibrary; diff --git a/src/Snap.Hutao/Snap.Hutao.Test/IncomingFeature/GameRegistryContentTest.cs b/src/Snap.Hutao/Snap.Hutao.Test/IncomingFeature/GameRegistryContentTest.cs index eb5a1b07e5..c5cbe0b3c9 100644 --- a/src/Snap.Hutao/Snap.Hutao.Test/IncomingFeature/GameRegistryContentTest.cs +++ b/src/Snap.Hutao/Snap.Hutao.Test/IncomingFeature/GameRegistryContentTest.cs @@ -1,4 +1,4 @@ -using Microsoft.Win32; +using Microsoft.Win32; using System; using System.Collections.Generic; using System.Runtime.InteropServices; diff --git a/src/Snap.Hutao/Snap.Hutao.Test/IncomingFeature/GeniusInvokationDecoding.cs b/src/Snap.Hutao/Snap.Hutao.Test/IncomingFeature/GeniusInvokationDecoding.cs index dbe8173687..a6fb5e2f1b 100644 --- a/src/Snap.Hutao/Snap.Hutao.Test/IncomingFeature/GeniusInvokationDecoding.cs +++ b/src/Snap.Hutao/Snap.Hutao.Test/IncomingFeature/GeniusInvokationDecoding.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Buffers.Binary; using System.Globalization; using System.Text; diff --git a/src/Snap.Hutao/Snap.Hutao.Test/IncomingFeature/SpiralAbyssScheduleIdTest.cs b/src/Snap.Hutao/Snap.Hutao.Test/IncomingFeature/SpiralAbyssScheduleIdTest.cs index 3e00035ca6..a5155a3662 100644 --- a/src/Snap.Hutao/Snap.Hutao.Test/IncomingFeature/SpiralAbyssScheduleIdTest.cs +++ b/src/Snap.Hutao/Snap.Hutao.Test/IncomingFeature/SpiralAbyssScheduleIdTest.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Snap.Hutao.Test.IncomingFeature; diff --git a/src/Snap.Hutao/Snap.Hutao.Test/IncomingFeature/UnlockerIslandFunctionOffsetTest.cs b/src/Snap.Hutao/Snap.Hutao.Test/IncomingFeature/UnlockerIslandFunctionOffsetTest.cs index 864c02ad42..0327d51166 100644 --- a/src/Snap.Hutao/Snap.Hutao.Test/IncomingFeature/UnlockerIslandFunctionOffsetTest.cs +++ b/src/Snap.Hutao/Snap.Hutao.Test/IncomingFeature/UnlockerIslandFunctionOffsetTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Text.Json; namespace Snap.Hutao.Test.IncomingFeature; diff --git a/src/Snap.Hutao/Snap.Hutao.Test/PlatformExtensions/DependencyInjectionTest.cs b/src/Snap.Hutao/Snap.Hutao.Test/PlatformExtensions/DependencyInjectionTest.cs index 71f4b4c8b7..20f10cb93c 100644 --- a/src/Snap.Hutao/Snap.Hutao.Test/PlatformExtensions/DependencyInjectionTest.cs +++ b/src/Snap.Hutao/Snap.Hutao.Test/PlatformExtensions/DependencyInjectionTest.cs @@ -1,4 +1,4 @@ -using Microsoft.Extensions.DependencyInjection; +using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using System; using System.Linq; diff --git a/src/Snap.Hutao/Snap.Hutao.Test/PlatformExtensions/RateLimitingTest.cs b/src/Snap.Hutao/Snap.Hutao.Test/PlatformExtensions/RateLimitingTest.cs index 1ac75c0c46..cc7a81699a 100644 --- a/src/Snap.Hutao/Snap.Hutao.Test/PlatformExtensions/RateLimitingTest.cs +++ b/src/Snap.Hutao/Snap.Hutao.Test/PlatformExtensions/RateLimitingTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.CompilerServices; using System.Threading.RateLimiting; diff --git a/src/Snap.Hutao/Snap.Hutao.Test/RuntimeBehavior/EnumRuntimeBehaviorTest.cs b/src/Snap.Hutao/Snap.Hutao.Test/RuntimeBehavior/EnumRuntimeBehaviorTest.cs index 35900f7051..2001a51202 100644 --- a/src/Snap.Hutao/Snap.Hutao.Test/RuntimeBehavior/EnumRuntimeBehaviorTest.cs +++ b/src/Snap.Hutao/Snap.Hutao.Test/RuntimeBehavior/EnumRuntimeBehaviorTest.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Snap.Hutao.Test.RuntimeBehavior; diff --git a/src/Snap.Hutao/Snap.Hutao.Test/RuntimeBehavior/ForEachRuntimeBehaviorTest.cs b/src/Snap.Hutao/Snap.Hutao.Test/RuntimeBehavior/ForEachRuntimeBehaviorTest.cs index dc2bc7ba8d..0eca522f05 100644 --- a/src/Snap.Hutao/Snap.Hutao.Test/RuntimeBehavior/ForEachRuntimeBehaviorTest.cs +++ b/src/Snap.Hutao/Snap.Hutao.Test/RuntimeBehavior/ForEachRuntimeBehaviorTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; namespace Snap.Hutao.Test.RuntimeBehavior; diff --git a/src/Snap.Hutao/Snap.Hutao.Test/RuntimeBehavior/HttpClientBehaviorTest.cs b/src/Snap.Hutao/Snap.Hutao.Test/RuntimeBehavior/HttpClientBehaviorTest.cs index c6fbbe9ca2..ab9c7c5247 100644 --- a/src/Snap.Hutao/Snap.Hutao.Test/RuntimeBehavior/HttpClientBehaviorTest.cs +++ b/src/Snap.Hutao/Snap.Hutao.Test/RuntimeBehavior/HttpClientBehaviorTest.cs @@ -1,4 +1,4 @@ -using System.Drawing; +using System.Drawing; using System.Net.Http; using System.Net.Http.Json; using System.Runtime.CompilerServices; diff --git a/src/Snap.Hutao/Snap.Hutao.Test/RuntimeBehavior/PropertyRuntimeBehaviorTest.cs b/src/Snap.Hutao/Snap.Hutao.Test/RuntimeBehavior/PropertyRuntimeBehaviorTest.cs index ebdd15cf04..31c10919de 100644 --- a/src/Snap.Hutao/Snap.Hutao.Test/RuntimeBehavior/PropertyRuntimeBehaviorTest.cs +++ b/src/Snap.Hutao/Snap.Hutao.Test/RuntimeBehavior/PropertyRuntimeBehaviorTest.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Snap.Hutao.Test.RuntimeBehavior; diff --git a/src/Snap.Hutao/Snap.Hutao.Test/RuntimeBehavior/RangeRuntimeBehaviorTest.cs b/src/Snap.Hutao/Snap.Hutao.Test/RuntimeBehavior/RangeRuntimeBehaviorTest.cs index abb82eb186..dccc53c20c 100644 --- a/src/Snap.Hutao/Snap.Hutao.Test/RuntimeBehavior/RangeRuntimeBehaviorTest.cs +++ b/src/Snap.Hutao/Snap.Hutao.Test/RuntimeBehavior/RangeRuntimeBehaviorTest.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Snap.Hutao.Test.RuntimeBehavior; diff --git a/src/Snap.Hutao/Snap.Hutao.Test/RuntimeBehavior/StringRuntimeBehaviorTest.cs b/src/Snap.Hutao/Snap.Hutao.Test/RuntimeBehavior/StringRuntimeBehaviorTest.cs index 210cfc8ee9..015a08b34a 100644 --- a/src/Snap.Hutao/Snap.Hutao.Test/RuntimeBehavior/StringRuntimeBehaviorTest.cs +++ b/src/Snap.Hutao/Snap.Hutao.Test/RuntimeBehavior/StringRuntimeBehaviorTest.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace Snap.Hutao.Test.RuntimeBehavior; diff --git a/src/Snap.Hutao/Snap.Hutao.Test/RuntimeBehavior/UnsafeRuntimeBehaviorTest.cs b/src/Snap.Hutao/Snap.Hutao.Test/RuntimeBehavior/UnsafeRuntimeBehaviorTest.cs index e4ef927fa5..faad7aa8b0 100644 --- a/src/Snap.Hutao/Snap.Hutao.Test/RuntimeBehavior/UnsafeRuntimeBehaviorTest.cs +++ b/src/Snap.Hutao/Snap.Hutao.Test/RuntimeBehavior/UnsafeRuntimeBehaviorTest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; diff --git a/src/Snap.Hutao/Snap.Hutao/App.xaml.cs b/src/Snap.Hutao/Snap.Hutao/App.xaml.cs index 0e3e94fb14..d76853a955 100644 --- a/src/Snap.Hutao/Snap.Hutao/App.xaml.cs +++ b/src/Snap.Hutao/Snap.Hutao/App.xaml.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.UI.Xaml; diff --git a/src/Snap.Hutao/Snap.Hutao/Core/Caching/IImageCacheFilePathOperation.cs b/src/Snap.Hutao/Snap.Hutao/Core/Caching/IImageCacheFilePathOperation.cs index c12993b82a..78b99fc334 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/Caching/IImageCacheFilePathOperation.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/Caching/IImageCacheFilePathOperation.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.IO; diff --git a/src/Snap.Hutao/Snap.Hutao/GlobalUsing.cs b/src/Snap.Hutao/Snap.Hutao/GlobalUsing.cs index aa1836a5ce..12ba1ece9b 100644 --- a/src/Snap.Hutao/Snap.Hutao/GlobalUsing.cs +++ b/src/Snap.Hutao/Snap.Hutao/GlobalUsing.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. // CommunityToolkit diff --git a/src/Snap.Hutao/Snap.Hutao/Migrations/20220720121642_Init.Designer.cs b/src/Snap.Hutao/Snap.Hutao/Migrations/20220720121642_Init.Designer.cs index 001b7f5d42..69597085a0 100644 --- a/src/Snap.Hutao/Snap.Hutao/Migrations/20220720121642_Init.Designer.cs +++ b/src/Snap.Hutao/Snap.Hutao/Migrations/20220720121642_Init.Designer.cs @@ -1,4 +1,4 @@ -// +// using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; diff --git a/src/Snap.Hutao/Snap.Hutao/Migrations/20220720121642_Init.cs b/src/Snap.Hutao/Snap.Hutao/Migrations/20220720121642_Init.cs index 671a02cfc5..03a5af31df 100644 --- a/src/Snap.Hutao/Snap.Hutao/Migrations/20220720121642_Init.cs +++ b/src/Snap.Hutao/Snap.Hutao/Migrations/20220720121642_Init.cs @@ -1,4 +1,4 @@ -// +// using Microsoft.EntityFrameworkCore.Migrations; #nullable disable diff --git a/src/Snap.Hutao/Snap.Hutao/Migrations/20220813040006_AddAchievement.Designer.cs b/src/Snap.Hutao/Snap.Hutao/Migrations/20220813040006_AddAchievement.Designer.cs index 884a475f35..1cce731a1d 100644 --- a/src/Snap.Hutao/Snap.Hutao/Migrations/20220813040006_AddAchievement.Designer.cs +++ b/src/Snap.Hutao/Snap.Hutao/Migrations/20220813040006_AddAchievement.Designer.cs @@ -1,4 +1,4 @@ -// +// using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; diff --git a/src/Snap.Hutao/Snap.Hutao/Migrations/20220813040006_AddAchievement.cs b/src/Snap.Hutao/Snap.Hutao/Migrations/20220813040006_AddAchievement.cs index 08df22c6d2..c352d55c89 100644 --- a/src/Snap.Hutao/Snap.Hutao/Migrations/20220813040006_AddAchievement.cs +++ b/src/Snap.Hutao/Snap.Hutao/Migrations/20220813040006_AddAchievement.cs @@ -1,4 +1,4 @@ -// +// using Microsoft.EntityFrameworkCore.Migrations; #nullable disable diff --git a/src/Snap.Hutao/Snap.Hutao/Migrations/20220815133601_AddAchievementArchive.Designer.cs b/src/Snap.Hutao/Snap.Hutao/Migrations/20220815133601_AddAchievementArchive.Designer.cs index b9c0102d86..ce244b4624 100644 --- a/src/Snap.Hutao/Snap.Hutao/Migrations/20220815133601_AddAchievementArchive.Designer.cs +++ b/src/Snap.Hutao/Snap.Hutao/Migrations/20220815133601_AddAchievementArchive.Designer.cs @@ -1,4 +1,4 @@ -// +// using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; diff --git a/src/Snap.Hutao/Snap.Hutao/Migrations/20220815133601_AddAchievementArchive.cs b/src/Snap.Hutao/Snap.Hutao/Migrations/20220815133601_AddAchievementArchive.cs index e744a3a6c2..4002ed519e 100644 --- a/src/Snap.Hutao/Snap.Hutao/Migrations/20220815133601_AddAchievementArchive.cs +++ b/src/Snap.Hutao/Snap.Hutao/Migrations/20220815133601_AddAchievementArchive.cs @@ -1,4 +1,4 @@ -// +// using Microsoft.EntityFrameworkCore.Migrations; #nullable disable diff --git a/src/Snap.Hutao/Snap.Hutao/Migrations/20220910080051_AddGacha.Designer.cs b/src/Snap.Hutao/Snap.Hutao/Migrations/20220910080051_AddGacha.Designer.cs index 1501dde45d..3f2203351b 100644 --- a/src/Snap.Hutao/Snap.Hutao/Migrations/20220910080051_AddGacha.Designer.cs +++ b/src/Snap.Hutao/Snap.Hutao/Migrations/20220910080051_AddGacha.Designer.cs @@ -1,4 +1,4 @@ -// +// using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; diff --git a/src/Snap.Hutao/Snap.Hutao/Migrations/20220910080051_AddGacha.cs b/src/Snap.Hutao/Snap.Hutao/Migrations/20220910080051_AddGacha.cs index 722bd86a58..60b61f9f48 100644 --- a/src/Snap.Hutao/Snap.Hutao/Migrations/20220910080051_AddGacha.cs +++ b/src/Snap.Hutao/Snap.Hutao/Migrations/20220910080051_AddGacha.cs @@ -1,4 +1,4 @@ -// +// using Microsoft.EntityFrameworkCore.Migrations; #nullable disable diff --git a/src/Snap.Hutao/Snap.Hutao/Migrations/20220914131149_AddGachaQueryType.Designer.cs b/src/Snap.Hutao/Snap.Hutao/Migrations/20220914131149_AddGachaQueryType.Designer.cs index 5a1adf71fb..a4e41ecae2 100644 --- a/src/Snap.Hutao/Snap.Hutao/Migrations/20220914131149_AddGachaQueryType.Designer.cs +++ b/src/Snap.Hutao/Snap.Hutao/Migrations/20220914131149_AddGachaQueryType.Designer.cs @@ -1,4 +1,4 @@ -// +// using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; diff --git a/src/Snap.Hutao/Snap.Hutao/Migrations/20220914131149_AddGachaQueryType.cs b/src/Snap.Hutao/Snap.Hutao/Migrations/20220914131149_AddGachaQueryType.cs index d58aa6f9e6..715dd5f2b9 100644 --- a/src/Snap.Hutao/Snap.Hutao/Migrations/20220914131149_AddGachaQueryType.cs +++ b/src/Snap.Hutao/Snap.Hutao/Migrations/20220914131149_AddGachaQueryType.cs @@ -1,4 +1,4 @@ -// +// using Microsoft.EntityFrameworkCore.Migrations; #nullable disable diff --git a/src/Snap.Hutao/Snap.Hutao/Migrations/20220918062300_RenameGachaTable.Designer.cs b/src/Snap.Hutao/Snap.Hutao/Migrations/20220918062300_RenameGachaTable.Designer.cs index ff5abd1a42..cf9718ab3d 100644 --- a/src/Snap.Hutao/Snap.Hutao/Migrations/20220918062300_RenameGachaTable.Designer.cs +++ b/src/Snap.Hutao/Snap.Hutao/Migrations/20220918062300_RenameGachaTable.Designer.cs @@ -1,4 +1,4 @@ -// +// using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; diff --git a/src/Snap.Hutao/Snap.Hutao/Migrations/20220918062300_RenameGachaTable.cs b/src/Snap.Hutao/Snap.Hutao/Migrations/20220918062300_RenameGachaTable.cs index b7a0d73601..91dcb51602 100644 --- a/src/Snap.Hutao/Snap.Hutao/Migrations/20220918062300_RenameGachaTable.cs +++ b/src/Snap.Hutao/Snap.Hutao/Migrations/20220918062300_RenameGachaTable.cs @@ -1,4 +1,4 @@ -// +// using Microsoft.EntityFrameworkCore.Migrations; #nullable disable diff --git a/src/Snap.Hutao/Snap.Hutao/Migrations/20220924135810_AddAvatarInfo.Designer.cs b/src/Snap.Hutao/Snap.Hutao/Migrations/20220924135810_AddAvatarInfo.Designer.cs index bc6a2cae2b..9d649f697a 100644 --- a/src/Snap.Hutao/Snap.Hutao/Migrations/20220924135810_AddAvatarInfo.Designer.cs +++ b/src/Snap.Hutao/Snap.Hutao/Migrations/20220924135810_AddAvatarInfo.Designer.cs @@ -1,4 +1,4 @@ -// +// using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; diff --git a/src/Snap.Hutao/Snap.Hutao/Migrations/20220924135810_AddAvatarInfo.cs b/src/Snap.Hutao/Snap.Hutao/Migrations/20220924135810_AddAvatarInfo.cs index d5dd32c26f..7a66faf402 100644 --- a/src/Snap.Hutao/Snap.Hutao/Migrations/20220924135810_AddAvatarInfo.cs +++ b/src/Snap.Hutao/Snap.Hutao/Migrations/20220924135810_AddAvatarInfo.cs @@ -1,4 +1,4 @@ -// +// using Microsoft.EntityFrameworkCore.Migrations; #nullable disable diff --git a/src/Snap.Hutao/Snap.Hutao/Migrations/20221031104940_GameAccount.Designer.cs b/src/Snap.Hutao/Snap.Hutao/Migrations/20221031104940_GameAccount.Designer.cs index f3019ea5ce..bfa7986786 100644 --- a/src/Snap.Hutao/Snap.Hutao/Migrations/20221031104940_GameAccount.Designer.cs +++ b/src/Snap.Hutao/Snap.Hutao/Migrations/20221031104940_GameAccount.Designer.cs @@ -1,4 +1,4 @@ -// +// using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; diff --git a/src/Snap.Hutao/Snap.Hutao/Migrations/20221031104940_GameAccount.cs b/src/Snap.Hutao/Snap.Hutao/Migrations/20221031104940_GameAccount.cs index dff7e721a7..31a2a7cc22 100644 --- a/src/Snap.Hutao/Snap.Hutao/Migrations/20221031104940_GameAccount.cs +++ b/src/Snap.Hutao/Snap.Hutao/Migrations/20221031104940_GameAccount.cs @@ -1,4 +1,4 @@ -// +// using Microsoft.EntityFrameworkCore.Migrations; #nullable disable diff --git a/src/Snap.Hutao/Snap.Hutao/Migrations/20221108081525_DailyNoteEntry.Designer.cs b/src/Snap.Hutao/Snap.Hutao/Migrations/20221108081525_DailyNoteEntry.Designer.cs index 4fd53c7014..d5bf081978 100644 --- a/src/Snap.Hutao/Snap.Hutao/Migrations/20221108081525_DailyNoteEntry.Designer.cs +++ b/src/Snap.Hutao/Snap.Hutao/Migrations/20221108081525_DailyNoteEntry.Designer.cs @@ -1,4 +1,4 @@ -// +// using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; diff --git a/src/Snap.Hutao/Snap.Hutao/Migrations/20221108081525_DailyNoteEntry.cs b/src/Snap.Hutao/Snap.Hutao/Migrations/20221108081525_DailyNoteEntry.cs index 860460b0db..821a032058 100644 --- a/src/Snap.Hutao/Snap.Hutao/Migrations/20221108081525_DailyNoteEntry.cs +++ b/src/Snap.Hutao/Snap.Hutao/Migrations/20221108081525_DailyNoteEntry.cs @@ -1,4 +1,4 @@ -// +// using Microsoft.EntityFrameworkCore.Migrations; #nullable disable diff --git a/src/Snap.Hutao/Snap.Hutao/Migrations/20221118095755_SplitStoken.Designer.cs b/src/Snap.Hutao/Snap.Hutao/Migrations/20221118095755_SplitStoken.Designer.cs index caaa85b1ae..515bb3341c 100644 --- a/src/Snap.Hutao/Snap.Hutao/Migrations/20221118095755_SplitStoken.Designer.cs +++ b/src/Snap.Hutao/Snap.Hutao/Migrations/20221118095755_SplitStoken.Designer.cs @@ -1,4 +1,4 @@ -// +// using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; diff --git a/src/Snap.Hutao/Snap.Hutao/Migrations/20221118095755_SplitStoken.cs b/src/Snap.Hutao/Snap.Hutao/Migrations/20221118095755_SplitStoken.cs index 5b9dfb99d7..4e7b642d88 100644 --- a/src/Snap.Hutao/Snap.Hutao/Migrations/20221118095755_SplitStoken.cs +++ b/src/Snap.Hutao/Snap.Hutao/Migrations/20221118095755_SplitStoken.cs @@ -1,4 +1,4 @@ -// +// using Microsoft.EntityFrameworkCore.Migrations; #nullable disable diff --git a/src/Snap.Hutao/Snap.Hutao/Migrations/20221118124745_AddAidMid.Designer.cs b/src/Snap.Hutao/Snap.Hutao/Migrations/20221118124745_AddAidMid.Designer.cs index dcf4250803..69cb1ba972 100644 --- a/src/Snap.Hutao/Snap.Hutao/Migrations/20221118124745_AddAidMid.Designer.cs +++ b/src/Snap.Hutao/Snap.Hutao/Migrations/20221118124745_AddAidMid.Designer.cs @@ -1,4 +1,4 @@ -// +// using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; diff --git a/src/Snap.Hutao/Snap.Hutao/Migrations/20221118124745_AddAidMid.cs b/src/Snap.Hutao/Snap.Hutao/Migrations/20221118124745_AddAidMid.cs index 25e4501637..65ea09b233 100644 --- a/src/Snap.Hutao/Snap.Hutao/Migrations/20221118124745_AddAidMid.cs +++ b/src/Snap.Hutao/Snap.Hutao/Migrations/20221118124745_AddAidMid.cs @@ -1,4 +1,4 @@ -// +// using Microsoft.EntityFrameworkCore.Migrations; #nullable disable diff --git a/src/Snap.Hutao/Snap.Hutao/Migrations/20221123060511_RenameCookieToLtoken.Designer.cs b/src/Snap.Hutao/Snap.Hutao/Migrations/20221123060511_RenameCookieToLtoken.Designer.cs index 2e69cb500d..05ac549ccc 100644 --- a/src/Snap.Hutao/Snap.Hutao/Migrations/20221123060511_RenameCookieToLtoken.Designer.cs +++ b/src/Snap.Hutao/Snap.Hutao/Migrations/20221123060511_RenameCookieToLtoken.Designer.cs @@ -1,4 +1,4 @@ -// +// using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; diff --git a/src/Snap.Hutao/Snap.Hutao/Migrations/20221123060511_RenameCookieToLtoken.cs b/src/Snap.Hutao/Snap.Hutao/Migrations/20221123060511_RenameCookieToLtoken.cs index d671113e3f..b3b51edc31 100644 --- a/src/Snap.Hutao/Snap.Hutao/Migrations/20221123060511_RenameCookieToLtoken.cs +++ b/src/Snap.Hutao/Snap.Hutao/Migrations/20221123060511_RenameCookieToLtoken.cs @@ -1,4 +1,4 @@ -// +// using Microsoft.EntityFrameworkCore.Migrations; #nullable disable diff --git a/src/Snap.Hutao/Snap.Hutao/Migrations/20221123110240_AddCookieToken.Designer.cs b/src/Snap.Hutao/Snap.Hutao/Migrations/20221123110240_AddCookieToken.Designer.cs index 4422cd0bac..d36be82cf6 100644 --- a/src/Snap.Hutao/Snap.Hutao/Migrations/20221123110240_AddCookieToken.Designer.cs +++ b/src/Snap.Hutao/Snap.Hutao/Migrations/20221123110240_AddCookieToken.Designer.cs @@ -1,4 +1,4 @@ -// +// using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; diff --git a/src/Snap.Hutao/Snap.Hutao/Migrations/20221123110240_AddCookieToken.cs b/src/Snap.Hutao/Snap.Hutao/Migrations/20221123110240_AddCookieToken.cs index a1e947952b..2e88d59fbb 100644 --- a/src/Snap.Hutao/Snap.Hutao/Migrations/20221123110240_AddCookieToken.cs +++ b/src/Snap.Hutao/Snap.Hutao/Migrations/20221123110240_AddCookieToken.cs @@ -1,4 +1,4 @@ -// +// using Microsoft.EntityFrameworkCore.Migrations; #nullable disable diff --git a/src/Snap.Hutao/Snap.Hutao/Migrations/20221128115346_ObjectCache.Designer.cs b/src/Snap.Hutao/Snap.Hutao/Migrations/20221128115346_ObjectCache.Designer.cs index 064fe3885d..c5e975b927 100644 --- a/src/Snap.Hutao/Snap.Hutao/Migrations/20221128115346_ObjectCache.Designer.cs +++ b/src/Snap.Hutao/Snap.Hutao/Migrations/20221128115346_ObjectCache.Designer.cs @@ -1,4 +1,4 @@ -// +// using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; diff --git a/src/Snap.Hutao/Snap.Hutao/Migrations/20221128115346_ObjectCache.cs b/src/Snap.Hutao/Snap.Hutao/Migrations/20221128115346_ObjectCache.cs index 679836e883..c91d125d07 100644 --- a/src/Snap.Hutao/Snap.Hutao/Migrations/20221128115346_ObjectCache.cs +++ b/src/Snap.Hutao/Snap.Hutao/Migrations/20221128115346_ObjectCache.cs @@ -1,4 +1,4 @@ -// +// using System; using Microsoft.EntityFrameworkCore.Migrations; diff --git a/src/Snap.Hutao/Snap.Hutao/Migrations/20221202052444_Cultivation.Designer.cs b/src/Snap.Hutao/Snap.Hutao/Migrations/20221202052444_Cultivation.Designer.cs index 9f0cfc5b53..d21fbe742d 100644 --- a/src/Snap.Hutao/Snap.Hutao/Migrations/20221202052444_Cultivation.Designer.cs +++ b/src/Snap.Hutao/Snap.Hutao/Migrations/20221202052444_Cultivation.Designer.cs @@ -1,4 +1,4 @@ -// +// using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; diff --git a/src/Snap.Hutao/Snap.Hutao/Migrations/20221202052444_Cultivation.cs b/src/Snap.Hutao/Snap.Hutao/Migrations/20221202052444_Cultivation.cs index de57342a8b..113dd6cde7 100644 --- a/src/Snap.Hutao/Snap.Hutao/Migrations/20221202052444_Cultivation.cs +++ b/src/Snap.Hutao/Snap.Hutao/Migrations/20221202052444_Cultivation.cs @@ -1,4 +1,4 @@ -// +// using System; using Microsoft.EntityFrameworkCore.Migrations; diff --git a/src/Snap.Hutao/Snap.Hutao/Migrations/20221210111128_Inventory.Designer.cs b/src/Snap.Hutao/Snap.Hutao/Migrations/20221210111128_Inventory.Designer.cs index 23443a52fd..c3541ac938 100644 --- a/src/Snap.Hutao/Snap.Hutao/Migrations/20221210111128_Inventory.Designer.cs +++ b/src/Snap.Hutao/Snap.Hutao/Migrations/20221210111128_Inventory.Designer.cs @@ -1,4 +1,4 @@ -// +// using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; diff --git a/src/Snap.Hutao/Snap.Hutao/Migrations/20221210111128_Inventory.cs b/src/Snap.Hutao/Snap.Hutao/Migrations/20221210111128_Inventory.cs index 279c0524d5..e138b3cdb4 100644 --- a/src/Snap.Hutao/Snap.Hutao/Migrations/20221210111128_Inventory.cs +++ b/src/Snap.Hutao/Snap.Hutao/Migrations/20221210111128_Inventory.cs @@ -1,4 +1,4 @@ -// +// using Microsoft.EntityFrameworkCore.Migrations; #nullable disable diff --git a/src/Snap.Hutao/Snap.Hutao/Migrations/20221217061817_ItemFinishable.Designer.cs b/src/Snap.Hutao/Snap.Hutao/Migrations/20221217061817_ItemFinishable.Designer.cs index b85ef5d48f..8c1265f0d4 100644 --- a/src/Snap.Hutao/Snap.Hutao/Migrations/20221217061817_ItemFinishable.Designer.cs +++ b/src/Snap.Hutao/Snap.Hutao/Migrations/20221217061817_ItemFinishable.Designer.cs @@ -1,4 +1,4 @@ -// +// using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; diff --git a/src/Snap.Hutao/Snap.Hutao/Migrations/20221217061817_ItemFinishable.cs b/src/Snap.Hutao/Snap.Hutao/Migrations/20221217061817_ItemFinishable.cs index 901fde7200..70f7b84f48 100644 --- a/src/Snap.Hutao/Snap.Hutao/Migrations/20221217061817_ItemFinishable.cs +++ b/src/Snap.Hutao/Snap.Hutao/Migrations/20221217061817_ItemFinishable.cs @@ -1,4 +1,4 @@ -// +// using Microsoft.EntityFrameworkCore.Migrations; #nullable disable diff --git a/src/Snap.Hutao/Snap.Hutao/Migrations/20221231104727_SpiralAbyssEntry.Designer.cs b/src/Snap.Hutao/Snap.Hutao/Migrations/20221231104727_SpiralAbyssEntry.Designer.cs index 8a699d9820..351be90f90 100644 --- a/src/Snap.Hutao/Snap.Hutao/Migrations/20221231104727_SpiralAbyssEntry.Designer.cs +++ b/src/Snap.Hutao/Snap.Hutao/Migrations/20221231104727_SpiralAbyssEntry.Designer.cs @@ -1,4 +1,4 @@ -// +// using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; diff --git a/src/Snap.Hutao/Snap.Hutao/Migrations/20221231104727_SpiralAbyssEntry.cs b/src/Snap.Hutao/Snap.Hutao/Migrations/20221231104727_SpiralAbyssEntry.cs index 559916ceac..98a1d56cff 100644 --- a/src/Snap.Hutao/Snap.Hutao/Migrations/20221231104727_SpiralAbyssEntry.cs +++ b/src/Snap.Hutao/Snap.Hutao/Migrations/20221231104727_SpiralAbyssEntry.cs @@ -1,4 +1,4 @@ -// +// using Microsoft.EntityFrameworkCore.Migrations; #nullable disable diff --git a/src/Snap.Hutao/Snap.Hutao/Migrations/20230317151815_UserIsOverSea.Designer.cs b/src/Snap.Hutao/Snap.Hutao/Migrations/20230317151815_UserIsOverSea.Designer.cs index b6b7c4fcd0..ecf04d0b6e 100644 --- a/src/Snap.Hutao/Snap.Hutao/Migrations/20230317151815_UserIsOverSea.Designer.cs +++ b/src/Snap.Hutao/Snap.Hutao/Migrations/20230317151815_UserIsOverSea.Designer.cs @@ -1,4 +1,4 @@ -// +// using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; diff --git a/src/Snap.Hutao/Snap.Hutao/Migrations/20230317151815_UserIsOverSea.cs b/src/Snap.Hutao/Snap.Hutao/Migrations/20230317151815_UserIsOverSea.cs index 6cc44eb093..92d8d931bb 100644 --- a/src/Snap.Hutao/Snap.Hutao/Migrations/20230317151815_UserIsOverSea.cs +++ b/src/Snap.Hutao/Snap.Hutao/Migrations/20230317151815_UserIsOverSea.cs @@ -1,4 +1,4 @@ -// +// using Microsoft.EntityFrameworkCore.Migrations; #nullable disable diff --git a/src/Snap.Hutao/Snap.Hutao/Migrations/20230506065837_RemoveDailyNoteEntryShowInHomeWidget.Designer.cs b/src/Snap.Hutao/Snap.Hutao/Migrations/20230506065837_RemoveDailyNoteEntryShowInHomeWidget.Designer.cs index 4c83f95e3a..26ab0e7f34 100644 --- a/src/Snap.Hutao/Snap.Hutao/Migrations/20230506065837_RemoveDailyNoteEntryShowInHomeWidget.Designer.cs +++ b/src/Snap.Hutao/Snap.Hutao/Migrations/20230506065837_RemoveDailyNoteEntryShowInHomeWidget.Designer.cs @@ -1,4 +1,4 @@ -// +// using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; diff --git a/src/Snap.Hutao/Snap.Hutao/Migrations/20230506065837_RemoveDailyNoteEntryShowInHomeWidget.cs b/src/Snap.Hutao/Snap.Hutao/Migrations/20230506065837_RemoveDailyNoteEntryShowInHomeWidget.cs index 8a6d901c8b..3b1d21b7a5 100644 --- a/src/Snap.Hutao/Snap.Hutao/Migrations/20230506065837_RemoveDailyNoteEntryShowInHomeWidget.cs +++ b/src/Snap.Hutao/Snap.Hutao/Migrations/20230506065837_RemoveDailyNoteEntryShowInHomeWidget.cs @@ -1,4 +1,4 @@ -// +// using Microsoft.EntityFrameworkCore.Migrations; #nullable disable diff --git a/src/Snap.Hutao/Snap.Hutao/Migrations/20230824084447_AddRefreshTimeOnDailyNoteEntry.Designer.cs b/src/Snap.Hutao/Snap.Hutao/Migrations/20230824084447_AddRefreshTimeOnDailyNoteEntry.Designer.cs index 18cab921cc..1470b4b432 100644 --- a/src/Snap.Hutao/Snap.Hutao/Migrations/20230824084447_AddRefreshTimeOnDailyNoteEntry.Designer.cs +++ b/src/Snap.Hutao/Snap.Hutao/Migrations/20230824084447_AddRefreshTimeOnDailyNoteEntry.Designer.cs @@ -1,4 +1,4 @@ -// +// using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; diff --git a/src/Snap.Hutao/Snap.Hutao/Migrations/20230824084447_AddRefreshTimeOnDailyNoteEntry.cs b/src/Snap.Hutao/Snap.Hutao/Migrations/20230824084447_AddRefreshTimeOnDailyNoteEntry.cs index 2ea4734d18..14436c3e8f 100644 --- a/src/Snap.Hutao/Snap.Hutao/Migrations/20230824084447_AddRefreshTimeOnDailyNoteEntry.cs +++ b/src/Snap.Hutao/Snap.Hutao/Migrations/20230824084447_AddRefreshTimeOnDailyNoteEntry.cs @@ -1,4 +1,4 @@ -// +// using Microsoft.EntityFrameworkCore.Migrations; #nullable disable diff --git a/src/Snap.Hutao/Snap.Hutao/Migrations/20230827040435_AddRefreshTimeOnAvatarInfo.Designer.cs b/src/Snap.Hutao/Snap.Hutao/Migrations/20230827040435_AddRefreshTimeOnAvatarInfo.Designer.cs index 52928b0335..46a16385d6 100644 --- a/src/Snap.Hutao/Snap.Hutao/Migrations/20230827040435_AddRefreshTimeOnAvatarInfo.Designer.cs +++ b/src/Snap.Hutao/Snap.Hutao/Migrations/20230827040435_AddRefreshTimeOnAvatarInfo.Designer.cs @@ -1,4 +1,4 @@ -// +// using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; diff --git a/src/Snap.Hutao/Snap.Hutao/Migrations/20230827040435_AddRefreshTimeOnAvatarInfo.cs b/src/Snap.Hutao/Snap.Hutao/Migrations/20230827040435_AddRefreshTimeOnAvatarInfo.cs index 0e1f87e40b..30e6bc1453 100644 --- a/src/Snap.Hutao/Snap.Hutao/Migrations/20230827040435_AddRefreshTimeOnAvatarInfo.cs +++ b/src/Snap.Hutao/Snap.Hutao/Migrations/20230827040435_AddRefreshTimeOnAvatarInfo.cs @@ -1,4 +1,4 @@ -// +// using Microsoft.EntityFrameworkCore.Migrations; #nullable disable diff --git a/src/Snap.Hutao/Snap.Hutao/Migrations/20231103032056_AddUserFingerprint.Designer.cs b/src/Snap.Hutao/Snap.Hutao/Migrations/20231103032056_AddUserFingerprint.Designer.cs index 2e90947ee1..535510b8b9 100644 --- a/src/Snap.Hutao/Snap.Hutao/Migrations/20231103032056_AddUserFingerprint.Designer.cs +++ b/src/Snap.Hutao/Snap.Hutao/Migrations/20231103032056_AddUserFingerprint.Designer.cs @@ -1,4 +1,4 @@ -// +// using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; diff --git a/src/Snap.Hutao/Snap.Hutao/Migrations/20231103032056_AddUserFingerprint.cs b/src/Snap.Hutao/Snap.Hutao/Migrations/20231103032056_AddUserFingerprint.cs index 772c35fed1..3b87ef0cbb 100644 --- a/src/Snap.Hutao/Snap.Hutao/Migrations/20231103032056_AddUserFingerprint.cs +++ b/src/Snap.Hutao/Snap.Hutao/Migrations/20231103032056_AddUserFingerprint.cs @@ -1,4 +1,4 @@ -// +// using Microsoft.EntityFrameworkCore.Migrations; #nullable disable diff --git a/src/Snap.Hutao/Snap.Hutao/Migrations/20231126113631_AddUserLastUpdateTime.Designer.cs b/src/Snap.Hutao/Snap.Hutao/Migrations/20231126113631_AddUserLastUpdateTime.Designer.cs index de6d08e304..a5336c836a 100644 --- a/src/Snap.Hutao/Snap.Hutao/Migrations/20231126113631_AddUserLastUpdateTime.Designer.cs +++ b/src/Snap.Hutao/Snap.Hutao/Migrations/20231126113631_AddUserLastUpdateTime.Designer.cs @@ -1,4 +1,4 @@ -// +// using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; diff --git a/src/Snap.Hutao/Snap.Hutao/Migrations/20231126113631_AddUserLastUpdateTime.cs b/src/Snap.Hutao/Snap.Hutao/Migrations/20231126113631_AddUserLastUpdateTime.cs index 745d8d5e64..3830e09664 100644 --- a/src/Snap.Hutao/Snap.Hutao/Migrations/20231126113631_AddUserLastUpdateTime.cs +++ b/src/Snap.Hutao/Snap.Hutao/Migrations/20231126113631_AddUserLastUpdateTime.cs @@ -1,4 +1,4 @@ -// +// using System; using Microsoft.EntityFrameworkCore.Migrations; diff --git a/src/Snap.Hutao/Snap.Hutao/Migrations/20231207085530_AddCultivateEntryLevelInformation.Designer.cs b/src/Snap.Hutao/Snap.Hutao/Migrations/20231207085530_AddCultivateEntryLevelInformation.Designer.cs index c3e5e810e6..b79de60f47 100644 --- a/src/Snap.Hutao/Snap.Hutao/Migrations/20231207085530_AddCultivateEntryLevelInformation.Designer.cs +++ b/src/Snap.Hutao/Snap.Hutao/Migrations/20231207085530_AddCultivateEntryLevelInformation.Designer.cs @@ -1,4 +1,4 @@ -// +// using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; diff --git a/src/Snap.Hutao/Snap.Hutao/Migrations/20231207085530_AddCultivateEntryLevelInformation.cs b/src/Snap.Hutao/Snap.Hutao/Migrations/20231207085530_AddCultivateEntryLevelInformation.cs index 37a9b8f86a..3519cea129 100644 --- a/src/Snap.Hutao/Snap.Hutao/Migrations/20231207085530_AddCultivateEntryLevelInformation.cs +++ b/src/Snap.Hutao/Snap.Hutao/Migrations/20231207085530_AddCultivateEntryLevelInformation.cs @@ -1,4 +1,4 @@ -// +// using System; using Microsoft.EntityFrameworkCore.Migrations; diff --git a/src/Snap.Hutao/Snap.Hutao/Migrations/20240202015857_ImplReorderableOnUserAndGameAccount.Designer.cs b/src/Snap.Hutao/Snap.Hutao/Migrations/20240202015857_ImplReorderableOnUserAndGameAccount.Designer.cs index 32d986a4c5..bcccf7650d 100644 --- a/src/Snap.Hutao/Snap.Hutao/Migrations/20240202015857_ImplReorderableOnUserAndGameAccount.Designer.cs +++ b/src/Snap.Hutao/Snap.Hutao/Migrations/20240202015857_ImplReorderableOnUserAndGameAccount.Designer.cs @@ -1,4 +1,4 @@ -// +// using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; diff --git a/src/Snap.Hutao/Snap.Hutao/Migrations/20240202015857_ImplReorderableOnUserAndGameAccount.cs b/src/Snap.Hutao/Snap.Hutao/Migrations/20240202015857_ImplReorderableOnUserAndGameAccount.cs index 015c4f4654..10df9f60a3 100644 --- a/src/Snap.Hutao/Snap.Hutao/Migrations/20240202015857_ImplReorderableOnUserAndGameAccount.cs +++ b/src/Snap.Hutao/Snap.Hutao/Migrations/20240202015857_ImplReorderableOnUserAndGameAccount.cs @@ -1,4 +1,4 @@ -// +// using Microsoft.EntityFrameworkCore.Migrations; #nullable disable diff --git a/src/Snap.Hutao/Snap.Hutao/Migrations/20240219020258_AddPerferredUidOnUser.Designer.cs b/src/Snap.Hutao/Snap.Hutao/Migrations/20240219020258_AddPerferredUidOnUser.Designer.cs index d2555bbbdb..26e507bead 100644 --- a/src/Snap.Hutao/Snap.Hutao/Migrations/20240219020258_AddPerferredUidOnUser.Designer.cs +++ b/src/Snap.Hutao/Snap.Hutao/Migrations/20240219020258_AddPerferredUidOnUser.Designer.cs @@ -1,4 +1,4 @@ -// +// using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; diff --git a/src/Snap.Hutao/Snap.Hutao/Migrations/20240219020258_AddPerferredUidOnUser.cs b/src/Snap.Hutao/Snap.Hutao/Migrations/20240219020258_AddPerferredUidOnUser.cs index a3710e39f9..b9b65ef613 100644 --- a/src/Snap.Hutao/Snap.Hutao/Migrations/20240219020258_AddPerferredUidOnUser.cs +++ b/src/Snap.Hutao/Snap.Hutao/Migrations/20240219020258_AddPerferredUidOnUser.cs @@ -1,4 +1,4 @@ -// +// using Microsoft.EntityFrameworkCore.Migrations; #nullable disable diff --git a/src/Snap.Hutao/Snap.Hutao/Migrations/20240616104646_UidProfilePicture.Designer.cs b/src/Snap.Hutao/Snap.Hutao/Migrations/20240616104646_UidProfilePicture.Designer.cs index 26aa2963f7..4c6c1158a1 100644 --- a/src/Snap.Hutao/Snap.Hutao/Migrations/20240616104646_UidProfilePicture.Designer.cs +++ b/src/Snap.Hutao/Snap.Hutao/Migrations/20240616104646_UidProfilePicture.Designer.cs @@ -1,4 +1,4 @@ -// +// using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; diff --git a/src/Snap.Hutao/Snap.Hutao/Migrations/20240616104646_UidProfilePicture.cs b/src/Snap.Hutao/Snap.Hutao/Migrations/20240616104646_UidProfilePicture.cs index 0c323d59ef..c2806506a1 100644 --- a/src/Snap.Hutao/Snap.Hutao/Migrations/20240616104646_UidProfilePicture.cs +++ b/src/Snap.Hutao/Snap.Hutao/Migrations/20240616104646_UidProfilePicture.cs @@ -1,4 +1,4 @@ -// +// using System; using Microsoft.EntityFrameworkCore.Migrations; diff --git a/src/Snap.Hutao/Snap.Hutao/Migrations/20240830090102_NewCharacterDetail.Designer.cs b/src/Snap.Hutao/Snap.Hutao/Migrations/20240830090102_NewCharacterDetail.Designer.cs index 29bb5deea4..3c687d5b75 100644 --- a/src/Snap.Hutao/Snap.Hutao/Migrations/20240830090102_NewCharacterDetail.Designer.cs +++ b/src/Snap.Hutao/Snap.Hutao/Migrations/20240830090102_NewCharacterDetail.Designer.cs @@ -1,4 +1,4 @@ -// +// using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; diff --git a/src/Snap.Hutao/Snap.Hutao/Migrations/20240830090102_NewCharacterDetail.cs b/src/Snap.Hutao/Snap.Hutao/Migrations/20240830090102_NewCharacterDetail.cs index a04ce90cf2..640ee429ed 100644 --- a/src/Snap.Hutao/Snap.Hutao/Migrations/20240830090102_NewCharacterDetail.cs +++ b/src/Snap.Hutao/Snap.Hutao/Migrations/20240830090102_NewCharacterDetail.cs @@ -1,4 +1,4 @@ -// +// // But modified to split rename operation into drop and add. using System; using Microsoft.EntityFrameworkCore.Migrations; diff --git a/src/Snap.Hutao/Snap.Hutao/Migrations/20241107151107_AddRoleCombatEntry.Designer.cs b/src/Snap.Hutao/Snap.Hutao/Migrations/20241107151107_AddRoleCombatEntry.Designer.cs index 8fea8b8df8..8831898275 100644 --- a/src/Snap.Hutao/Snap.Hutao/Migrations/20241107151107_AddRoleCombatEntry.Designer.cs +++ b/src/Snap.Hutao/Snap.Hutao/Migrations/20241107151107_AddRoleCombatEntry.Designer.cs @@ -1,4 +1,4 @@ -// +// using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; diff --git a/src/Snap.Hutao/Snap.Hutao/Migrations/20241107151107_AddRoleCombatEntry.cs b/src/Snap.Hutao/Snap.Hutao/Migrations/20241107151107_AddRoleCombatEntry.cs index 29b5f2ebff..8ab99ce183 100644 --- a/src/Snap.Hutao/Snap.Hutao/Migrations/20241107151107_AddRoleCombatEntry.cs +++ b/src/Snap.Hutao/Snap.Hutao/Migrations/20241107151107_AddRoleCombatEntry.cs @@ -1,4 +1,4 @@ -// +// using Microsoft.EntityFrameworkCore.Migrations; #nullable disable diff --git a/src/Snap.Hutao/Snap.Hutao/Migrations/20241116142009_RemoveUnusedInventories.Designer.cs b/src/Snap.Hutao/Snap.Hutao/Migrations/20241116142009_RemoveUnusedInventories.Designer.cs index 27c231d95b..145a103c5a 100644 --- a/src/Snap.Hutao/Snap.Hutao/Migrations/20241116142009_RemoveUnusedInventories.Designer.cs +++ b/src/Snap.Hutao/Snap.Hutao/Migrations/20241116142009_RemoveUnusedInventories.Designer.cs @@ -1,4 +1,4 @@ -// +// using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; diff --git a/src/Snap.Hutao/Snap.Hutao/Migrations/20241116142009_RemoveUnusedInventories.cs b/src/Snap.Hutao/Snap.Hutao/Migrations/20241116142009_RemoveUnusedInventories.cs index b5ef4bba33..ab2057486e 100644 --- a/src/Snap.Hutao/Snap.Hutao/Migrations/20241116142009_RemoveUnusedInventories.cs +++ b/src/Snap.Hutao/Snap.Hutao/Migrations/20241116142009_RemoveUnusedInventories.cs @@ -1,4 +1,4 @@ -// +// using System; using Microsoft.EntityFrameworkCore.Migrations; diff --git a/src/Snap.Hutao/Snap.Hutao/Migrations/AppDbContextModelSnapshot.cs b/src/Snap.Hutao/Snap.Hutao/Migrations/AppDbContextModelSnapshot.cs index 546eef86ff..d4c1439488 100644 --- a/src/Snap.Hutao/Snap.Hutao/Migrations/AppDbContextModelSnapshot.cs +++ b/src/Snap.Hutao/Snap.Hutao/Migrations/AppDbContextModelSnapshot.cs @@ -1,4 +1,4 @@ -// +// using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Entity/Database/AppDbContextDesignTimeFactory.cs b/src/Snap.Hutao/Snap.Hutao/Model/Entity/Database/AppDbContextDesignTimeFactory.cs index 1e81ad951f..47d7490726 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Entity/Database/AppDbContextDesignTimeFactory.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Entity/Database/AppDbContextDesignTimeFactory.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.EntityFrameworkCore.Design; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Entity/SettingEntry.Constant.cs b/src/Snap.Hutao/Snap.Hutao/Model/Entity/SettingEntry.Constant.cs index 1f28a96240..b5250e17c9 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Entity/SettingEntry.Constant.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Entity/SettingEntry.Constant.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Model.Entity; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/Frozen/IntrinsicFrozen.cs b/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/Frozen/IntrinsicFrozen.cs index 67cb85e28f..79556d57e8 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/Frozen/IntrinsicFrozen.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Intrinsic/Frozen/IntrinsicFrozen.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Collections.Frozen; diff --git a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Tower/WaveType.cs b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Tower/WaveType.cs index 8fdd84009e..0fa4a1ce1a 100644 --- a/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Tower/WaveType.cs +++ b/src/Snap.Hutao/Snap.Hutao/Model/Metadata/Tower/WaveType.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Model.Metadata.Tower; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Abstraction/DbStoreOptions.cs b/src/Snap.Hutao/Snap.Hutao/Service/Abstraction/DbStoreOptions.cs index af4fb35f45..76b7736b19 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Abstraction/DbStoreOptions.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Abstraction/DbStoreOptions.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using CommunityToolkit.Mvvm.ComponentModel; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Abstraction/IAppInfrastructureService.cs b/src/Snap.Hutao/Snap.Hutao/Service/Abstraction/IAppInfrastructureService.cs index 76a1ca4e76..3d933835a9 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Abstraction/IAppInfrastructureService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Abstraction/IAppInfrastructureService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Abstraction; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Abstraction/IAppService.cs b/src/Snap.Hutao/Snap.Hutao/Service/Abstraction/IAppService.cs index a7eeb9bf86..e4b852d882 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Abstraction/IAppService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Abstraction/IAppService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Abstraction; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Abstraction/IRepository.cs b/src/Snap.Hutao/Snap.Hutao/Service/Abstraction/IRepository.cs index 1473724efa..ff6fa2e0d7 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Abstraction/IRepository.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Abstraction/IRepository.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Abstraction; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Abstraction/RepositoryAppDbEntityExtension.cs b/src/Snap.Hutao/Snap.Hutao/Service/Abstraction/RepositoryAppDbEntityExtension.cs index 408c4055d3..d414ceef34 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Abstraction/RepositoryAppDbEntityExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Abstraction/RepositoryAppDbEntityExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Entity.Abstraction; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Abstraction/RepositoryCollectionExtension.cs b/src/Snap.Hutao/Snap.Hutao/Service/Abstraction/RepositoryCollectionExtension.cs index afc2f11901..2abd3f6e95 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Abstraction/RepositoryCollectionExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Abstraction/RepositoryCollectionExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Collections.ObjectModel; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Abstraction/RepositoryExtension.cs b/src/Snap.Hutao/Snap.Hutao/Service/Abstraction/RepositoryExtension.cs index 6b9589b2d7..93df614445 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Abstraction/RepositoryExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Abstraction/RepositoryExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.EntityFrameworkCore; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Abstraction/ServiceScopeExtension.cs b/src/Snap.Hutao/Snap.Hutao/Service/Abstraction/ServiceScopeExtension.cs index 0f8a00d886..8f424de684 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Abstraction/ServiceScopeExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Abstraction/ServiceScopeExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.EntityFrameworkCore; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Achievement/AchievementRepository.cs b/src/Snap.Hutao/Snap.Hutao/Service/Achievement/AchievementRepository.cs index c1618c6bc9..701072227f 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Achievement/AchievementRepository.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Achievement/AchievementRepository.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.ExceptionService; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Achievement/AchievementRepositoryOperation.cs b/src/Snap.Hutao/Snap.Hutao/Service/Achievement/AchievementRepositoryOperation.cs index c97673caa2..4fac131fa4 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Achievement/AchievementRepositoryOperation.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Achievement/AchievementRepositoryOperation.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.EntityFrameworkCore; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Achievement/AchievementService.cs b/src/Snap.Hutao/Snap.Hutao/Service/Achievement/AchievementService.cs index 7ad8e099bc..69be0bd178 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Achievement/AchievementService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Achievement/AchievementService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.Database; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Achievement/AchievementServiceMetadataContext.cs b/src/Snap.Hutao/Snap.Hutao/Service/Achievement/AchievementServiceMetadataContext.cs index 0cf93b48a4..1716c860d6 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Achievement/AchievementServiceMetadataContext.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Achievement/AchievementServiceMetadataContext.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Primitive; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Achievement/AchievementStatisticsService.cs b/src/Snap.Hutao/Snap.Hutao/Service/Achievement/AchievementStatisticsService.cs index 1373265573..65ad27d17f 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Achievement/AchievementStatisticsService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Achievement/AchievementStatisticsService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Entity; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Achievement/ArchiveAddResultKind.cs b/src/Snap.Hutao/Snap.Hutao/Service/Achievement/ArchiveAddResultKind.cs index b4df8732c6..795ae06609 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Achievement/ArchiveAddResultKind.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Achievement/ArchiveAddResultKind.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Achievement; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Achievement/IAchievementRepository.cs b/src/Snap.Hutao/Snap.Hutao/Service/Achievement/IAchievementRepository.cs index 8af62a7e1c..1fb9c1ff0a 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Achievement/IAchievementRepository.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Achievement/IAchievementRepository.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Primitive; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Achievement/IAchievementService.cs b/src/Snap.Hutao/Snap.Hutao/Service/Achievement/IAchievementService.cs index 7e02616d75..d0fa4338cc 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Achievement/IAchievementService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Achievement/IAchievementService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.Database; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Achievement/IAchievementStatisticsService.cs b/src/Snap.Hutao/Snap.Hutao/Service/Achievement/IAchievementStatisticsService.cs index 10df34fcd2..bd1ad054fb 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Achievement/IAchievementStatisticsService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Achievement/IAchievementStatisticsService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.ViewModel.Achievement; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Achievement/ImportResult.cs b/src/Snap.Hutao/Snap.Hutao/Service/Achievement/ImportResult.cs index 5280f0a0ad..221f76cff4 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Achievement/ImportResult.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Achievement/ImportResult.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Achievement; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Achievement/ImportStrategyKind.cs b/src/Snap.Hutao/Snap.Hutao/Service/Achievement/ImportStrategyKind.cs index bbca656e55..6c311352b9 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Achievement/ImportStrategyKind.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Achievement/ImportStrategyKind.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Achievement; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Announcement/AnnouncementHtmlVisitor.cs b/src/Snap.Hutao/Snap.Hutao/Service/Announcement/AnnouncementHtmlVisitor.cs index b1003541e6..f168803389 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Announcement/AnnouncementHtmlVisitor.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Announcement/AnnouncementHtmlVisitor.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using AngleSharp; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Announcement/AnnouncementRegex.cs b/src/Snap.Hutao/Snap.Hutao/Service/Announcement/AnnouncementRegex.cs index 7109780b81..006e5a9be1 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Announcement/AnnouncementRegex.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Announcement/AnnouncementRegex.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Text.RegularExpressions; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Announcement/IAnnouncementService.cs b/src/Snap.Hutao/Snap.Hutao/Service/Announcement/IAnnouncementService.cs index 7d8999e6fe..d406930be1 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Announcement/IAnnouncementService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Announcement/IAnnouncementService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Web.Hoyolab; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/AppOptions.cs b/src/Snap.Hutao/Snap.Hutao/Service/AppOptions.cs index 611660ddaa..e6904ac09f 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/AppOptions.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/AppOptions.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.UI.Xaml; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/AppOptionsExtension.cs b/src/Snap.Hutao/Snap.Hutao/Service/AppOptionsExtension.cs index 4d3866b369..56b413024c 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/AppOptionsExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/AppOptionsExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/AvatarInfoRepository.cs b/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/AvatarInfoRepository.cs index 572d2400c8..7bf0c03609 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/AvatarInfoRepository.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/AvatarInfoRepository.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Service.Abstraction; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/AvatarInfoRepositoryOperation.cs b/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/AvatarInfoRepositoryOperation.cs index 0d0d0b23b5..710e4aa2a6 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/AvatarInfoRepositoryOperation.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/AvatarInfoRepositoryOperation.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.Database; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/AvatarInfoService.cs b/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/AvatarInfoService.cs index cf72a9b6aa..636491d1c4 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/AvatarInfoService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/AvatarInfoService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.Diagnostics; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/Builder/AvatarViewBuilder.cs b/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/Builder/AvatarViewBuilder.cs index b3086b43ad..e11f95c330 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/Builder/AvatarViewBuilder.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/Builder/AvatarViewBuilder.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.ViewModel.AvatarProperty; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/Builder/AvatarViewBuilderExtension.cs b/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/Builder/AvatarViewBuilderExtension.cs index b29660559c..000facae70 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/Builder/AvatarViewBuilderExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/Builder/AvatarViewBuilderExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.Abstraction; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/Builder/EquipViewBuilderExtension.cs b/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/Builder/EquipViewBuilderExtension.cs index e06228a6aa..e28d30e934 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/Builder/EquipViewBuilderExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/Builder/EquipViewBuilderExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.Abstraction; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/Builder/IAvatarViewBuilder.cs b/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/Builder/IAvatarViewBuilder.cs index 1fe680f6b9..c33c501022 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/Builder/IAvatarViewBuilder.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/Builder/IAvatarViewBuilder.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.Abstraction; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/Builder/IEquipViewBuilder.cs b/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/Builder/IEquipViewBuilder.cs index 5a3530f2a2..c489935420 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/Builder/IEquipViewBuilder.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/Builder/IEquipViewBuilder.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.ViewModel.AvatarProperty; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/Builder/INameIconDescriptionBuilder.cs b/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/Builder/INameIconDescriptionBuilder.cs index b7c64b8a36..444a70d399 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/Builder/INameIconDescriptionBuilder.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/Builder/INameIconDescriptionBuilder.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.Abstraction; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/Builder/IReliquaryViewBuilder.cs b/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/Builder/IReliquaryViewBuilder.cs index d43ae87fc8..fd5e8f61dc 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/Builder/IReliquaryViewBuilder.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/Builder/IReliquaryViewBuilder.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.ViewModel.AvatarProperty; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/Builder/IScoreAccess.cs b/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/Builder/IScoreAccess.cs index 57bd4aa754..6db7467afa 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/Builder/IScoreAccess.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/Builder/IScoreAccess.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.AvatarInfo.Factory.Builder; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/Builder/IWeaponViewBuilder.cs b/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/Builder/IWeaponViewBuilder.cs index c41afbb64f..58dc8dd523 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/Builder/IWeaponViewBuilder.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/Builder/IWeaponViewBuilder.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.ViewModel.AvatarProperty; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/Builder/NameIconDescriptionBuilderExtension.cs b/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/Builder/NameIconDescriptionBuilderExtension.cs index 092eb5d211..51601092b9 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/Builder/NameIconDescriptionBuilderExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/Builder/NameIconDescriptionBuilderExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.Abstraction; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/Builder/ReliquaryViewBuilder.cs b/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/Builder/ReliquaryViewBuilder.cs index 65d0fd42c2..76abafc0dd 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/Builder/ReliquaryViewBuilder.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/Builder/ReliquaryViewBuilder.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.ViewModel.AvatarProperty; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/Builder/ReliquaryViewBuilderExtension.cs b/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/Builder/ReliquaryViewBuilderExtension.cs index f8b36c6e3b..041af0bcb2 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/Builder/ReliquaryViewBuilderExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/Builder/ReliquaryViewBuilderExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.Abstraction; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/Builder/ScoreAccessExtension.cs b/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/Builder/ScoreAccessExtension.cs index 725bd79154..074b224cbf 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/Builder/ScoreAccessExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/Builder/ScoreAccessExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.Abstraction; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/Builder/WeaponViewBuilder.cs b/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/Builder/WeaponViewBuilder.cs index a9907feccb..57ac4054fa 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/Builder/WeaponViewBuilder.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/Builder/WeaponViewBuilder.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.ViewModel.AvatarProperty; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/Builder/WeaponViewBuilderExtension.cs b/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/Builder/WeaponViewBuilderExtension.cs index cd3a735202..44929c5cc8 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/Builder/WeaponViewBuilderExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/Builder/WeaponViewBuilderExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.Abstraction; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/ISummaryFactory.cs b/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/ISummaryFactory.cs index aa8ba549a5..dde35b0985 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/ISummaryFactory.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/ISummaryFactory.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.ViewModel.AvatarProperty; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/InGameFightPropertyComparer.cs b/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/InGameFightPropertyComparer.cs index 158569a2dc..4c95d7371f 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/InGameFightPropertyComparer.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/InGameFightPropertyComparer.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/SummaryAvatarFactory.cs b/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/SummaryAvatarFactory.cs index c44904afca..f3168da905 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/SummaryAvatarFactory.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/SummaryAvatarFactory.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.ExceptionService; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/SummaryFactory.cs b/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/SummaryFactory.cs index 839c2ce7de..c375fed910 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/SummaryFactory.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/SummaryFactory.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Metadata.Avatar; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/SummaryFactoryMetadataContext.cs b/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/SummaryFactoryMetadataContext.cs index cbf8bebeef..4c7e284eec 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/SummaryFactoryMetadataContext.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/SummaryFactoryMetadataContext.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/SummaryHelper.cs b/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/SummaryHelper.cs index d7598e7e7b..a04d5d1a23 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/SummaryHelper.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/SummaryHelper.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.ExceptionService; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/SummaryReliquaryFactory.cs b/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/SummaryReliquaryFactory.cs index 5ced2b9b5f..ed574c764b 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/SummaryReliquaryFactory.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/Factory/SummaryReliquaryFactory.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Metadata.Converter; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/IAvatarInfoRepository.cs b/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/IAvatarInfoRepository.cs index 01c353f20a..32364f0d02 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/IAvatarInfoRepository.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/IAvatarInfoRepository.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Service.Abstraction; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/IAvatarInfoService.cs b/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/IAvatarInfoService.cs index 598a78b9cb..dab26a9f47 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/IAvatarInfoService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/IAvatarInfoService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.ViewModel.AvatarProperty; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/RefreshOption.cs b/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/RefreshOption.cs index 3f1722cfa9..498c79a486 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/RefreshOption.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/RefreshOption.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.AvatarInfo; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/RefreshResultKind.cs b/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/RefreshResultKind.cs index 02ac58bcbd..917745803e 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/RefreshResultKind.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/AvatarInfo/RefreshResultKind.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.AvatarInfo; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/BackgroundImage/BackgroundImage.cs b/src/Snap.Hutao/Snap.Hutao/Service/BackgroundImage/BackgroundImage.cs index 1ceff24a61..8048780156 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/BackgroundImage/BackgroundImage.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/BackgroundImage/BackgroundImage.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.UI.Xaml.Media.Imaging; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/BackgroundImage/BackgroundImageOptions.cs b/src/Snap.Hutao/Snap.Hutao/Service/BackgroundImage/BackgroundImageOptions.cs index a8c06c706d..c598784f9c 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/BackgroundImage/BackgroundImageOptions.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/BackgroundImage/BackgroundImageOptions.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using CommunityToolkit.Mvvm.ComponentModel; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/BackgroundImage/BackgroundImageService.cs b/src/Snap.Hutao/Snap.Hutao/Service/BackgroundImage/BackgroundImageService.cs index 0fa292a041..4af5d021c4 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/BackgroundImage/BackgroundImageService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/BackgroundImage/BackgroundImageService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/BackgroundImage/BackgroundImageType.cs b/src/Snap.Hutao/Snap.Hutao/Service/BackgroundImage/BackgroundImageType.cs index 4d6f5a9e58..ed7df448da 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/BackgroundImage/BackgroundImageType.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/BackgroundImage/BackgroundImageType.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.BackgroundImage; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/BackgroundImage/IBackgroundImageService.cs b/src/Snap.Hutao/Snap.Hutao/Service/BackgroundImage/IBackgroundImageService.cs index b2cc9ad1ed..588c729f05 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/BackgroundImage/IBackgroundImageService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/BackgroundImage/IBackgroundImageService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.BackgroundImage; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Cultivation/Consumption/ConsumptionSaveResultKind.cs b/src/Snap.Hutao/Snap.Hutao/Service/Cultivation/Consumption/ConsumptionSaveResultKind.cs index b607b0ec9c..52d9a7483d 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Cultivation/Consumption/ConsumptionSaveResultKind.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Cultivation/Consumption/ConsumptionSaveResultKind.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Cultivation.Consumption; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Cultivation/CultivationMetadataContext.cs b/src/Snap.Hutao/Snap.Hutao/Service/Cultivation/CultivationMetadataContext.cs index 57fbdc71b5..6fc6498577 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Cultivation/CultivationMetadataContext.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Cultivation/CultivationMetadataContext.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Metadata.Item; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Cultivation/CultivationRepository.cs b/src/Snap.Hutao/Snap.Hutao/Service/Cultivation/CultivationRepository.cs index 8abb875fc1..1be76a4e91 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Cultivation/CultivationRepository.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Cultivation/CultivationRepository.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.EntityFrameworkCore; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Cultivation/CultivationServiceExtension.cs b/src/Snap.Hutao/Snap.Hutao/Service/Cultivation/CultivationServiceExtension.cs index dbd4b89194..f4a3fc18cd 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Cultivation/CultivationServiceExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Cultivation/CultivationServiceExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.ViewModel.Cultivation; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Cultivation/ICultivationMetadataContext.cs b/src/Snap.Hutao/Snap.Hutao/Service/Cultivation/ICultivationMetadataContext.cs index 4e19e9f174..3272dd11ab 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Cultivation/ICultivationMetadataContext.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Cultivation/ICultivationMetadataContext.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Service.Metadata.ContextAbstraction; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Cultivation/ICultivationRepository.cs b/src/Snap.Hutao/Snap.Hutao/Service/Cultivation/ICultivationRepository.cs index 8121a55466..39a4642b52 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Cultivation/ICultivationRepository.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Cultivation/ICultivationRepository.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Entity; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Cultivation/ICultivationService.cs b/src/Snap.Hutao/Snap.Hutao/Service/Cultivation/ICultivationService.cs index c1dedb1ebd..2e95458800 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Cultivation/ICultivationService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Cultivation/ICultivationService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.Database; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Cultivation/InputConsumption.cs b/src/Snap.Hutao/Snap.Hutao/Service/Cultivation/InputConsumption.cs index 14c8cd63d9..ff292aacc7 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Cultivation/InputConsumption.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Cultivation/InputConsumption.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Entity.Primitive; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Cultivation/LevelInformation.cs b/src/Snap.Hutao/Snap.Hutao/Service/Cultivation/LevelInformation.cs index 477e9c8b62..527fd580b4 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Cultivation/LevelInformation.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Cultivation/LevelInformation.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Web.Hoyolab.Takumi.Event.Calculate; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Cultivation/MaterialIdComparer.cs b/src/Snap.Hutao/Snap.Hutao/Service/Cultivation/MaterialIdComparer.cs index b579335eba..1d20fa423e 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Cultivation/MaterialIdComparer.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Cultivation/MaterialIdComparer.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Primitive; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Cultivation/ProjectAddResultKind.cs b/src/Snap.Hutao/Snap.Hutao/Service/Cultivation/ProjectAddResultKind.cs index ae23680bc6..6f076d0b3b 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Cultivation/ProjectAddResultKind.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Cultivation/ProjectAddResultKind.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Cultivation; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/CultureOptions.cs b/src/Snap.Hutao/Snap.Hutao/Service/CultureOptions.cs index 3a405dd5f3..a335490795 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/CultureOptions.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/CultureOptions.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/CultureOptionsExtension.cs b/src/Snap.Hutao/Snap.Hutao/Service/CultureOptionsExtension.cs index bcdfede12a..c3aa2a2a02 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/CultureOptionsExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/CultureOptionsExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/DailyNoteMetadataContext.cs b/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/DailyNoteMetadataContext.cs index 2bd2ef2920..4d3c16093e 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/DailyNoteMetadataContext.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/DailyNoteMetadataContext.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Metadata; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/DailyNoteNotificationOperation.cs b/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/DailyNoteNotificationOperation.cs index c28efc27d8..f32d55ad0f 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/DailyNoteNotificationOperation.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/DailyNoteNotificationOperation.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.Windows.AppNotifications; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/DailyNoteNotifyInfo.cs b/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/DailyNoteNotifyInfo.cs index 73c2d5f6fa..fa7e84560b 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/DailyNoteNotifyInfo.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/DailyNoteNotifyInfo.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.DailyNote; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/DailyNoteOptions.cs b/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/DailyNoteOptions.cs index 1ac4d8ce35..6c124d378c 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/DailyNoteOptions.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/DailyNoteOptions.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Quartz; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/DailyNoteRepository.cs b/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/DailyNoteRepository.cs index 3fc5715358..4fb3542ff5 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/DailyNoteRepository.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/DailyNoteRepository.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.EntityFrameworkCore; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/DailyNoteService.cs b/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/DailyNoteService.cs index bafd8cd47c..dbac2cb493 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/DailyNoteService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/DailyNoteService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using CommunityToolkit.Mvvm.Messaging; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/DailyNoteWebhookOperation.cs b/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/DailyNoteWebhookOperation.cs index b46c427d62..02af51a583 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/DailyNoteWebhookOperation.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/DailyNoteWebhookOperation.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.DependencyInjection.Annotation.HttpClient; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/IDailyNoteRepository.cs b/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/IDailyNoteRepository.cs index b5eb6c50f0..d614b2e591 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/IDailyNoteRepository.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/IDailyNoteRepository.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Entity; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/IDailyNoteService.cs b/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/IDailyNoteService.cs index 5dd900c79c..ea5808a4a8 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/IDailyNoteService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/IDailyNoteService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Entity; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/NotifySuppression/DailyTaskNotifySuppressionChecker.cs b/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/NotifySuppression/DailyTaskNotifySuppressionChecker.cs index 458150396f..40bd5d645c 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/NotifySuppression/DailyTaskNotifySuppressionChecker.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/NotifySuppression/DailyTaskNotifySuppressionChecker.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.DailyNote.NotifySuppression; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/NotifySuppression/ExpeditionNotifySuppressionChecker.cs b/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/NotifySuppression/ExpeditionNotifySuppressionChecker.cs index 1fbebba7a4..a1d2198374 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/NotifySuppression/ExpeditionNotifySuppressionChecker.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/NotifySuppression/ExpeditionNotifySuppressionChecker.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Web.Hoyolab.Takumi.GameRecord.DailyNote; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/NotifySuppression/HomeCoinNotifySuppressionChecker.cs b/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/NotifySuppression/HomeCoinNotifySuppressionChecker.cs index c63b9aaba8..368941f1ad 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/NotifySuppression/HomeCoinNotifySuppressionChecker.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/NotifySuppression/HomeCoinNotifySuppressionChecker.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.DailyNote.NotifySuppression; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/NotifySuppression/INotifySuppressionChecker.cs b/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/NotifySuppression/INotifySuppressionChecker.cs index 7fdaba92a0..061c140732 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/NotifySuppression/INotifySuppressionChecker.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/NotifySuppression/INotifySuppressionChecker.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.DailyNote.NotifySuppression; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/NotifySuppression/INotifySuppressionContext.cs b/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/NotifySuppression/INotifySuppressionContext.cs index fcab3302ba..5a1ee1714d 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/NotifySuppression/INotifySuppressionContext.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/NotifySuppression/INotifySuppressionContext.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Entity; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/NotifySuppression/NotifySuppressionContext.cs b/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/NotifySuppression/NotifySuppressionContext.cs index aa0e64bd76..7d76a55a1e 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/NotifySuppression/NotifySuppressionContext.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/NotifySuppression/NotifySuppressionContext.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Entity; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/NotifySuppression/NotifySuppressionInvoker.cs b/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/NotifySuppression/NotifySuppressionInvoker.cs index 1392fde6c5..e02390af90 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/NotifySuppression/NotifySuppressionInvoker.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/NotifySuppression/NotifySuppressionInvoker.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Entity; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/NotifySuppression/ResinNotifySuppressionChecker.cs b/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/NotifySuppression/ResinNotifySuppressionChecker.cs index c9cb746148..fdcfec87d4 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/NotifySuppression/ResinNotifySuppressionChecker.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/NotifySuppression/ResinNotifySuppressionChecker.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.DailyNote.NotifySuppression; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/NotifySuppression/TransformerNotifySuppressionChecker.cs b/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/NotifySuppression/TransformerNotifySuppressionChecker.cs index 39f5336e17..2d26df2a69 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/NotifySuppression/TransformerNotifySuppressionChecker.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/DailyNote/NotifySuppression/TransformerNotifySuppressionChecker.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.DailyNote.NotifySuppression; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Discord/DiscordController.cs b/src/Snap.Hutao/Snap.Hutao/Service/Discord/DiscordController.cs index 5c1eafe0ee..f5be2348f6 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Discord/DiscordController.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Discord/DiscordController.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Discord.GameSDK.ABI; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Discord/DiscordService.cs b/src/Snap.Hutao/Snap.Hutao/Service/Discord/DiscordService.cs index 00333fafef..7b1aed906c 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Discord/DiscordService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Discord/DiscordService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Discord/IDiscordService.cs b/src/Snap.Hutao/Snap.Hutao/Service/Discord/IDiscordService.cs index ef9e0e1efe..e60c7af4a7 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Discord/IDiscordService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Discord/IDiscordService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Discord; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Feature/FeatureService.cs b/src/Snap.Hutao/Snap.Hutao/Service/Feature/FeatureService.cs index 7fe8672a41..56bd611e4b 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Feature/FeatureService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Feature/FeatureService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.DependencyInjection.Annotation.HttpClient; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Feature/IFeatureService.cs b/src/Snap.Hutao/Snap.Hutao/Service/Feature/IFeatureService.cs index 131baf6996..5b0f325425 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Feature/IFeatureService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Feature/IFeatureService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Service.Game.Unlocker.Island; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/Factory/GachaStatisticsExtension.cs b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/Factory/GachaStatisticsExtension.cs index ab87170cde..0abfee4ea1 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/Factory/GachaStatisticsExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/Factory/GachaStatisticsExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Metadata.Abstraction; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/Factory/GachaStatisticsFactory.cs b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/Factory/GachaStatisticsFactory.cs index dc9159a245..b6477bee8c 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/Factory/GachaStatisticsFactory.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/Factory/GachaStatisticsFactory.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.ExceptionService; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/Factory/GachaStatisticsFactoryContext.cs b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/Factory/GachaStatisticsFactoryContext.cs index 8e330e956f..f5952b8731 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/Factory/GachaStatisticsFactoryContext.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/Factory/GachaStatisticsFactoryContext.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Web.Hutao.GachaLog; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/Factory/GachaStatisticsSlimFactory.cs b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/Factory/GachaStatisticsSlimFactory.cs index 248dadd46a..7bd4955b2e 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/Factory/GachaStatisticsSlimFactory.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/Factory/GachaStatisticsSlimFactory.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Entity; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/Factory/GachaTypeComparer.cs b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/Factory/GachaTypeComparer.cs index 5a08285fe1..011f375ff7 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/Factory/GachaTypeComparer.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/Factory/GachaTypeComparer.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Web.Hoyolab.Hk4e.Event.GachaInfo; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/Factory/HistoryWishBuilder.cs b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/Factory/HistoryWishBuilder.cs index 83c1343d21..cad6590672 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/Factory/HistoryWishBuilder.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/Factory/HistoryWishBuilder.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Metadata; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/Factory/HutaoStatisticsFactory.cs b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/Factory/HutaoStatisticsFactory.cs index 3938796077..24e6454454 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/Factory/HutaoStatisticsFactory.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/Factory/HutaoStatisticsFactory.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.ExceptionService; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/Factory/HutaoStatisticsFactoryMetadataContext.cs b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/Factory/HutaoStatisticsFactoryMetadataContext.cs index e21dba29cd..b7adb1e4e5 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/Factory/HutaoStatisticsFactoryMetadataContext.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/Factory/HutaoStatisticsFactoryMetadataContext.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Metadata; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/Factory/IGachaStatisticsFactory.cs b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/Factory/IGachaStatisticsFactory.cs index 61590bc532..c9a12e660b 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/Factory/IGachaStatisticsFactory.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/Factory/IGachaStatisticsFactory.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Entity; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/Factory/IGachaStatisticsSlimFactory.cs b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/Factory/IGachaStatisticsSlimFactory.cs index 2abae10a2c..0f23dfb4c7 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/Factory/IGachaStatisticsSlimFactory.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/Factory/IGachaStatisticsSlimFactory.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Entity; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/Factory/PullPrediction.cs b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/Factory/PullPrediction.cs index 0282fb2c3a..3cf1eba11f 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/Factory/PullPrediction.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/Factory/PullPrediction.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.ViewModel.GachaLog; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/Factory/TypedWishSummaryBuilder.cs b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/Factory/TypedWishSummaryBuilder.cs index a501ed019a..0086ac260e 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/Factory/TypedWishSummaryBuilder.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/Factory/TypedWishSummaryBuilder.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Entity; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/Factory/TypedWishSummaryBuilderContext.cs b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/Factory/TypedWishSummaryBuilderContext.cs index f75fb4817c..71745eb01b 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/Factory/TypedWishSummaryBuilderContext.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/Factory/TypedWishSummaryBuilderContext.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Web.Hoyolab.Hk4e.Event.GachaInfo; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/GachaArchiveOperation.cs b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/GachaArchiveOperation.cs index e9e472a80b..986cbf8576 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/GachaArchiveOperation.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/GachaArchiveOperation.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.Database; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/GachaLog.cs b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/GachaLog.cs index 101370d6e3..8d0d123476 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/GachaLog.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/GachaLog.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Web.Hoyolab.Hk4e.Event.GachaInfo; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/GachaLogFetchContext.cs b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/GachaLogFetchContext.cs index 112f48128a..65d6dd7422 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/GachaLogFetchContext.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/GachaLogFetchContext.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.Database; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/GachaLogFetchStatus.cs b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/GachaLogFetchStatus.cs index 190bcac85f..e11501523a 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/GachaLogFetchStatus.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/GachaLogFetchStatus.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/GachaLogHutaoCloudService.cs b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/GachaLogHutaoCloudService.cs index 0e6487895c..fd277ef883 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/GachaLogHutaoCloudService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/GachaLogHutaoCloudService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Entity; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/GachaLogRepository.cs b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/GachaLogRepository.cs index 77d62d535f..e2fa8a87e6 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/GachaLogRepository.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/GachaLogRepository.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.Database; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/GachaLogService.cs b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/GachaLogService.cs index 3cae53ab4c..4395d1ab71 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/GachaLogService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/GachaLogService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.Database; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/GachaLogServiceMetadataContext.cs b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/GachaLogServiceMetadataContext.cs index e2a04b3f22..43fe8ec43d 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/GachaLogServiceMetadataContext.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/GachaLogServiceMetadataContext.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.ExceptionService; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/GachaLogTypedQueryOptions.cs b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/GachaLogTypedQueryOptions.cs index 7469b64bdc..c3a2a467e0 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/GachaLogTypedQueryOptions.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/GachaLogTypedQueryOptions.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Service.GachaLog.QueryProvider; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/GachaLogWishCountdownService.cs b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/GachaLogWishCountdownService.cs index 597e62f5ed..18849ae47f 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/GachaLogWishCountdownService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/GachaLogWishCountdownService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.ExceptionService; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/GachaLogWishCountdownServiceMetadataContext.cs b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/GachaLogWishCountdownServiceMetadataContext.cs index ddb9d7d0ae..0f888d9b9a 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/GachaLogWishCountdownServiceMetadataContext.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/GachaLogWishCountdownServiceMetadataContext.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Metadata; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/IGachaLogHutaoCloudService.cs b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/IGachaLogHutaoCloudService.cs index c000e23a34..59b49a934d 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/IGachaLogHutaoCloudService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/IGachaLogHutaoCloudService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Entity; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/IGachaLogRepository.cs b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/IGachaLogRepository.cs index 4e0c7c0a94..5ac974b5f5 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/IGachaLogRepository.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/IGachaLogRepository.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Entity; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/IGachaLogService.cs b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/IGachaLogService.cs index 18f2763319..01022131d8 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/IGachaLogService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/IGachaLogService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.Database; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/IGachaLogWishCountdownService.cs b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/IGachaLogWishCountdownService.cs index 016c861b3b..1b9860aaba 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/IGachaLogWishCountdownService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/IGachaLogWishCountdownService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.ViewModel.GachaLog; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/QueryProvider/GachaLogQuery.cs b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/QueryProvider/GachaLogQuery.cs index 8dc39a15c4..e98ed17f87 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/QueryProvider/GachaLogQuery.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/QueryProvider/GachaLogQuery.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.GachaLog.QueryProvider; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/QueryProvider/GachaLogQueryManualInputProvider.cs b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/QueryProvider/GachaLogQueryManualInputProvider.cs index f4b0f568a9..5953243c5a 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/QueryProvider/GachaLogQueryManualInputProvider.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/QueryProvider/GachaLogQueryManualInputProvider.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Factory.ContentDialog; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/QueryProvider/GachaLogQuerySTokenProvider.cs b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/QueryProvider/GachaLogQuerySTokenProvider.cs index 8ca272d8ce..eff9be90d0 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/QueryProvider/GachaLogQuerySTokenProvider.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/QueryProvider/GachaLogQuerySTokenProvider.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Service.Notification; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/QueryProvider/GachaLogQueryWebCacheProvider.cs b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/QueryProvider/GachaLogQueryWebCacheProvider.cs index 1e5e4ea0be..f82054af94 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/QueryProvider/GachaLogQueryWebCacheProvider.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/QueryProvider/GachaLogQueryWebCacheProvider.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.IO; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/QueryProvider/IGachaLogQueryProvider.cs b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/QueryProvider/IGachaLogQueryProvider.cs index 9b5e7df6dd..fd8832d56d 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/QueryProvider/IGachaLogQueryProvider.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/QueryProvider/IGachaLogQueryProvider.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.GachaLog.QueryProvider; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/RefreshOption.cs b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/RefreshOption.cs index 60d10bdfca..2e0569628a 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/RefreshOption.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/RefreshOption.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.GachaLog; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/RefreshStrategyKind.cs b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/RefreshStrategyKind.cs index 6b7ed0eb01..78fc065e3b 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/RefreshStrategyKind.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/GachaLog/RefreshStrategyKind.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.GachaLog; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Account/GameAccountService.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Account/GameAccountService.cs index af1e580a0f..cfd582ca5d 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Account/GameAccountService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Account/GameAccountService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.Database; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Account/IGameAccountService.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Account/IGameAccountService.cs index 9c8e462eb1..e0b003718f 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Account/IGameAccountService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Account/IGameAccountService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.Database; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Account/RegistryInterop.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Account/RegistryInterop.cs index 24d5dc3b22..5d47fb89f9 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Account/RegistryInterop.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Account/RegistryInterop.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.Win32; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/AspectRatio.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/AspectRatio.cs index 12e3711627..3effb47b59 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/AspectRatio.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/AspectRatio.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Game; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Automation/ScreenCapture/DirectX.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Automation/ScreenCapture/DirectX.cs index ad2271c323..3b90675366 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Automation/ScreenCapture/DirectX.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Automation/ScreenCapture/DirectX.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Win32.Foundation; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Automation/ScreenCapture/GameScreenCaptureContext.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Automation/ScreenCapture/GameScreenCaptureContext.cs index 2b26c5d335..66b3a156f0 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Automation/ScreenCapture/GameScreenCaptureContext.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Automation/ScreenCapture/GameScreenCaptureContext.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Win32.Foundation; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Automation/ScreenCapture/GameScreenCaptureContextCreationResult.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Automation/ScreenCapture/GameScreenCaptureContextCreationResult.cs index 5662060423..28459bdc59 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Automation/ScreenCapture/GameScreenCaptureContextCreationResult.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Automation/ScreenCapture/GameScreenCaptureContextCreationResult.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Win32.Foundation; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Automation/ScreenCapture/GameScreenCaptureContextCreationResultKind.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Automation/ScreenCapture/GameScreenCaptureContextCreationResultKind.cs index d51c449d20..9f9867a073 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Automation/ScreenCapture/GameScreenCaptureContextCreationResultKind.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Automation/ScreenCapture/GameScreenCaptureContextCreationResultKind.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Game.Automation.ScreenCapture; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Automation/ScreenCapture/GameScreenCaptureMemoryPool.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Automation/ScreenCapture/GameScreenCaptureMemoryPool.cs index 6ff2a46530..6406fc61ec 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Automation/ScreenCapture/GameScreenCaptureMemoryPool.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Automation/ScreenCapture/GameScreenCaptureMemoryPool.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.ExceptionService; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Automation/ScreenCapture/GameScreenCaptureResult.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Automation/ScreenCapture/GameScreenCaptureResult.cs index 75150b9b44..aea3f506ec 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Automation/ScreenCapture/GameScreenCaptureResult.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Automation/ScreenCapture/GameScreenCaptureResult.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Buffers; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Automation/ScreenCapture/GameScreenCaptureService.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Automation/ScreenCapture/GameScreenCaptureService.cs index d471fb0a5d..31ffe08e73 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Automation/ScreenCapture/GameScreenCaptureService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Automation/ScreenCapture/GameScreenCaptureService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Automation/ScreenCapture/GameScreenCaptureSession.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Automation/ScreenCapture/GameScreenCaptureSession.cs index 41980f14a2..b8dcc35cb8 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Automation/ScreenCapture/GameScreenCaptureSession.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Automation/ScreenCapture/GameScreenCaptureSession.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Automation/ScreenCapture/IGameScreenCaptureService.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Automation/ScreenCapture/IGameScreenCaptureService.cs index aeccbc4939..d948ac0639 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Automation/ScreenCapture/IGameScreenCaptureService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Automation/ScreenCapture/IGameScreenCaptureService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Win32.Foundation; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Configuration/ChannelOptions.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Configuration/ChannelOptions.cs index 3a3dac2b73..b5b323458d 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Configuration/ChannelOptions.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Configuration/ChannelOptions.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Configuration/ChannelOptionsErrorKind.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Configuration/ChannelOptionsErrorKind.cs index 50d5f0bad2..66a6e210b4 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Configuration/ChannelOptionsErrorKind.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Configuration/ChannelOptionsErrorKind.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Game.Configuration; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Configuration/GameChannelOptionsService.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Configuration/GameChannelOptionsService.cs index ef6bf023f2..3772d4d727 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Configuration/GameChannelOptionsService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Configuration/GameChannelOptionsService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.IO.Ini; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Configuration/GameConfigurationFileService.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Configuration/GameConfigurationFileService.cs index 43ec922d44..b48d7b733b 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Configuration/GameConfigurationFileService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Configuration/GameConfigurationFileService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Configuration/IGameChannelOptionsService.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Configuration/IGameChannelOptionsService.cs index 671a54af0b..19b9764822 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Configuration/IGameChannelOptionsService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Configuration/IGameChannelOptionsService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Game.Configuration; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Configuration/IGameConfigurationFileService.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Configuration/IGameConfigurationFileService.cs index 2efff37333..da02da5fab 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Configuration/IGameConfigurationFileService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Configuration/IGameConfigurationFileService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Game.Configuration; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Configuration/IgnoredInvalidChannelOptions.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Configuration/IgnoredInvalidChannelOptions.cs index 056eb7ac0f..4ae1c47433 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Configuration/IgnoredInvalidChannelOptions.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Configuration/IgnoredInvalidChannelOptions.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/GameAudioSystem.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/GameAudioSystem.cs index 77ed000eea..05e970eca1 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/GameAudioSystem.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/GameAudioSystem.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.IO; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/GameConstants.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/GameConstants.cs index eb8ad135e4..5746d3928b 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/GameConstants.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/GameConstants.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Game; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/GameFileOperationException.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/GameFileOperationException.cs index 8814710128..e482801781 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/GameFileOperationException.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/GameFileOperationException.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Game; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/GameFileSystem.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/GameFileSystem.cs index 62553f5f46..f75ec1211b 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/GameFileSystem.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/GameFileSystem.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Service.Game.Package.Advanced; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/GameFileSystemExtension.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/GameFileSystemExtension.cs index c0dca22a52..8e8fdf786d 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/GameFileSystemExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/GameFileSystemExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.ExceptionService; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/GameRepository.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/GameRepository.cs index da075c69ac..98c2e03b03 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/GameRepository.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/GameRepository.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.Database; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/GameServiceFacade.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/GameServiceFacade.cs index 69416c8cbc..bbeeeeedb8 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/GameServiceFacade.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/GameServiceFacade.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.Database; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/GameServiceFacadeExtension.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/GameServiceFacadeExtension.cs index 6b110e5830..8dfbc0ff93 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/GameServiceFacadeExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/GameServiceFacadeExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Entity; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/IGameRepository.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/IGameRepository.cs index 3ea7075fd0..fc4c10a913 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/IGameRepository.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/IGameRepository.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.Database; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/IGameServiceFacade.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/IGameServiceFacade.cs index 354d637c76..d013ae781e 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/IGameServiceFacade.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/IGameServiceFacade.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.Database; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/LaunchOptions.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/LaunchOptions.cs index 61ac0ddbcc..e52e073bec 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/LaunchOptions.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/LaunchOptions.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using CommunityToolkit.Mvvm.Messaging; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/LaunchOptionsExtension.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/LaunchOptionsExtension.cs index db2752173d..d852efc180 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/LaunchOptionsExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/LaunchOptionsExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Collections.Immutable; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/LaunchOptionsIslandFeatureStateMachine.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/LaunchOptionsIslandFeatureStateMachine.cs index b824625177..9959ed7979 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/LaunchOptionsIslandFeatureStateMachine.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/LaunchOptionsIslandFeatureStateMachine.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using CommunityToolkit.Mvvm.ComponentModel; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/LaunchPhase.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/LaunchPhase.cs index 3fdaf4935c..22f6c12f9a 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/LaunchPhase.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/LaunchPhase.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Game; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/LaunchStatus.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/LaunchStatus.cs index 10640ef06d..ea33250373 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/LaunchStatus.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/LaunchStatus.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Game; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/LaunchStatusOptions.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/LaunchStatusOptions.cs index 9cb3d3466f..0a1d2d0c43 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/LaunchStatusOptions.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/LaunchStatusOptions.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using CommunityToolkit.Mvvm.ComponentModel; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionBetterGenshinImpactAutomationHandlder.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionBetterGenshinImpactAutomationHandlder.cs index d86bad9dd6..485939342f 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionBetterGenshinImpactAutomationHandlder.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionBetterGenshinImpactAutomationHandlder.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Windows.System; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionEnsureGameNotRunningHandler.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionEnsureGameNotRunningHandler.cs index d207f65ffb..ac1bc5376f 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionEnsureGameNotRunningHandler.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionEnsureGameNotRunningHandler.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Diagnostics; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionEnsureGameResourceHandler.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionEnsureGameResourceHandler.cs index 6744f12c4e..56a78b64c1 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionEnsureGameResourceHandler.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionEnsureGameResourceHandler.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.Win32.SafeHandles; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionEnsureSchemeHandler.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionEnsureSchemeHandler.cs index bfb224dabf..7c1a0d1b13 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionEnsureSchemeHandler.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionEnsureSchemeHandler.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Game.Launching.Handler; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionGameProcessExitHandler.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionGameProcessExitHandler.cs index cbd10715af..1c7f816098 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionGameProcessExitHandler.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionGameProcessExitHandler.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Game.Launching.Handler; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionGameProcessInitializationHandler.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionGameProcessInitializationHandler.cs index ce6a71c442..1e0fb85cbe 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionGameProcessInitializationHandler.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionGameProcessInitializationHandler.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionGameProcessStartHandler.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionGameProcessStartHandler.cs index 94a8e6733e..9a4239fc71 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionGameProcessStartHandler.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionGameProcessStartHandler.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using CommunityToolkit.Mvvm.Messaging; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionSetChannelOptionsHandler.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionSetChannelOptionsHandler.cs index fd9350fede..051483a31b 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionSetChannelOptionsHandler.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionSetChannelOptionsHandler.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.IO.Ini; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionSetDiscordActivityHandler.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionSetDiscordActivityHandler.cs index a76fc08a70..338dba6a0b 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionSetDiscordActivityHandler.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionSetDiscordActivityHandler.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Service.Discord; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionSetGameAccountHandler.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionSetGameAccountHandler.cs index 22d8d90bf4..6871bdced7 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionSetGameAccountHandler.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionSetGameAccountHandler.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.DependencyInjection.Abstraction; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionSetWindowsHDRHandler.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionSetWindowsHDRHandler.cs index a59b89c406..3f0261e4ea 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionSetWindowsHDRHandler.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionSetWindowsHDRHandler.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Service.Game.Account; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionStarwardPlayTimeStatisticsHandler.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionStarwardPlayTimeStatisticsHandler.cs index 80d9cd9cf1..9e198621be 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionStarwardPlayTimeStatisticsHandler.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionStarwardPlayTimeStatisticsHandler.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Windows.System; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionStatusProgressHandler.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionStatusProgressHandler.cs index 17f9eab724..fc7510fcea 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionStatusProgressHandler.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionStatusProgressHandler.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Factory.Progress; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionUnlockFpsHandler.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionUnlockFpsHandler.cs index d420f69bd5..0a44d641b3 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionUnlockFpsHandler.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/Handler/LaunchExecutionUnlockFpsHandler.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/ILaunchExecutionDelegateHandler.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/ILaunchExecutionDelegateHandler.cs index 78ff79ad2a..eea8fa9f72 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/ILaunchExecutionDelegateHandler.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/ILaunchExecutionDelegateHandler.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Game.Launching; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/LaunchExecutionContext.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/LaunchExecutionContext.cs index 218afa76e2..1cf45a3299 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/LaunchExecutionContext.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/LaunchExecutionContext.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Entity; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/LaunchExecutionInvoker.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/LaunchExecutionInvoker.cs index 3e45c1891d..a17d8e610c 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/LaunchExecutionInvoker.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/LaunchExecutionInvoker.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using CommunityToolkit.Mvvm.Messaging; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/LaunchExecutionProcessStatusChangedMessage.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/LaunchExecutionProcessStatusChangedMessage.cs index 394e9f9116..46e4d43259 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/LaunchExecutionProcessStatusChangedMessage.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/LaunchExecutionProcessStatusChangedMessage.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Game.Launching; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/LaunchExecutionResult.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/LaunchExecutionResult.cs index f4272c36d7..0790b701f3 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/LaunchExecutionResult.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/LaunchExecutionResult.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Game.Launching; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/LaunchExecutionResultKind.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/LaunchExecutionResultKind.cs index deaddc89ab..b3820dda06 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/LaunchExecutionResultKind.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Launching/LaunchExecutionResultKind.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Game.Launching; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Locator/GameLocationSource.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Locator/GameLocationSource.cs index 44e82b14b2..e7834e8c1e 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Locator/GameLocationSource.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Locator/GameLocationSource.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Game.Locator; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Locator/GameLocatorFactory.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Locator/GameLocatorFactory.cs index c57887caea..ce0ce02232 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Locator/GameLocatorFactory.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Locator/GameLocatorFactory.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Game.Locator; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Locator/GameLocatorFactoryExtensions.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Locator/GameLocatorFactoryExtensions.cs index 9349a6d273..1ac08b43b1 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Locator/GameLocatorFactoryExtensions.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Locator/GameLocatorFactoryExtensions.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Game.Locator; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Locator/IGameLocator.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Locator/IGameLocator.cs index 0fc2b1b150..758f341f82 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Locator/IGameLocator.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Locator/IGameLocator.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Game.Locator; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Locator/IGameLocatorFactory.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Locator/IGameLocatorFactory.cs index 0095f816bb..c1e4749f5e 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Locator/IGameLocatorFactory.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Locator/IGameLocatorFactory.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Game.Locator; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Locator/ManualGameLocator.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Locator/ManualGameLocator.cs index dbb6b168cf..11ebdf7cc1 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Locator/ManualGameLocator.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Locator/ManualGameLocator.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.IO; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Locator/RegistryLauncherLocator.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Locator/RegistryLauncherLocator.cs index 019604496c..3fa74a5e7c 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Locator/RegistryLauncherLocator.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Locator/RegistryLauncherLocator.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.Win32; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Locator/UnityLogGameLocator.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Locator/UnityLogGameLocator.cs index e7dce5c119..04e7900a09 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Locator/UnityLogGameLocator.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Locator/UnityLogGameLocator.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.IO; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GameAssetOperation.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GameAssetOperation.cs index ba286702e3..e67273e406 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GameAssetOperation.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GameAssetOperation.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Google.Protobuf.Collections; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GameAssetOperationFactory.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GameAssetOperationFactory.cs index 6a4372ec73..40737d662f 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GameAssetOperationFactory.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GameAssetOperationFactory.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.DependencyInjection.Abstraction; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GameAssetOperationHDD.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GameAssetOperationHDD.cs index 673efde34b..2d3a08bb4e 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GameAssetOperationHDD.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GameAssetOperationHDD.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.Win32.SafeHandles; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GameAssetOperationSSD.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GameAssetOperationSSD.cs index ddbc23fd55..772b7ab9e2 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GameAssetOperationSSD.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GameAssetOperationSSD.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.Win32.SafeHandles; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GameInstallOptions.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GameInstallOptions.cs index 6bf38952e3..89df496c02 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GameInstallOptions.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GameInstallOptions.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.Abstraction; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GamePackageIntegrityInfo.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GamePackageIntegrityInfo.cs index bd314411aa..dbf1b8259c 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GamePackageIntegrityInfo.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GamePackageIntegrityInfo.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Web.Hoyolab.HoyoPlay.Connect.ChannelSDK; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GamePackageOperationContext.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GamePackageOperationContext.cs index 1321b62889..25f7bb1193 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GamePackageOperationContext.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GamePackageOperationContext.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.DependencyInjection.Abstraction; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GamePackageOperationKind.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GamePackageOperationKind.cs index a0695130ba..05e0f703f4 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GamePackageOperationKind.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GamePackageOperationKind.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Game.Package.Advanced; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GamePackageOperationReport.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GamePackageOperationReport.cs index 8e4fee223c..7c5494008a 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GamePackageOperationReport.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GamePackageOperationReport.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Game.Package.Advanced; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GamePackageOperationReportKind.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GamePackageOperationReportKind.cs index bc2c08b4f3..294a4434c1 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GamePackageOperationReportKind.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GamePackageOperationReportKind.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Game.Package.Advanced; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GamePackageService.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GamePackageService.cs index 4294071c67..ac7b56d413 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GamePackageService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GamePackageService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.ComponentModel; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GamePackageServiceContext.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GamePackageServiceContext.cs index 116b629ccc..ce90dfc729 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GamePackageServiceContext.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/GamePackageServiceContext.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using CommunityToolkit.Common; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/IGameAssetOperation.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/IGameAssetOperation.cs index 4aaeae3311..7d9a21e16d 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/IGameAssetOperation.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/IGameAssetOperation.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Game.Package.Advanced; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/IGamePackageService.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/IGamePackageService.cs index 66abed0ddc..7254677ccd 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/IGamePackageService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/IGamePackageService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Game.Package.Advanced; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/PredownloadStatus.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/PredownloadStatus.cs index 68f6f08517..1903fa6dfb 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/PredownloadStatus.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/PredownloadStatus.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Game.Package.Advanced; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/SophonAsset.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/SophonAsset.cs index 2e95dd1d22..96ca3390d6 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/SophonAsset.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/SophonAsset.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Web.Hoyolab.Takumi.Downloader.Proto; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/SophonAssetOperation.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/SophonAssetOperation.cs index e6d4e77a9e..4e8a3a42af 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/SophonAssetOperation.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/SophonAssetOperation.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Web.Hoyolab.Takumi.Downloader.Proto; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/SophonAssetOperationKind.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/SophonAssetOperationKind.cs index 9d1298fc7a..d041acec31 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/SophonAssetOperationKind.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/SophonAssetOperationKind.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Game.Package.Advanced; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/SophonChunk.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/SophonChunk.cs index 1b5b526f51..d520f192bf 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/SophonChunk.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/SophonChunk.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Web.Hoyolab.Takumi.Downloader.Proto; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/SophonDecodedBuild.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/SophonDecodedBuild.cs index 310be2b402..18b8512459 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/SophonDecodedBuild.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/SophonDecodedBuild.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Web.Hoyolab.Takumi.Downloader.Proto; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/SophonDecodedManifest.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/SophonDecodedManifest.cs index f8af5f3a10..7f32d52ecb 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/SophonDecodedManifest.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/Advanced/SophonDecodedManifest.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Web.Hoyolab.Takumi.Downloader.Proto; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/IPackageConverter.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/IPackageConverter.cs index 225d0e5120..dfab4084fe 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/IPackageConverter.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/IPackageConverter.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Game.Package; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/PackageConvertStatus.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/PackageConvertStatus.cs index df79019876..a83797a3f5 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/PackageConvertStatus.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/PackageConvertStatus.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using CommunityToolkit.Common; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/PackageConverterContext.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/PackageConverterContext.cs index 13abda7f3f..576c4b19b1 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/PackageConverterContext.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/PackageConverterContext.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/PackageConverterType.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/PackageConverterType.cs index 5424cdc574..c49698f115 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/PackageConverterType.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/PackageConverterType.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Game.Package; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/PackageItemOperationForSophonChunks.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/PackageItemOperationForSophonChunks.cs index 54d41e0e9c..b74e378dd1 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/PackageItemOperationForSophonChunks.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/PackageItemOperationForSophonChunks.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Service.Game.Package.Advanced; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/PackageItemOperationInfo.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/PackageItemOperationInfo.cs index 7da01b888d..cac36620bd 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/PackageItemOperationInfo.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/PackageItemOperationInfo.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Diagnostics; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/PackageItemOperationKind.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/PackageItemOperationKind.cs index 81a5c2749a..4eba43bcb2 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/PackageItemOperationKind.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/PackageItemOperationKind.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Game.Package; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/ScatteredFilesPackageConverter.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/ScatteredFilesPackageConverter.cs index 8a89023609..5a09179337 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/ScatteredFilesPackageConverter.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/ScatteredFilesPackageConverter.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.ExceptionService; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/VersionItem.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/VersionItem.cs index a2fa530620..7c5f5e8e59 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/VersionItem.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Package/VersionItem.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Game.Package; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/PathAbstraction/GamePathEntry.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/PathAbstraction/GamePathEntry.cs index f73be7ef7d..6e3b3a6091 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/PathAbstraction/GamePathEntry.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/PathAbstraction/GamePathEntry.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Game.PathAbstraction; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/PathAbstraction/GamePathEntryKind.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/PathAbstraction/GamePathEntryKind.cs index 16b5ed047e..ee412ee3f8 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/PathAbstraction/GamePathEntryKind.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/PathAbstraction/GamePathEntryKind.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Game.PathAbstraction; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/PathAbstraction/GamePathService.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/PathAbstraction/GamePathService.cs index 04af2c9d8a..0ec69c63bc 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/PathAbstraction/GamePathService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/PathAbstraction/GamePathService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Service.Game.Locator; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/PathAbstraction/IGamePathService.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/PathAbstraction/IGamePathService.cs index 3c01c01cbb..245982ad05 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/PathAbstraction/IGamePathService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/PathAbstraction/IGamePathService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Game.PathAbstraction; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/RestrictedGamePathAccessExtension.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/RestrictedGamePathAccessExtension.cs index ac6a748cfe..2b0428d50f 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/RestrictedGamePathAccessExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/RestrictedGamePathAccessExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.ExceptionService; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Scheme/KnownLaunchSchemes.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Scheme/KnownLaunchSchemes.cs index 1240c89300..35842d0faf 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Scheme/KnownLaunchSchemes.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Scheme/KnownLaunchSchemes.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Scheme/LaunchScheme.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Scheme/LaunchScheme.cs index f925dd2f0b..d22c2a48c6 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Scheme/LaunchScheme.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Scheme/LaunchScheme.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Scheme/LaunchSchemeBilibili.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Scheme/LaunchSchemeBilibili.cs index 39af831fa4..7b14594378 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Scheme/LaunchSchemeBilibili.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Scheme/LaunchSchemeBilibili.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Scheme/LaunchSchemeChinese.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Scheme/LaunchSchemeChinese.cs index e20fb922e1..aeabbe1dd1 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Scheme/LaunchSchemeChinese.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Scheme/LaunchSchemeChinese.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Scheme/LaunchSchemeExtension.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Scheme/LaunchSchemeExtension.cs index 196adf2ee8..0b762e28a6 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Scheme/LaunchSchemeExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Scheme/LaunchSchemeExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Entity.Primitive; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Scheme/LaunchSchemeOversea.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Scheme/LaunchSchemeOversea.cs index 45df3e7402..9aa4b728e9 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Scheme/LaunchSchemeOversea.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Scheme/LaunchSchemeOversea.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Unlocker/GameFpsUnlocker.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Unlocker/GameFpsUnlocker.cs index 1072f6c730..4bf3ef7cbb 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Unlocker/GameFpsUnlocker.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Unlocker/GameFpsUnlocker.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Unlocker/GameFpsUnlockerContext.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Unlocker/GameFpsUnlockerContext.cs index 36a5799042..3b6bceca3c 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Unlocker/GameFpsUnlockerContext.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Unlocker/GameFpsUnlockerContext.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Diagnostics; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Unlocker/IGameFpsUnlocker.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Unlocker/IGameFpsUnlocker.cs index 07a7bb4b72..29e1feb8e4 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Unlocker/IGameFpsUnlocker.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Unlocker/IGameFpsUnlocker.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Game.Unlocker; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Unlocker/Island/IslandEnvironment.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Unlocker/Island/IslandEnvironment.cs index 1e6d4b2de0..68ecc92d46 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Unlocker/Island/IslandEnvironment.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Unlocker/Island/IslandEnvironment.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Win32.Foundation; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Unlocker/Island/IslandEnvironmentView.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Unlocker/Island/IslandEnvironmentView.cs index 1b0c3f6bee..30235a479e 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Unlocker/Island/IslandEnvironmentView.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Unlocker/Island/IslandEnvironmentView.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Win32.Foundation; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Unlocker/Island/IslandFeature.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Unlocker/Island/IslandFeature.cs index 1f4cf24aa4..6ff825d02d 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Unlocker/Island/IslandFeature.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Unlocker/Island/IslandFeature.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Game.Unlocker.Island; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Unlocker/Island/IslandFunctionOffsets.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Unlocker/Island/IslandFunctionOffsets.cs index 1cbbbe0974..fe313556d7 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Unlocker/Island/IslandFunctionOffsets.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Unlocker/Island/IslandFunctionOffsets.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Game.Unlocker.Island; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Unlocker/Island/IslandState.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Unlocker/Island/IslandState.cs index 149143589b..6e3439de32 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Unlocker/Island/IslandState.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Unlocker/Island/IslandState.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Game.Unlocker.Island; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Geetest/AigisSession.cs b/src/Snap.Hutao/Snap.Hutao/Service/Geetest/AigisSession.cs index a762b54d2a..0fb04c9333 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Geetest/AigisSession.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Geetest/AigisSession.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Geetest; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Geetest/GeetestService.cs b/src/Snap.Hutao/Snap.Hutao/Service/Geetest/GeetestService.cs index 6219b26371..7d810dbc6a 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Geetest/GeetestService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Geetest/GeetestService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.LifeCycle; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Geetest/GeetestVerification.cs b/src/Snap.Hutao/Snap.Hutao/Service/Geetest/GeetestVerification.cs index 8c6d44a846..c6eed395fd 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Geetest/GeetestVerification.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Geetest/GeetestVerification.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Geetest; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Geetest/GeetestWebResponse.cs b/src/Snap.Hutao/Snap.Hutao/Service/Geetest/GeetestWebResponse.cs index ce79020a6f..a05ecf8f30 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Geetest/GeetestWebResponse.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Geetest/GeetestWebResponse.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Geetest; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Geetest/IGeetestService.cs b/src/Snap.Hutao/Snap.Hutao/Service/Geetest/IGeetestService.cs index 87a9f92b5b..4ddab95ce0 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Geetest/IGeetestService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Geetest/IGeetestService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Web.Hoyolab.Passport; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Hutao/HutaoAsAService.cs b/src/Snap.Hutao/Snap.Hutao/Service/Hutao/HutaoAsAService.cs index 7cb9547f95..b73ea99b75 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Hutao/HutaoAsAService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Hutao/HutaoAsAService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using CommunityToolkit.Mvvm.Input; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Hutao/HutaoRoleCombatService.cs b/src/Snap.Hutao/Snap.Hutao/Service/Hutao/HutaoRoleCombatService.cs index f8619a4f8d..d8d9097e15 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Hutao/HutaoRoleCombatService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Hutao/HutaoRoleCombatService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Web.Hutao.RoleCombat; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Hutao/HutaoRoleCombatStatisticsCache.cs b/src/Snap.Hutao/Snap.Hutao/Service/Hutao/HutaoRoleCombatStatisticsCache.cs index f2e352cd6b..dd1d0774eb 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Hutao/HutaoRoleCombatStatisticsCache.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Hutao/HutaoRoleCombatStatisticsCache.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Metadata.Avatar; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Hutao/HutaoSpiralAbyssService.cs b/src/Snap.Hutao/Snap.Hutao/Service/Hutao/HutaoSpiralAbyssService.cs index fa3b5f021d..c7d71e2b36 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Hutao/HutaoSpiralAbyssService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Hutao/HutaoSpiralAbyssService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Web.Hutao.SpiralAbyss; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Hutao/HutaoSpiralAbyssStatisticsCache.cs b/src/Snap.Hutao/Snap.Hutao/Service/Hutao/HutaoSpiralAbyssStatisticsCache.cs index 1b0574111c..eeea9c43c4 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Hutao/HutaoSpiralAbyssStatisticsCache.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Hutao/HutaoSpiralAbyssStatisticsCache.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Metadata.Avatar; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Hutao/HutaoUserOptions.cs b/src/Snap.Hutao/Snap.Hutao/Service/Hutao/HutaoUserOptions.cs index 5004825ed4..eacb4c64fb 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Hutao/HutaoUserOptions.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Hutao/HutaoUserOptions.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using CommunityToolkit.Mvvm.ComponentModel; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Hutao/HutaoUserOptionsExtension.cs b/src/Snap.Hutao/Snap.Hutao/Service/Hutao/HutaoUserOptionsExtension.cs index 065587c82f..40f1f2b232 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Hutao/HutaoUserOptionsExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Hutao/HutaoUserOptionsExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.Setting; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Hutao/HutaoUserService.cs b/src/Snap.Hutao/Snap.Hutao/Service/Hutao/HutaoUserService.cs index ff472b00c5..6e905b8ef3 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Hutao/HutaoUserService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Hutao/HutaoUserService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.Setting; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Hutao/IHutaoAsAService.cs b/src/Snap.Hutao/Snap.Hutao/Service/Hutao/IHutaoAsAService.cs index 5a18da7866..028e7a98d3 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Hutao/IHutaoAsAService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Hutao/IHutaoAsAService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Collections.ObjectModel; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Hutao/IHutaoRoleCombatService.cs b/src/Snap.Hutao/Snap.Hutao/Service/Hutao/IHutaoRoleCombatService.cs index 5001377c65..df24de3696 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Hutao/IHutaoRoleCombatService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Hutao/IHutaoRoleCombatService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Web.Hutao.RoleCombat; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Hutao/IHutaoRoleCombatStatisticsCache.cs b/src/Snap.Hutao/Snap.Hutao/Service/Hutao/IHutaoRoleCombatStatisticsCache.cs index 5abb37e8e9..ec787ef12c 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Hutao/IHutaoRoleCombatStatisticsCache.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Hutao/IHutaoRoleCombatStatisticsCache.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.ViewModel.Complex; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Hutao/IHutaoSpiralAbyssService.cs b/src/Snap.Hutao/Snap.Hutao/Service/Hutao/IHutaoSpiralAbyssService.cs index aed5bceee9..6e980c02a5 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Hutao/IHutaoSpiralAbyssService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Hutao/IHutaoSpiralAbyssService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Web.Hutao.SpiralAbyss; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Hutao/IHutaoSpiralAbyssStatisticsCache.cs b/src/Snap.Hutao/Snap.Hutao/Service/Hutao/IHutaoSpiralAbyssStatisticsCache.cs index 2bc14b6549..9c658394e8 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Hutao/IHutaoSpiralAbyssStatisticsCache.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Hutao/IHutaoSpiralAbyssStatisticsCache.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Primitive; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Hutao/IHutaoUserService.cs b/src/Snap.Hutao/Snap.Hutao/Service/Hutao/IHutaoUserService.cs index 2bc3641e13..19dff7eeca 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Hutao/IHutaoUserService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Hutao/IHutaoUserService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Hutao; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Hutao/IHutaoUserServiceInitialization.cs b/src/Snap.Hutao/Snap.Hutao/Service/Hutao/IHutaoUserServiceInitialization.cs index 608c69e35f..9a97c3a366 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Hutao/IHutaoUserServiceInitialization.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Hutao/IHutaoUserServiceInitialization.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Hutao; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Hutao/IObjectCacheRepository.cs b/src/Snap.Hutao/Snap.Hutao/Service/Hutao/IObjectCacheRepository.cs index 7fa989b36b..8e963730fa 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Hutao/IObjectCacheRepository.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Hutao/IObjectCacheRepository.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Entity; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Hutao/ObjectCacheRepository.cs b/src/Snap.Hutao/Snap.Hutao/Service/Hutao/ObjectCacheRepository.cs index b502a30c82..3d18378a1a 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Hutao/ObjectCacheRepository.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Hutao/ObjectCacheRepository.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Service.Abstraction; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Hutao/ObjectCacheService.cs b/src/Snap.Hutao/Snap.Hutao/Service/Hutao/ObjectCacheService.cs index e0af8cc004..f5e77d3b85 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Hutao/ObjectCacheService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Hutao/ObjectCacheService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.Extensions.Caching.Memory; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Inventory/IInventoryRepository.cs b/src/Snap.Hutao/Snap.Hutao/Service/Inventory/IInventoryRepository.cs index ecb1c4cb22..263c5fe455 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Inventory/IInventoryRepository.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Inventory/IInventoryRepository.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Entity; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Inventory/IInventoryService.cs b/src/Snap.Hutao/Snap.Hutao/Service/Inventory/IInventoryService.cs index 4278bfe74b..efa1cc5c6e 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Inventory/IInventoryService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Inventory/IInventoryService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Entity; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Inventory/InventoryRepository.cs b/src/Snap.Hutao/Snap.Hutao/Service/Inventory/InventoryRepository.cs index 2b8db3cb18..eda23b5a3a 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Inventory/InventoryRepository.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Inventory/InventoryRepository.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Entity; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Inventory/InventoryService.cs b/src/Snap.Hutao/Snap.Hutao/Service/Inventory/InventoryService.cs index c6ffd55c79..5ac8416421 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Inventory/InventoryService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Inventory/InventoryService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Entity; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Inventory/PromotionDeltaFactory.cs b/src/Snap.Hutao/Snap.Hutao/Service/Inventory/PromotionDeltaFactory.cs index 89b0794c07..e6b45a5712 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Inventory/PromotionDeltaFactory.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Inventory/PromotionDeltaFactory.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.Extensions.Caching.Memory; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Job/DailyNoteRefreshJob.cs b/src/Snap.Hutao/Snap.Hutao/Service/Job/DailyNoteRefreshJob.cs index aa4099ae92..e0801b5868 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Job/DailyNoteRefreshJob.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Job/DailyNoteRefreshJob.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Quartz; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Job/DailyNoteRefreshJobScheduler.cs b/src/Snap.Hutao/Snap.Hutao/Service/Job/DailyNoteRefreshJobScheduler.cs index eaf3f257bb..e528f86a34 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Job/DailyNoteRefreshJobScheduler.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Job/DailyNoteRefreshJobScheduler.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Quartz; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Job/IJobScheduler.cs b/src/Snap.Hutao/Snap.Hutao/Service/Job/IJobScheduler.cs index 11bfd760b7..4638553f19 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Job/IJobScheduler.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Job/IJobScheduler.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Quartz; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Job/IQuartzService.cs b/src/Snap.Hutao/Snap.Hutao/Service/Job/IQuartzService.cs index e59614e130..f912b5755f 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Job/IQuartzService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Job/IQuartzService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Quartz; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Job/JobIdentity.cs b/src/Snap.Hutao/Snap.Hutao/Service/Job/JobIdentity.cs index 31de578472..6694ed062c 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Job/JobIdentity.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Job/JobIdentity.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Job; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Job/QuartzService.cs b/src/Snap.Hutao/Snap.Hutao/Service/Job/QuartzService.cs index 869e65d626..826312844c 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Job/QuartzService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Job/QuartzService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Quartz; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/KnownRegions.cs b/src/Snap.Hutao/Snap.Hutao/Service/KnownRegions.cs index 1d256c9c42..019368cbc9 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/KnownRegions.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/KnownRegions.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/LocaleNames.cs b/src/Snap.Hutao/Snap.Hutao/Service/LocaleNames.cs index 662fb0fc58..0698616a49 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/LocaleNames.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/LocaleNames.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataArrayAchievementSource.cs b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataArrayAchievementSource.cs index 06e0def271..970f697347 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataArrayAchievementSource.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataArrayAchievementSource.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Collections.Immutable; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataArrayAvatarSource.cs b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataArrayAvatarSource.cs index 58f15c5ea5..3a80a1dc46 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataArrayAvatarSource.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataArrayAvatarSource.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Metadata.Avatar; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataArrayChapterSource.cs b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataArrayChapterSource.cs index 684d800ff9..e7949b2fec 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataArrayChapterSource.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataArrayChapterSource.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Metadata; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataArrayGachaEventSource.cs b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataArrayGachaEventSource.cs index fa79153341..f54a7e34f9 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataArrayGachaEventSource.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataArrayGachaEventSource.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Metadata; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataArrayMaterialSource.cs b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataArrayMaterialSource.cs index 179effa29b..4ccb03a21c 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataArrayMaterialSource.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataArrayMaterialSource.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Metadata.Item; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataArrayMonsterSource.cs b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataArrayMonsterSource.cs index 7c7896a8a7..4547fe1dc3 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataArrayMonsterSource.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataArrayMonsterSource.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Metadata.Monster; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataArrayProfilePictureSource.cs b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataArrayProfilePictureSource.cs index 6f4f7ea62d..9ba159d833 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataArrayProfilePictureSource.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataArrayProfilePictureSource.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Metadata.Avatar; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataArrayReliquaryMainAffixLevelSource.cs b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataArrayReliquaryMainAffixLevelSource.cs index 35c8b7a7ee..81848acfc6 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataArrayReliquaryMainAffixLevelSource.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataArrayReliquaryMainAffixLevelSource.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Metadata.Reliquary; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataArrayReliquarySource.cs b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataArrayReliquarySource.cs index 5847a9d3db..32e23cf2ad 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataArrayReliquarySource.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataArrayReliquarySource.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Metadata.Reliquary; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataArrayWeaponSource.cs b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataArrayWeaponSource.cs index 96be162d67..a5080a1e8b 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataArrayWeaponSource.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataArrayWeaponSource.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Metadata.Weapon; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataContext.cs b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataContext.cs index ca35233ea7..2d095ee3eb 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataContext.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataContext.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Metadata.ContextAbstraction; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdAchievementSource.cs b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdAchievementSource.cs index 112ac8f0ed..15ddbace55 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdAchievementSource.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdAchievementSource.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Primitive; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdArrayTowerLevelSource.cs b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdArrayTowerLevelSource.cs index 2bf6bca0a4..7910896915 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdArrayTowerLevelSource.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdArrayTowerLevelSource.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Metadata.Tower; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdAvatarSource.cs b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdAvatarSource.cs index ec1c12621c..98ff9430d9 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdAvatarSource.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdAvatarSource.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Primitive; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdAvatarWithPlayersSource.cs b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdAvatarWithPlayersSource.cs index ae769f4aab..b12b113d39 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdAvatarWithPlayersSource.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdAvatarWithPlayersSource.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Metadata.ContextAbstraction; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdDictionaryLevelAvatarPromoteSource.cs b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdDictionaryLevelAvatarPromoteSource.cs index 319b83b275..87757ca27b 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdDictionaryLevelAvatarPromoteSource.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdDictionaryLevelAvatarPromoteSource.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Metadata; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdDictionaryLevelWeaponPromoteSource.cs b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdDictionaryLevelWeaponPromoteSource.cs index c4ff2cf739..d5d477099d 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdDictionaryLevelWeaponPromoteSource.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdDictionaryLevelWeaponPromoteSource.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Metadata; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdDisplayItemAndMaterialSource.cs b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdDisplayItemAndMaterialSource.cs index 9c99622f8b..bbd26739dc 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdDisplayItemAndMaterialSource.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdDisplayItemAndMaterialSource.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Metadata.Item; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdMaterialSource.cs b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdMaterialSource.cs index ceaa68df56..70807b0736 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdMaterialSource.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdMaterialSource.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Metadata.Item; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdMonsterSource.cs b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdMonsterSource.cs index 3e6b187da5..f24f48d336 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdMonsterSource.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdMonsterSource.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Metadata.Monster; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdReliquaryMainPropertySource.cs b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdReliquaryMainPropertySource.cs index 3d12986b6f..e3f6fbe9a3 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdReliquaryMainPropertySource.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdReliquaryMainPropertySource.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdReliquarySetSource.cs b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdReliquarySetSource.cs index def78e3f0a..8e25dfdd28 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdReliquarySetSource.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdReliquarySetSource.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Metadata.Reliquary; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdReliquarySource.cs b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdReliquarySource.cs index fcfc7a4b29..6ea2c99ab6 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdReliquarySource.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdReliquarySource.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Metadata.Reliquary; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdReliquarySubAffixSource.cs b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdReliquarySubAffixSource.cs index 32a867f3ae..70af9202ae 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdReliquarySubAffixSource.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdReliquarySubAffixSource.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Metadata.Reliquary; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdRoleCombatScheduleSource.cs b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdRoleCombatScheduleSource.cs index 38ea9e02df..5ba4fe8672 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdRoleCombatScheduleSource.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdRoleCombatScheduleSource.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Metadata; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdTowerFloorSource.cs b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdTowerFloorSource.cs index ecb04a0545..d0691ca02c 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdTowerFloorSource.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdTowerFloorSource.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Metadata.Tower; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdTowerScheduleSource.cs b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdTowerScheduleSource.cs index 1ab66af72d..d25547300d 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdTowerScheduleSource.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdTowerScheduleSource.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Metadata.Tower; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdWeaponSource.cs b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdWeaponSource.cs index 1e45d22d41..1f7e8eba26 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdWeaponSource.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryIdWeaponSource.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Primitive; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryLevelAvaterGrowCurveSource.cs b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryLevelAvaterGrowCurveSource.cs index d11e382565..04d0fcd141 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryLevelAvaterGrowCurveSource.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryLevelAvaterGrowCurveSource.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryLevelMonsterGrowCurveSource.cs b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryLevelMonsterGrowCurveSource.cs index dec0e87c3d..7006b090ca 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryLevelMonsterGrowCurveSource.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryLevelMonsterGrowCurveSource.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryLevelWeaponGrowCurveSource.cs b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryLevelWeaponGrowCurveSource.cs index 7cf073eb43..565e3cfa64 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryLevelWeaponGrowCurveSource.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryLevelWeaponGrowCurveSource.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Intrinsic; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryNameAvatarSource.cs b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryNameAvatarSource.cs index a42db74bf9..e4fdde9ad2 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryNameAvatarSource.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryNameAvatarSource.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Collections.Immutable; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryNameWeaponSource.cs b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryNameWeaponSource.cs index 8ad301acbb..2bd046a28c 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryNameWeaponSource.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataDictionaryNameWeaponSource.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Collections.Immutable; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataSupportInitialization.cs b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataSupportInitialization.cs index 27ee831877..3b0e9ee1ef 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataSupportInitialization.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/IMetadataSupportInitialization.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Metadata.ContextAbstraction; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/MetadataServiceContextExtension.cs b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/MetadataServiceContextExtension.cs index 21631c0713..5e37453e84 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/MetadataServiceContextExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/ContextAbstraction/MetadataServiceContextExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Metadata.Avatar; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/IMetadataService.cs b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/IMetadataService.cs index d91a009392..3621019834 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/IMetadataService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/IMetadataService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.Extensions.Caching.Memory; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/IMetadataServiceInitialization.cs b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/IMetadataServiceInitialization.cs index d714ad3d43..87a16dd87c 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/IMetadataServiceInitialization.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/IMetadataServiceInitialization.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Metadata; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/MetadataFileStrategies.cs b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/MetadataFileStrategies.cs index b69fee7a4e..7f86c2aeaf 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/MetadataFileStrategies.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/MetadataFileStrategies.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Metadata; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/MetadataFileStrategy.cs b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/MetadataFileStrategy.cs index 74d7365bfb..b37a0222ed 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/MetadataFileStrategy.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/MetadataFileStrategy.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Metadata; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/MetadataOptions.cs b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/MetadataOptions.cs index 9566d6b22f..1925d07071 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/MetadataOptions.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/MetadataOptions.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/MetadataService.cs b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/MetadataService.cs index 5d648647f5..be20524d98 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/MetadataService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/MetadataService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.Extensions.Caching.Memory; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/MetadataServiceImmutableArrayExtension.cs b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/MetadataServiceImmutableArrayExtension.cs index 3f73edbd28..7ead987fcb 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/MetadataServiceImmutableArrayExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/MetadataServiceImmutableArrayExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Metadata; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/MetadataServiceImmutableDictionaryExtension.cs b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/MetadataServiceImmutableDictionaryExtension.cs index b362a77184..64dbf475d6 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Metadata/MetadataServiceImmutableDictionaryExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Metadata/MetadataServiceImmutableDictionaryExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.Extensions.Caching.Memory; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Navigation/INavigationCompletionSource.cs b/src/Snap.Hutao/Snap.Hutao/Service/Navigation/INavigationCompletionSource.cs index e33a26c4e2..bd71ce9772 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Navigation/INavigationCompletionSource.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Navigation/INavigationCompletionSource.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Navigation; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Navigation/INavigationCurrent.cs b/src/Snap.Hutao/Snap.Hutao/Service/Navigation/INavigationCurrent.cs index 296a144a49..ec7755964c 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Navigation/INavigationCurrent.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Navigation/INavigationCurrent.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Navigation; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Navigation/INavigationExtraData.cs b/src/Snap.Hutao/Snap.Hutao/Service/Navigation/INavigationExtraData.cs index ca886afffc..399ae84af2 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Navigation/INavigationExtraData.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Navigation/INavigationExtraData.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Navigation; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Navigation/INavigationInitialization.cs b/src/Snap.Hutao/Snap.Hutao/Service/Navigation/INavigationInitialization.cs index e9efdbbadd..e9e4ec35e1 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Navigation/INavigationInitialization.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Navigation/INavigationInitialization.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Navigation; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Navigation/INavigationRecipient.cs b/src/Snap.Hutao/Snap.Hutao/Service/Navigation/INavigationRecipient.cs index 37c9a7ac6d..ca44bf0b91 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Navigation/INavigationRecipient.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Navigation/INavigationRecipient.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Navigation; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Navigation/INavigationService.cs b/src/Snap.Hutao/Snap.Hutao/Service/Navigation/INavigationService.cs index 9fdb4c40eb..1a4355eb58 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Navigation/INavigationService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Navigation/INavigationService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.UI.Xaml.Controls; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Navigation/INavigationViewAccessor.cs b/src/Snap.Hutao/Snap.Hutao/Service/Navigation/INavigationViewAccessor.cs index 439898dd06..1f53a8ec71 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Navigation/INavigationViewAccessor.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Navigation/INavigationViewAccessor.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.UI.Xaml.Controls; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Navigation/NavigationCompletionSource.cs b/src/Snap.Hutao/Snap.Hutao/Service/Navigation/NavigationCompletionSource.cs index 7f02ec92ee..bc61b6f9e6 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Navigation/NavigationCompletionSource.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Navigation/NavigationCompletionSource.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Navigation; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Navigation/NavigationResult.cs b/src/Snap.Hutao/Snap.Hutao/Service/Navigation/NavigationResult.cs index 7022e8bd9e..307cf2b93b 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Navigation/NavigationResult.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Navigation/NavigationResult.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Navigation; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Navigation/NavigationService.cs b/src/Snap.Hutao/Snap.Hutao/Service/Navigation/NavigationService.cs index 98075ea730..6c9c91b222 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Navigation/NavigationService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Navigation/NavigationService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.UI.Xaml.Controls; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Notification/AppNotificationLifeTime.cs b/src/Snap.Hutao/Snap.Hutao/Service/Notification/AppNotificationLifeTime.cs index 4fa74d9563..89019e4bde 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Notification/AppNotificationLifeTime.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Notification/AppNotificationLifeTime.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.Windows.AppNotifications; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Notification/IAppNotificationLifeTime.cs b/src/Snap.Hutao/Snap.Hutao/Service/Notification/IAppNotificationLifeTime.cs index cb2489295a..63a46adbc2 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Notification/IAppNotificationLifeTime.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Notification/IAppNotificationLifeTime.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Notification; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Notification/IInfoBarOptionsBuilder.cs b/src/Snap.Hutao/Snap.Hutao/Service/Notification/IInfoBarOptionsBuilder.cs index 3bb8c1aa8c..8dafdcca2e 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Notification/IInfoBarOptionsBuilder.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Notification/IInfoBarOptionsBuilder.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.Abstraction; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Notification/IInfoBarService.cs b/src/Snap.Hutao/Snap.Hutao/Service/Notification/IInfoBarService.cs index 9b60a91d2b..e81b4b1c28 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Notification/IInfoBarService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Notification/IInfoBarService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Collections.ObjectModel; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Notification/InfoBarOptions.cs b/src/Snap.Hutao/Snap.Hutao/Service/Notification/InfoBarOptions.cs index b64061958e..b89f7f2439 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Notification/InfoBarOptions.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Notification/InfoBarOptions.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.UI.Xaml.Controls; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Notification/InfoBarOptionsBuilder.cs b/src/Snap.Hutao/Snap.Hutao/Service/Notification/InfoBarOptionsBuilder.cs index a10f70563f..99d6f97764 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Notification/InfoBarOptionsBuilder.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Notification/InfoBarOptionsBuilder.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Notification; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Notification/InfoBarOptionsBuilderExtension.cs b/src/Snap.Hutao/Snap.Hutao/Service/Notification/InfoBarOptionsBuilderExtension.cs index 72584891d5..de8be24c80 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Notification/InfoBarOptionsBuilderExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Notification/InfoBarOptionsBuilderExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using JetBrains.Annotations; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Notification/InfoBarService.cs b/src/Snap.Hutao/Snap.Hutao/Service/Notification/InfoBarService.cs index de31ee8048..ec7aa8308b 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Notification/InfoBarService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Notification/InfoBarService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.Abstraction; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Notification/InfoBarServiceExtension.cs b/src/Snap.Hutao/Snap.Hutao/Service/Notification/InfoBarServiceExtension.cs index d0b3fe66cf..b61834d9e9 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Notification/InfoBarServiceExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Notification/InfoBarServiceExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using JetBrains.Annotations; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/RoleCombat/IRoleCombatRepository.cs b/src/Snap.Hutao/Snap.Hutao/Service/RoleCombat/IRoleCombatRepository.cs index 4010cbf279..3756af9494 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/RoleCombat/IRoleCombatRepository.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/RoleCombat/IRoleCombatRepository.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Entity; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/RoleCombat/IRoleCombatService.cs b/src/Snap.Hutao/Snap.Hutao/Service/RoleCombat/IRoleCombatService.cs index 1ba892afdf..678cbd2920 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/RoleCombat/IRoleCombatService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/RoleCombat/IRoleCombatService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.ViewModel.RoleCombat; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/RoleCombat/RoleCombatRepository.cs b/src/Snap.Hutao/Snap.Hutao/Service/RoleCombat/RoleCombatRepository.cs index ed295d04f0..32ceae7d47 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/RoleCombat/RoleCombatRepository.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/RoleCombat/RoleCombatRepository.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Entity; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/RoleCombat/RoleCombatService.cs b/src/Snap.Hutao/Snap.Hutao/Service/RoleCombat/RoleCombatService.cs index 7014d05397..14229f9246 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/RoleCombat/RoleCombatService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/RoleCombat/RoleCombatService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.DependencyInjection.Abstraction; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/SignIn/ISignInService.cs b/src/Snap.Hutao/Snap.Hutao/Service/SignIn/ISignInService.cs index b5054b3a72..a74e7c0059 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/SignIn/ISignInService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/SignIn/ISignInService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.ViewModel.User; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/SignIn/SignInService.cs b/src/Snap.Hutao/Snap.Hutao/Service/SignIn/SignInService.cs index f5a2ae9732..bc8887cc92 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/SignIn/SignInService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/SignIn/SignInService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.DependencyInjection.Abstraction; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/SpiralAbyss/ISpiralAbyssRecordRepository.cs b/src/Snap.Hutao/Snap.Hutao/Service/SpiralAbyss/ISpiralAbyssRecordRepository.cs index 79494c35c3..097312ac19 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/SpiralAbyss/ISpiralAbyssRecordRepository.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/SpiralAbyss/ISpiralAbyssRecordRepository.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Entity; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/SpiralAbyss/ISpiralAbyssRecordService.cs b/src/Snap.Hutao/Snap.Hutao/Service/SpiralAbyss/ISpiralAbyssRecordService.cs index 4d21e51a73..dcdeec6b0b 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/SpiralAbyss/ISpiralAbyssRecordService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/SpiralAbyss/ISpiralAbyssRecordService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.ViewModel.SpiralAbyss; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/SpiralAbyss/SpiralAbyssRecordRepository.cs b/src/Snap.Hutao/Snap.Hutao/Service/SpiralAbyss/SpiralAbyssRecordRepository.cs index 4933b576ea..c1b609242f 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/SpiralAbyss/SpiralAbyssRecordRepository.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/SpiralAbyss/SpiralAbyssRecordRepository.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Entity; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/SpiralAbyss/SpiralAbyssRecordService.cs b/src/Snap.Hutao/Snap.Hutao/Service/SpiralAbyss/SpiralAbyssRecordService.cs index e12761eaec..9f8297e50e 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/SpiralAbyss/SpiralAbyssRecordService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/SpiralAbyss/SpiralAbyssRecordService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.DependencyInjection.Abstraction; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/SupportedCultures.cs b/src/Snap.Hutao/Snap.Hutao/Service/SupportedCultures.cs index 345cabd2ce..cc2fa92d70 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/SupportedCultures.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/SupportedCultures.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/UIGF/IUIGFExportService.cs b/src/Snap.Hutao/Snap.Hutao/Service/UIGF/IUIGFExportService.cs index 3c86466a88..60533e8a1b 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/UIGF/IUIGFExportService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/UIGF/IUIGFExportService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.UIGF; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/UIGF/IUIGFImportService.cs b/src/Snap.Hutao/Snap.Hutao/Service/UIGF/IUIGFImportService.cs index c481485b75..96a91b1bb7 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/UIGF/IUIGFImportService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/UIGF/IUIGFImportService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.UIGF; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/UIGF/IUIGFService.cs b/src/Snap.Hutao/Snap.Hutao/Service/UIGF/IUIGFService.cs index afef414ae2..ccd644817d 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/UIGF/IUIGFService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/UIGF/IUIGFService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.UIGF; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/UIGF/UIGF40ExportService.cs b/src/Snap.Hutao/Snap.Hutao/Service/UIGF/UIGF40ExportService.cs index 83a776a80a..e8a5107c43 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/UIGF/UIGF40ExportService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/UIGF/UIGF40ExportService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/UIGF/UIGF40ImportService.cs b/src/Snap.Hutao/Snap.Hutao/Service/UIGF/UIGF40ImportService.cs index 5ea2aa9663..c370746ed7 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/UIGF/UIGF40ImportService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/UIGF/UIGF40ImportService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Entity; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/UIGF/UIGFExportOptions.cs b/src/Snap.Hutao/Snap.Hutao/Service/UIGF/UIGFExportOptions.cs index 93b043e0c2..d3f4b89c46 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/UIGF/UIGFExportOptions.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/UIGF/UIGFExportOptions.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.UIGF; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/UIGF/UIGFImportOptions.cs b/src/Snap.Hutao/Snap.Hutao/Service/UIGF/UIGFImportOptions.cs index 496f58d44f..889454cc4e 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/UIGF/UIGFImportOptions.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/UIGF/UIGFImportOptions.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.UIGF; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/UIGF/UIGFService.cs b/src/Snap.Hutao/Snap.Hutao/Service/UIGF/UIGFService.cs index a5575695dd..464481394c 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/UIGF/UIGFService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/UIGF/UIGFService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.UIGF; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/UIGF/UIGFVersion.cs b/src/Snap.Hutao/Snap.Hutao/Service/UIGF/UIGFVersion.cs index 31c50a6e4f..8981f3825b 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/UIGF/UIGFVersion.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/UIGF/UIGFVersion.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.UIGF; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Update/CheckUpdateResult.cs b/src/Snap.Hutao/Snap.Hutao/Service/Update/CheckUpdateResult.cs index 5b384fc27f..548a5e7065 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Update/CheckUpdateResult.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Update/CheckUpdateResult.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Web.Hutao; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Update/CheckUpdateResultKind.cs b/src/Snap.Hutao/Snap.Hutao/Service/Update/CheckUpdateResultKind.cs index f8cc55f4f1..e6b59f8cda 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Update/CheckUpdateResultKind.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Update/CheckUpdateResultKind.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Update; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Update/IUpdateService.cs b/src/Snap.Hutao/Snap.Hutao/Service/Update/IUpdateService.cs index 7c6f049745..d094d8f511 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Update/IUpdateService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Update/IUpdateService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.Update; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Update/LaunchUpdaterResult.cs b/src/Snap.Hutao/Snap.Hutao/Service/Update/LaunchUpdaterResult.cs index f776131965..ad291ba07b 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Update/LaunchUpdaterResult.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Update/LaunchUpdaterResult.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Diagnostics; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/User/IProfilePictureService.cs b/src/Snap.Hutao/Snap.Hutao/Service/User/IProfilePictureService.cs index a21c1daa64..44fc81d709 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/User/IProfilePictureService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/User/IProfilePictureService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Web.Hoyolab.Takumi.Binding; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/User/IUidProfilePictureRepository.cs b/src/Snap.Hutao/Snap.Hutao/Service/User/IUidProfilePictureRepository.cs index 8b9a9054ae..48b0e89138 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/User/IUidProfilePictureRepository.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/User/IUidProfilePictureRepository.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Entity; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/User/IUserCollectionService.cs b/src/Snap.Hutao/Snap.Hutao/Service/User/IUserCollectionService.cs index fc1bc2ba30..5b63a6df8d 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/User/IUserCollectionService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/User/IUserCollectionService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.Database; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/User/IUserFingerprintService.cs b/src/Snap.Hutao/Snap.Hutao/Service/User/IUserFingerprintService.cs index 9927dcbfdd..b428ab88ac 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/User/IUserFingerprintService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/User/IUserFingerprintService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.User; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/User/IUserInitializationService.cs b/src/Snap.Hutao/Snap.Hutao/Service/User/IUserInitializationService.cs index 35d8a97ddf..b28652a7eb 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/User/IUserInitializationService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/User/IUserInitializationService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.User; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/User/IUserMetadataContext.cs b/src/Snap.Hutao/Snap.Hutao/Service/User/IUserMetadataContext.cs index 8151fee02c..76e44e55cc 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/User/IUserMetadataContext.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/User/IUserMetadataContext.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Service.Metadata.ContextAbstraction; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/User/IUserRepository.cs b/src/Snap.Hutao/Snap.Hutao/Service/User/IUserRepository.cs index c7dd7ad58d..d153aa637d 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/User/IUserRepository.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/User/IUserRepository.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Service.Abstraction; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/User/IUserService.cs b/src/Snap.Hutao/Snap.Hutao/Service/User/IUserService.cs index 7012b4a384..3cec6af062 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/User/IUserService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/User/IUserService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.Database; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/User/IUserServiceUnsafe.cs b/src/Snap.Hutao/Snap.Hutao/Service/User/IUserServiceUnsafe.cs index 21990a8e4e..d34a896f28 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/User/IUserServiceUnsafe.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/User/IUserServiceUnsafe.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.User; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/User/InputCookie.cs b/src/Snap.Hutao/Snap.Hutao/Service/User/InputCookie.cs index c90310c639..48264dff0a 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/User/InputCookie.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/User/InputCookie.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.Abstraction; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/User/ProfilePictureService.cs b/src/Snap.Hutao/Snap.Hutao/Service/User/ProfilePictureService.cs index 31d0fbde67..f13f23cf48 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/User/ProfilePictureService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/User/ProfilePictureService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Entity; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/User/UidProfilePictureRepository.cs b/src/Snap.Hutao/Snap.Hutao/Service/User/UidProfilePictureRepository.cs index 28d00e47cc..529528d3dc 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/User/UidProfilePictureRepository.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/User/UidProfilePictureRepository.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Entity; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/User/UserCollectionService.cs b/src/Snap.Hutao/Snap.Hutao/Service/User/UserCollectionService.cs index 53e1e4ef21..87c9c65137 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/User/UserCollectionService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/User/UserCollectionService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using CommunityToolkit.Mvvm.Messaging; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/User/UserFingerprintService.cs b/src/Snap.Hutao/Snap.Hutao/Service/User/UserFingerprintService.cs index ddedf0818f..41b54ee935 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/User/UserFingerprintService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/User/UserFingerprintService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.ViewModel.User; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/User/UserInitializationService.cs b/src/Snap.Hutao/Snap.Hutao/Service/User/UserInitializationService.cs index bdd43e722e..641cc24aef 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/User/UserInitializationService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/User/UserInitializationService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.DependencyInjection.Abstraction; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/User/UserMetadataContext.cs b/src/Snap.Hutao/Snap.Hutao/Service/User/UserMetadataContext.cs index bbb1ace0ed..d502088285 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/User/UserMetadataContext.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/User/UserMetadataContext.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model.Metadata.Avatar; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/User/UserOptionResult.cs b/src/Snap.Hutao/Snap.Hutao/Service/User/UserOptionResult.cs index cc27b3d248..6df0246227 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/User/UserOptionResult.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/User/UserOptionResult.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.Service.User; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/User/UserRemovedMessage.cs b/src/Snap.Hutao/Snap.Hutao/Service/User/UserRemovedMessage.cs index ebc289f068..76ccabebff 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/User/UserRemovedMessage.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/User/UserRemovedMessage.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using BindingUser = Snap.Hutao.ViewModel.User.User; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/User/UserRepository.cs b/src/Snap.Hutao/Snap.Hutao/Service/User/UserRepository.cs index f055f4a98d..0f15552721 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/User/UserRepository.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/User/UserRepository.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.EntityFrameworkCore; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/User/UserService.cs b/src/Snap.Hutao/Snap.Hutao/Service/User/UserService.cs index 248e030299..a4debe04a2 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/User/UserService.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/User/UserService.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.UI.Xaml.Controls; diff --git a/src/Snap.Hutao/Snap.Hutao/Service/User/UserServiceExtension.cs b/src/Snap.Hutao/Snap.Hutao/Service/User/UserServiceExtension.cs index 9b40e4b3b7..00670c4352 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/User/UserServiceExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/User/UserServiceExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Core.Database; diff --git a/src/Snap.Hutao/Snap.Hutao/Snap.Hutao.csproj b/src/Snap.Hutao/Snap.Hutao/Snap.Hutao.csproj index 8a1f6b08db..796ee5ac57 100644 --- a/src/Snap.Hutao/Snap.Hutao/Snap.Hutao.csproj +++ b/src/Snap.Hutao/Snap.Hutao/Snap.Hutao.csproj @@ -48,6 +48,7 @@ true 1 10.0.26100.56 + True diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Bgra32.cs b/src/Snap.Hutao/Snap.Hutao/UI/Bgra32.cs index 9f5dda4a11..f464387173 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Bgra32.cs +++ b/src/Snap.Hutao/Snap.Hutao/UI/Bgra32.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Windows.UI; diff --git a/src/Snap.Hutao/Snap.Hutao/UI/ColorHelper.cs b/src/Snap.Hutao/Snap.Hutao/UI/ColorHelper.cs index 9c7f465282..05ea424b18 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/ColorHelper.cs +++ b/src/Snap.Hutao/Snap.Hutao/UI/ColorHelper.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Buffers.Binary; diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Hsla32.cs b/src/Snap.Hutao/Snap.Hutao/UI/Hsla32.cs index 6fc773aaa0..e46ce57f5c 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Hsla32.cs +++ b/src/Snap.Hutao/Snap.Hutao/UI/Hsla32.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.UI; diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Input/CommandInvocation.cs b/src/Snap.Hutao/Snap.Hutao/UI/Input/CommandInvocation.cs index 109e57750b..3242f69da0 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Input/CommandInvocation.cs +++ b/src/Snap.Hutao/Snap.Hutao/UI/Input/CommandInvocation.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.UI.Input; diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Input/HotKey/HotKeyCombination.cs b/src/Snap.Hutao/Snap.Hutao/UI/Input/HotKey/HotKeyCombination.cs index 43e8961016..96ccfc06c9 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Input/HotKey/HotKeyCombination.cs +++ b/src/Snap.Hutao/Snap.Hutao/UI/Input/HotKey/HotKeyCombination.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using CommunityToolkit.Mvvm.ComponentModel; diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Input/HotKey/HotKeyMessageWindow.cs b/src/Snap.Hutao/Snap.Hutao/UI/Input/HotKey/HotKeyMessageWindow.cs index eaa91521bc..f9594e3ee9 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Input/HotKey/HotKeyMessageWindow.cs +++ b/src/Snap.Hutao/Snap.Hutao/UI/Input/HotKey/HotKeyMessageWindow.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Win32.Foundation; diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Input/HotKey/HotKeyOptions.cs b/src/Snap.Hutao/Snap.Hutao/UI/Input/HotKey/HotKeyOptions.cs index 05c1bc1349..8a4d82c8f6 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Input/HotKey/HotKeyOptions.cs +++ b/src/Snap.Hutao/Snap.Hutao/UI/Input/HotKey/HotKeyOptions.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using CommunityToolkit.Mvvm.ComponentModel; diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Input/HotKey/HotKeyParameter.cs b/src/Snap.Hutao/Snap.Hutao/UI/Input/HotKey/HotKeyParameter.cs index 9827373610..ee000ca7d5 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Input/HotKey/HotKeyParameter.cs +++ b/src/Snap.Hutao/Snap.Hutao/UI/Input/HotKey/HotKeyParameter.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Win32.UI.Input.KeyboardAndMouse; diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Input/LowLevel/LowLevelInputKeyboardSource.cs b/src/Snap.Hutao/Snap.Hutao/UI/Input/LowLevel/LowLevelInputKeyboardSource.cs index fa1fd04156..850502ecb9 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Input/LowLevel/LowLevelInputKeyboardSource.cs +++ b/src/Snap.Hutao/Snap.Hutao/UI/Input/LowLevel/LowLevelInputKeyboardSource.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Win32.Foundation; diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Input/LowLevel/LowLevelKeyOptions.cs b/src/Snap.Hutao/Snap.Hutao/UI/Input/LowLevel/LowLevelKeyOptions.cs index e95c89e0e9..1bb6f2cb16 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Input/LowLevel/LowLevelKeyOptions.cs +++ b/src/Snap.Hutao/Snap.Hutao/UI/Input/LowLevel/LowLevelKeyOptions.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using CommunityToolkit.Mvvm.ComponentModel; diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Input/VirtualKeys.cs b/src/Snap.Hutao/Snap.Hutao/UI/Input/VirtualKeys.cs index e1042d6bb2..c5a39b212d 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Input/VirtualKeys.cs +++ b/src/Snap.Hutao/Snap.Hutao/UI/Input/VirtualKeys.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Model; diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Rgba32.cs b/src/Snap.Hutao/Snap.Hutao/UI/Rgba32.cs index 1a07b476ce..baeb898106 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Rgba32.cs +++ b/src/Snap.Hutao/Snap.Hutao/UI/Rgba32.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using System.Buffers.Binary; diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Rgba64.cs b/src/Snap.Hutao/Snap.Hutao/UI/Rgba64.cs index 74acd98399..1b73cab8f0 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Rgba64.cs +++ b/src/Snap.Hutao/Snap.Hutao/UI/Rgba64.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. // Some part of this file came from: // https://github.com/xunkong/desktop/tree/main/src/Desktop/Desktop/Pages/CharacterInfoPage.xaml.cs diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Shell/NotifyIconContextMenu.xaml.cs b/src/Snap.Hutao/Snap.Hutao/UI/Shell/NotifyIconContextMenu.xaml.cs index 38d20c74de..6e6ed1b9db 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Shell/NotifyIconContextMenu.xaml.cs +++ b/src/Snap.Hutao/Snap.Hutao/UI/Shell/NotifyIconContextMenu.xaml.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.UI.Xaml.Controls; diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Shell/NotifyIconMethods.cs b/src/Snap.Hutao/Snap.Hutao/UI/Shell/NotifyIconMethods.cs index 82b522f9fb..e2753ef44b 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Shell/NotifyIconMethods.cs +++ b/src/Snap.Hutao/Snap.Hutao/UI/Shell/NotifyIconMethods.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Win32.Foundation; diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Shell/NotifyIconXamlHostWindow.cs b/src/Snap.Hutao/Snap.Hutao/UI/Shell/NotifyIconXamlHostWindow.cs index e9bc5e725f..c84dc697bd 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Shell/NotifyIconXamlHostWindow.cs +++ b/src/Snap.Hutao/Snap.Hutao/UI/Shell/NotifyIconXamlHostWindow.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.UI.Windowing; diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Windowing/Abstraction/IXamlWindowClosedHandler.cs b/src/Snap.Hutao/Snap.Hutao/UI/Windowing/Abstraction/IXamlWindowClosedHandler.cs index fa973d084c..d25917f58e 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Windowing/Abstraction/IXamlWindowClosedHandler.cs +++ b/src/Snap.Hutao/Snap.Hutao/UI/Windowing/Abstraction/IXamlWindowClosedHandler.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.UI.Windowing.Abstraction; diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Windowing/Abstraction/IXamlWindowContentAsFrameworkElement.cs b/src/Snap.Hutao/Snap.Hutao/UI/Windowing/Abstraction/IXamlWindowContentAsFrameworkElement.cs index aecc12c471..2f3c327b45 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Windowing/Abstraction/IXamlWindowContentAsFrameworkElement.cs +++ b/src/Snap.Hutao/Snap.Hutao/UI/Windowing/Abstraction/IXamlWindowContentAsFrameworkElement.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.UI.Xaml; diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Windowing/Abstraction/IXamlWindowExtendContentIntoTitleBar.cs b/src/Snap.Hutao/Snap.Hutao/UI/Windowing/Abstraction/IXamlWindowExtendContentIntoTitleBar.cs index fc269e334e..13dae29658 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Windowing/Abstraction/IXamlWindowExtendContentIntoTitleBar.cs +++ b/src/Snap.Hutao/Snap.Hutao/UI/Windowing/Abstraction/IXamlWindowExtendContentIntoTitleBar.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.UI.Xaml; diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Windowing/Abstraction/IXamlWindowHasInitSize.cs b/src/Snap.Hutao/Snap.Hutao/UI/Windowing/Abstraction/IXamlWindowHasInitSize.cs index ef5693c824..1bf2610227 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Windowing/Abstraction/IXamlWindowHasInitSize.cs +++ b/src/Snap.Hutao/Snap.Hutao/UI/Windowing/Abstraction/IXamlWindowHasInitSize.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Windows.Graphics; diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Windowing/Abstraction/IXamlWindowRectPersisted.cs b/src/Snap.Hutao/Snap.Hutao/UI/Windowing/Abstraction/IXamlWindowRectPersisted.cs index 8b84d66bea..887c62af8f 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Windowing/Abstraction/IXamlWindowRectPersisted.cs +++ b/src/Snap.Hutao/Snap.Hutao/UI/Windowing/Abstraction/IXamlWindowRectPersisted.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.UI.Windowing.Abstraction; diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Windowing/Abstraction/IXamlWindowSubclassMinMaxInfoHandler.cs b/src/Snap.Hutao/Snap.Hutao/UI/Windowing/Abstraction/IXamlWindowSubclassMinMaxInfoHandler.cs index 9efdfa0ed4..7d13a0db08 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Windowing/Abstraction/IXamlWindowSubclassMinMaxInfoHandler.cs +++ b/src/Snap.Hutao/Snap.Hutao/UI/Windowing/Abstraction/IXamlWindowSubclassMinMaxInfoHandler.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Win32.UI.WindowsAndMessaging; diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Windowing/AppWindowExtension.cs b/src/Snap.Hutao/Snap.Hutao/UI/Windowing/AppWindowExtension.cs index af4104feab..ace3752bcd 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Windowing/AppWindowExtension.cs +++ b/src/Snap.Hutao/Snap.Hutao/UI/Windowing/AppWindowExtension.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.UI.Windowing; diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Windowing/XamlWindowController.cs b/src/Snap.Hutao/Snap.Hutao/UI/Windowing/XamlWindowController.cs index 9e4f9a43c6..d68a566117 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Windowing/XamlWindowController.cs +++ b/src/Snap.Hutao/Snap.Hutao/UI/Windowing/XamlWindowController.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.UI; diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Windowing/XamlWindowNonRudeHWND.cs b/src/Snap.Hutao/Snap.Hutao/UI/Windowing/XamlWindowNonRudeHWND.cs index 452f95a8b1..0788c8b320 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Windowing/XamlWindowNonRudeHWND.cs +++ b/src/Snap.Hutao/Snap.Hutao/UI/Windowing/XamlWindowNonRudeHWND.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Win32.Foundation; diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Windowing/XamlWindowSubclass.cs b/src/Snap.Hutao/Snap.Hutao/UI/Windowing/XamlWindowSubclass.cs index 5d755fdb7e..d6ade50771 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Windowing/XamlWindowSubclass.cs +++ b/src/Snap.Hutao/Snap.Hutao/UI/Windowing/XamlWindowSubclass.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.UI.Windowing; diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Behavior/Action/ShowAttachedFlyoutAction.cs b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Behavior/Action/ShowAttachedFlyoutAction.cs index 2497e0f2d7..a6ee946c0f 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Behavior/Action/ShowAttachedFlyoutAction.cs +++ b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Behavior/Action/ShowAttachedFlyoutAction.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.UI.Xaml; diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Behavior/Action/ShowWebView2WindowAction.cs b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Behavior/Action/ShowWebView2WindowAction.cs index eec0105225..ddc567dc1a 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Behavior/Action/ShowWebView2WindowAction.cs +++ b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Behavior/Action/ShowWebView2WindowAction.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.UI.Xaml; diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Behavior/Action/StartAnimationActionNoThrow.cs b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Behavior/Action/StartAnimationActionNoThrow.cs index eaed9d8f15..8b785340a3 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Behavior/Action/StartAnimationActionNoThrow.cs +++ b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Behavior/Action/StartAnimationActionNoThrow.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using CommunityToolkit.WinUI.Animations; diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Behavior/InfoBarDelayCloseBehavior.cs b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Behavior/InfoBarDelayCloseBehavior.cs index d7bb3c7b34..f6da0a06d8 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Behavior/InfoBarDelayCloseBehavior.cs +++ b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Behavior/InfoBarDelayCloseBehavior.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using CommunityToolkit.WinUI.Behaviors; diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Behavior/InvokeCommandOnLoadedBehavior.cs b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Behavior/InvokeCommandOnLoadedBehavior.cs index bcc0bc145b..083821a14b 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Behavior/InvokeCommandOnLoadedBehavior.cs +++ b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Behavior/InvokeCommandOnLoadedBehavior.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using CommunityToolkit.WinUI.Behaviors; diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Behavior/PeriodicInvokeCommandOrOnActualThemeChangedBehavior.cs b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Behavior/PeriodicInvokeCommandOrOnActualThemeChangedBehavior.cs index 2942cd1511..35665c51a2 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Behavior/PeriodicInvokeCommandOrOnActualThemeChangedBehavior.cs +++ b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Behavior/PeriodicInvokeCommandOrOnActualThemeChangedBehavior.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using CommunityToolkit.WinUI.Behaviors; diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Behavior/SelectedItemInViewBehavior.cs b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Behavior/SelectedItemInViewBehavior.cs index 7ae6c549c3..3be0fa3f6f 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Behavior/SelectedItemInViewBehavior.cs +++ b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Behavior/SelectedItemInViewBehavior.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using CommunityToolkit.WinUI; diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/BindingProxy.cs b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/BindingProxy.cs index 046a78cc42..d221b7efb4 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/BindingProxy.cs +++ b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/BindingProxy.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.UI.Xaml; diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/AutoSuggestBox/AutoSuggestTokenBox.cs b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/AutoSuggestBox/AutoSuggestTokenBox.cs index 31682e6706..3f45c63625 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/AutoSuggestBox/AutoSuggestTokenBox.cs +++ b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/AutoSuggestBox/AutoSuggestTokenBox.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using CommunityToolkit.WinUI; diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/AutoSuggestBox/AutoSuggestTokenBox.xaml b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/AutoSuggestBox/AutoSuggestTokenBox.xaml index 470a9a5a31..ce857a8535 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/AutoSuggestBox/AutoSuggestTokenBox.xaml +++ b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/AutoSuggestBox/AutoSuggestTokenBox.xaml @@ -1,4 +1,4 @@ - diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Card/CardReference.cs b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Card/CardReference.cs index 789cfd9fa3..3255f90011 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Card/CardReference.cs +++ b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Card/CardReference.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.UI.Xaml.Controls; diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Card/HorizontalCard.cs b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Card/HorizontalCard.cs index bf5df776e6..8f7ec009ff 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Card/HorizontalCard.cs +++ b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Card/HorizontalCard.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.UI.Xaml; diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Card/VerticalCard.cs b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Card/VerticalCard.cs index b997a34635..7c634e4bd1 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Card/VerticalCard.cs +++ b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Card/VerticalCard.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.UI.Xaml; diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/ComboBox2.cs b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/ComboBox2.cs index 1b72d97da1..d122cc6416 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/ComboBox2.cs +++ b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/ComboBox2.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.UI.Xaml; diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/ComboBoxHelper.cs b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/ComboBoxHelper.cs index 851f8c2f9d..c14889f5e2 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/ComboBoxHelper.cs +++ b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/ComboBoxHelper.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using CommunityToolkit.WinUI; diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/ControlHelper.cs b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/ControlHelper.cs index 169a3fe8d4..7ad2e652b0 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/ControlHelper.cs +++ b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/ControlHelper.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Microsoft.UI.Xaml; diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Elevation.cs b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Elevation.cs index 688fcbc01e..227e25ff2b 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Elevation.cs +++ b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Elevation.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.UI.Xaml.Control; diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/IScopedPageScopeReferenceTracker.cs b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/IScopedPageScopeReferenceTracker.cs index 8396943a78..7a2c301bd8 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/IScopedPageScopeReferenceTracker.cs +++ b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/IScopedPageScopeReferenceTracker.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. namespace Snap.Hutao.UI.Xaml.Control; diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Image/CachedImage.cs b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Image/CachedImage.cs index 918caf48c5..f51dbb1eb4 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Image/CachedImage.cs +++ b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Image/CachedImage.cs @@ -1,4 +1,4 @@ -// Copyright (c) DGP Studio. All rights reserved. +// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using CommunityToolkit.WinUI; diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Image/CachedImage.xaml b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Image/CachedImage.xaml index 99423d7319..5a44fbca50 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Image/CachedImage.xaml +++ b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Image/CachedImage.xaml @@ -1,4 +1,4 @@ - diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Theme/Color.xaml b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Theme/Color.xaml index 5ea53fe5f6..8b4bab0002 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Theme/Color.xaml +++ b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Theme/Color.xaml @@ -1,4 +1,4 @@ - + #FF74BF00 diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Theme/CornerRadius.xaml b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Theme/CornerRadius.xaml index 741bf85e87..f5e4604315 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Theme/CornerRadius.xaml +++ b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Theme/CornerRadius.xaml @@ -1,4 +1,4 @@ - + 4,4,0,0 0,0,4,4 0,4,0,4 diff --git a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Theme/FlyoutStyle.xaml b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Theme/FlyoutStyle.xaml index d23e3d7b30..0161743ee2 100644 --- a/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Theme/FlyoutStyle.xaml +++ b/src/Snap.Hutao/Snap.Hutao/UI/Xaml/Control/Theme/FlyoutStyle.xaml @@ -1,4 +1,4 @@ - +