From 54d77018af60caf31958d286a03898e6e18e02d9 Mon Sep 17 00:00:00 2001 From: Hakoyu Date: Mon, 1 Apr 2024 22:37:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- VPet.ModMaker/Models/I18nData.cs | 2 +- VPet.ModMaker/Models/I18nHelper.cs | 2 +- VPet.ModMaker/Models/I18nModel.cs | 6 +++--- VPet.ModMaker/Models/ModModel/AnimeModel.cs | 2 +- VPet.ModMaker/Models/ModModel/AnimeTypeModel.cs | 2 +- VPet.ModMaker/Models/ModModel/ClickTextModel.cs | 4 +--- VPet.ModMaker/Models/ModModel/FoodAnimeLocationModel.cs | 4 +--- VPet.ModMaker/Models/ModModel/FoodAnimeModel.cs | 2 +- VPet.ModMaker/Models/ModModel/FoodAnimeTypeModel.cs | 2 +- VPet.ModMaker/Models/ModModel/FoodModel.cs | 7 ++----- VPet.ModMaker/Models/ModModel/ImageModel.cs | 2 +- VPet.ModMaker/Models/ModModel/LowTextModel.cs | 2 +- VPet.ModMaker/Models/ModModel/ModInfoModel.cs | 2 +- VPet.ModMaker/Models/ModModel/MoveModel.cs | 2 +- VPet.ModMaker/Models/ModModel/PetModel.cs | 6 +++--- VPet.ModMaker/Models/ModModel/SelectTextModel.cs | 4 +--- VPet.ModMaker/Models/ModModel/WorkModel.cs | 2 +- VPet.ModMaker/VPet.ModMaker.csproj | 2 +- VPet.ModMaker/ViewModels/ModEdit/AddCultureWindowVM.cs | 2 +- .../ViewModels/ModEdit/AnimeEdit/AnimeEditWindowVM.cs | 7 ++----- VPet.ModMaker/ViewModels/ModEdit/AnimeEdit/AnimePageVM.cs | 4 ++-- .../ViewModels/ModEdit/AnimeEdit/FoodAnimeEditWindowVM.cs | 7 ++----- .../ModEdit/AnimeEdit/SelectGraphTypeWindowVM.cs | 2 +- .../ModEdit/ClickTextEdit/ClickTextEditWindowVM.cs | 2 +- .../ViewModels/ModEdit/ClickTextEdit/ClickTextPageVM.cs | 2 +- .../ViewModels/ModEdit/FoodEdit/FoodEditWindowVM.cs | 4 ++-- VPet.ModMaker/ViewModels/ModEdit/FoodEdit/FoodPageVM.cs | 2 +- .../ViewModels/ModEdit/I18nEdit/I18nEditWindowVM.cs | 2 +- .../ViewModels/ModEdit/LowTextEdit/LowTextEditWindowVM.cs | 2 +- .../ViewModels/ModEdit/LowTextEdit/LowTextPageVM.cs | 2 +- VPet.ModMaker/ViewModels/ModEdit/ModEditWindowVM.cs | 2 +- .../ViewModels/ModEdit/MoveEdit/MoveEditWindowVM.cs | 2 +- VPet.ModMaker/ViewModels/ModEdit/MoveEdit/MovePageVM.cs | 2 +- .../ViewModels/ModEdit/PetEdit/PetEditWindowVM.cs | 2 +- VPet.ModMaker/ViewModels/ModEdit/PetEdit/PetPageVM.cs | 2 +- .../ViewModels/ModEdit/SaveTranslationModWindowVM.cs | 4 ++-- .../ModEdit/SelectTextEdit/SelectTextEditWindowVM.cs | 2 +- .../ViewModels/ModEdit/SelectTextEdit/SelectTextPageVM.cs | 2 +- .../ViewModels/ModEdit/WorkEdit/WorkEditWindowVM.cs | 7 ++----- VPet.ModMaker/ViewModels/ModEdit/WorkEdit/WorkPageVM.cs | 2 +- VPet.ModMaker/ViewModels/ModMakerWindowVM.cs | 2 +- 41 files changed, 52 insertions(+), 70 deletions(-) diff --git a/VPet.ModMaker/Models/I18nData.cs b/VPet.ModMaker/Models/I18nData.cs index b242ec3..c34696f 100644 --- a/VPet.ModMaker/Models/I18nData.cs +++ b/VPet.ModMaker/Models/I18nData.cs @@ -14,7 +14,7 @@ namespace VPet.ModMaker.Models; /// I18n数据 /// [DebuggerDisplay("{ID}, Count = {Datas.Count}")] -public class I18nData : ObservableObjectX +public class I18nData : ObservableObjectX { #region ID [DebuggerBrowsable(DebuggerBrowsableState.Never)] diff --git a/VPet.ModMaker/Models/I18nHelper.cs b/VPet.ModMaker/Models/I18nHelper.cs index 8d29087..c93b6a3 100644 --- a/VPet.ModMaker/Models/I18nHelper.cs +++ b/VPet.ModMaker/Models/I18nHelper.cs @@ -14,7 +14,7 @@ namespace VPet.ModMaker.Models; /// /// I18n助手 /// -public class I18nHelper : ObservableObjectX +public class I18nHelper : ObservableObjectX { /// /// 当前数据 diff --git a/VPet.ModMaker/Models/I18nModel.cs b/VPet.ModMaker/Models/I18nModel.cs index 18d64e2..81cf737 100644 --- a/VPet.ModMaker/Models/I18nModel.cs +++ b/VPet.ModMaker/Models/I18nModel.cs @@ -14,8 +14,8 @@ namespace VPet.ModMaker.Models; /// I18n模型 /// /// 类型 -public class I18nModel : ObservableObjectX> - where T : ObservableObjectX, new() +public class I18nModel : ObservableObjectX + where T : ObservableObjectX, new() { /// /// 当前I18n数据 @@ -84,7 +84,7 @@ public class I18nModel : ObservableObjectX> /// /// /// - private void Current_PropertyChangedX(I18nHelper sender, PropertyChangedXEventArgs e) + private void Current_PropertyChangedX(object? sender, PropertyChangedXEventArgs e) { if (e.PropertyName == nameof(I18nHelper.CultureName)) { diff --git a/VPet.ModMaker/Models/ModModel/AnimeModel.cs b/VPet.ModMaker/Models/ModModel/AnimeModel.cs index bfbf41a..d347804 100644 --- a/VPet.ModMaker/Models/ModModel/AnimeModel.cs +++ b/VPet.ModMaker/Models/ModModel/AnimeModel.cs @@ -10,7 +10,7 @@ namespace VPet.ModMaker.Models.ModModel; /// /// 动画模型 /// -public class AnimeModel : ObservableObjectX, ICloneable +public class AnimeModel : ObservableObjectX, ICloneable { public AnimeModel() { } diff --git a/VPet.ModMaker/Models/ModModel/AnimeTypeModel.cs b/VPet.ModMaker/Models/ModModel/AnimeTypeModel.cs index ab6f1f7..b63e208 100644 --- a/VPet.ModMaker/Models/ModModel/AnimeTypeModel.cs +++ b/VPet.ModMaker/Models/ModModel/AnimeTypeModel.cs @@ -16,7 +16,7 @@ using static VPet_Simulator.Core.IGameSave; namespace VPet.ModMaker.Models.ModModel; -public class AnimeTypeModel : ObservableObjectX +public class AnimeTypeModel : ObservableObjectX { public AnimeTypeModel() { diff --git a/VPet.ModMaker/Models/ModModel/ClickTextModel.cs b/VPet.ModMaker/Models/ModModel/ClickTextModel.cs index eade19a..b52f9ae 100644 --- a/VPet.ModMaker/Models/ModModel/ClickTextModel.cs +++ b/VPet.ModMaker/Models/ModModel/ClickTextModel.cs @@ -215,9 +215,7 @@ public class ClickTextModel : I18nModel public ObservableRange Strength { get; } = new(0, int.MaxValue); } -public class I18nClickTextModel - : ObservableObjectX, - ICloneable +public class I18nClickTextModel : ObservableObjectX, ICloneable { #region Text [DebuggerBrowsable(DebuggerBrowsableState.Never)] diff --git a/VPet.ModMaker/Models/ModModel/FoodAnimeLocationModel.cs b/VPet.ModMaker/Models/ModModel/FoodAnimeLocationModel.cs index 2dd128c..be4cf38 100644 --- a/VPet.ModMaker/Models/ModModel/FoodAnimeLocationModel.cs +++ b/VPet.ModMaker/Models/ModModel/FoodAnimeLocationModel.cs @@ -11,9 +11,7 @@ namespace VPet.ModMaker.Models.ModModel; /// /// 食物图像位置模型 /// -public class FoodAnimeLocationModel - : ObservableObjectX, - ICloneable +public class FoodAnimeLocationModel : ObservableObjectX, ICloneable { public FoodAnimeLocationModel() { } diff --git a/VPet.ModMaker/Models/ModModel/FoodAnimeModel.cs b/VPet.ModMaker/Models/ModModel/FoodAnimeModel.cs index cb58c74..1ef8896 100644 --- a/VPet.ModMaker/Models/ModModel/FoodAnimeModel.cs +++ b/VPet.ModMaker/Models/ModModel/FoodAnimeModel.cs @@ -13,7 +13,7 @@ using static VPet_Simulator.Core.IGameSave; namespace VPet.ModMaker.Models.ModModel; -public class FoodAnimeModel : ObservableObjectX, ICloneable +public class FoodAnimeModel : ObservableObjectX, ICloneable { public FoodAnimeModel() { } diff --git a/VPet.ModMaker/Models/ModModel/FoodAnimeTypeModel.cs b/VPet.ModMaker/Models/ModModel/FoodAnimeTypeModel.cs index efb740d..f9a4441 100644 --- a/VPet.ModMaker/Models/ModModel/FoodAnimeTypeModel.cs +++ b/VPet.ModMaker/Models/ModModel/FoodAnimeTypeModel.cs @@ -15,7 +15,7 @@ using static VPet_Simulator.Core.IGameSave; namespace VPet.ModMaker.Models.ModModel; -public class FoodAnimeTypeModel : ObservableObjectX +public class FoodAnimeTypeModel : ObservableObjectX { public FoodAnimeTypeModel() { } diff --git a/VPet.ModMaker/Models/ModModel/FoodModel.cs b/VPet.ModMaker/Models/ModModel/FoodModel.cs index 77497f0..ad59c77 100644 --- a/VPet.ModMaker/Models/ModModel/FoodModel.cs +++ b/VPet.ModMaker/Models/ModModel/FoodModel.cs @@ -40,10 +40,7 @@ public class FoodModel : I18nModel ] ); - private void FoodModel_PropertyChangedX( - I18nModel sender, - PropertyChangedXEventArgs e - ) + private void FoodModel_PropertyChangedX(object? sender, PropertyChangedXEventArgs e) { if (e.PropertyName is not null && _notifyReferencePrice.Contains(e.PropertyName)) { @@ -324,7 +321,7 @@ public class FoodModel : I18nModel } } -public class I18nFoodModel : ObservableObjectX, ICloneable +public class I18nFoodModel : ObservableObjectX, ICloneable { #region Name [DebuggerBrowsable(DebuggerBrowsableState.Never)] diff --git a/VPet.ModMaker/Models/ModModel/ImageModel.cs b/VPet.ModMaker/Models/ModModel/ImageModel.cs index b5fcb9a..3f597e5 100644 --- a/VPet.ModMaker/Models/ModModel/ImageModel.cs +++ b/VPet.ModMaker/Models/ModModel/ImageModel.cs @@ -13,7 +13,7 @@ namespace VPet.ModMaker.Models.ModModel; /// /// 图像模型 /// -public class ImageModel : ObservableObjectX, ICloneable +public class ImageModel : ObservableObjectX, ICloneable { public ImageModel(BitmapImage image, int duration = 100) { diff --git a/VPet.ModMaker/Models/ModModel/LowTextModel.cs b/VPet.ModMaker/Models/ModModel/LowTextModel.cs index b267067..f4d3448 100644 --- a/VPet.ModMaker/Models/ModModel/LowTextModel.cs +++ b/VPet.ModMaker/Models/ModModel/LowTextModel.cs @@ -120,7 +120,7 @@ public class LowTextModel : I18nModel } } -public class I18nLowTextModel : ObservableObjectX, ICloneable +public class I18nLowTextModel : ObservableObjectX, ICloneable { #region Text [DebuggerBrowsable(DebuggerBrowsableState.Never)] diff --git a/VPet.ModMaker/Models/ModModel/ModInfoModel.cs b/VPet.ModMaker/Models/ModModel/ModInfoModel.cs index 2b1c6f2..5e7691c 100644 --- a/VPet.ModMaker/Models/ModModel/ModInfoModel.cs +++ b/VPet.ModMaker/Models/ModModel/ModInfoModel.cs @@ -828,7 +828,7 @@ public class ModInfoModel : I18nModel } } -public class I18nModInfoModel : ObservableObjectX +public class I18nModInfoModel : ObservableObjectX { #region Name [DebuggerBrowsable(DebuggerBrowsableState.Never)] diff --git a/VPet.ModMaker/Models/ModModel/MoveModel.cs b/VPet.ModMaker/Models/ModModel/MoveModel.cs index 6145878..354db4c 100644 --- a/VPet.ModMaker/Models/ModModel/MoveModel.cs +++ b/VPet.ModMaker/Models/ModModel/MoveModel.cs @@ -14,7 +14,7 @@ namespace VPet.ModMaker.Models; /// /// 移动模型 /// -public class MoveModel : ObservableObjectX +public class MoveModel : ObservableObjectX { public MoveModel() { } diff --git a/VPet.ModMaker/Models/ModModel/PetModel.cs b/VPet.ModMaker/Models/ModModel/PetModel.cs index 3b45482..9f3c0f2 100644 --- a/VPet.ModMaker/Models/ModModel/PetModel.cs +++ b/VPet.ModMaker/Models/ModModel/PetModel.cs @@ -545,7 +545,7 @@ public class PetModel : I18nModel #endregion } -public class I18nPetInfoModel : ObservableObjectX, ICloneable +public class I18nPetInfoModel : ObservableObjectX, ICloneable { #region Name [DebuggerBrowsable(DebuggerBrowsableState.Never)] @@ -591,7 +591,7 @@ public class I18nPetInfoModel : ObservableObjectX, ICloneable< } public class ObservableMultiStateRectangleLocation - : ObservableObjectX, + : ObservableObjectX, IEquatable, ICloneable { @@ -715,7 +715,7 @@ public class ObservableMultiStateRectangleLocation } public class ObservableMultiStatePoint - : ObservableObjectX, + : ObservableObjectX, IEquatable, ICloneable { diff --git a/VPet.ModMaker/Models/ModModel/SelectTextModel.cs b/VPet.ModMaker/Models/ModModel/SelectTextModel.cs index db9f108..36ffe79 100644 --- a/VPet.ModMaker/Models/ModModel/SelectTextModel.cs +++ b/VPet.ModMaker/Models/ModModel/SelectTextModel.cs @@ -213,9 +213,7 @@ public class SelectTextModel : I18nModel } } -public class I18nSelectTextModel - : ObservableObjectX, - ICloneable +public class I18nSelectTextModel : ObservableObjectX, ICloneable { #region Choose [DebuggerBrowsable(DebuggerBrowsableState.Never)] diff --git a/VPet.ModMaker/Models/ModModel/WorkModel.cs b/VPet.ModMaker/Models/ModModel/WorkModel.cs index 696ff9d..a6ec649 100644 --- a/VPet.ModMaker/Models/ModModel/WorkModel.cs +++ b/VPet.ModMaker/Models/ModModel/WorkModel.cs @@ -453,7 +453,7 @@ public class WorkModel : I18nModel } } -public class I18nWorkModel : ObservableObjectX, ICloneable +public class I18nWorkModel : ObservableObjectX, ICloneable { #region Name [DebuggerBrowsable(DebuggerBrowsableState.Never)] diff --git a/VPet.ModMaker/VPet.ModMaker.csproj b/VPet.ModMaker/VPet.ModMaker.csproj index 3feb1d7..c0f8c62 100644 --- a/VPet.ModMaker/VPet.ModMaker.csproj +++ b/VPet.ModMaker/VPet.ModMaker.csproj @@ -27,7 +27,7 @@ - + diff --git a/VPet.ModMaker/ViewModels/ModEdit/AddCultureWindowVM.cs b/VPet.ModMaker/ViewModels/ModEdit/AddCultureWindowVM.cs index 6f451ca..75744b0 100644 --- a/VPet.ModMaker/ViewModels/ModEdit/AddCultureWindowVM.cs +++ b/VPet.ModMaker/ViewModels/ModEdit/AddCultureWindowVM.cs @@ -12,7 +12,7 @@ using VPet.ModMaker.Models; namespace VPet.ModMaker.ViewModels.ModEdit; -public class AddCultureWindowVM : ObservableObjectX +public class AddCultureWindowVM : ObservableObjectX { /// /// 显示的文化 diff --git a/VPet.ModMaker/ViewModels/ModEdit/AnimeEdit/AnimeEditWindowVM.cs b/VPet.ModMaker/ViewModels/ModEdit/AnimeEdit/AnimeEditWindowVM.cs index 7d34aac..edbefc2 100644 --- a/VPet.ModMaker/ViewModels/ModEdit/AnimeEdit/AnimeEditWindowVM.cs +++ b/VPet.ModMaker/ViewModels/ModEdit/AnimeEdit/AnimeEditWindowVM.cs @@ -20,7 +20,7 @@ using static VPet_Simulator.Core.IGameSave; namespace VPet.ModMaker.ViewModels.ModEdit.AnimeEdit; -public class AnimeEditWindowVM : ObservableObjectX +public class AnimeEditWindowVM : ObservableObjectX { public AnimeEditWindowVM() { @@ -37,10 +37,7 @@ public class AnimeEditWindowVM : ObservableObjectX ClearImageCommand.ExecuteCommand += ClearImageCommand_ExecuteCommand; } - private void AnimeEditWindowVM_PropertyChangedX( - AnimeEditWindowVM sender, - PropertyChangedXEventArgs e - ) + private void AnimeEditWindowVM_PropertyChangedX(object? sender, PropertyChangedXEventArgs e) { if (e.PropertyName == nameof(CurrentAnimeModel)) { diff --git a/VPet.ModMaker/ViewModels/ModEdit/AnimeEdit/AnimePageVM.cs b/VPet.ModMaker/ViewModels/ModEdit/AnimeEdit/AnimePageVM.cs index f124e08..3f0ad1d 100644 --- a/VPet.ModMaker/ViewModels/ModEdit/AnimeEdit/AnimePageVM.cs +++ b/VPet.ModMaker/ViewModels/ModEdit/AnimeEdit/AnimePageVM.cs @@ -17,7 +17,7 @@ using VPet.ModMaker.Views.ModEdit.AnimeEdit; namespace VPet.ModMaker.ViewModels.ModEdit.AnimeEdit; -public class AnimePageVM : ObservableObjectX +public class AnimePageVM : ObservableObjectX { public AnimePageVM() { @@ -50,7 +50,7 @@ public class AnimePageVM : ObservableObjectX RemoveCommand.ExecuteCommand += RemoveCommand_ExecuteCommand; } - private void AnimePageVM_PropertyChangedX(AnimePageVM sender, PropertyChangedXEventArgs e) + private void AnimePageVM_PropertyChangedX(object? sender, PropertyChangedXEventArgs e) { if (e.PropertyName == nameof(CurrentPet)) { diff --git a/VPet.ModMaker/ViewModels/ModEdit/AnimeEdit/FoodAnimeEditWindowVM.cs b/VPet.ModMaker/ViewModels/ModEdit/AnimeEdit/FoodAnimeEditWindowVM.cs index 9252e6e..761fcdf 100644 --- a/VPet.ModMaker/ViewModels/ModEdit/AnimeEdit/FoodAnimeEditWindowVM.cs +++ b/VPet.ModMaker/ViewModels/ModEdit/AnimeEdit/FoodAnimeEditWindowVM.cs @@ -19,7 +19,7 @@ using static VPet_Simulator.Core.IGameSave; namespace VPet.ModMaker.ViewModels.ModEdit.AnimeEdit; -public class FoodAnimeEditWindowVM : ObservableObjectX +public class FoodAnimeEditWindowVM : ObservableObjectX { public FoodAnimeEditWindowVM() { @@ -52,10 +52,7 @@ public class FoodAnimeEditWindowVM : ObservableObjectX ClearFoodLocationCommand.ExecuteCommand += ClearFoodLocationCommand_ExecuteEvent; } - private void FoodAnimeEditWindowVM_PropertyChangedX( - FoodAnimeEditWindowVM sender, - PropertyChangedXEventArgs e - ) + private void FoodAnimeEditWindowVM_PropertyChangedX(object? sender, PropertyChangedXEventArgs e) { if (e.PropertyName == nameof(CurrentAnimeModel)) { diff --git a/VPet.ModMaker/ViewModels/ModEdit/AnimeEdit/SelectGraphTypeWindowVM.cs b/VPet.ModMaker/ViewModels/ModEdit/AnimeEdit/SelectGraphTypeWindowVM.cs index 5f60c9c..b16c931 100644 --- a/VPet.ModMaker/ViewModels/ModEdit/AnimeEdit/SelectGraphTypeWindowVM.cs +++ b/VPet.ModMaker/ViewModels/ModEdit/AnimeEdit/SelectGraphTypeWindowVM.cs @@ -12,7 +12,7 @@ using VPet_Simulator.Core; namespace VPet.ModMaker.ViewModels.ModEdit.AnimeEdit; -public class SelectGraphTypeWindowVM : ObservableObjectX +public class SelectGraphTypeWindowVM : ObservableObjectX { public SelectGraphTypeWindowVM() { diff --git a/VPet.ModMaker/ViewModels/ModEdit/ClickTextEdit/ClickTextEditWindowVM.cs b/VPet.ModMaker/ViewModels/ModEdit/ClickTextEdit/ClickTextEditWindowVM.cs index b65b8af..decb0b3 100644 --- a/VPet.ModMaker/ViewModels/ModEdit/ClickTextEdit/ClickTextEditWindowVM.cs +++ b/VPet.ModMaker/ViewModels/ModEdit/ClickTextEdit/ClickTextEditWindowVM.cs @@ -11,7 +11,7 @@ using VPet_Simulator.Windows.Interface; namespace VPet.ModMaker.ViewModels.ModEdit.ClickTextEdit; -public class ClickTextEditWindowVM : ObservableObjectX +public class ClickTextEditWindowVM : ObservableObjectX { public static I18nHelper I18nData => I18nHelper.Current; diff --git a/VPet.ModMaker/ViewModels/ModEdit/ClickTextEdit/ClickTextPageVM.cs b/VPet.ModMaker/ViewModels/ModEdit/ClickTextEdit/ClickTextPageVM.cs index 7a3d641..c23342d 100644 --- a/VPet.ModMaker/ViewModels/ModEdit/ClickTextEdit/ClickTextPageVM.cs +++ b/VPet.ModMaker/ViewModels/ModEdit/ClickTextEdit/ClickTextPageVM.cs @@ -13,7 +13,7 @@ using VPet.ModMaker.Views.ModEdit.ClickTextEdit; namespace VPet.ModMaker.ViewModels.ModEdit.ClickTextEdit; -public class ClickTextPageVM : ObservableObjectX +public class ClickTextPageVM : ObservableObjectX { public ClickTextPageVM() { diff --git a/VPet.ModMaker/ViewModels/ModEdit/FoodEdit/FoodEditWindowVM.cs b/VPet.ModMaker/ViewModels/ModEdit/FoodEdit/FoodEditWindowVM.cs index 6c7f865..01f78e1 100644 --- a/VPet.ModMaker/ViewModels/ModEdit/FoodEdit/FoodEditWindowVM.cs +++ b/VPet.ModMaker/ViewModels/ModEdit/FoodEdit/FoodEditWindowVM.cs @@ -15,7 +15,7 @@ using VPet_Simulator.Windows.Interface; namespace VPet.ModMaker.ViewModels.ModEdit.FoodEdit; -public class FoodEditWindowVM : ObservableObjectX +public class FoodEditWindowVM : ObservableObjectX { public FoodEditWindowVM() { @@ -47,7 +47,7 @@ public class FoodEditWindowVM : ObservableObjectX } } - private void Food_PropertyChangedX(I18nModel sender, PropertyChangedXEventArgs e) + private void Food_PropertyChangedX(object? sender, PropertyChangedXEventArgs e) { if (e.PropertyName == nameof(FoodModel.ReferencePrice)) { diff --git a/VPet.ModMaker/ViewModels/ModEdit/FoodEdit/FoodPageVM.cs b/VPet.ModMaker/ViewModels/ModEdit/FoodEdit/FoodPageVM.cs index 8970d44..9583795 100644 --- a/VPet.ModMaker/ViewModels/ModEdit/FoodEdit/FoodPageVM.cs +++ b/VPet.ModMaker/ViewModels/ModEdit/FoodEdit/FoodPageVM.cs @@ -15,7 +15,7 @@ using VPet.ModMaker.Views.ModEdit.FoodEdit; namespace VPet.ModMaker.ViewModels.ModEdit.FoodEdit; -public class FoodPageVM : ObservableObjectX +public class FoodPageVM : ObservableObjectX { public FoodPageVM() { diff --git a/VPet.ModMaker/ViewModels/ModEdit/I18nEdit/I18nEditWindowVM.cs b/VPet.ModMaker/ViewModels/ModEdit/I18nEdit/I18nEditWindowVM.cs index 9480650..e2762ee 100644 --- a/VPet.ModMaker/ViewModels/ModEdit/I18nEdit/I18nEditWindowVM.cs +++ b/VPet.ModMaker/ViewModels/ModEdit/I18nEdit/I18nEditWindowVM.cs @@ -11,7 +11,7 @@ using VPet.ModMaker.Models; namespace VPet.ModMaker.ViewModels.ModEdit.I18nEdit; -public class I18nEditWindowVM : ObservableObjectX { } +public class I18nEditWindowVM : ObservableObjectX { } //{ // public I18nEditWindowVM() // { diff --git a/VPet.ModMaker/ViewModels/ModEdit/LowTextEdit/LowTextEditWindowVM.cs b/VPet.ModMaker/ViewModels/ModEdit/LowTextEdit/LowTextEditWindowVM.cs index 66fde01..aa92712 100644 --- a/VPet.ModMaker/ViewModels/ModEdit/LowTextEdit/LowTextEditWindowVM.cs +++ b/VPet.ModMaker/ViewModels/ModEdit/LowTextEdit/LowTextEditWindowVM.cs @@ -11,7 +11,7 @@ using VPet_Simulator.Windows.Interface; namespace VPet.ModMaker.ViewModels.ModEdit.LowTextEdit; -public class LowTextEditWindowVM : ObservableObjectX +public class LowTextEditWindowVM : ObservableObjectX { public static I18nHelper I18nData => I18nHelper.Current; #region Value diff --git a/VPet.ModMaker/ViewModels/ModEdit/LowTextEdit/LowTextPageVM.cs b/VPet.ModMaker/ViewModels/ModEdit/LowTextEdit/LowTextPageVM.cs index 207d023..38f59c7 100644 --- a/VPet.ModMaker/ViewModels/ModEdit/LowTextEdit/LowTextPageVM.cs +++ b/VPet.ModMaker/ViewModels/ModEdit/LowTextEdit/LowTextPageVM.cs @@ -15,7 +15,7 @@ using VPet.ModMaker.Views.ModEdit.LowTextEdit; namespace VPet.ModMaker.ViewModels.ModEdit.LowTextEdit; -public class LowTextPageVM : ObservableObjectX +public class LowTextPageVM : ObservableObjectX { public LowTextPageVM() { diff --git a/VPet.ModMaker/ViewModels/ModEdit/ModEditWindowVM.cs b/VPet.ModMaker/ViewModels/ModEdit/ModEditWindowVM.cs index c4226a1..f4bedf0 100644 --- a/VPet.ModMaker/ViewModels/ModEdit/ModEditWindowVM.cs +++ b/VPet.ModMaker/ViewModels/ModEdit/ModEditWindowVM.cs @@ -22,7 +22,7 @@ using VPet.ModMaker.Views.ModEdit.I18nEdit; namespace VPet.ModMaker.ViewModels.ModEdit; -public class ModEditWindowVM : ObservableObjectX +public class ModEditWindowVM : ObservableObjectX { public ModEditWindowVM(ModEditWindow window) { diff --git a/VPet.ModMaker/ViewModels/ModEdit/MoveEdit/MoveEditWindowVM.cs b/VPet.ModMaker/ViewModels/ModEdit/MoveEdit/MoveEditWindowVM.cs index 8afc66a..b5e0a74 100644 --- a/VPet.ModMaker/ViewModels/ModEdit/MoveEdit/MoveEditWindowVM.cs +++ b/VPet.ModMaker/ViewModels/ModEdit/MoveEdit/MoveEditWindowVM.cs @@ -12,7 +12,7 @@ using VPet.ModMaker.Models; namespace VPet.ModMaker.ViewModels.ModEdit.MoveEdit; -public class MoveEditWindowVM : ObservableObjectX +public class MoveEditWindowVM : ObservableObjectX { public MoveEditWindowVM() { diff --git a/VPet.ModMaker/ViewModels/ModEdit/MoveEdit/MovePageVM.cs b/VPet.ModMaker/ViewModels/ModEdit/MoveEdit/MovePageVM.cs index a898984..0ce1f5d 100644 --- a/VPet.ModMaker/ViewModels/ModEdit/MoveEdit/MovePageVM.cs +++ b/VPet.ModMaker/ViewModels/ModEdit/MoveEdit/MovePageVM.cs @@ -15,7 +15,7 @@ using VPet.ModMaker.Views.ModEdit.MoveEdit; namespace VPet.ModMaker.ViewModels.ModEdit.MoveEdit; -public class MovePageVM : ObservableObjectX +public class MovePageVM : ObservableObjectX { public MovePageVM() { diff --git a/VPet.ModMaker/ViewModels/ModEdit/PetEdit/PetEditWindowVM.cs b/VPet.ModMaker/ViewModels/ModEdit/PetEdit/PetEditWindowVM.cs index 01e63ff..1852577 100644 --- a/VPet.ModMaker/ViewModels/ModEdit/PetEdit/PetEditWindowVM.cs +++ b/VPet.ModMaker/ViewModels/ModEdit/PetEdit/PetEditWindowVM.cs @@ -13,7 +13,7 @@ using VPet.ModMaker.Models; namespace VPet.ModMaker.ViewModels.ModEdit.PetEdit; -public class PetEditWindowVM : ObservableObjectX +public class PetEditWindowVM : ObservableObjectX { public PetEditWindowVM() { diff --git a/VPet.ModMaker/ViewModels/ModEdit/PetEdit/PetPageVM.cs b/VPet.ModMaker/ViewModels/ModEdit/PetEdit/PetPageVM.cs index abe73c8..10a865b 100644 --- a/VPet.ModMaker/ViewModels/ModEdit/PetEdit/PetPageVM.cs +++ b/VPet.ModMaker/ViewModels/ModEdit/PetEdit/PetPageVM.cs @@ -14,7 +14,7 @@ using VPet.ModMaker.Views.ModEdit.PetEdit; namespace VPet.ModMaker.ViewModels.ModEdit.PetEdit; -public class PetPageVM : ObservableObjectX +public class PetPageVM : ObservableObjectX { public PetPageVM() { diff --git a/VPet.ModMaker/ViewModels/ModEdit/SaveTranslationModWindowVM.cs b/VPet.ModMaker/ViewModels/ModEdit/SaveTranslationModWindowVM.cs index ff98460..1b09f4f 100644 --- a/VPet.ModMaker/ViewModels/ModEdit/SaveTranslationModWindowVM.cs +++ b/VPet.ModMaker/ViewModels/ModEdit/SaveTranslationModWindowVM.cs @@ -15,7 +15,7 @@ using VPet.ModMaker.Models; namespace VPet.ModMaker.ViewModels.ModEdit; -public class SaveTranslationModWindowVM : ObservableObjectX +public class SaveTranslationModWindowVM : ObservableObjectX { #region Value #region CheckAll @@ -112,7 +112,7 @@ public class SaveTranslationModWindowVM : ObservableObjectX +public class CheckCultureModel : ObservableObjectX { #region IsChecked [DebuggerBrowsable(DebuggerBrowsableState.Never)] diff --git a/VPet.ModMaker/ViewModels/ModEdit/SelectTextEdit/SelectTextEditWindowVM.cs b/VPet.ModMaker/ViewModels/ModEdit/SelectTextEdit/SelectTextEditWindowVM.cs index 9219656..176b069 100644 --- a/VPet.ModMaker/ViewModels/ModEdit/SelectTextEdit/SelectTextEditWindowVM.cs +++ b/VPet.ModMaker/ViewModels/ModEdit/SelectTextEdit/SelectTextEditWindowVM.cs @@ -9,7 +9,7 @@ using VPet.ModMaker.Models; namespace VPet.ModMaker.ViewModels.ModEdit.SelectTextEdit; -public class SelectTextEditWindowVM : ObservableObjectX +public class SelectTextEditWindowVM : ObservableObjectX { public static I18nHelper I18nData => I18nHelper.Current; #region Value diff --git a/VPet.ModMaker/ViewModels/ModEdit/SelectTextEdit/SelectTextPageVM.cs b/VPet.ModMaker/ViewModels/ModEdit/SelectTextEdit/SelectTextPageVM.cs index d425817..876c8a8 100644 --- a/VPet.ModMaker/ViewModels/ModEdit/SelectTextEdit/SelectTextPageVM.cs +++ b/VPet.ModMaker/ViewModels/ModEdit/SelectTextEdit/SelectTextPageVM.cs @@ -14,7 +14,7 @@ using VPet_Simulator.Windows.Interface; namespace VPet.ModMaker.ViewModels.ModEdit.SelectTextEdit; -public class SelectTextPageVM : ObservableObjectX +public class SelectTextPageVM : ObservableObjectX { public SelectTextPageVM() { diff --git a/VPet.ModMaker/ViewModels/ModEdit/WorkEdit/WorkEditWindowVM.cs b/VPet.ModMaker/ViewModels/ModEdit/WorkEdit/WorkEditWindowVM.cs index b8a2036..8e07d05 100644 --- a/VPet.ModMaker/ViewModels/ModEdit/WorkEdit/WorkEditWindowVM.cs +++ b/VPet.ModMaker/ViewModels/ModEdit/WorkEdit/WorkEditWindowVM.cs @@ -16,7 +16,7 @@ using VPet_Simulator.Windows.Interface; namespace VPet.ModMaker.ViewModels.ModEdit.WorkEdit; -public class WorkEditWindowVM : ObservableObjectX +public class WorkEditWindowVM : ObservableObjectX { public WorkEditWindowVM() { @@ -27,10 +27,7 @@ public class WorkEditWindowVM : ObservableObjectX FixOverLoadCommand.ExecuteCommand += FixOverLoadCommand_ExecuteCommand; } - private void WorkEditWindowVM_PropertyChangedX( - WorkEditWindowVM sender, - PropertyChangedXEventArgs e - ) + private void WorkEditWindowVM_PropertyChangedX(object? sender, PropertyChangedXEventArgs e) { if (e.PropertyName == nameof(Work)) { diff --git a/VPet.ModMaker/ViewModels/ModEdit/WorkEdit/WorkPageVM.cs b/VPet.ModMaker/ViewModels/ModEdit/WorkEdit/WorkPageVM.cs index d1d27ff..ba28c70 100644 --- a/VPet.ModMaker/ViewModels/ModEdit/WorkEdit/WorkPageVM.cs +++ b/VPet.ModMaker/ViewModels/ModEdit/WorkEdit/WorkPageVM.cs @@ -15,7 +15,7 @@ using VPet.ModMaker.Views.ModEdit.WorkEdit; namespace VPet.ModMaker.ViewModels.ModEdit.WorkEdit; -public class WorkPageVM : ObservableObjectX +public class WorkPageVM : ObservableObjectX { public WorkPageVM() { diff --git a/VPet.ModMaker/ViewModels/ModMakerWindowVM.cs b/VPet.ModMaker/ViewModels/ModMakerWindowVM.cs index f264ddb..57df1c9 100644 --- a/VPet.ModMaker/ViewModels/ModMakerWindowVM.cs +++ b/VPet.ModMaker/ViewModels/ModMakerWindowVM.cs @@ -23,7 +23,7 @@ using VPet.ModMaker.Views.ModEdit.I18nEdit; namespace VPet.ModMaker.ViewModels; -public class ModMakerWindowVM : ObservableObjectX +public class ModMakerWindowVM : ObservableObjectX { public ModMakerWindowVM(ModMakerWindow window) {