跟随Core更新

This commit is contained in:
milimoe 2023-07-15 00:53:41 +08:00
parent a01f0adc7b
commit 55f9b3e004
Signed by: milimoe
GPG Key ID: 05D280912DA6C69E
6 changed files with 18 additions and 19 deletions

View File

@ -1,12 +1,12 @@
using Milimoe.FunGame.Core.Library.Common.Event;
using Milimoe.FunGame.Core.Library.Common.Architecture;
using Milimoe.FunGame.Desktop.Library;
using Milimoe.FunGame.Desktop.Model;
using Milimoe.FunGame.Core.Library.Exception;
using Milimoe.FunGame.Core.Controller;
namespace Milimoe.FunGame.Desktop.Controller
{
public class LoginController : BaseController
public class LoginController : SocketHandlerController
{
private readonly LoginModel LoginModel;

View File

@ -1,5 +1,5 @@
using Milimoe.FunGame.Core.Entity;
using Milimoe.FunGame.Core.Library.Common.Architecture;
using Milimoe.FunGame.Core.Controller;
using Milimoe.FunGame.Core.Entity;
using Milimoe.FunGame.Core.Library.Common.Event;
using Milimoe.FunGame.Core.Library.Constant;
using Milimoe.FunGame.Core.Library.Exception;
@ -9,7 +9,7 @@ using Milimoe.FunGame.Desktop.UI;
namespace Milimoe.FunGame.Desktop.Controller
{
public class MainController : BaseController
public class MainController : SocketHandlerController
{
private MainModel MainModel { get; }
private Main Main { get; }

View File

@ -1,15 +1,14 @@
using Milimoe.FunGame.Desktop.Library.Component;
using Milimoe.FunGame.Desktop.Library;
using Milimoe.FunGame.Desktop.Library;
using Milimoe.FunGame.Desktop.Model;
using Milimoe.FunGame.Core.Library.Constant;
using Milimoe.FunGame.Desktop.UI;
using Milimoe.FunGame.Core.Library.Common.Architecture;
using Milimoe.FunGame.Core.Library.Exception;
using Milimoe.FunGame.Core.Library.Common.Event;
using Milimoe.FunGame.Core.Controller;
namespace Milimoe.FunGame.Desktop.Controller
{
public class RegisterController : BaseController
public class RegisterController : SocketHandlerController
{
private readonly Register Register;
private readonly RegisterModel RegModel;

View File

@ -1,21 +1,21 @@
using Milimoe.FunGame.Core.Api.Transmittal;
using Milimoe.FunGame.Core.Api.Utility;
using Milimoe.FunGame.Core.Entity;
using Milimoe.FunGame.Core.Library.Common.Architecture;
using Milimoe.FunGame.Core.Library.Common.Network;
using Milimoe.FunGame.Core.Library.Constant;
using Milimoe.FunGame.Core.Library.Exception;
using Milimoe.FunGame.Core.Library.SQLScript.Common;
using Milimoe.FunGame.Core.Library.SQLScript.Entity;
using Milimoe.FunGame.Desktop.Library;
using Milimoe.FunGame.Core.Model;
using Milimoe.FunGame.Desktop.Library.Component;
using RunTime = Milimoe.FunGame.Desktop.Library.RunTime;
namespace Milimoe.FunGame.Desktop.Model
{
/// <summary>
/// 请不要越过Controller直接调用Model中的方法。
/// </summary>
public class LoginModel : BaseModel
public class LoginModel : SocketHandlerModel
{
private static new SocketObject Work;
private static new bool Working = false;

View File

@ -1,18 +1,18 @@
using Milimoe.FunGame.Core.Entity;
using Milimoe.FunGame.Core.Library.Common.Architecture;
using Milimoe.FunGame.Core.Library.Common.Network;
using Milimoe.FunGame.Core.Library.Constant;
using Milimoe.FunGame.Core.Library.Exception;
using Milimoe.FunGame.Desktop.Library;
using Milimoe.FunGame.Core.Model;
using Milimoe.FunGame.Desktop.Library.Component;
using Milimoe.FunGame.Desktop.UI;
using RunTime = Milimoe.FunGame.Desktop.Library.RunTime;
namespace Milimoe.FunGame.Desktop.Model
{
public class MainModel : BaseModel
public class MainModel : SocketHandlerModel
{
private readonly Main Main;
private readonly Core.Model.Session Usercfg = RunTime.Session;
private readonly Session Usercfg = RunTime.Session;
public MainModel(Main main) : base(RunTime.Socket)
{

View File

@ -1,15 +1,15 @@
using Milimoe.FunGame.Core.Api.Utility;
using Milimoe.FunGame.Core.Library.Common.Architecture;
using Milimoe.FunGame.Core.Library.Common.Network;
using Milimoe.FunGame.Core.Library.Constant;
using Milimoe.FunGame.Core.Library.Exception;
using Milimoe.FunGame.Core.Model;
using Milimoe.FunGame.Desktop.Library;
using Milimoe.FunGame.Desktop.Library.Component;
using Milimoe.FunGame.Desktop.UI;
using RunTime = Milimoe.FunGame.Desktop.Library.RunTime;
namespace Milimoe.FunGame.Desktop.Model
{
public class RegisterModel : BaseModel
public class RegisterModel : SocketHandlerModel
{
public RegisterModel() : base(RunTime.Socket)
{