执行代码清理

This commit is contained in:
milimoe 2024-08-16 00:16:23 +08:00
parent 3cc7b84803
commit 7027d15b18
Signed by: milimoe
GPG Key ID: 05D280912DA6C69E
6 changed files with 9 additions and 11 deletions

View File

@ -1,5 +1,4 @@
using System;
using Milimoe.FunGame.Core.Interface.Entity;
using Milimoe.FunGame.Core.Interface.Entity;
namespace Milimoe.FunGame.Core.Entity
{

View File

@ -89,7 +89,7 @@ namespace Milimoe.FunGame.Core.Library.Common.Addon
// 生成格子
for (float x = 0; x < Length; x++)
{
for (float y = 0; y< Width; y++)
for (float y = 0; y < Width; y++)
{
for (float z = 0; z < Height; z++)
{

View File

@ -14,13 +14,13 @@ namespace Milimoe.FunGame.Core.Service
/// 用于保存Smtp客户端
/// 一个邮件服务对应一个Smtp客户端
/// </summary>
internal static Dictionary<Guid, SmtpClient> SmtpClients { get; } = new();
internal static Dictionary<Guid, SmtpClient> SmtpClients { get; } = [];
/// <summary>
/// 用于保存邮件服务
/// 允许服务器同时存在多个服务
/// </summary>
internal static Dictionary<Guid, MailSender> MailSenders { get; } = new();
internal static Dictionary<Guid, MailSender> MailSenders { get; } = [];
/// <summary>
/// 获取某个已经保存过的邮件服务

View File

@ -1,6 +1,5 @@
using System.Collections;
using System.Collections.Concurrent;
using Milimoe.FunGame.Core.Entity;
namespace Milimoe.FunGame.Core.Service
{