This commit is contained in:
Putoo
2026-05-28 19:06:40 +08:00
parent 0d5443ef36
commit 69ae1e3174
39 changed files with 1742 additions and 31 deletions

View File

@@ -34,8 +34,8 @@ public class GameTool
public static bool AreaVerify(int area, string areas)
{
List<string> onArea = new List<string>() { "0", area.ToString() };
return onArea.Any(it => areas.Contains(it));
List<string> okArea = areas.Split(',').ToList();
return okArea.Any(it => it == "0" || it == area.ToString());
}
public static string GetCurrencyName(string payCode)