Skip to content
This repository was archived by the owner on Oct 14, 2024. It is now read-only.

Commit

Permalink
顺带提一嘴,现在MenuUI支持多语言了
Browse files Browse the repository at this point in the history
  • Loading branch information
Night-GUA committed Jul 30, 2024
1 parent c45e6f0 commit 2133d2a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions YuEzTools/Patches/ServerAddPatch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public static void Init()
{
serverManager.AvailableRegions = ServerManager.DefaultRegions;
List<IRegionInfo> regionInfos = new();
regionInfos.Add(CreateHttp("154.21.201.164", "XtremeWave[HongKong]", 22023, false));
//regionInfos.Add(CreateHttp("154.21.201.164", "XtremeWave[HongKong]", 22023, false));
regionInfos.Add(CreateHttp("au-us.233466.xyz", "Nikocat233(US)", 443, true));

if (Translator.IsChineseUser)
Expand Down Expand Up @@ -58,7 +58,7 @@ public static void SetServerName(string serverName = "")
"方块服[北京]" => "方块[北京]",
"Nikocat233(CN)" => "Niko(CN)",
"Nikocat233(US)" => "Niko(US)",
"XtremeWave[HongKong]" => "XW[HK]",
//"XtremeWave[HongKong]" => "XW[HK]",

_ => serverName,
};
Expand All @@ -71,7 +71,7 @@ public static void SetServerName(string serverName = "")
"Europe" => "欧服",
"North America" => "北美服",
"NA" => "北美服",
"XW[HK]" => "XW[香港]",
//"XW[HK]" => "XW[香港]",
_ => name,
};
};
Expand All @@ -91,7 +91,7 @@ public static void SetServerName(string serverName = "")
"方块服[北京]" => new(105, 105, 193, 255),
"Nikocat233(CN)" => new(255, 255, 0, 255),
"Nikocat233(US)" => new(255, 255, 0, 255),
"XtremeWave[HongKong]" => new(205, 255, 253, 255),
//"XtremeWave[HongKong]" => new(205, 255, 253, 255),

_ => new(255, 255, 255, 255),
};
Expand Down

0 comments on commit 2133d2a

Please sign in to comment.