mirror of
https://gitee.com/cssfw/EasyTools.git
synced 2026-03-28 03:51:36 +08:00
style: 清理未使用的引用并添加缩进
This commit is contained in:
@@ -1,15 +1,9 @@
|
||||
using EasyTools.Configs;
|
||||
using EasyTools.Events;
|
||||
using GameCore;
|
||||
using EasyTools.Events;
|
||||
using LabApi.Features.Wrappers;
|
||||
using MEC;
|
||||
using NewXp.IniApi;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Log = LabApi.Features.Console.Logger;
|
||||
|
||||
namespace EasyTools.BadgeSystem
|
||||
|
||||
@@ -4,10 +4,6 @@ using EasyTools.Events;
|
||||
using LabApi.Features.Wrappers;
|
||||
using RelativePositioning;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace EasyTools.Commands
|
||||
{
|
||||
|
||||
@@ -1,9 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace EasyTools.Configs
|
||||
{
|
||||
|
||||
@@ -3,9 +3,6 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace EasyTools.Configs
|
||||
{
|
||||
|
||||
@@ -1,11 +1,4 @@
|
||||
using LabApi.Loader.Features.Paths;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace EasyTools.Configs
|
||||
{
|
||||
|
||||
@@ -1,11 +1,7 @@
|
||||
using LabApi.Loader.Features.Paths;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace EasyTools.Configs
|
||||
{
|
||||
|
||||
@@ -1,11 +1,7 @@
|
||||
using EasyTools.Utils;
|
||||
using PlayerRoles;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace EasyTools.Configs
|
||||
{
|
||||
|
||||
@@ -1,12 +1,7 @@
|
||||
using EasyTools.DataBase.Serialization;
|
||||
using EasyTools.Events;
|
||||
using LiteDB;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using UnityEngine.LowLevel;
|
||||
|
||||
namespace EasyTools.DataBase
|
||||
{
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
using System.Collections.Generic;
|
||||
using EasyTools.DataBase.Serialization;
|
||||
using EasyTools.DataBase.Serialization;
|
||||
using EasyTools.Events;
|
||||
using LabApi.Features.Wrappers;
|
||||
using LiteDB;
|
||||
using MEC;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace EasyTools.DataBase
|
||||
{
|
||||
|
||||
@@ -1,31 +1,19 @@
|
||||
using CommandSystem.Commands.RemoteAdmin.Decontamination;
|
||||
using EasyTools.BadgeSystem;
|
||||
using EasyTools.BadgeSystem;
|
||||
using EasyTools.Configs;
|
||||
using EasyTools.Utils;
|
||||
using GameCore;
|
||||
using HintServiceMeow.UI.Utilities;
|
||||
using InventorySystem.Items;
|
||||
using LabApi.Events.Arguments.PlayerEvents;
|
||||
using LabApi.Events.Arguments.ServerEvents;
|
||||
using LabApi.Events.CustomHandlers;
|
||||
using LabApi.Features.Wrappers;
|
||||
using MEC;
|
||||
using NewXp.IniApi;
|
||||
using PlayerRoles;
|
||||
using PlayerStatsSystem;
|
||||
using RemoteAdmin.Communication;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Reflection.Emit;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using UnityEngine;
|
||||
using UnityEngine.LowLevel;
|
||||
using static Broadcast;
|
||||
using static UnityEngine.GraphicsBuffer;
|
||||
using Log = LabApi.Features.Console.Logger;
|
||||
|
||||
namespace EasyTools.Events
|
||||
@@ -412,7 +400,8 @@ namespace EasyTools.Events
|
||||
if (healthIndex)
|
||||
{
|
||||
player.AddItem(ItemType.SCP500);
|
||||
}else
|
||||
}
|
||||
else
|
||||
{
|
||||
player.AddItem(ItemType.Medkit);
|
||||
}
|
||||
@@ -450,7 +439,8 @@ namespace EasyTools.Events
|
||||
{
|
||||
PocketDimension.ForceInside(player);
|
||||
rewardName = "传送到老头空间";
|
||||
}else
|
||||
}
|
||||
else
|
||||
{
|
||||
PocketDimension.ForceExit(player);
|
||||
rewardName = "离开了老头空间";
|
||||
|
||||
@@ -1,17 +1,10 @@
|
||||
using EasyTools.Configs;
|
||||
using EasyTools.Events;
|
||||
using LabApi.Events.CustomHandlers;
|
||||
using LabApi.Events.Handlers;
|
||||
using LabApi.Features;
|
||||
using LabApi.Features.Wrappers;
|
||||
using LabApi.Loader;
|
||||
using LabApi.Loader.Features.Plugins;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace EasyTools
|
||||
{
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// 有关程序集的一般信息由以下
|
||||
|
||||
@@ -7,8 +7,6 @@ using PlayerRoles;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace EasyTools.Utils
|
||||
{
|
||||
|
||||
@@ -2,8 +2,6 @@
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace NewXp.IniApi
|
||||
{
|
||||
|
||||
@@ -1,12 +1,8 @@
|
||||
using CustomPlayerEffects;
|
||||
using EasyTools.Events;
|
||||
using EasyTools.Events;
|
||||
using LabApi.Features.Wrappers;
|
||||
using MEC;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using UnityEngine;
|
||||
|
||||
namespace EasyTools.Utils
|
||||
@@ -68,8 +64,10 @@ namespace EasyTools.Utils
|
||||
}
|
||||
}
|
||||
else { _lastMove[p] = (pos, DateTime.UtcNow); }
|
||||
}else { _lastMove[p] = (pos, DateTime.UtcNow); }
|
||||
}else if (_lastMove.ContainsKey(p)) { _lastMove.Remove(p); }
|
||||
}
|
||||
else { _lastMove[p] = (pos, DateTime.UtcNow); }
|
||||
}
|
||||
else if (_lastMove.ContainsKey(p)) { _lastMove.Remove(p); }
|
||||
}
|
||||
yield return Timing.WaitForSeconds(1f);
|
||||
}
|
||||
|
||||
@@ -3,9 +3,6 @@ using LabApi.Features.Wrappers;
|
||||
using MEC;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace EasyTools.Utils
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user