move Common.Extensions To Common.Utils

This commit is contained in:
mkbka 2024-06-03 20:31:34 +08:00
parent 11c035d083
commit b524bf0678
2 changed files with 4 additions and 3 deletions

View File

@ -5,7 +5,7 @@ using System.Text;
using System.Threading.Tasks;
using SCHALE.Common.FlatData;
namespace SCHALE.Common.Extensions
namespace SCHALE.Common.Utils
{
public enum StudentType
{
@ -21,7 +21,8 @@ namespace SCHALE.Common.Extensions
if (!ch.CollectionVisibleEndDate.StartsWith("2099"))
{
return StudentType.Unique;
} else if (ch.CombineRecipeId == 0)
}
else if (ch.CombineRecipeId == 0)
{
return StudentType.Event;
}

View File

@ -9,8 +9,8 @@ using System.Threading.Tasks;
using System.Windows.Forms;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
using SCHALE.Common.Extensions;
using SCHALE.Common.FlatData;
using SCHALE.Common.Utils;
using SCHALE.GameServer.Services;
using SCHALE.Toolbox.Models.SchaleDB;
using Serilog;