format code

This commit is contained in:
Mikhail
2024-07-19 10:53:02 -04:00
parent 1670142226
commit 22d19cf38b
155 changed files with 148 additions and 853 deletions

View File

@@ -1,11 +1,6 @@
using DnsClient;
using Swan.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace nksrv.Utils
{

View File

@@ -1,10 +1,5 @@
using Newtonsoft.Json;
using Swan.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace nksrv.Utils
{

View File

@@ -1,9 +1,4 @@
using Swan.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace nksrv.Utils
{

View File

@@ -1,6 +1,5 @@
using Newtonsoft.Json;
using nksrv.LobbyServer;
using nksrv.Net;
using nksrv.StaticInfo;
using Swan.Logging;

View File

@@ -1,10 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace nksrv.Utils
namespace nksrv.Utils
{
public class LoggingHttpHandler(HttpMessageHandler innerHandler) : DelegatingHandler(innerHandler)
{

View File

@@ -1,5 +1,4 @@
using nksrv.Net;
using nksrv.StaticInfo;
using nksrv.StaticInfo;
using Swan.Logging;
namespace nksrv.Utils
@@ -56,7 +55,7 @@ namespace nksrv.Utils
if (item.Isn == isn)
{
var subType = StaticDataParser.Instance.GetItemSubType(item.ItemType);
switch(subType)
switch (subType)
{
case "Module_A":
return 0;

View File

@@ -1,15 +1,9 @@
using EmbedIO;
using Microsoft.AspNetCore.DataProtection.KeyManagement;
using nksrv.LobbyServer;
using Sodium;
using System;
using System.Buffers.Binary;
using System.Collections.Generic;
using System.IO.Compression;
using System.Linq;
using System.Numerics;
using System.Text;
using System.Threading.Tasks;
namespace nksrv.Utils
{

View File

@@ -1,10 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace nksrv.Utils
namespace nksrv.Utils
{
/// <summary>
/// Represents that this class handles a message

View File

@@ -1,10 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace nksrv.Utils
namespace nksrv.Utils
{
public class Rng
{