mirror of
https://github.com/milimoe/FunGame-Testing.git
synced 2025-12-05 08:09:04 +00:00
1
This commit is contained in:
parent
6a6f868230
commit
bb794067c4
@ -1,7 +1,6 @@
|
||||
using System.Globalization;
|
||||
using System.Windows.Data;
|
||||
using Milimoe.FunGame.Core.Entity;
|
||||
using Milimoe.FunGame.Core.Interface.Entity;
|
||||
using Milimoe.FunGame.Core.Library.Constant;
|
||||
|
||||
namespace Milimoe.FunGame.Testing.Desktop.GameMapTesting
|
||||
|
||||
@ -1,7 +1,5 @@
|
||||
using System.Buffers.Text;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Collections.Specialized;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Documents;
|
||||
@ -13,7 +11,6 @@ using Milimoe.FunGame.Core.Interface.Entity;
|
||||
using Milimoe.FunGame.Core.Library.Common.Addon;
|
||||
using Milimoe.FunGame.Core.Library.Constant;
|
||||
using Milimoe.FunGame.Core.Model;
|
||||
using Oshima.FunGame.OshimaModules.Effects.OpenEffects;
|
||||
using static Milimoe.FunGame.Core.Library.Constant.General;
|
||||
using Brush = System.Windows.Media.Brush;
|
||||
using Brushes = System.Windows.Media.Brushes;
|
||||
|
||||
@ -21,7 +21,7 @@ namespace Milimoe.FunGame.Testing.Desktop.Solutions
|
||||
ItemManager = im;
|
||||
FileName = "Module.ini";
|
||||
ModuleName = "EntityEditor";
|
||||
if (INIHelper.ExistINIFile(FileName))
|
||||
if (INIHelper.INIFileExists(FileName))
|
||||
{
|
||||
ModuleName = INIHelper.ReadINI("ModuleName", "Module", FileName);
|
||||
string character = INIHelper.ReadINI("ModuleName", "Character", FileName);
|
||||
|
||||
@ -197,7 +197,7 @@ namespace Milimoe.FunGame.Testing.Desktop.Solutions.NovelEditor
|
||||
NodeListBox.ItemsSource = _config.Values;
|
||||
NodeListBox.Items.Refresh();
|
||||
Title = Title.Replace("*", "").Trim();
|
||||
if (NovelConfig.ExistsFile("NovelEditor", _config.FileName))
|
||||
if (NovelConfig.FileExists("NovelEditor", _config.FileName))
|
||||
{
|
||||
MessageBox.Show("这是一个在配置文件中已存在相同文件名的文件,建议保存时使用另存为功能。", "提示");
|
||||
}
|
||||
@ -224,7 +224,7 @@ namespace Milimoe.FunGame.Testing.Desktop.Solutions.NovelEditor
|
||||
string name = inputDialog.ResponseText;
|
||||
if (name.Trim() != "")
|
||||
{
|
||||
if (NovelConfig.ExistsFile("NovelEditor", name))
|
||||
if (NovelConfig.FileExists("NovelEditor", name))
|
||||
{
|
||||
if (MessageBox.Show("文件已经存在,是否覆盖?", "提示", MessageBoxButton.YesNo) == MessageBoxResult.No)
|
||||
{
|
||||
|
||||
@ -1,13 +1,6 @@
|
||||
using System.Text;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Milimoe.FunGame.Core.Api.Utility;
|
||||
using Milimoe.FunGame.Core.Entity;
|
||||
using Milimoe.FunGame.Core.Library.Constant;
|
||||
using Milimoe.FunGame.Testing.Tests;
|
||||
using Oshima.FunGame.OshimaModules;
|
||||
using Oshima.FunGame.OshimaModules.Models;
|
||||
using Oshima.FunGame.OshimaModules.Regions;
|
||||
using Oshima.FunGame.OshimaServers.Model;
|
||||
using Oshima.FunGame.OshimaServers.Service;
|
||||
using Oshima.FunGame.WebAPI.Controllers;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user