mirror of
https://github.com/project-redbud/FunGame-Server.git
synced 2025-04-20 11:09:36 +08:00
执行代码清理
This commit is contained in:
parent
d35f9aa81a
commit
6831114b62
@ -84,7 +84,7 @@ namespace Milimoe.FunGame.Server.Model
|
||||
NowGamingServer = null;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
if (type == SocketMessageType.AnonymousGameServer)
|
||||
{
|
||||
return await AnonymousGameServerHandler(obj);
|
||||
|
@ -1,8 +1,5 @@
|
||||
using System.Collections;
|
||||
using System.Text;
|
||||
using Milimoe.FunGame.Core.Api.Utility;
|
||||
using System.Text;
|
||||
using Milimoe.FunGame.Core.Library.Constant;
|
||||
using Milimoe.FunGame.Core.Model;
|
||||
|
||||
namespace Milimoe.FunGame.Server.Others
|
||||
{
|
||||
@ -17,7 +14,7 @@ namespace Milimoe.FunGame.Server.Others
|
||||
/// 日志级别
|
||||
/// </summary>
|
||||
public static string LogLevel { get; set; } = "INFO";
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 日志级别(枚举值)
|
||||
/// </summary>
|
||||
|
@ -156,7 +156,7 @@ namespace Milimoe.FunGame.Server.Services
|
||||
|
||||
return (msg, type, success);
|
||||
}
|
||||
|
||||
|
||||
public static (bool Success, DataSet DataSet, string Msg, Guid Key) PreLogin(object sender, string username, string password, string autokey = "")
|
||||
{
|
||||
bool success = false;
|
||||
|
@ -253,7 +253,7 @@ namespace Milimoe.FunGame.Server.Services
|
||||
}
|
||||
return username;
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 更新指定用户的密钥
|
||||
/// </summary>
|
||||
|
@ -108,7 +108,7 @@ namespace Milimoe.FunGame.Server.Services
|
||||
}
|
||||
Type();
|
||||
}
|
||||
|
||||
|
||||
public static void WriteLine_Addons(string addon, string msg, InvokeMessageType type = InvokeMessageType.System, LogLevel level = LogLevel.Info, bool useLevel = true)
|
||||
{
|
||||
if (type == InvokeMessageType.Warning)
|
||||
|
@ -65,7 +65,7 @@ namespace Milimoe.FunGame.WebAPI.Models
|
||||
{
|
||||
return await AnonymousGameServerHandler(obj);
|
||||
}
|
||||
|
||||
|
||||
if (type == SocketMessageType.DataRequest)
|
||||
{
|
||||
return await DataRequestHandler(obj);
|
||||
|
Loading…
x
Reference in New Issue
Block a user