mirror of
https://github.com/project-redbud/FunGame-Server.git
synced 2025-04-23 12:39:36 +08:00

* WebAPI 现在可以添加插件了 * 添加 接收服务器控制台的输入 * 现在可以加载服务器插件 * 添加单例 SQLHelper 和 MailSender * SQL 服务守护 * 添加 wwwroot 支持静态访问 * 添加使用默认文档,以便可以访问 index.html
24 lines
596 B
C#
24 lines
596 B
C#
using Milimoe.FunGame.Core.Api.Utility;
|
|
using Milimoe.FunGame.Core.Interface.Base;
|
|
|
|
namespace Milimoe.FunGame.WebAPI.Architecture
|
|
{
|
|
public class RESTfulAPIListener : ISocketListener<RESTfulAPI>
|
|
{
|
|
public static RESTfulAPIListener? Instance { get; set; } = null;
|
|
|
|
public string Name => "RESTfulAPIListener";
|
|
|
|
public ConcurrentModelList<IServerModel> ClientList { get; } = [];
|
|
|
|
public ConcurrentModelList<IServerModel> UserList { get; } = [];
|
|
|
|
public List<string> BannedList { get; } = [];
|
|
|
|
public void Close()
|
|
{
|
|
|
|
}
|
|
}
|
|
}
|