Change Util.cs to Helper.cs, and move ThreadSafeList to HISP.Util namespace.

This commit is contained in:
Li 2022-09-05 14:56:28 +12:00
parent c36eda289a
commit 825d3b4740
37 changed files with 197 additions and 169 deletions

View file

@ -14,6 +14,7 @@ using HISP.Game.SwfModules;
using MySqlConnector;
using Microsoft.Data.Sqlite;
using SQLitePCL;
using HISP.Util;
namespace HISP.Server
{
@ -3502,7 +3503,7 @@ namespace HISP.Server
sqlCommand.Prepare();
string expectedHash = sqlCommand.ExecuteScalar().ToString();
return Util.StringToByteArray(expectedHash);
return Helper.StringToByteArray(expectedHash);
}
else
{
@ -6281,7 +6282,7 @@ namespace HISP.Server
string expectedHash = sqlCommand.ExecuteScalar().ToString();
return Util.StringToByteArray(expectedHash);
return Helper.StringToByteArray(expectedHash);
}
else
{