forked from Raphael/SCHALE.GameServer
move Common.Extensions To Common.Utils
This commit is contained in:
parent
11c035d083
commit
b524bf0678
|
@ -5,7 +5,7 @@ using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using SCHALE.Common.FlatData;
|
using SCHALE.Common.FlatData;
|
||||||
|
|
||||||
namespace SCHALE.Common.Extensions
|
namespace SCHALE.Common.Utils
|
||||||
{
|
{
|
||||||
public enum StudentType
|
public enum StudentType
|
||||||
{
|
{
|
||||||
|
@ -21,7 +21,8 @@ namespace SCHALE.Common.Extensions
|
||||||
if (!ch.CollectionVisibleEndDate.StartsWith("2099"))
|
if (!ch.CollectionVisibleEndDate.StartsWith("2099"))
|
||||||
{
|
{
|
||||||
return StudentType.Unique;
|
return StudentType.Unique;
|
||||||
} else if (ch.CombineRecipeId == 0)
|
}
|
||||||
|
else if (ch.CombineRecipeId == 0)
|
||||||
{
|
{
|
||||||
return StudentType.Event;
|
return StudentType.Event;
|
||||||
}
|
}
|
|
@ -9,8 +9,8 @@ using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Microsoft.Extensions.Logging;
|
using Microsoft.Extensions.Logging;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using SCHALE.Common.Extensions;
|
|
||||||
using SCHALE.Common.FlatData;
|
using SCHALE.Common.FlatData;
|
||||||
|
using SCHALE.Common.Utils;
|
||||||
using SCHALE.GameServer.Services;
|
using SCHALE.GameServer.Services;
|
||||||
using SCHALE.Toolbox.Models.SchaleDB;
|
using SCHALE.Toolbox.Models.SchaleDB;
|
||||||
using Serilog;
|
using Serilog;
|
||||||
|
|
Loading…
Reference in New Issue