diff --git a/VPet.Plugin.DemoClock/VPet.Plugin.DemoClock.csproj b/VPet.Plugin.DemoClock/VPet.Plugin.DemoClock.csproj
index ba7f4bc..9b2c6ef 100644
--- a/VPet.Plugin.DemoClock/VPet.Plugin.DemoClock.csproj
+++ b/VPet.Plugin.DemoClock/VPet.Plugin.DemoClock.csproj
@@ -41,8 +41,8 @@
..\packages\Panuon.WPF.1.0.2\lib\net462\Panuon.WPF.dll
-
- ..\packages\Panuon.WPF.UI.1.1.15.4\lib\net462\Panuon.WPF.UI.dll
+
+ ..\packages\Panuon.WPF.UI.1.1.15.6\lib\net462\Panuon.WPF.UI.dll
@@ -56,10 +56,10 @@
4.0
- ..\packages\VPet-Simulator.Core.0.5.0\lib\net462\VPet-Simulator.Core.dll
+ ..\packages\VPet-Simulator.Core.1.0.0\lib\net462\VPet-Simulator.Core.dll
- ..\packages\VPet-Simulator.Windows.Interface.0.5.0\lib\net462\VPet-Simulator.Windows.Interface.dll
+ ..\packages\VPet-Simulator.Windows.Interface.1.0.0\lib\net462\VPet-Simulator.Windows.Interface.dll
diff --git a/VPet.Plugin.DemoClock/packages.config b/VPet.Plugin.DemoClock/packages.config
index d863a17..a3e78cf 100644
--- a/VPet.Plugin.DemoClock/packages.config
+++ b/VPet.Plugin.DemoClock/packages.config
@@ -3,7 +3,7 @@
-
-
-
+
+
+
\ No newline at end of file
diff --git a/VPet.Plugin.EdgeTTS/VPet.Plugin.VPetTTS.csproj b/VPet.Plugin.EdgeTTS/VPet.Plugin.VPetTTS.csproj
index 9d5979c..88e18c3 100644
--- a/VPet.Plugin.EdgeTTS/VPet.Plugin.VPetTTS.csproj
+++ b/VPet.Plugin.EdgeTTS/VPet.Plugin.VPetTTS.csproj
@@ -46,8 +46,8 @@
..\packages\Panuon.WPF.1.0.2\lib\net462\Panuon.WPF.dll
-
- ..\packages\Panuon.WPF.UI.1.1.15.4\lib\net462\Panuon.WPF.UI.dll
+
+ ..\packages\Panuon.WPF.UI.1.1.15.6\lib\net462\Panuon.WPF.UI.dll
@@ -67,10 +67,10 @@
- ..\packages\VPet-Simulator.Core.0.5.0\lib\net462\VPet-Simulator.Core.dll
+ ..\packages\VPet-Simulator.Core.1.0.0\lib\net462\VPet-Simulator.Core.dll
- ..\packages\VPet-Simulator.Windows.Interface.0.5.0\lib\net462\VPet-Simulator.Windows.Interface.dll
+ ..\packages\VPet-Simulator.Windows.Interface.1.0.0\lib\net462\VPet-Simulator.Windows.Interface.dll
diff --git a/VPet.Plugin.EdgeTTS/packages.config b/VPet.Plugin.EdgeTTS/packages.config
index 9084d7a..4767a90 100644
--- a/VPet.Plugin.EdgeTTS/packages.config
+++ b/VPet.Plugin.EdgeTTS/packages.config
@@ -5,9 +5,9 @@
-
+
-
-
+
+
\ No newline at end of file
diff --git a/VPet.Plugin.ModMaker/App.xaml b/VPet.Plugin.ModMaker/App.xaml
index ac5d3a2..8717b5f 100644
--- a/VPet.Plugin.ModMaker/App.xaml
+++ b/VPet.Plugin.ModMaker/App.xaml
@@ -2,7 +2,7 @@
x:Class="VPet.Plugin.ModMaker.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- StartupUri="winModMaker.xaml">
+ StartupUri="ModMakerWindow.xaml">
diff --git a/VPet.Plugin.ModMaker/ModInfo.cs b/VPet.Plugin.ModMaker/ModInfo.cs
new file mode 100644
index 0000000..321c51a
--- /dev/null
+++ b/VPet.Plugin.ModMaker/ModInfo.cs
@@ -0,0 +1,21 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using VPet_Simulator.Windows.Interface;
+
+namespace VPet.Plugin.ModMaker;
+
+public class ModInfo
+{
+ public string Name { get; set; } = string.Empty;
+ public string Author { get; set; } = string.Empty;
+ public string GameVersion { get; set; } = string.Empty;
+ public string ModVersion { get; set; } = string.Empty;
+ public string Description { get; set; } = string.Empty;
+
+ public List Foods { get; set; } = new();
+ public List ClickTexts { get; set; } = new();
+ public List LowTexts { get; set; } = new();
+}
diff --git a/VPet.Plugin.ModMaker/ModMaker.cs b/VPet.Plugin.ModMaker/ModMaker.cs
index 3ec3310..877f472 100644
--- a/VPet.Plugin.ModMaker/ModMaker.cs
+++ b/VPet.Plugin.ModMaker/ModMaker.cs
@@ -36,13 +36,13 @@ namespace VPet.Plugin.ModMaker
}
public override string PluginName => "ModMaker";
- public WinModMaker Maker;
+ public ModMakerWindow Maker;
public override void Setting()
{
if (Maker == null)
{
- Maker = new WinModMaker();
+ Maker = new ModMakerWindow();
Maker.ModMaker = this;
Maker.Show();
}
diff --git a/VPet.Plugin.ModMaker/winModMaker.xaml b/VPet.Plugin.ModMaker/ModMakerWindow.xaml
similarity index 87%
rename from VPet.Plugin.ModMaker/winModMaker.xaml
rename to VPet.Plugin.ModMaker/ModMakerWindow.xaml
index 7e546a7..cb0b522 100644
--- a/VPet.Plugin.ModMaker/winModMaker.xaml
+++ b/VPet.Plugin.ModMaker/ModMakerWindow.xaml
@@ -1,5 +1,5 @@
-
-
-
-
-
-
-
-
+
-
-
+
diff --git a/VPet.Plugin.ModMaker/ModMakerWindow.xaml.cs b/VPet.Plugin.ModMaker/ModMakerWindow.xaml.cs
new file mode 100644
index 0000000..9f30e6c
--- /dev/null
+++ b/VPet.Plugin.ModMaker/ModMakerWindow.xaml.cs
@@ -0,0 +1,42 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Runtime.CompilerServices;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Shapes;
+using VPet.Plugin.ModMaker.WinModEdit;
+
+namespace VPet.Plugin.ModMaker;
+
+///
+/// winModMaker.xaml 的交互逻辑
+///
+public partial class ModMakerWindow : Window
+{
+ public ModMaker ModMaker { get; set; }
+ public ModEditWindow WinModEdit { get; set; }
+
+ public ModMakerWindow()
+ {
+ InitializeComponent();
+ }
+
+ private void Button_CreateNewMod_Click(object sender, RoutedEventArgs e)
+ {
+ WinModEdit = new();
+ WinModEdit.Show();
+ this.Hide();
+ WinModEdit.Closed += (s, e) =>
+ {
+ this.Close();
+ };
+ }
+}
diff --git a/VPet.Plugin.ModMaker/Utils.cs b/VPet.Plugin.ModMaker/Utils.cs
new file mode 100644
index 0000000..06a9410
--- /dev/null
+++ b/VPet.Plugin.ModMaker/Utils.cs
@@ -0,0 +1,25 @@
+using System;
+using System.Collections.Generic;
+using System.IO;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows.Media.Imaging;
+
+namespace VPet.Plugin.ModMaker;
+
+internal static class Utils
+{
+ public static BitmapImage LoadImageToMemoryStream(string imagePath)
+ {
+ BitmapImage bitmapImage = new();
+ bitmapImage.BeginInit();
+ var ms = new MemoryStream();
+ var sr = new StreamReader(imagePath);
+ sr.BaseStream.CopyTo(ms);
+ sr.Close();
+ bitmapImage.StreamSource = ms;
+ bitmapImage.EndInit();
+ return bitmapImage;
+ }
+}
diff --git a/VPet.Plugin.ModMaker/VPet.Plugin.ModMaker.csproj b/VPet.Plugin.ModMaker/VPet.Plugin.ModMaker.csproj
index c0a9319..574f7a4 100644
--- a/VPet.Plugin.ModMaker/VPet.Plugin.ModMaker.csproj
+++ b/VPet.Plugin.ModMaker/VPet.Plugin.ModMaker.csproj
@@ -12,7 +12,7 @@
512
{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
4
- 6
+ latest
true
publish\
true
@@ -75,10 +75,10 @@
4.0
- ..\packages\VPet-Simulator.Core.0.5.0\lib\net462\VPet-Simulator.Core.dll
+ ..\packages\VPet-Simulator.Core.1.0.0\lib\net462\VPet-Simulator.Core.dll
- ..\packages\VPet-Simulator.Windows.Interface.0.5.0\lib\net462\VPet-Simulator.Windows.Interface.dll
+ ..\packages\VPet-Simulator.Windows.Interface.1.0.0\lib\net462\VPet-Simulator.Windows.Interface.dll
@@ -88,6 +88,7 @@
App.xaml
+
Code
@@ -102,11 +103,16 @@
Settings.settings
True
-
- WinModInfo.xaml
+
+
+ AddFoodWindow.xaml
-
- WinModMaker.xaml
+
+
+ ModEditWindow.xaml
+
+
+ ModMakerWindow.xaml
ResXFileCodeGenerator
@@ -123,11 +129,15 @@
Designer
MSBuild:Compile
-
+
Designer
MSBuild:Compile
-
+
+ Designer
+ MSBuild:Compile
+
+
Designer
MSBuild:Compile
diff --git a/VPet.Plugin.ModMaker/WinModEdit/AddFoodWindow.xaml b/VPet.Plugin.ModMaker/WinModEdit/AddFoodWindow.xaml
new file mode 100644
index 0000000..59b1aa0
--- /dev/null
+++ b/VPet.Plugin.ModMaker/WinModEdit/AddFoodWindow.xaml
@@ -0,0 +1,176 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/VPet.Plugin.ModMaker/WinModEdit/AddFoodWindow.xaml.cs b/VPet.Plugin.ModMaker/WinModEdit/AddFoodWindow.xaml.cs
new file mode 100644
index 0000000..01a3ad8
--- /dev/null
+++ b/VPet.Plugin.ModMaker/WinModEdit/AddFoodWindow.xaml.cs
@@ -0,0 +1,69 @@
+using Microsoft.Win32;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Shapes;
+
+namespace VPet.Plugin.ModMaker.WinModEdit;
+
+///
+/// AddFoodWindow.xaml 的交互逻辑
+///
+public partial class AddFoodWindow : Window
+{
+ public bool IsCancel { get; internal set; } = true;
+ public BitmapImage FoodImage { get; internal set; }
+
+ public AddFoodWindow()
+ {
+ InitializeComponent();
+ }
+
+ private void Button_AddFoodImage_Click(object sender, RoutedEventArgs e)
+ {
+ OpenFileDialog openFileDialog =
+ new() { Title = "选择图片", Filter = $"图片|*.jpg;*.jpeg;*.png;*.bmp" };
+ if (openFileDialog.ShowDialog() is true)
+ {
+ Image_FoodImage.Source = FoodImage = Utils.LoadImageToMemoryStream(
+ openFileDialog.FileName
+ );
+ Button_AddFoodImage.Visibility = Visibility.Hidden;
+ }
+ }
+
+ private void MenuItem_ChangeFoodImage_Click(object sender, RoutedEventArgs e)
+ {
+ OpenFileDialog openFileDialog =
+ new() { Title = "选择图片", Filter = $"图片|*.jpg;*.jpeg;*.png;*.bmp" };
+ if (openFileDialog.ShowDialog() is true)
+ {
+ if (Image_FoodImage.Source is BitmapImage bitmapImage)
+ bitmapImage.StreamSource.Close();
+ Image_FoodImage.Source = FoodImage = Utils.LoadImageToMemoryStream(
+ openFileDialog.FileName
+ );
+ }
+ }
+
+ private void Button_Cancel_Click(object sender, RoutedEventArgs e)
+ {
+ FoodImage?.StreamSource.Close();
+ Close();
+ }
+
+ private void Button_Yes_Click(object sender, RoutedEventArgs e)
+ {
+ IsCancel = false;
+ Close();
+ }
+}
diff --git a/VPet.Plugin.ModMaker/WinModEdit/ModEditWindow.cs b/VPet.Plugin.ModMaker/WinModEdit/ModEditWindow.cs
new file mode 100644
index 0000000..75c425c
--- /dev/null
+++ b/VPet.Plugin.ModMaker/WinModEdit/ModEditWindow.cs
@@ -0,0 +1,35 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows.Controls;
+using VPet_Simulator.Windows.Interface;
+
+namespace VPet.Plugin.ModMaker.WinModEdit;
+
+public partial class ModEditWindow
+{
+ public static Food CreateFoodFormWindow(AddFoodWindow addFoodWindow)
+ {
+ return new()
+ {
+ Name = addFoodWindow.TextBox_FoodName.Text,
+ ImageSource = addFoodWindow.Image_FoodImage.Source,
+ Desc = addFoodWindow.TextBox_FoodDescription.Text,
+ Type = (Food.FoodType)
+ Enum.Parse(
+ typeof(Food.FoodType),
+ ((ComboBoxItem)addFoodWindow.ComboBox_FoodType.SelectedItem).Tag.ToString()
+ ),
+ Strength = double.Parse(addFoodWindow.TextBox_Strength.Text),
+ StrengthFood = double.Parse(addFoodWindow.TextBox_StrengthFood.Text),
+ StrengthDrink = double.Parse(addFoodWindow.TextBox_StrengthDrink.Text),
+ Health = double.Parse(addFoodWindow.TextBox_Health.Text),
+ Feeling = double.Parse(addFoodWindow.TextBox_Feeling.Text),
+ Likability = double.Parse(addFoodWindow.TextBox_Likability.Text),
+ Price = double.Parse(addFoodWindow.TextBox_Price.Text),
+ Exp = int.Parse(addFoodWindow.TextBox_Exp.Text),
+ };
+ }
+}
diff --git a/VPet.Plugin.ModMaker/WinModEdit/ModEditWindow.xaml b/VPet.Plugin.ModMaker/WinModEdit/ModEditWindow.xaml
new file mode 100644
index 0000000..376d8ad
--- /dev/null
+++ b/VPet.Plugin.ModMaker/WinModEdit/ModEditWindow.xaml
@@ -0,0 +1,374 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/VPet.Plugin.ModMaker/WinModEdit/ModEditWindow.xaml.cs b/VPet.Plugin.ModMaker/WinModEdit/ModEditWindow.xaml.cs
new file mode 100644
index 0000000..2a848de
--- /dev/null
+++ b/VPet.Plugin.ModMaker/WinModEdit/ModEditWindow.xaml.cs
@@ -0,0 +1,151 @@
+using Microsoft.Win32;
+using Panuon.WPF;
+using System;
+using System.Collections.Generic;
+using System.Collections.ObjectModel;
+using System.IO;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Shapes;
+using VPet_Simulator.Windows.Interface;
+
+namespace VPet.Plugin.ModMaker.WinModEdit;
+
+///
+/// winModInfo.xaml 的交互逻辑
+///
+public partial class ModEditWindow : Window
+{
+ public string ModName { get; set; } = string.Empty;
+ public ObservableCollection Foods { get; set; } = new();
+
+ public Dictionary FoodDict { get; set; } = new();
+
+ public ModEditWindow()
+ {
+ InitializeComponent();
+ DataGrid_Food.ItemsSource = Foods;
+ Closed += WinModInfo_Closed;
+ }
+
+ private void WinModInfo_Closed(object sender, EventArgs e)
+ {
+ if (Image_ModImage.Source is BitmapImage bitmapImage)
+ bitmapImage.StreamSource.Close();
+ }
+
+ private void Button_AddModImage_Click(object sender, RoutedEventArgs e)
+ {
+ OpenFileDialog openFileDialog =
+ new() { Title = "选择图片", Filter = $"图片|*.jpg;*.jpeg;*.png;*.bmp" };
+ if (openFileDialog.ShowDialog() is true)
+ {
+ Image_ModImage.Source = new BitmapImage(new Uri(openFileDialog.FileName));
+ Button_AddModImage.Visibility = Visibility.Hidden;
+ }
+ }
+
+ private void MenuItem_ChangeModImage_Click(object sender, RoutedEventArgs e)
+ {
+ OpenFileDialog openFileDialog =
+ new() { Title = "选择图片", Filter = $"图片|*.jpg;*.jpeg;*.png;*.bmp" };
+ if (openFileDialog.ShowDialog() is true)
+ {
+ Image_ModImage.Source = new BitmapImage(new Uri(openFileDialog.FileName));
+ }
+ }
+
+ private void Button_AddFood_Click(object sender, RoutedEventArgs e)
+ {
+ this.IsEnabled = false;
+ var window = new AddFoodWindow();
+ window.Closed += (s, e) =>
+ {
+ if (s is not AddFoodWindow addFoodWindow)
+ return;
+ if (addFoodWindow.IsCancel)
+ {
+ this.IsEnabled = true;
+ return;
+ }
+ var food = CreateFoodFormWindow(addFoodWindow);
+ if (FoodDict.TryGetValue(food.Name, out var oldFood))
+ {
+ FoodDict[food.Name] = Foods[Foods.IndexOf(oldFood)] = food;
+ }
+ else
+ {
+ Foods.Add(food);
+ FoodDict.Add(food.Name, food);
+ }
+ this.IsEnabled = true;
+ };
+ window.Show();
+ }
+
+ private void Button_AddItem_Click(object sender, RoutedEventArgs e) { }
+
+ private void Button_AddAnime_Click(object sender, RoutedEventArgs e) { }
+
+ private void Button_AddAudio_Click(object sender, RoutedEventArgs e) { }
+
+ private void Button_AddClickText_Click(object sender, RoutedEventArgs e) { }
+
+ private void Button_AddLowText_Click(object sender, RoutedEventArgs e) { }
+
+ private void DataGrid_Food_MouseDoubleClick(object sender, MouseButtonEventArgs e)
+ {
+ if (sender is not DataGrid dataGrid || dataGrid.SelectedItem is not Food oldFood)
+ return;
+ this.IsEnabled = false;
+ var window = new AddFoodWindow();
+ window.TextBox_FoodName.Text = oldFood.Name;
+ window.Image_FoodImage.Source = oldFood.ImageSource;
+ window.TextBox_FoodDescription.Text = oldFood.Desc;
+ foreach (ComboBoxItem item in window.ComboBox_FoodType.Items)
+ if (item.Tag.ToString() == oldFood.Type.ToString())
+ window.ComboBox_FoodType.SelectedItem = item;
+ window.TextBox_Strength.Text = oldFood.Strength.ToString();
+ window.TextBox_StrengthFood.Text = oldFood.StrengthFood.ToString();
+ window.TextBox_StrengthDrink.Text = oldFood.StrengthDrink.ToString();
+ window.TextBox_Health.Text = oldFood.Health.ToString();
+ window.TextBox_Feeling.Text = oldFood.Feeling.ToString();
+ window.TextBox_Likability.Text = oldFood.Likability.ToString();
+ window.TextBox_Price.Text = oldFood.Price.ToString();
+ window.TextBox_Exp.Text = oldFood.Exp.ToString();
+ window.Button_AddFoodImage.Visibility = Visibility.Visible;
+ window.Closed += (s, e) =>
+ {
+ if (s is not AddFoodWindow addFoodWindow)
+ return;
+ if (addFoodWindow.IsCancel)
+ {
+ this.IsEnabled = true;
+ return;
+ }
+ var food = CreateFoodFormWindow(addFoodWindow);
+ if (FoodDict.TryGetValue(food.Name, out var tempFood))
+ {
+ FoodDict[food.Name] = Foods[Foods.IndexOf(tempFood)] = food;
+ }
+ else
+ {
+ Foods[Foods.IndexOf(oldFood)] = food;
+ FoodDict.Remove(oldFood.Name);
+ FoodDict.Add(food.Name, food);
+ }
+ this.IsEnabled = true;
+ };
+ window.Show();
+ }
+
+ private void MenuItem_RemoveFood_Click(object sender, RoutedEventArgs e) { }
+}
diff --git a/VPet.Plugin.ModMaker/packages.config b/VPet.Plugin.ModMaker/packages.config
index 6a345fb..a3e78cf 100644
--- a/VPet.Plugin.ModMaker/packages.config
+++ b/VPet.Plugin.ModMaker/packages.config
@@ -4,6 +4,6 @@
-
-
+
+
\ No newline at end of file
diff --git a/VPet.Plugin.ModMaker/winModInfo.xaml b/VPet.Plugin.ModMaker/winModInfo.xaml
deleted file mode 100644
index 71db090..0000000
--- a/VPet.Plugin.ModMaker/winModInfo.xaml
+++ /dev/null
@@ -1,92 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/VPet.Plugin.ModMaker/winModInfo.xaml.cs b/VPet.Plugin.ModMaker/winModInfo.xaml.cs
deleted file mode 100644
index dfa8cff..0000000
--- a/VPet.Plugin.ModMaker/winModInfo.xaml.cs
+++ /dev/null
@@ -1,27 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using System.Windows;
-using System.Windows.Controls;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Input;
-using System.Windows.Media;
-using System.Windows.Media.Imaging;
-using System.Windows.Shapes;
-
-namespace VPet.Plugin.ModMaker
-{
- ///
- /// winModInfo.xaml 的交互逻辑
- ///
- public partial class WinModInfo : Window
- {
- public WinModInfo()
- {
- InitializeComponent();
- }
- }
-}
diff --git a/VPet.Plugin.ModMaker/winModMaker.xaml.cs b/VPet.Plugin.ModMaker/winModMaker.xaml.cs
deleted file mode 100644
index 94c6db7..0000000
--- a/VPet.Plugin.ModMaker/winModMaker.xaml.cs
+++ /dev/null
@@ -1,30 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Runtime.CompilerServices;
-using System.Text;
-using System.Threading.Tasks;
-using System.Windows;
-using System.Windows.Controls;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Input;
-using System.Windows.Media;
-using System.Windows.Media.Imaging;
-using System.Windows.Shapes;
-
-namespace VPet.Plugin.ModMaker
-{
- ///
- /// winModMaker.xaml 的交互逻辑
- ///
- public partial class WinModMaker : Window
- {
- public ModMaker ModMaker { get; set; }
-
- public WinModMaker()
- {
- InitializeComponent();
- }
- }
-}