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

@ -1,9 +1,11 @@
using HISP.Security;
using HISP.Server;
using System;
using System;
using System.Drawing;
using System.Globalization;
using HISP.Security;
using HISP.Server;
using HISP.Util;
namespace HISP.Game
{
public class Messages
@ -17,7 +19,7 @@ namespace HISP.Game
public static string PlaytimeMessageFormat;
public static string[] RngMessages;
// Prision Isle
// Prison Isle
public static string PrisonIsleSentMessage;
public static string PrisonIsleCommandMessageFormat;
@ -1462,7 +1464,7 @@ namespace HISP.Game
}
public static string FormatSocialMenuType(string type)
{
return SocialTypeFormat.Replace("%TYPE%", Util.CapitalizeFirstLetter(type.ToLower()));
return SocialTypeFormat.Replace("%TYPE%", Helper.CapitalizeFirstLetter(type.ToLower()));
}
// Trading