From ceb6dc161808900c7941a6f4b36aa5fb3e403abc Mon Sep 17 00:00:00 2001
From: client_Hale <339726288@qq.com>
Date: 星期一, 07 九月 2020 14:15:20 +0800
Subject: [PATCH] 0312 系统界面正确显示带@的账号
---
System/SystemSetting/SystemSetWin.cs | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/System/SystemSetting/SystemSetWin.cs b/System/SystemSetting/SystemSetWin.cs
index e15457f..ae05bb2 100644
--- a/System/SystemSetting/SystemSetWin.cs
+++ b/System/SystemSetting/SystemSetWin.cs
@@ -119,7 +119,10 @@
var serverName = ServerListCenter.Instance.GetServerData(ServerListCenter.Instance.currentServer.region_flag).name;
var playerAccount = PlayerDatas.Instance.baseData.AccID.Split('@');
- copyContent = StringUtility.Contact(serverName, "_", UIHelper.ServerStringTrim(PlayerDatas.Instance.baseData.PlayerName), "_ID:", playerAccount[0]);
+ var accountArr = new string[playerAccount.Length - 2];
+ Array.Copy(playerAccount, accountArr, playerAccount.Length - 2);
+ var accountStr = string.Join("@", accountArr);
+ copyContent = StringUtility.Contact(serverName, "_", UIHelper.ServerStringTrim(PlayerDatas.Instance.baseData.PlayerName), "_ID:", accountStr);
m_PlayerInfoText.text = copyContent;
UpdateAccountBindTitle();
--
Gitblit v1.8.0